/* =====================================================================
   Auth pages (customer login + sign-up + forgot password + voucher-only
   login, admin login) -- "sliding disc" design, 2026-11-01.

   A big brand-blue disc covers one half of the page; the form sits on the
   other half. On the customer login, "Create an account" slides the disc
   across and swaps the forms (sign-in <-> sign-up step 1). The other pages
   use the same layout with the disc fixed on one side.
   Settings > Login page "Custom": the uploaded wallpaper fills the disc
   under a blue tint (--auth-wall). Logo: two versions (light/dark mode).
   Dark mode: same rule and same saved choice as inside the app
   (localStorage 'mode', else automatic 18:00-04:59) + a manual toggle.
   Markup: customer/_auth_*.tpl partials + each page template.
   ===================================================================== */
:root {
    --a-p: #3b82f6;
    --a-p-hov: #2563eb;
    --a-p-light: #eff6ff;
    --a-ink: #0f172a;
    --a-ink-2: #475569;
    --a-ink-3: #94a3b8;
    --a-line: #e2e8f0;
    --a-field: #f8fafc;
    --a-bg: #ffffff;
    --a-disc-1: #2563eb;
    --a-disc-2: #3b82f6;
    --a-disc-tint-1: rgba(37, 99, 235, .86);
    --a-disc-tint-2: rgba(59, 130, 246, .72);
    --a-radius: 12px;
    --a-ease: cubic-bezier(.16, 1, .3, 1);
    --a-slide: cubic-bezier(.65, 0, .35, 1);
    color-scheme: light;
}
html[data-theme="dark"] {
    --a-p-light: rgba(59, 130, 246, .16);
    --a-ink: #e2e8f0;
    --a-ink-2: #94a3b8;
    --a-ink-3: #64748b;
    --a-line: #1f2a3c;
    --a-field: #111a2b;
    --a-bg: #0b1220;
    --a-disc-1: #1e40af;
    --a-disc-2: #2563eb;
    --a-disc-tint-1: rgba(30, 64, 175, .9);
    --a-disc-tint-2: rgba(29, 78, 216, .78);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body.auth-page {
    min-height: 100vh;
    font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--a-ink);
    background: var(--a-bg);
    -webkit-font-smoothing: antialiased;
    transition: background .3s, color .3s;
}

/* ---- Stage + disc ---------------------------------------------------- */
.slide {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background: var(--a-bg);
    transition: background .3s;
}
.slide::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 2400px;
    height: 2400px;
    border-radius: 50%;
    /* same geometry as the approved prototype: the circle's centre sits
       above the page (top -10%), which gives the diagonal curved edge */
    top: calc(-10% - 1200px);
    right: 48%;
    background: linear-gradient(-45deg, var(--a-disc-1) 0%, var(--a-disc-2) 100%);
    transition: right 1.6s var(--a-slide), background .3s;
}
/* custom page type: the uploaded wallpaper inside the disc */
.slide.has-wall::before {
    background-image: linear-gradient(-45deg, var(--a-disc-tint-1), var(--a-disc-tint-2)), var(--auth-wall);
    background-size: auto, cover;
    background-position: center, center;
    background-attachment: scroll, fixed;
}
.slide.is-signup::before { right: calc(52% - 2400px); }

/* ---- Panels (texts on the disc) -------------------------------------- */
.sp {
    position: relative;
    z-index: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 80px 9% 48px;
    text-align: center;
    color: #fff;
    pointer-events: none;
}
.sp.left { grid-column: 1; }
.sp.right { grid-column: 2; }
.sp > * { transition: transform 1.1s .5s var(--a-slide), opacity .6s .5s; }
.sp h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    text-wrap: balance;
}
.sp p { margin: 0; max-width: 36ch; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.sp-btn {
    pointer-events: auto;
    margin-top: 6px;
    height: 46px;
    padding: 0 28px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font: 700 .85rem/1 inherit;
    font-family: inherit;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.sp-btn:hover, .sp-btn:focus-visible { background: #fff; color: var(--a-disc-1); outline: 0; }
.sp-illu { width: min(360px, 82%); height: auto; margin-top: 14px; }
.sp.right > * { transform: translateX(110vw); }
.slide.is-signup .sp.left > * { transform: translateX(-110vw); }
.slide.is-signup .sp.right > * { transform: none; }
.slide.is-signup .sp.left .sp-btn,
.slide:not(.is-signup) .sp.right .sp-btn { pointer-events: none; }

/* ---- Form column ---------------------------------------------------- */
.sf-col {
    position: relative;
    z-index: 3;
    grid-row: 1;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 32px 28px;
    min-width: 0;
    transition: transform 1.1s .5s var(--a-slide);
}
.slide.is-signup .sf-col { transform: translateX(-100%); }
.slide.is-static.is-signup .sf-col { grid-column: 1; transform: none; transition: none; }
.slide.is-static.is-signup::before { transition: none; }

.sf-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    max-width: 420px;
    min-height: 40px;
}
.sf-tools { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.sf-back {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--a-ink-2);
    text-decoration: none;
}
.sf-back:hover { color: var(--a-ink); }
.sf-back svg { width: 16px; height: 16px; }
.auth-lang {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: var(--a-field);
    border: 1px solid var(--a-line);
}
.auth-lang a {
    padding: .3rem .72rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .03em;
    color: var(--a-ink-2);
    text-decoration: none;
}
.auth-lang a:hover { color: var(--a-ink); }
.auth-lang a.is-on { background: var(--a-bg); color: var(--a-ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .16); }
.auth-theme {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--a-line);
    background: var(--a-field);
    color: var(--a-ink-2);
    cursor: pointer;
    transition: color .15s, background .15s;
}
.auth-theme:hover, .auth-theme:focus-visible { color: var(--a-p); outline: 0; }
.auth-theme svg { width: 17px; height: 17px; }
.auth-theme .ic-sun { display: none; }
html[data-theme="dark"] .auth-theme .ic-sun { display: block; }
html[data-theme="dark"] .auth-theme .ic-moon { display: none; }

.sf-stack {
    flex: 1;
    display: grid;
    align-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    padding: 28px 0;
}
.sf { grid-area: 1 / 1; min-width: 0; transition: opacity .25s .75s, visibility 0s .75s; }
.sf.up { opacity: 0; visibility: hidden; }
.slide.is-signup .sf.up { opacity: 1; visibility: visible; }
.slide.is-signup .sf.in { opacity: 0; visibility: hidden; }
.sf-foot { width: 100%; text-align: center; font-size: .75rem; line-height: 1.7; color: var(--a-ink-3); }
.sf-foot a { color: var(--a-ink-3); text-decoration: none; }
.sf-foot a:hover { color: var(--a-ink); }

/* Logo: two versions, the right one per mode (like the apps) */
.auth-logo { display: flex; justify-content: flex-start; margin: 0 0 26px; }
.auth-logo img { display: block; height: 56px; width: auto; max-width: 280px; object-fit: contain; object-position: left center; }
.auth-logo .on-dark { display: none; }
html[data-theme="dark"] .auth-logo .on-dark { display: block; }
html[data-theme="dark"] .auth-logo .on-light { display: none; }

.sf h1, .lgm-card h2 {
    margin: 0 0 .45rem;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    color: var(--a-ink);
}
.auth-sub { margin: 0 0 1.6rem; font-size: .93rem; line-height: 1.55; color: var(--a-ink-2); }
.sf-switch { display: none; margin: 1.3rem 0 0; text-align: center; font-size: .9rem; color: var(--a-ink-2); }
.sf-switch a, .sf-switch button {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-weight: 700;
    color: var(--a-p);
    cursor: pointer;
    text-decoration: none;
}

/* ---- Fields / buttons (login forms) ---------------------------------- */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: 1.25rem;
    padding: .8rem 1rem;
    border-radius: var(--a-radius);
    font-size: .87rem;
    line-height: 1.45;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    animation: auth-shake .4s ease;
}
.auth-alert.is-ok { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; animation: none; }
.auth-alert svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; }
html[data-theme="dark"] .auth-alert { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .3); color: #fca5a5; }
html[data-theme="dark"] .auth-alert.is-ok { background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .3); color: #86efac; }

.auth-field { margin-bottom: 1rem; }
.auth-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-bottom: .45rem; }
.auth-label { font-size: .82rem; font-weight: 600; color: var(--a-ink-2); }
.auth-link { font-size: .82rem; font-weight: 600; color: var(--a-p); text-decoration: none; white-space: nowrap; }
.auth-link:hover { text-decoration: underline; }
.auth-input-wrap { position: relative; }
.auth-ic {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--a-ink-3);
    pointer-events: none;
    transition: color .15s;
}
.auth-input-wrap:focus-within .auth-ic { color: var(--a-p); }
.auth-input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 42px;
    font: inherit;
    font-size: .95rem;
    color: var(--a-ink);
    background: var(--a-field);
    border: 1px solid var(--a-line);
    border-radius: var(--a-radius);
    outline: 0;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.auth-input.has-eye { padding-right: 46px; }
.auth-input::placeholder { color: var(--a-ink-3); }
.auth-input:focus { background: var(--a-bg); border-color: var(--a-p); box-shadow: 0 0 0 4px var(--a-p-light); }
.auth-eye {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--a-ink-3);
    cursor: pointer;
}
.auth-eye:hover { color: var(--a-ink); background: var(--a-p-light); }
.auth-eye svg { width: 18px; height: 18px; }
.auth-eye .eye-off { display: none; }
.auth-eye.is-on .eye-on { display: none; }
.auth-eye.is-on .eye-off { display: block; }
.auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    height: 50px;
    margin-top: .6rem;
    border: 0;
    border-radius: var(--a-radius);
    background: var(--a-p-hov);
    color: #fff;
    font: inherit;
    font-size: .96rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 28px -14px rgba(37, 99, 235, .8);
    transition: background .15s, transform .1s;
}
.auth-submit:hover { background: #1d4ed8; }
.auth-submit:active { transform: scale(.985); }
.auth-submit:disabled { opacity: .75; cursor: default; }
.auth-submit svg { width: 18px; height: 18px; }
.auth-spin {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-spin .7s linear infinite;
}
.auth-submit.is-busy .auth-spin { display: block; }
.auth-submit.is-busy svg { display: none; }
.auth-steps { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: .78rem; color: var(--a-ink-2); }
.auth-steps span { display: inline-flex; align-items: center; gap: 6px; }
.auth-steps b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--a-p-light); color: var(--a-p); font-size: .72rem; }
.auth-steps i { width: 14px; height: 1px; background: var(--a-line); }
.auth-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1rem;
    padding: .45rem .85rem;
    border: 1px solid var(--a-line);
    border-radius: 999px;
    background: var(--a-field);
    color: var(--a-ink-2);
    font: inherit;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
}
.auth-chip:hover { color: var(--a-p); }
.auth-chip svg { width: 15px; height: 15px; }
.auth-center { text-align: center; }

/* SweetAlert2 popups */
.swal2-popup.auth-swal {
    background: var(--a-bg) !important;
    color: var(--a-ink) !important;
    border-radius: 16px !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    box-shadow: 0 24px 60px -20px rgba(15, 23, 42, .45);
}
.swal2-popup.auth-swal .swal2-title { color: var(--a-ink) !important; font-weight: 800 !important; }
.swal2-popup.auth-swal .swal2-html-container { color: var(--a-ink-2) !important; }
.swal2-popup.auth-swal .swal2-confirm { background: var(--a-p-hov) !important; border-radius: var(--a-radius) !important; font-weight: 700 !important; box-shadow: none !important; }

@keyframes auth-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes auth-spin { to { transform: rotate(360deg); } }
@keyframes auth-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-3px); }
}
.sf-stack { animation: auth-in .6s var(--a-ease) both; }

/* ---- Phones / small tablets: the disc becomes a band on top ----------- */
@media (max-width: 870px) {
    .slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .slide::before,
    .slide.is-signup::before {
        width: 1800px;
        height: 1800px;
        top: auto;
        bottom: calc(100% - 200px);
        right: calc(50% - 900px);
        transition: background .3s;
    }
    .sp, .sp.left, .sp.right { grid-column: 1; grid-row: 1; min-height: 200px; padding: 26px 22px 30px; gap: 8px; justify-content: flex-end; }
    .sp p, .sp-illu, .sp-btn { display: none; }
    .sp h2 { font-size: 1.35rem; }
    .sp > * { transition: opacity .35s; }
    .sp.right > *, .slide.is-signup .sp.left > * { transform: none; opacity: 0; }
    .slide.is-signup .sp.right > * { opacity: 1; }
    .sf-col, .slide.is-signup .sf-col, .slide.is-static.is-signup .sf-col { grid-column: 1; grid-row: 2; transform: none; padding: 16px 20px 22px; }
    .sf { transition: opacity .3s; }
    .sf-switch { display: block; }
    .auth-logo img { height: 44px; }
    .sf h1, .lgm-card h2 { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .slide::before, .sp > *, .sf-col, .sf, .sf-stack, .auth-alert { transition: none !important; animation: none !important; }
}

/* =====================================================================
   Form components of the sign-up steps, forgot password, full sign-up and
   voucher-only pages. Their markup keeps its lgm-* class names (the
   step/OTP/password/map logic is wired to them); this section gives them
   the look of the login form, in both modes.
   ===================================================================== */
.lgm-card { width: 100%; }
/* the page logo already sits above the card: no extra icon tile */
.sf-stack > .auth-logo + .lgm-card .lgm-ic-badge { display: none; }
.sf-stack > .auth-logo { margin-bottom: 22px; }
.lgm-card-head { margin-bottom: 1.6rem; }
.lgm-ic-badge {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1.1rem;
    border-radius: 12px;
    background: var(--a-p-light);
    color: var(--a-p);
}
.lgm-ic-badge svg { width: 21px; height: 21px; }
.lgm-card h2 {
    margin: 0 0 .4rem;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    color: var(--a-ink);
}
.lgm-sub { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--a-ink-2); }
.lgm-sub b { color: var(--a-ink); }

.lgm-stepper { display: flex; align-items: center; margin-bottom: 1.75rem; }
.lgm-step-dot {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--a-field);
    border: 1px solid var(--a-line);
    color: var(--a-ink-3);
    transition: background .2s, border-color .2s, color .2s;
}
.lgm-step-dot svg { width: 15px; height: 15px; }
.lgm-step-dot.active { background: var(--a-p-light); border-color: var(--a-p); color: var(--a-p); }
.lgm-step-dot.done { background: var(--a-p); border-color: var(--a-p); color: #fff; }
.lgm-step-line { flex: 1; max-width: 56px; height: 2px; background: var(--a-line); transition: background .2s; }
.lgm-step-line.done { background: var(--a-p); }

.lgm-field { margin-bottom: 1rem; }
.lgm-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-bottom: .45rem; }
.lgm-label { display: block; margin: 0; font-size: .82rem; font-weight: 600; color: var(--a-ink-2); }
.lgm-input-wrap { position: relative; }
.lgm-ic {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: var(--a-ink-3);
    pointer-events: none;
    transition: color .15s;
}
.lgm-input-wrap:focus-within .lgm-ic { color: var(--a-p); }
.lgm-input, .lgm-input-plain, .lgm-card .form-control {
    width: 100%;
    min-height: 48px;
    padding: 0 14px 0 42px;
    font: inherit;
    font-size: .95rem;
    color: var(--a-ink);
    background: var(--a-field);
    border: 1px solid var(--a-line);
    border-radius: var(--a-radius);
    outline: 0;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.lgm-input.no-ic, .lgm-input-plain, .lgm-card .form-control { padding-left: 14px; }
.lgm-input[type="file"] { padding-top: 11px; }
textarea.lgm-input { min-height: 5rem; padding-top: .8rem; padding-bottom: .8rem; resize: vertical; }
.lgm-input::placeholder, .lgm-card .form-control::placeholder { color: var(--a-ink-3); }
.lgm-input:focus, .lgm-input-plain:focus, .lgm-card .form-control:focus {
    background: var(--a-bg);
    border-color: var(--a-p);
    box-shadow: 0 0 0 4px var(--a-p-light);
}
.lgm-input-plain { font-weight: 700; letter-spacing: .04em; cursor: copy; }
.lgm-card .form-group { margin-bottom: 1rem; }
.lgm-card .form-group label { display: block; margin: 0 0 .45rem; font-size: .82rem; font-weight: 600; color: var(--a-ink-2); }
.lgm-input-eye {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--a-ink-3);
    cursor: pointer;
}
.lgm-input-eye:hover { color: var(--a-ink); background: var(--a-p-light); }
.lgm-input-eye svg { width: 18px; height: 18px; }

.lgm-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    min-height: 48px;
    margin-top: .6rem;
    padding: 0 1rem;
    border: 0;
    border-radius: var(--a-radius);
    background: var(--a-p);
    color: #fff;
    font: inherit;
    font-size: .96rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px -12px rgba(37, 99, 235, .75);
    transition: background .15s, transform .1s;
}
.lgm-submit:hover { background: var(--a-p-hov); }
.lgm-submit:active { transform: scale(.985); }
.lgm-ghost {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: .6rem;
    padding: 0 1rem;
    border: 1px solid var(--a-line);
    border-radius: var(--a-radius);
    background: var(--a-bg);
    color: var(--a-ink-2);
    font: inherit;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.lgm-ghost:hover { background: var(--a-field); color: var(--a-ink); }
.lgm-actions { display: flex; gap: .6rem; margin-top: .6rem; }
.lgm-actions .lgm-ghost, .lgm-actions .lgm-submit { margin-top: 0; }

.lgm-link { font-size: .82rem; font-weight: 600; color: var(--a-p); text-decoration: none; white-space: nowrap; }
.lgm-link:hover { text-decoration: underline; }
.lgm-help, .lgm-register { margin: 1.1rem 0 0; text-align: center; font-size: .88rem; line-height: 1.55; color: var(--a-ink-2); }
.lgm-help a, .lgm-register a { color: var(--a-p); font-weight: 700; text-decoration: none; }
.lgm-help a:hover, .lgm-register a:hover { text-decoration: underline; }
.lgm-card p.small { font-size: .82rem; color: var(--a-ink-2) !important; text-align: center; }
.lgm-card p.small a { color: var(--a-p); font-weight: 600; }

.lgm-substep { display: none; }
.lgm-substep.active { display: block; animation: auth-in .35s var(--a-ease) both; }

/* verification-code boxes: otp.css (2026-11-05) */

.lgm-pwd-bar { display: flex; gap: 4px; margin-top: .6rem; }
.lgm-pwd-bar span { flex: 1; height: 4px; border-radius: 3px; background: var(--a-line); transition: background .2s; }
.lgm-pwd-bar.weak span:nth-child(1) { background: #ef4444; }
.lgm-pwd-bar.fair span:nth-child(-n+2) { background: #f59e0b; }
.lgm-pwd-bar.strong span:nth-child(-n+3) { background: #3b82f6; }
.lgm-pwd-bar.great span { background: #10b981; }
.lgm-pwd-check { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem .8rem; margin: .7rem 0 0; padding: 0; }
.lgm-pwd-check li { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--a-ink-3); transition: color .15s; }
.lgm-pwd-check li svg { flex-shrink: 0; width: 14px; height: 14px; color: var(--a-line); transition: color .15s; }
.lgm-pwd-check li.met { color: #059669; }
.lgm-pwd-check li.met svg { color: #10b981; }

.lgm-map-actions { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .6rem; }
.lgm-map-locate {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .75rem;
    border: 1px solid var(--a-line);
    border-radius: 999px;
    background: var(--a-bg);
    color: var(--a-p);
    font: inherit;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
}
.lgm-map-locate:hover { background: var(--a-p-light); }
.lgm-map-locate svg { width: 13px; height: 13px; }
#reg-map { height: 180px; overflow: hidden; border: 1px solid var(--a-line); border-radius: var(--a-radius); }
.lgm-map-hint { margin: .5rem 0 0; font-size: .76rem; color: var(--a-ink-3); }

.lgm-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, .5);
}
.lgm-modal-backdrop.open { display: flex; }
.lgm-modal {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 34rem;
    max-height: 80vh;
    overflow: hidden;
    background: var(--a-bg);
    color: var(--a-ink);
    border: 1px solid var(--a-line);
    border-radius: 16px;
    box-shadow: 0 24px 60px -20px rgba(15, 23, 42, .45);
}
.lgm-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--a-line); font-weight: 700; }
.lgm-modal-close { border: 0; background: none; font-size: 1.4rem; line-height: 1; color: var(--a-ink-3); cursor: pointer; }
.lgm-modal-close:hover { color: var(--a-ink); }
.lgm-modal-body { padding: 1.25rem; overflow-y: auto; font-size: .88rem; line-height: 1.65; color: var(--a-ink-2); }

@media (max-width: 400px) {
}
@media (prefers-reduced-motion: reduce) {
    .lgm-card, .lgm-substep.active { animation: none; }
}
