/*
 * Pantallas de acceso del admin Shop21 (tienda → cuenta → recuperar clave). Independiente del tema del panel.
 * Identidad: naranja #FF7F2A + morado #2F1951 + Poppins (igual que s21-ui). Prefijo a- para no chocar con otras hojas.
 */
:root {
    --a-morado: #2F1951; --a-morado-2: #45266f; --a-naranja: #FF7F2A; --a-fondo: #f4f2f7; --a-texto: #2b2b2b; --a-suave: #6b6b7b;
    --a-borde: #ddd8e6; --a-ok: #1a7f37; --a-error: #b42318; --a-info: #2F1951;
}
* { box-sizing: border-box; }
.a-body { overflow-x: hidden; margin: 0; font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--a-fondo); color: var(--a-texto); min-height: 100vh; -webkit-font-smoothing: antialiased; }
.a-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; }

/* Panel izquierdo: color sólido y un tip de ventas */
.a-lado { display: flex; align-items: center; justify-content: center; padding: 56px 56px; background: #2F1951; color: #fff; }
.a-lado-in { max-width: 460px; }
.a-tip-etq { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--a-naranja); }
.a-tip { margin: 18px 0 26px; padding: 0 0 0 22px; border-left: 4px solid var(--a-naranja); font-size: 27px; line-height: 1.4; font-weight: 600; color: #fff; transition: opacity .35s ease; min-height: 8.4em; }
.a-tip.a-fuera { opacity: 0; }
.a-tip-otro { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.a-tip-otro:hover { background: rgba(255,255,255,.1); }
.a-tip-otro:focus-visible { outline: 3px solid rgba(255,127,42,.7); outline-offset: 2px; }
/* Tarjeta */
.a-card-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 18px; gap: 16px; }
.a-card { min-width: 0; width: 100%; max-width: 440px; background: #fff; border-radius: 18px; padding: 34px 32px 30px; box-shadow: 0 12px 44px rgba(47,25,81,.11); }
.a-logo { display: block; height: 38px; width: auto; margin: 0 0 22px; }
.a-legal { margin: 0; font-size: 12.5px; color: var(--a-suave); }
.a-legal a { color: var(--a-morado); text-decoration: none; font-weight: 500; }
.a-legal a:hover { text-decoration: underline; }
.a-card h1 { font-size: 23px; line-height: 1.25; margin: 0 0 6px; color: var(--a-morado); font-weight: 700; }
.a-sub { margin: 0 0 20px; font-size: 14px; color: var(--a-suave); line-height: 1.5; }
.a-sub strong { color: var(--a-texto); font-weight: 600; }

/* Pasos */
.a-pasos { list-style: none; display: flex; align-items: center; gap: 10px; padding: 0; margin: 0 0 22px; font-size: 13px; color: var(--a-suave); font-weight: 500; }
.a-pasos li { display: inline-flex; align-items: center; gap: 8px; }
.a-pasos li span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #ece8f3; color: var(--a-suave); font-size: 12px; font-weight: 700; }
.a-pasos li.on { color: var(--a-morado); }
.a-pasos li.on span { background: var(--a-morado); color: #fff; }
.a-pasos li.hecho span { background: var(--a-naranja); color: #fff; }
.a-pasos-sep { flex: 1; height: 2px; background: #e6e1ee; border-radius: 2px; }

/* Avisos */
.a-aviso-zona:empty { display: none; }
.a-aviso { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border-radius: 10px; font-size: 13.5px; line-height: 1.45; margin: 0 0 16px; }
.a-aviso i { margin-top: 2px; }
.a-error { background: #fdecea; color: var(--a-error); }
.a-ok { background: #e7f5ec; color: var(--a-ok); }
.a-info { background: #efeaf7; color: var(--a-info); }

/* Formulario */
.a-campo { margin: 0 0 16px; }
.a-campo label { display: block; font-size: 13.5px; font-weight: 600; margin: 0 0 6px; color: var(--a-texto); }
.a-input { position: relative; display: flex; align-items: center; border: 1.5px solid var(--a-borde); border-radius: 11px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.a-input:focus-within { border-color: var(--a-naranja); box-shadow: 0 0 0 4px rgba(255,127,42,.18); }
.a-input > i { padding: 0 0 0 14px; color: #9a94a8; font-size: 17px; }
.a-input .a-pre { padding: 0 0 0 14px; color: #9a94a8; font-size: 14px; white-space: nowrap; user-select: none; }
.a-input input { flex: 1; width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; padding: 13px 14px; font: inherit; font-size: 15px; color: var(--a-texto); }
.a-input .a-pre + input { padding-left: 4px; }
.a-input input::placeholder { color: #b2adbd; }
.a-ver { border: 0; background: transparent; padding: 0 14px; color: #8a8497; cursor: pointer; font-size: 18px; line-height: 1; }
.a-ver:hover { color: var(--a-morado); }
.a-ayuda { display: block; margin: 6px 2px 0; font-size: 12.5px; color: var(--a-suave); line-height: 1.4; }
.a-caps { display: none; margin: 6px 2px 0; font-size: 12.5px; color: #9a5b00; }
.a-otp input { text-align: center; letter-spacing: .55em; font-size: 26px; font-weight: 700; padding: 14px 8px 14px calc(8px + .55em); color: var(--a-morado); }

.a-fuerza { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 8px 0 0; }
.a-fuerza i { height: 5px; border-radius: 4px; background: #e8e4ef; }
.a-fuerza[data-n="1"] i:nth-child(-n+1) { background: #d92d20; }
.a-fuerza[data-n="2"] i:nth-child(-n+2) { background: #f79009; }
.a-fuerza[data-n="3"] i:nth-child(-n+3) { background: #84b30f; }
.a-fuerza[data-n="4"] i { background: var(--a-ok); }
.a-fuerza-txt { font-size: 12.5px; color: var(--a-suave); margin: 5px 2px 0; min-height: 18px; }

.a-btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; border: 0; border-radius: 11px; padding: 14px 18px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
    background: var(--a-morado); color: #fff; transition: background .15s, transform .05s; text-decoration: none; }
.a-btn:hover { background: var(--a-morado-2); }
.a-btn:active { transform: translateY(1px); }
.a-btn:focus-visible, .a-link:focus-visible { outline: 3px solid rgba(255,127,42,.55); outline-offset: 2px; }
.a-btn[disabled] { opacity: .65; cursor: progress; }
.a-btn-sec { background: #fff; color: var(--a-morado); border: 1.5px solid var(--a-borde); }
.a-btn-sec:hover { background: #f7f5fa; }
.a-btn-sec[disabled] { cursor: not-allowed; }
.a-fila { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 13.5px; }
.a-link { color: var(--a-morado); font-weight: 600; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.a-link:hover { text-decoration: underline; color: var(--a-naranja); }
.a-tienda { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f7f5fa; border: 1px solid #ece8f3; border-radius: 11px; padding: 10px 14px; margin: 0 0 20px; font-size: 13.5px; }
.a-tienda strong { display: block; color: var(--a-morado); font-weight: 600; }
.a-tienda small { color: var(--a-suave); }
.a-sep { height: 1px; background: #eee9f4; margin: 20px 0; }
.a-nota { text-align: center; font-size: 13.5px; color: var(--a-suave); margin: 18px 0 0; }
.a-giro { display: inline-block; width: 16px; height: 16px; border: 2.5px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: a-giro .7s linear infinite; }
@keyframes a-giro { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
    .a-wrap { grid-template-columns: minmax(0, 1fr); }
    .a-lado { display: none; }
    .a-card-wrap { justify-content: flex-start; padding-top: 28px; }
    .a-card { padding: 26px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) { .a-giro { animation-duration: 1.8s; } .a-input, .a-btn { transition: none; } }
