/* Saiyan — recuperar contraseña (tarjeta centrada, tema público --l-*) */

body.is-password-recovery-page {
    background: var(--l-bg);
    min-height: 100dvh;
}

body.is-password-recovery-page .l-topnav-inner .auth-topnav-theme {
    margin-left: auto;
    flex-shrink: 0;
}

.auth-recovery-wrap {
    min-height: calc(100dvh - var(--l-nav-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--l-nav-h) + 1rem) 1.25rem 3rem;
    box-sizing: border-box;
}

.auth-recovery-card {
    width: 100%;
    max-width: 420px;
    background: var(--l-surface);
    border: 1px solid var(--l-border);
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
    padding: 2rem 1.75rem 1.75rem;
    font-family: 'Inter', 'DM Sans', system-ui, sans-serif;
}

html[data-public-theme="dark"] .auth-recovery-card {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.auth-recovery-title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--l-heading);
    text-align: center;
    margin: 0 0 0.65rem;
    line-height: 1.2;
}

.auth-recovery-lead {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--l-text-muted);
    text-align: center;
    margin: 0 0 1.35rem;
}

.auth-recovery-field {
    margin-bottom: 1.1rem;
}

.auth-recovery-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--l-text-muted);
    margin-bottom: 0.35rem;
}

.auth-recovery-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.72rem 0.9rem;
    border: 1.5px solid var(--l-border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--l-text);
    background: var(--l-bg);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

html[data-public-theme="dark"] .auth-recovery-input {
    background: rgba(255, 255, 255, 0.06);
}

.auth-recovery-input:focus {
    border-color: var(--l-accent);
    box-shadow: 0 0 0 3px var(--l-accent-glow);
}

.auth-recovery-submit {
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 10px;
    background: var(--l-accent);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.08s;
}

.auth-recovery-submit:hover {
    background: var(--l-accent-light);
    box-shadow: 0 4px 18px rgba(234, 88, 12, 0.35);
}

.auth-recovery-submit:active {
    transform: scale(0.985);
}

.auth-recovery-err {
    font-size: 0.87rem;
    color: var(--l-red);
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    margin-bottom: 1rem;
}

.auth-recovery-sent {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--l-text-muted);
    text-align: center;
    margin: 0;
}

.auth-recovery-sent-link {
    color: var(--l-accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-recovery-back {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--l-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-recovery-back:hover {
    color: var(--l-accent-light);
}

@media (max-width: 480px) {
    .auth-recovery-card {
        padding: 1.5rem 1.25rem;
    }
    .auth-recovery-wrap {
        align-items: flex-start;
        padding-top: calc(var(--l-nav-h) + 0.75rem);
    }
}
