/* GovernIQ - Forgot Password & Reset Password Styles */

.forgot-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.forgot-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.forgot-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Password Strength Indicator */
.password-strength {
    height: 4px;
    border-radius: 4px;
    background: var(--border);
    margin-top: 8px;
    overflow: hidden;
}

.password-strength .bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease;
    width: 0%;
}

.strength-text {
    font-size: 0.8rem;
    margin-top: 6px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

/* Password Requirements */
.requirements {
    text-align: left;
    margin: 1.25rem 0;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.3s ease;
}

.requirements:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.requirements p {
    font-size: 0.82rem;
    margin: 6px 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.requirements p.met {
    color: #4ade80;
}

.requirements p .check {
    font-size: 0.75rem;
    width: 14px;
    text-align: center;
    transition: transform 0.2s ease;
}

.requirements p.met .check {
    transform: scale(1.2);
}

/* Back Link */
.back-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    padding: 6px 12px;
    border-radius: 8px;
}

.back-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

/* Success Message Override */
.error-messages--success {
    background: rgba(34, 197, 94, 0.12);
    border-left-color: #22c55e;
}

.error-messages--success p {
    color: #86efac;
}

/* ========== Mobile Responsive ========== */
@media (max-width: 480px) {
    .requirements {
        padding: 0.7rem 0.8rem;
    }
    .requirements p {
        font-size: 0.78rem;
    }
    .password-strength {
        margin-bottom: 12px;
    }
    .strength-text {
        font-size: 0.75rem;
    }
    .back-link {
        font-size: 0.85rem;
    }
}
