.recovery-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    gap: 0;
}

.recovery-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.recovery-step.active,
.recovery-step.completed {
    opacity: 1;
}

.recovery-step .step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #E5E7EB;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85em;
    transition: all 0.3s ease;
}

.recovery-step.active .step-number {
     background: linear-gradient(135deg, #3B82F6, #2563EB);
     color: #FFFFFF;
     box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

.recovery-step.completed .step-number {
    background-color: #22C55E;
    color: #FFFFFF;
}

.recovery-step span {
    font-size: 0.75em;
    color: #6B7280;
    font-weight: 500;
}

.recovery-step.active span {
     color: #2563EB;
     font-weight: 600;
}

.recovery-step.completed span {
    color: #16A34A;
}

.recovery-step-line {
    width: 60px;
    height: 2px;
    background-color: #E5E7EB;
    margin: 0 10px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.recovery-step-line.active {
    background: linear-gradient(90deg, #22C55E, #6366F1);
}

/* ==========================================
   INPUTS DE CÓDIGO - 6 dígitos individuais
   ========================================== */

.recovery-code-info {
    text-align: center;
    font-size: 0.9em;
    color: #6B7280;
    margin-bottom: 20px;
    line-height: 1.5;
}

.recovery-code-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
}

.recovery-code-inputs .code-digit {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.5em;
    font-weight: 700;
    border: 2px solid #D1D5DB;
    border-radius: 8px;
    outline: none;
    color: #1F2937;
    background-color: #F9FAFB;
    transition: all 0.2s ease;
    padding: 0;
}

.recovery-code-inputs .code-digit:focus {
    border-color: #6366F1;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.recovery-code-inputs .code-digit:not(:placeholder-shown) {
    border-color: #6366F1;
    background-color: #FFFFFF;
}

/* ==========================================
   TIMER E REENVIO
   ========================================== */

.recovery-timer {
    font-size: 0.85em;
    color: #9CA3AF;
}

.recovery-resend-link {
    font-size: 0.85em;
    color: #4F46E5;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.recovery-resend-link:hover {
    color: #4338CA;
    text-decoration: underline;
}

/* ==========================================
   RESPONSIVIDADE
   ========================================== */

@media (max-width: 480px) {
    .recovery-code-inputs {
        gap: 6px;
    }

    .recovery-code-inputs .code-digit {
        width: 40px;
        height: 48px;
        font-size: 1.3em;
    }

    .recovery-stepper {
        gap: 0;
    }

    .recovery-step-line {
        width: 40px;
    }

    .recovery-step span {
        font-size: 0.65em;
    }
}