/* ===== RECUPERAR CONTRASEÑA ===== */

.recover-container {
    max-width: 480px !important;
}

/* ── BARRA DE PASOS ─────────────────────────── */
.steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.step-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s, color 0.4s, box-shadow 0.4s;
}

.step-item span {
    font-size: 0.65rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color 0.4s;
}

.step-item.active .step-circle {
    background: var(--azul-medio, #1E5FA8);
    color: white;
    box-shadow: 0 0 0 4px rgba(30,95,168,0.18);
}

.step-item.active span  { color: var(--azul-medio, #1E5FA8); }

.step-item.done .step-circle {
    background: #10b981;
    color: white;
}

.step-item.done span { color: #10b981; }

.step-line {
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    margin: 0 6px;
    margin-bottom: 18px;
    border-radius: 2px;
    min-width: 28px;
    transition: background 0.4s;
}

.step-line.done { background: #10b981; }

/* ── PASOS ──────────────────────────────────── */
.rec-step {
    display: none;
    animation: recFadeIn 0.35s ease;
}

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

.rec-step.saliendo {
    animation: recFadeOut 0.28s ease forwards;
}

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

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

/* Ícono */
.rec-icon {
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 10px;
}

.exito-icon { animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }

@keyframes popIn {
    from { transform: scale(0.4); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.rec-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--azul-oscuro, #0B1F2E);
    margin-bottom: 8px;
}

.rec-desc {
    text-align: center;
    font-size: 0.83rem;
    color: var(--gris, #6B7280);
    margin-bottom: 22px;
    line-height: 1.6;
}

.rec-back {
    display: block;
    text-align: center;
    margin-top: 18px;
    font-size: 0.8rem;
    color: var(--azul-medio, #1E5FA8);
    font-weight: 700;
    text-decoration: none;
}

.rec-back:hover { color: var(--azul-brillante, #2FA4E7); }

.rec-resend {
    text-align: center;
    font-size: 0.78rem;
    color: var(--gris, #6B7280);
    margin-top: 12px;
}

.rec-resend a {
    color: var(--azul-brillante, #2FA4E7);
    font-weight: 700;
    text-decoration: none;
}

/* ── CÓDIGO 6 DÍGITOS ───────────────────────── */
.codigo-grid {
    display: flex;
    gap: 9px;
    justify-content: center;
    margin: 12px 0 20px;
}

.cdig {
    width: 44px !important;
    height: 52px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 900;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    color: var(--azul-oscuro, #0B1F2E);
    padding: 0 !important;
    margin: 0 !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.cdig:focus {
    border-color: var(--azul-medio, #1E5FA8);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30,95,168,0.15);
}

/* ── FORTALEZA CONTRASEÑA ───────────────────── */
.pass-wrap {
    position: relative;
    margin-bottom: 0;
}

.pass-wrap input { padding-right: 42px; }

.ojo {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
    line-height: 1;
}

.fuerza-bg {
    height: 6px;
    background: #e5e7eb;
    border-radius: 6px;
    margin: 7px 0 3px;
    overflow: hidden;
}

#fuerza-fill {
    height: 100%;
    width: 0;
    border-radius: 6px;
    transition: width 0.4s, background 0.4s;
}

.fuerza-txt {
    font-size: 0.73rem;
    font-weight: 700;
    min-height: 16px;
    margin: 0 0 14px;
}

.match-txt {
    font-size: 0.73rem;
    font-weight: 700;
    min-height: 16px;
    margin: 4px 0 14px;
}

/* Botón deshabilitado */
.btn-submit:disabled {
    background: #a0aec0 !important;
    cursor: not-allowed;
    opacity: 0.7;
}
