/* Forget Password Page Specific Styles */
/* Inherits base layout from login_signup.css */

.form-step {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.form-step.active {
    display: flex;
    animation: fadeIn 0.4s ease forwards;
}

.success-icon {
    font-size: 52px;
    color: #10b981;
    margin-bottom: 15px;
    animation: successBounce 0.6s ease;
}

@keyframes successBounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.success-msg {
    color: #059669;
    background-color: #d1fae5;
    border: 1px solid #10b981;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1rem;
    width: 100%;
}

@keyframes successPulse {
    0% { transform: scale(1); opacity: 0; }
    50% { transform: scale(1.02); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

#reset-success {
    animation: successPulse 0.5s ease-out;
}

.back-link {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    width: 100%;
}

.back-link:hover {
    color: #4338ca;
    text-decoration: underline;
}

.resend-btn {
    background-color: #6b7280;
}

.resend-btn:hover {
    background-color: #4b5563;
}

.text-center {
    text-align: center;
}
