/* ============================================================================
   PrecioClaro — Auth pages (login / register / forgot-password)
   Diseño premium oscuro, mismo lenguaje visual que la landing
   ============================================================================ */

/* Mismos tokens en html que la landing (overscroll, vars compartidas) */
html:has(body.page-auth) {
    --lp-bg-0:        #050810;
    --lp-bg-1:        #0a0f1c;
    --lp-bg-2:        #0e1626;
    --lp-bg-3:        #131f33;
    --lp-surface:     rgba(255, 255, 255, 0.03);
    --lp-surface-hi:  rgba(255, 255, 255, 0.06);
    --lp-border:      rgba(255, 255, 255, 0.08);
    --lp-border-hi:   rgba(255, 255, 255, 0.16);
    --lp-text:        #e6ecf5;
    --lp-text-dim:    #94a3b8;
    --lp-text-muted:  #64748b;
    --lp-accent:      #4f8cff;
    --lp-accent-hi:   #7aa9ff;
    --lp-cyan:        #22d3ee;
    --lp-emerald:     #34d399;
    --lp-grid:        rgba(120, 169, 255, 0.06);
    background-color: var(--lp-bg-0);
    overscroll-behavior: none;
}

body.page-auth {
    color-scheme: dark;
    --shell-header-offset: 184px;
    background: var(--lp-bg-0);
    color: var(--lp-text);
    overscroll-behavior-y: none;
}

.lp-auth {
    --lp-bg-0:        #050810;
    --lp-bg-1:        #0a0f1c;
    --lp-bg-2:        #0e1626;
    --lp-bg-3:        #131f33;
    --lp-surface:     rgba(255, 255, 255, 0.03);
    --lp-surface-hi:  rgba(255, 255, 255, 0.06);
    --lp-border:      rgba(255, 255, 255, 0.08);
    --lp-border-hi:   rgba(255, 255, 255, 0.16);
    --lp-text:        #e6ecf5;
    --lp-text-dim:    #94a3b8;
    --lp-text-muted:  #64748b;
    --lp-accent:      #4f8cff;
    --lp-accent-hi:   #7aa9ff;
    --lp-cyan:        #22d3ee;
    --lp-emerald:     #34d399;
    --lp-rose:        #fb7185;
    --lp-grid:        rgba(120, 169, 255, 0.06);

    min-height: 100vh;
    /* Misma base que el hero de la landing (inicio) */
    background:
        radial-gradient(ellipse 60% 50% at 80% 0%, rgba(79, 140, 255, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 20% 100%, rgba(34, 211, 238, 0.10) 0%, transparent 60%),
        linear-gradient(180deg, var(--lp-bg-0) 0%, var(--lp-bg-1) 100%);
    color: var(--lp-text);
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* ── Fondo full-bleed = landing hero (grid + líneas) ───────────────────── */
.lp-auth__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.lp-auth__backdrop-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--lp-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--lp-grid) 1px, transparent 1px);
    background-size: 56px 56px;
    background-position: -1px -1px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
    z-index: 0;
}
.lp-auth__backdrop-chart {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.55;
}
.lp-auth__backdrop-chart svg {
    width: 100%;
    height: 100%;
    display: block;
}
.lp-auth-bd-line {
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 8px currentColor);
    stroke-dasharray: 1600;
    stroke-dashoffset: 1600;
    animation: lp-auth-bd-draw 4.5s ease-out forwards;
}
.lp-auth-bd-line--a { color: #4f8cff; animation-delay: .1s; }
.lp-auth-bd-line--b { color: #22d3ee; animation-delay: .35s; }
.lp-auth-bd-line--c { color: #34d399; animation-delay: .6s; opacity: .7; }
.lp-auth-bd-line--d { color: #a78bfa; animation-delay: .85s; opacity: .55; }
@keyframes lp-auth-bd-draw {
    to { stroke-dashoffset: 0; }
}

body.page-auth .shell-header {
    height: auto;
    min-height: var(--shell-header-offset);
    padding: 0.75rem 0 1rem;
    /* Igual que la landing (hero): sin barra glass — el fondo respira detrás */
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    color: var(--lp-text);
}
body.page-auth .shell-header__inner {
    height: auto;
    min-height: 0;
    max-width: 1280px;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
body.page-auth .shell-header__logo,
body.page-auth .shell-header__logo:hover,
body.page-auth .shell-header__logo:focus,
body.page-auth .shell-header__logo:active {
    border-right: none;
    padding: 0 1rem 0 0;
    gap: 0.625rem;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.005em;
    color: #ffffff !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    text-decoration: none !important;
    border-radius: 0;
    outline: none;
}
body.page-auth .shell-header__brand-img {
    height: 152px;
    max-height: 152px;
    width: auto;
    max-width: min(560px, 92vw);
    filter: drop-shadow(0 0 12px rgba(79, 140, 255, 0.2));
    transition: height .35s ease, max-height .35s ease, max-width .35s ease, filter .3s ease;
}
body.page-auth .theme-toggle { display: none; }
body.page-auth .shell-header__guest {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: auto;
}
body.page-auth .shell-header__signin,
body.page-auth .shell-header__signup {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s ease;
    white-space: nowrap;
    line-height: 1;
    letter-spacing: 0.005em;
}
body.page-auth .shell-header__signin {
    color: #ffffff;
    background: transparent;
    border: 1px solid transparent;
}
body.page-auth .shell-header__signin:hover {
    color: #ffffff;
    background: var(--lp-surface);
    text-decoration: none;
}
body.page-auth .shell-header__signup {
    background: linear-gradient(135deg, #4f8cff 0%, #2563eb 100%);
    border: 1px solid transparent;
    box-shadow:
        0 6px 18px -6px rgba(79, 140, 255, 0.55),
        inset 0 1px 0 rgba(255,255,255,0.22);
    color: #fff;
    padding: 0 1.125rem;
}
body.page-auth .shell-header__signup:hover {
    background: linear-gradient(135deg, #5b95ff 0%, #2d6ce8 100%);
    box-shadow:
        0 10px 24px -6px rgba(79, 140, 255, 0.7),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}
body.page-auth .shell-header__actions {
    margin-left: auto;
    gap: 0.5rem;
    align-items: center;
}
body.page-auth .main-content {
    padding: 0;
    background: transparent;
    margin-top: 0 !important;
}
/* Footer igual que landing */
body.page-auth .shell-footer {
    background: var(--lp-bg-1);
    border-top: 1px solid var(--lp-border);
    color: var(--lp-text-dim);
    padding: 2rem;
    position: relative;
    z-index: 5;
}
body.page-auth .shell-footer__inner {
    color: var(--lp-text-muted);
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.8125rem;
    letter-spacing: 0.01em;
}

/* ============================================================================
   PANEL VISUAL (izquierda) — gráficas, métricas, branding
   ============================================================================ */
.lp-auth__visual {
    position: relative;
    z-index: 1;
    padding: calc(var(--shell-header-offset, 184px) + 1.5rem) 4rem 4rem;
    overflow: hidden;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lp-auth__visual-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
}
.lp-auth__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.12), rgba(34, 211, 238, 0.08));
    border: 1px solid var(--lp-border-hi);
    color: var(--lp-accent-hi);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.lp-auth__eyebrow__pulse {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--lp-emerald);
    animation: lp-auth-pulse 2s infinite;
}
@keyframes lp-auth-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.lp-auth__visual h2 {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--lp-text);
    margin: 0 0 1rem;
}
.lp-auth__visual h2 .lp-grad {
    background: linear-gradient(135deg, #4f8cff 0%, #22d3ee 50%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 500;
}
.lp-auth__visual p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--lp-text-dim);
    margin: 0 0 2rem;
}

/* Mini-stats abajo del panel visual */
.lp-auth__stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--lp-border);
    padding-top: 1.5rem;
    margin-top: 2rem;
}
.lp-auth__stat {
    padding: 0 1.25rem;
    border-right: 1px solid var(--lp-border);
}
.lp-auth__stat:first-child { padding-left: 0; }
.lp-auth__stat:last-child  { border-right: none; padding-right: 0; }
.lp-auth__stat-value {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--lp-text);
    line-height: 1;
    letter-spacing: -0.01em;
}
.lp-auth__stat-label {
    font-size: 0.75rem;
    color: var(--lp-text-muted);
    margin-top: 0.4rem;
    letter-spacing: 0.02em;
}

/* ============================================================================
   PANEL FORMULARIO (derecha)
   ============================================================================ */
.lp-auth__form {
    position: relative;
    z-index: 1;
    /* Deja ver el mismo fondo que la landing en toda la columna */
    background: transparent;
    border-left: 1px solid var(--lp-border);
    padding: 6rem 3rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.lp-auth__card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
}
.lp-auth__card h1 {
    font-size: 1.875rem;
    font-weight: 400;
    color: var(--lp-text);
    margin: 0 0 0.5rem;
    letter-spacing: -0.015em;
    line-height: 1.2;
}
.lp-auth__sub {
    font-size: 0.9375rem;
    color: var(--lp-text-dim);
    margin: 0 0 2rem;
    line-height: 1.5;
}
.lp-auth__sub a {
    color: var(--lp-accent-hi);
    text-decoration: none;
    font-weight: 500;
}
.lp-auth__sub a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Errores / notificaciones */
.lp-auth__alert {
    background: rgba(251, 113, 133, 0.08);
    border: 1px solid rgba(251, 113, 133, 0.25);
    color: #fda4af;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    line-height: 1.5;
}
.lp-auth__alert svg { color: #fb7185; flex-shrink: 0; margin-top: 1px; }

/* Form */
.lp-auth__form-group {
    display: block;
    margin-bottom: 1rem;
}
.lp-auth__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.lp-auth__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--lp-text-dim);
    margin-bottom: 0.4rem;
    letter-spacing: 0.005em;
}
.lp-auth__input {
    width: 100%;
    height: 44px;
    padding: 0 0.875rem;
    background: var(--lp-bg-2);
    border: 1px solid var(--lp-border);
    border-radius: 8px;
    color: var(--lp-text);
    font-size: 0.9375rem;
    font-family: inherit;
    outline: none;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
    appearance: none;
    -webkit-appearance: none;
}
.lp-auth__input::placeholder {
    color: var(--lp-text-muted);
}
.lp-auth__input:hover {
    border-color: var(--lp-border-hi);
}
.lp-auth__input:focus {
    border-color: var(--lp-accent);
    background: var(--lp-bg-3);
    box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.15);
}

/* Evita fondo blanco / amarillo del navegador al autocompletar o rellenar */
.lp-auth__input:-webkit-autofill,
.lp-auth__input:-webkit-autofill:hover {
    -webkit-text-fill-color: var(--lp-text);
    caret-color: var(--lp-text);
    box-shadow: 0 0 0 1000px var(--lp-bg-2) inset;
    -webkit-box-shadow: 0 0 0 1000px var(--lp-bg-2) inset;
    transition: background-color 99999s ease-out 0s;
}
.lp-auth__input:focus:-webkit-autofill {
    -webkit-text-fill-color: var(--lp-text);
    box-shadow: 0 0 0 1000px var(--lp-bg-3) inset, 0 0 0 3px rgba(79, 140, 255, 0.15);
    -webkit-box-shadow: 0 0 0 1000px var(--lp-bg-3) inset, 0 0 0 3px rgba(79, 140, 255, 0.15);
}

.lp-auth__input:autofill,
.lp-auth__input:autofill:hover {
    color: var(--lp-text);
    box-shadow: 0 0 0 1000px var(--lp-bg-2) inset;
}
.lp-auth__input:focus:autofill {
    color: var(--lp-text);
    box-shadow: 0 0 0 1000px var(--lp-bg-3) inset, 0 0 0 3px rgba(79, 140, 255, 0.15);
}

.lp-auth__field-wrap {
    position: relative;
    display: block;
}
.lp-auth__field-wrap .lp-auth__input--with-toggle {
    padding-right: 2.75rem;
}
.lp-auth__pw-toggle {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--lp-text-muted);
    cursor: pointer;
    transition: color .15s ease, background .15s ease;
}
.lp-auth__pw-toggle:hover {
    color: var(--lp-text-dim);
    background: var(--lp-surface);
}
.lp-auth__pw-toggle:focus-visible {
    outline: 2px solid var(--lp-accent);
    outline-offset: 2px;
}
/* Dos SVG superpuestos; solo .is-active se ve (evita bugs con [hidden] en SVG) */
.lp-auth__pw-toggle-inner {
    position: relative;
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}
.lp-auth__pw-toggle .lp-auth__pw-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.lp-auth__pw-toggle .lp-auth__pw-icon.is-active {
    opacity: 1;
    transform: scale(1);
}
.lp-auth__pw-toggle[aria-pressed="true"] {
    color: var(--lp-accent-hi);
}

.lp-auth__hint {
    margin: 0.4rem 0 0;
    font-size: 0.75rem;
    color: var(--lp-text-muted);
}

/* ============================================================================
   PASSWORD STRENGTH METER
   ============================================================================ */
.lp-pw {
    margin-top: 0.625rem;
}
.lp-pw__bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    height: 4px;
    margin-bottom: 0.625rem;
}
.lp-pw__bar i {
    display: block;
    background: var(--lp-bg-3);
    border-radius: 2px;
    transition: background .2s ease;
}
.lp-pw[data-score="1"] .lp-pw__bar i:nth-child(-n+1) { background: #fb7185; }
.lp-pw[data-score="2"] .lp-pw__bar i:nth-child(-n+2) { background: #fbbf24; }
.lp-pw[data-score="3"] .lp-pw__bar i:nth-child(-n+3) { background: #34d399; }
.lp-pw[data-score="4"] .lp-pw__bar i               { background: #34d399; }

.lp-pw__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--lp-text-muted);
    letter-spacing: 0.01em;
    margin-bottom: 0.625rem;
}
.lp-pw__label strong {
    font-weight: 500;
    color: var(--lp-text-dim);
}
.lp-pw[data-score="1"] .lp-pw__label strong { color: #fb7185; }
.lp-pw[data-score="2"] .lp-pw__label strong { color: #fbbf24; }
.lp-pw[data-score="3"] .lp-pw__label strong { color: #86efac; }
.lp-pw[data-score="4"] .lp-pw__label strong { color: #34d399; }

.lp-pw__rules {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.875rem;
    font-size: 0.75rem;
    color: var(--lp-text-muted);
    letter-spacing: 0.005em;
}
.lp-pw__rules li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color .2s ease;
}
.lp-pw__rules li::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--lp-bg-3);
    border: 1px solid var(--lp-border-hi);
    flex-shrink: 0;
    transition: background .2s ease, border-color .2s ease;
    background-image: none;
}
.lp-pw__rules li.is-ok {
    color: #86efac;
}
.lp-pw__rules li.is-ok::before {
    background: #22c55e;
    border-color: #22c55e;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 8 7 12 13 5'/></svg>");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 11px 11px;
}

@media (max-width: 600px) {
    .lp-pw__rules { grid-template-columns: 1fr; }
}

.lp-auth__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0.25rem 0 1.25rem;
}
.lp-auth__forgot {
    font-size: 0.8125rem;
    color: var(--lp-text-dim);
    text-decoration: none;
    transition: color .15s ease;
}
.lp-auth__forgot:hover {
    color: var(--lp-accent-hi);
    text-decoration: underline;
}

/* Botón submit */
.lp-auth__submit {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #4f8cff 0%, #2563eb 100%);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 24px -8px rgba(79, 140, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform .15s ease, box-shadow .25s ease, background .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.lp-auth__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px -8px rgba(79, 140, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.lp-auth__submit:active {
    transform: translateY(0);
}

/* Divisor "o" entre el form principal y el acceso de invitado */
.lp-auth__divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1.5rem 0 1rem;
    color: var(--lp-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}
.lp-auth__divider::before,
.lp-auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lp-border) 30%, var(--lp-border) 70%, transparent);
}
.lp-auth__divider span {
    color: rgba(148, 163, 184, 0.7);
}

/* Botón "Entrar rápido sin iniciar sesión" — secundario, ghost dark */
.lp-auth__guest-form {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    align-items: stretch;
}
.lp-auth__guest {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(122, 169, 255, 0.22);
    color: var(--lp-text);
    font-size: 0.9125rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.005em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: background .2s ease, border-color .2s ease, transform .15s ease, color .2s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.lp-auth__guest:hover {
    background: rgba(79, 140, 255, 0.08);
    border-color: rgba(122, 169, 255, 0.45);
    color: #ffffff;
    transform: translateY(-1px);
}
.lp-auth__guest:active {
    transform: translateY(0);
}
.lp-auth__guest svg {
    color: var(--lp-accent-hi);
    transition: transform .25s ease;
}
.lp-auth__guest:hover svg {
    transform: translateX(2px);
}
.lp-auth__guest-hint {
    text-align: center;
    color: var(--lp-text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
}

/* Variante "Probar el panel Admin" — tono ámbar para diferenciarlo del invitado */
.lp-auth__guest-form--admin {
    margin-top: 0.65rem;
}
.lp-auth__guest--admin {
    background: rgba(255, 191, 71, 0.06);
    border-color: rgba(255, 191, 71, 0.32);
    color: #fde7c3;
}
.lp-auth__guest--admin:hover {
    background: rgba(255, 191, 71, 0.12);
    border-color: rgba(255, 191, 71, 0.55);
    color: #fff5e0;
}
.lp-auth__guest--admin svg {
    color: #ffc060;
}
.lp-auth__guest--admin:hover svg {
    transform: scale(1.05);
}

/* Divider y enlaces secundarios */
.lp-auth__divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
    color: var(--lp-text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.lp-auth__divider::before,
.lp-auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--lp-border);
}

.lp-auth__small {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--lp-text-muted);
    margin-top: 1.25rem;
}
.lp-auth__small a {
    color: var(--lp-accent-hi);
    text-decoration: none;
    font-weight: 500;
}
.lp-auth__small a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Lista de bullets en el panel visual */
.lp-auth__bullets {
    list-style: none;
    padding: 0; margin: 1.5rem 0 0;
}
.lp-auth__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0;
    color: var(--lp-text);
    font-size: 0.9375rem;
}
.lp-auth__bullets li svg {
    color: var(--lp-emerald);
    flex-shrink: 0;
    margin-top: 3px;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 960px) {
    .lp-auth { grid-template-columns: 1fr; }
    .lp-auth__visual {
        padding: calc(var(--shell-header-offset, 184px) + 1.25rem) 2rem 3rem;
        text-align: center;
        align-items: center;
    }
    .lp-auth__visual-content {
        margin: 0 auto;
    }
    .lp-auth__stats { max-width: 480px; margin: 2rem auto 0; }
    .lp-auth__bullets { display: inline-block; text-align: left; margin-left: auto; margin-right: auto; }
    .lp-auth__form {
        border-left: none;
        border-top: 1px solid var(--lp-border);
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 600px) {
    body.page-auth {
        --shell-header-offset: 112px;
    }
    body.page-auth .shell-header {
        min-height: 112px;
        padding: 0.5rem 0 0.75rem;
    }
    body.page-auth .shell-header__brand-img {
        height: 88px;
        max-height: 88px;
        max-width: min(300px, 82vw);
    }
    .lp-auth__visual { padding: calc(var(--shell-header-offset, 112px) + 1rem) 1.25rem 2.5rem; }
    .lp-auth__form { padding: 2.5rem 1.25rem; }
    .lp-auth__form-row { grid-template-columns: 1fr; }
    .lp-auth__stats { grid-template-columns: 1fr; gap: 0.75rem; }
    .lp-auth__stat { border-right: none; border-bottom: 1px solid var(--lp-border); padding: 0 0 0.75rem; }
    .lp-auth__stat:last-child { border-bottom: none; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-auth-bd-line { animation: none; stroke-dashoffset: 0; }
    .lp-auth__eyebrow__pulse { animation: none; }
}
