/* ============================================
   FORGOT-PASSWORD.CSS
   AutoHub Connect
   ============================================ */

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border);
    color: var(--steel);
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
}

.step-dot.active {
    background: var(--orange);
    color: white;
    box-shadow: 0 4px 12px rgba(224,90,43,0.35);
}

.step-dot.done {
    background: var(--green);
    color: white;
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    max-width: 48px;
    transition: background 0.3s;
}

.step-line.done { background: var(--green); }

/* Steps */
.fp-step { display: none; }
.fp-step.active { display: block; animation: fadeInUp 0.25s ease; }

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

/* OTP Error */
.otp-error-msg {
    text-align: center;
    font-size: 0.84rem;
    color: var(--red);
    font-weight: 600;
    min-height: 22px;
    margin-bottom: 4px;
}

/* Demo hint */
.demo-hint {
    text-align: center;
    font-size: 0.8rem;
    color: var(--steel);
    margin-top: 10px;
}
.demo-hint strong {
    color: var(--orange);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* Confirm error */
.confirm-error {
    display: none;
    font-size: 0.78rem;
    color: var(--red);
    margin-top: 5px;
}

/* Success */
.success-wrap { text-align: center; }
.success-big-icon {
    font-size: 3.5rem;
    margin-bottom: 14px;
    display: block;
    animation: popIn 0.4s cubic-bezier(.36,.07,.19,.97);
}

@keyframes popIn {
    0%   { transform: scale(0); }
    80%  { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Shake */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-8px); }
    40%       { transform: translateX(8px); }
    60%       { transform: translateX(-5px); }
    80%       { transform: translateX(5px); }
}

.otp-inputs.shake .otp-box {
    animation: shake 0.4s ease;
    border-color: var(--red) !important;
    background: rgba(192,57,43,0.06) !important;
}

@media (max-width: 480px) {
    .step-indicator { gap: 0; margin-bottom: 20px; }
    .step-dot { width: 28px; height: 28px; font-size: .88rem; }
    .step-line { max-width: 28px; }
}

@media (max-width: 375px) {
    .step-dot { width: 24px; height: 24px; font-size: .82rem; }
    .step-line { max-width: 18px; }
}
