/* Login Page Styles with Mint Green Theme */
:root {
    --primary-color: #1abc9c;
    --primary-dark: #16a085;
    --primary-light: #48c9b0;
    --primary-lighter: #d1f2eb;
    --primary-rgb: 26, 188, 156;
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
}

html, body {
    height: 100%;
    overflow: hidden;
    background-color: #e8f5f2;
}

.login-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    max-width: 550px; /* Increased from 400px to 550px */
    width: 100%;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: var(--bg-primary);
    border: none;
    transition: all 0.3s ease;
    padding: 0;
}

.login-card:hover {
    transform: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    padding: 2rem 2rem 0.5rem;
}

.login-logo {
    max-width: 120px;
    margin-bottom: 1rem;
    animation: none;
}

.login-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.75rem;
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.login-body {
    padding: 0 2.5rem 2.5rem; /* Increased padding for better spacing with wider form */
}

.login-form .form-control {
    height: 50px; /* Increased from 40px to 50px */
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    padding-left: 15px;
    font-size: 1.05rem; /* Increased from 0.95rem to 1.05rem */
    transition: all 0.3s ease;
    width: 100%;
    background-color: #f8f9fa;
    margin-bottom: 0.8rem; /* Increased from 0.5rem to 0.8rem for better spacing */
}

.login-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.15);
}

.login-form .form-label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem; /* Increased from 0.9rem to 1rem */
    margin-bottom: 0.4rem; /* Increased from 0.25rem to 0.4rem */
}

.login-form .input-group-text {
    background-color: transparent;
    border-left: none;
    cursor: pointer;
}

.login-form .password-toggle {
    border: none;
    background: transparent;
    color: var(--primary-color);
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.login-btn {
    height: 50px; /* Increased from 40px to 50px to match form controls */
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
    color: white;
    margin-top: 0.8rem; /* Increased from 0.5rem to 0.8rem */
    font-size: 1.05rem; /* Increased font size to match form controls */
}

.login-btn:hover, .login-btn:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: none;
    box-shadow: none;
}

.forgot-password {
    text-align: center;
    margin-top: 0.5rem;
}

.forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.forgot-password a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.login-footer {
    text-align: center;
    padding: 1rem;
    border-top: none;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alert styles */
.login-alert {
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Password visibility toggle */
.password-field {
    position: relative;
}

.password-toggle-icon {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.password-toggle-icon:hover {
    color: var(--primary-dark);
}

/* Custom checkbox */
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .login-card {
        border-radius: 0;
        box-shadow: none;
        height: 100vh;
        max-width: 100%;
    }

    .login-card:hover {
        transform: none;
        box-shadow: none;
    }

    .login-body {
        padding: 0 1.75rem 1.75rem; /* Adjusted padding for responsive view */
    }
}
