/* ============================================
   Forgot Password / Reset Password Page Styles
   ============================================ */

/* Step transitions */
.fp-step {
    display: none;
    animation: fpFadeIn 0.4s ease-out;
}

.fp-step.active {
    display: block;
}

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

/* Icon styles */
.fp-icon {
    text-align: center;
    margin-bottom: var(--space-4);
}

.fp-icon svg {
    color: var(--color-gold);
    animation: fpIconPulse 2.5s ease-in-out infinite;
}

.fp-icon.success svg {
    color: #3182ce;
}

.fp-icon.done svg {
    color: var(--color-success);
    animation: fpCheckBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes fpIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes fpCheckBounce {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

/* Single OTP input (used in reset) */
.otp-single-input {
    text-align: center;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: 10px;
    font-family: monospace;
    padding: 14px 20px !important;
}

.otp-single-input:focus {
    border-color: var(--color-gold) !important;
    box-shadow: 0 0 0 4px rgba(212, 168, 67, 0.12) !important;
}

/* Resend section */
.resend-section {
    text-align: center;
}

.resend-btn {
    background: none;
    border: none;
    color: var(--color-gold);
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: inherit;
}

.resend-btn:hover:not(:disabled) {
    background: rgba(212, 168, 67, 0.1);
}

.resend-btn:disabled {
    color: var(--color-gray-400);
    cursor: not-allowed;
}

/* Progress indicator */
.fp-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: var(--space-5);
}

.fp-progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-gray-200);
    transition: all 0.3s ease;
}

.fp-progress-dot.active {
    background: var(--color-gold);
    transform: scale(1.2);
}

.fp-progress-dot.done {
    background: var(--color-success);
}
