/* Login Page Specific Styles */
.login-page {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #f0fdf4 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(5, 150, 105, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.login-container {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.login-card {
    background: white;
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--border-color);
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-logo .logo-img {
    max-width: 360px;
    max-height: 150px;
    object-fit: contain;
}

.login-logo .logo-text {
    font-size: 60px;
    font-weight: 800;
    color: var(--dark-green);
    letter-spacing: 1px;
}

.login-title {
    margin: 0 0 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-title .title-icon {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.login-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.login-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-grey);
    margin-bottom: 8px;
}

.form-label i {
    color: var(--primary-green);
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    color: var(--dark-grey);
    background: #f9fafb;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    background: white;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-control::placeholder {
    color: #94a3b8;
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

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

.password-toggle i {
    font-size: 18px;
}

.form-help-text {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #64748b;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 12px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-check-input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary-green);
}

.form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.form-check-label {
    color: #64748b;
    cursor: pointer;
    font-weight: 500;
}

.forgot-password-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

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

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login i {
    font-size: 18px;
}

.back-to-login {
    margin-top: 20px;
    text-align: center;
}

.back-link {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
}

.back-link:hover {
    color: var(--dark-green);
    gap: 8px;
}

.back-link i {
    font-size: 14px;
}

.login-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--light-grey);
}

.footer-text {
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer-text i {
    color: var(--primary-green);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .login-card {
        padding: 30px 25px;
    }
    
    .login-logo .logo-img {
        max-width: 260px;
        max-height: 105px;
    }
    
    .login-logo .logo-text {
        font-size: 48px;
    }
    
    .login-title .title-icon {
        font-size: 24px;
    }
    
    .login-subtitle {
        font-size: 12px;
    }
    
    .form-control {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .btn-login {
        padding: 12px;
        font-size: 14px;
    }
}
