body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 400px; /* Fixed width */
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
    height: 80px; /* Fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 350px; /* Bigger logo size */
    height: auto;
    object-fit: contain; /* Ensures logo maintains aspect ratio */
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

input[type="text"],
input[type="tel"],
input[type="password"] {
    width: 100%;
    padding: 15px 40px 15px 40px;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 14px;
    box-sizing: border-box;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #4CAF50;
    background: white;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #757575;
    font-size: 16px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #757575;
    font-size: 16px;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #616161;
}

.forgot-link {
    color: #4CAF50;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.sign-in-btn {
    width: 100%;
    padding: 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sign-in-btn:hover {
    background: #45a049;
}

/* Error message styling */
.error-message {
    display: none;
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin: 10px 0;
    border-radius: 15px;
    position: relative;
    text-align: center;
}

.error-message.show {
    display: block;
}

.timer-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: #dc3545;
    width: 100%;
    animation: timerAnimation 20s linear;
}

@keyframes timerAnimation {
    from { width: 100%; }
    to { width: 0%; }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .login-container {
        padding: 15px;
    }

    .login-card {
        padding: 20px;
    }

    input[type="text"],
    input[type="password"] {
        padding: 12px 35px;
        font-size: 14px;
    }

    .remember-forgot {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .sign-in-btn {
        padding: 12px;
        font-size: 14px;
    }
}

/* Suspended modal styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 25px;
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    text-align: center;
    position: relative;
}

.modal-content h3 {
    color: #dc3545;
    margin-top: 0;
}

.modal-content button {
    margin-top: 20px;
    padding: 10px 25px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.modal-content button:hover {
    background-color: #45a049;
}