/* ================================================================
   INthe-Q™ Auth Card — shared styles for login/signup/OTP views.
   Reuses --p-* variables from panel.css. Classes are "auth-"
   prefixed to avoid collision with the main Vegas site styles.
   ================================================================ */

/* Standalone full-viewport wrapper (used by the minimal auth shell —
   auth/shell_head.php + auth/shell_foot.php — no site header/footer) */
.auth-page { min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:40px 16px; }
.auth-page__brand { text-align:center; margin-bottom:32px; }
.auth-page__brand-mark { display:inline-flex; align-items:center; justify-content:center; width:52px; height:52px; border-radius:12px; background:var(--p-accent); color:#0a0800; font-size:18px; font-weight:900; margin-bottom:12px; }
.auth-page__brand-name { font-size:20px; font-weight:800; color:var(--p-text); margin:0; }
.auth-page__brand-sub  { font-size:12px; color:var(--p-text-muted); margin:4px 0 0; }

/* Embedded wrapper (used when an auth view renders inside the main
   site's common/header.php + common/footer.php, e.g. the login page) */
.auth-section { display:flex; justify-content:center; padding:80px 16px; }
@media (max-width:600px) {
    .auth-section { padding:48px 16px; }
}

/* Auth card — shared by both wrappers */
.auth-box { width:100%; max-width:560px; background:var(--p-card); border:1px solid var(--p-border); border-radius:var(--p-radius-lg); overflow:hidden; }
.auth-box--wide { max-width:900px; }
.auth-box__head { padding:28px 32px 22px; border-bottom:1px solid var(--p-border); }
.auth-box__title { font-size:22px; font-weight:800; color:var(--p-text); margin:0 0 4px; }
.auth-box__subtitle { font-size:13px; color:var(--p-text-muted); margin:0; }
.auth-box__body  { padding:28px 32px; }
.auth-box__foot  { padding:16px 32px; border-top:1px solid var(--p-border); text-align:center; font-size:13px; color:var(--p-text-muted); }
.auth-box__foot a { color:var(--p-accent); text-decoration:none; }
.auth-box__foot a:hover { text-decoration:underline; }
.auth-back { display:inline-flex; align-items:center; gap:6px; font-size:13px; color:var(--p-text-muted); text-decoration:none; margin-bottom:24px; transition:color 0.18s; }
.auth-back:hover { color:var(--p-text); }
.auth-divider { display:flex; align-items:center; gap:12px; margin:20px 0; }
.auth-divider span { font-size:12px; color:var(--p-text-muted); white-space:nowrap; }
.auth-divider::before, .auth-divider::after { content:''; flex:1; height:1px; background:var(--p-border); }
.auth-otp-input { font-size:28px !important; font-weight:800 !important; letter-spacing:10px !important; text-align:center !important; }
@media (max-width:600px) {
    .auth-box__head, .auth-box__body, .auth-box__foot { padding-left:20px; padding-right:20px; }
}

/* ================================================================
   Split-panel auth (login + signups) — rendered inside the main
   site header/footer. Class-prefixed "authx-" to stay isolated.
   ================================================================ */
.authx {
    position: relative;
    padding: 72px 0 96px;
    background:
        radial-gradient(900px 500px at 88% -6%, rgba(255,215,0,0.06), transparent 60%),
        radial-gradient(760px 520px at 0% 108%, rgba(223,37,226,0.06), transparent 60%),
        #0c0c11;
    overflow: hidden;
}
.authx__inner { max-width: 1080px; margin: 0 auto; padding: 0 16px; position: relative; z-index: 1; }
.authx__back {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13px; color: var(--p-text-muted); text-decoration: none;
    margin-bottom: 20px; transition: color 0.18s;
}
.authx__back:hover { color: #FFD700; }

.authx__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--p-border);
    box-shadow: 0 40px 90px rgba(0,0,0,0.55);
    background: var(--p-card);
}
.authx--wide .authx__grid { grid-template-columns: 0.82fr 1.18fr; }

/* Left: branding / benefits */
.authx__aside {
    position: relative;
    padding: 52px 46px;
    background: linear-gradient(158deg, #221900 0%, #14131d 46%, #1b0a19 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.authx__aside::before {
    content: '';
    position: absolute; top: -80px; right: -80px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(255,215,0,0.16), transparent 68%);
    pointer-events: none;
}
.authx__aside::after {
    content: '';
    position: absolute; bottom: -120px; left: -60px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(223,37,226,0.14), transparent 70%);
    pointer-events: none;
}
.authx__aside > * { position: relative; z-index: 1; }
.authx__badge {
    width: 58px; height: 58px; border-radius: 15px;
    background: linear-gradient(135deg, #FFE55C 0%, #FFD700 45%, #B8860B 100%);
    color: #0a0800; font-weight: 900; font-size: 21px; letter-spacing: 0.5px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 28px rgba(255,215,0,0.32);
}
.authx__eyebrow {
    margin-top: 30px; font-size: 11px; font-weight: 800;
    letter-spacing: 2.5px; text-transform: uppercase; color: #FFD700;
}
.authx__headline {
    font-size: 30px; font-weight: 900; line-height: 1.2;
    color: #fff; margin: 12px 0 14px; letter-spacing: -0.4px;
}
.authx__headline span { color: #FFD700; }
.authx__text { font-size: 14px; color: #b6b9ca; line-height: 1.75; margin: 0 0 28px; }
.authx__benefits { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 13px; }
/* Each audience carries its own accent (--rp), the same three colours the signup
   role picker uses, so the two halves of the page read as one system. */
.authx__benefit {
    --rp: #FFD700; --rp-soft: rgba(255,215,0,0.12); --rp-line: rgba(255,215,0,0.28);
    display: flex; gap: 13px; align-items: flex-start;
    font-size: 13.5px; color: #d9dbe6; line-height: 1.5;
}
.authx__benefit strong { color: #fff; font-weight: 700; }
.authx__benefit-ic {
    width: 26px; height: 26px; min-width: 26px; border-radius: 8px;
    background: var(--rp-soft); border: 1px solid var(--rp-line);
    color: var(--rp); font-size: 12px;
    display: flex; align-items: center; justify-content: center;
}
.authx__benefit--fan { --rp: #22c55e; --rp-soft: rgba(34,197,94,0.12);  --rp-line: rgba(34,197,94,0.32); }
.authx__benefit--gem { --rp: #38bdf8; --rp-soft: rgba(56,189,248,0.12); --rp-line: rgba(56,189,248,0.34); }
/* ── Gate access ─────────────────────────────────────────────────
   Venue security lands on the login page with no account and nothing to
   sign in to, so the route to GLAD verification lives here. Deliberately
   neutral platinum rather than a fourth accent: gold, green and blue
   already mean Artist, Fan and GEM, and another colour would read as
   another membership tier. Staff are not a tier. */
.authx__gate-wrap {
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.authx__gate {
    display: flex; align-items: center; gap: 13px;
    padding: 13px 15px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--p-radius-lg);
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.authx__gate:hover,
.authx__gate:focus-visible {
    background: rgba(255,255,255,0.075);
    border-color: rgba(255,255,255,0.3);
    transform: translateX(2px);
    text-decoration: none;
}
.authx__gate:focus-visible { outline: 2px solid rgba(255,255,255,0.5); outline-offset: 2px; }
.authx__gate-ic {
    flex: 0 0 auto;
    width: 40px; height: 40px; border-radius: 11px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.2);
    color: #eef0f7; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    transition: background .18s ease, color .18s ease;
}
.authx__gate:hover .authx__gate-ic { background: #eef0f7; color: #14161d; }
.authx__gate-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.authx__gate-title { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; }
.authx__gate-sub { font-size: 12.5px; color: #9ca0b4; line-height: 1.45; }
.authx__gate-go { flex: 0 0 auto; color: #6f748c; font-size: 13px; }
.authx__aside-foot {
    margin-top: 20px; padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; gap: 28px;
}
.authx__stat-num { display: block; font-size: 20px; font-weight: 900; color: #FFD700; line-height: 1; }
.authx__stat-label { font-size: 11px; color: #8b8ea3; letter-spacing: 0.3px; }

/* Right: form card */
.authx__card { padding: 46px 46px; background: var(--p-card); display: flex; flex-direction: column; }
.authx__card-head { margin-bottom: 24px; }
.authx__card-title { font-size: 25px; font-weight: 800; color: var(--p-text); margin: 0 0 6px; letter-spacing: -0.3px; }
.authx__card-sub { font-size: 13.5px; color: var(--p-text-muted); margin: 0; line-height: 1.6; }
/* ── Premium submit CTA ──────────────────────────────────────────
   The closing action on every auth form. Each page sets its own accent
   through --sb / --sb-2 / --sb-ink, so one rule covers gold, green and
   sky-blue without duplicating the gradient, glow and shine. */
.authx__submit {
    --sb: #FFD700; --sb-2: #B8860B; --sb-ink: #0a0800;
    --sb-glow: rgba(255, 215, 0, 0.32);
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: center;
    padding: 15px 26px;
    font-size: 15px; font-weight: 800; letter-spacing: 0.2px;
    border: none; border-radius: 12px;
    background: linear-gradient(135deg, var(--sb) 0%, var(--sb) 42%, var(--sb-2) 100%);
    color: var(--sb-ink);
    box-shadow: 0 10px 26px -8px var(--sb-glow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: transform .16s ease, box-shadow .2s ease, filter .2s ease;
}
/* Light sweep across the face on hover. */
.authx__submit::after {
    content: '';
    position: absolute; top: 0; left: -130%;
    width: 55%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transform: skewX(-20deg);
    transition: left .6s ease;
    pointer-events: none;
}
.authx__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px -8px var(--sb-glow), inset 0 1px 0 rgba(255, 255, 255, 0.34);
    filter: brightness(1.04);
}
.authx__submit:hover::after { left: 150%; }
.authx__submit:active { transform: translateY(0); box-shadow: 0 6px 16px -8px var(--sb-glow); }
.authx__submit:focus-visible { outline: 2px solid var(--sb); outline-offset: 3px; }
.authx__submit:disabled { filter: grayscale(0.4); transform: none; box-shadow: none; }

.authx__submit--fan { --sb: #4ade80; --sb-2: #15803d; --sb-ink: #05230f; --sb-glow: rgba(34, 197, 94, 0.34); }
.authx__submit--gem { --sb: #7dd3fc; --sb-2: #0284c7; --sb-ink: #04202e; --sb-glow: rgba(56, 189, 248, 0.34); }

/* ── Card footer: cross-links as compact action tiles ───────────── */
.authx__card-foot {
    margin-top: 22px; padding-top: 20px;
    border-top: 1px solid var(--p-border);
    display: flex; flex-wrap: wrap; gap: 10px;
}
.authx__foot-link {
    --fl: #FFD700;
    --fl-soft: rgba(255, 215, 0, 0.05);
    --fl-line: rgba(255, 215, 0, 0.5);
    --fl-ic: rgba(255, 215, 0, 0.14);
    flex: 1 1 170px;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.022);
    border: 1px solid var(--p-border);
    border-radius: 10px;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.authx__foot-link:hover {
    border-color: var(--fl-line);
    background: var(--fl-soft);
    transform: translateY(-1px);
}
.authx__foot-link:focus-visible { outline: 2px solid var(--fl); outline-offset: 2px; }
.authx__foot-ic {
    flex: 0 0 auto;
    width: 30px; height: 30px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: var(--p-card-hover);
    color: var(--p-text-muted); font-size: 12px;
    transition: background .18s ease, color .18s ease;
}
.authx__foot-link:hover .authx__foot-ic { background: var(--fl-ic); color: var(--fl); }
.authx__foot-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.authx__foot-txt small { font-size: 10.5px; color: var(--p-text-muted); }
.authx__foot-txt strong { font-size: 13px; font-weight: 700; color: var(--p-text); }
.authx__foot-link:hover .authx__foot-txt strong { color: var(--fl); }
.authx__foot-go {
    margin-left: auto; flex: 0 0 auto;
    font-size: 11px; color: var(--p-text-muted);
    transition: color .18s ease, transform .18s ease;
}
.authx__foot-link:hover .authx__foot-go { color: var(--fl); transform: translateX(3px); }

/* The GEM Enterprise route is a different kind of action from the peer links
   beside it — an application, not a signup — so it takes its own full-width row
   and the sky-blue enterprise accent at every breakpoint. */
.authx__foot-link--gem {
    --fl: #38bdf8;
    --fl-soft: rgba(56, 189, 248, 0.06);
    --fl-line: rgba(56, 189, 248, 0.5);
    --fl-ic: rgba(56, 189, 248, 0.16);
    flex: 1 1 100%;
    border-color: rgba(56, 189, 248, 0.22);
    background: linear-gradient(100deg, rgba(56, 189, 248, 0.05), rgba(255, 255, 255, 0.02) 60%);
}
.authx__foot-link--gem .authx__foot-ic {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}
.authx__foot-tag {
    margin-left: 7px; padding: 1px 6px; border-radius: 20px;
    font-size: 8.5px; font-weight: 800; letter-spacing: 0.9px; text-transform: uppercase;
    background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8; vertical-align: 1px;
}
@media (max-width: 400px) {
    .authx__foot-tag { display: none; }
}

.authx__split-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.authx__split-btns .p-btn { flex: 1; justify-content: center; min-width: 150px; }

/* ── Signup role picker ──────────────────────────────────────────
   One row per audience (Artist / Fan / GEM Enterprise). Each row carries
   its own accent via --rp, so the hover, icon tile and edge bar all shift
   together without a separate rule per state. */
.rolepick { display: flex; flex-direction: column; gap: 9px; }
.rolepick__opt {
    --rp: #FFD700;
    --rp-soft: rgba(255, 215, 0, 0.12);
    position: relative;
    display: flex; align-items: center; gap: 13px;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.022);
    border: 1px solid var(--p-border);
    border-radius: var(--p-radius-lg);
    text-decoration: none;
    overflow: hidden;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
/* Accent bar that slides in from the left edge on hover. */
.rolepick__opt::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--rp);
    transform: scaleY(0); transform-origin: center;
    transition: transform .2s ease;
}
.rolepick__opt:hover,
.rolepick__opt:focus-visible {
    border-color: var(--rp);
    background: var(--rp-soft);
    transform: translateX(2px);
}
.rolepick__opt:hover::before,
.rolepick__opt:focus-visible::before { transform: scaleY(1); }
.rolepick__opt:focus-visible { outline: 2px solid var(--rp); outline-offset: 2px; }

.rolepick__ic {
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 11px;
    background: var(--rp-soft);
    border: 1px solid var(--rp);
    color: var(--rp); font-size: 15px;
    transition: background .18s ease, color .18s ease;
}
.rolepick__opt:hover .rolepick__ic { background: var(--rp); color: #0a0a0a; }

.rolepick__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rolepick__title {
    display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
    font-size: 14px; font-weight: 700; color: var(--p-text); line-height: 1.3;
}
.rolepick__sub { font-size: 12px; color: var(--p-text-muted); line-height: 1.45; }
.rolepick__tag {
    font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    padding: 2px 7px; border-radius: 20px;
    background: var(--rp-soft); border: 1px solid var(--rp); color: var(--rp);
}
.rolepick__go {
    margin-left: auto; flex: 0 0 auto;
    font-size: 12px; color: var(--p-text-muted);
    transition: color .18s ease, transform .18s ease;
}
.rolepick__opt:hover .rolepick__go { color: var(--rp); transform: translateX(3px); }

.rolepick__opt--fan { --rp: #22c55e; --rp-soft: rgba(34, 197, 94, 0.12); }
/* GEM Enterprise carries the sky-blue accent already used by the GEM agreement page. */
.rolepick__opt--gem { --rp: #38bdf8; --rp-soft: rgba(56, 189, 248, 0.12); }

/* On phones the ENTERPRISE tag wraps the title onto a second line and makes the
   GEM row noticeably taller than its siblings — the magenta accent already sets
   it apart, so drop the tag rather than the alignment. */
@media (max-width: 480px) {
    .rolepick__tag { display: none; }
}
@media (max-width: 380px) {
    .rolepick__opt { padding: 11px 12px; gap: 11px; }
    .rolepick__ic { width: 34px; height: 34px; border-radius: 9px; font-size: 13px; }
    .rolepick__sub { font-size: 11.5px; }
}

/* ── Agreement consent block (single checkbox covering all agreements) ── */
.agree-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--p-border);
    border-radius: var(--p-radius-lg);
    overflow: hidden;
}
.agree-box__head {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 10px;
    background: rgba(255, 215, 0, 0.05);
    border-bottom: 1px solid var(--p-border);
    font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    color: var(--p-accent);
}
.agree-box__count {
    margin-left: auto;
    background: rgba(255, 215, 0, 0.14);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 50px;
    padding: 0 6px;
    font-size: 8.5px; letter-spacing: 0.3px;
}
/* Each agreement is its own separated row so the count reads clearly as three */
.agree-box__list { padding: 5px; display: flex; flex-direction: column; gap: 4px; }
.agree-box__item {
    display: flex; align-items: center; gap: 7px;
    padding: 5px 8px; border-radius: 6px;
    border: 1px solid var(--p-border);
    background: var(--p-bg);
    color: var(--p-text-muted); text-decoration: none;
    font-size: 11px; line-height: 1.3;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.agree-box__item:hover {
    background: rgba(255, 215, 0, 0.06);
    border-color: rgba(255, 215, 0, 0.4);
    color: var(--p-text);
    text-decoration: none;
}
.agree-box__num {
    width: 16px; height: 16px; min-width: 16px; border-radius: 50%;
    background: rgba(255, 215, 0, 0.12); border: 1px solid rgba(255, 215, 0, 0.35);
    color: var(--p-accent); font-size: 9px; font-weight: 800; line-height: 1;
    display: flex; align-items: center; justify-content: center;
}
.agree-box__item-text { flex: 1; font-weight: 600; }
.agree-box__item-go {
    display: inline-flex; align-items: center; gap: 4px;
    color: var(--p-text-soft); font-size: 8.5px; font-weight: 700;
    letter-spacing: 0.3px; text-transform: uppercase; white-space: nowrap;
    transition: color 0.18s;
}
.agree-box__item:hover .agree-box__item-go { color: var(--p-accent); }

@media (max-width: 560px) {
    .agree-box__item-go span { display: none; }
}

.agree-box__check {
    display: flex; align-items: flex-start; gap: 8px;
    padding: 8px 10px;
    border-top: 1px solid var(--p-border);
    background: rgba(255, 255, 255, 0.015);
    cursor: pointer;
    font-size: 11px; color: var(--p-text); line-height: 1.4;
    transition: background 0.18s;
}
.agree-box__check:hover { background: rgba(255, 215, 0, 0.04); }
.agree-box__check input[type="checkbox"] {
    width: 14px; height: 14px; flex-shrink: 0; margin-top: 0;
    accent-color: var(--p-accent); cursor: pointer;
}
.agree-box__check strong { color: var(--p-accent); font-weight: 700; }

@media (max-width: 860px) {
    .authx__grid, .authx--wide .authx__grid { grid-template-columns: 1fr; }
    .authx__aside { padding: 40px 30px; }
    /* ── Gate access ─────────────────────────────────────────────────
   Venue security lands on the login page with no account and nothing to
   sign in to, so the route to GLAD verification lives here. Deliberately
   neutral platinum rather than a fourth accent: gold, green and blue
   already mean Artist, Fan and GEM, and another colour would read as
   another membership tier. Staff are not a tier. */
.authx__gate-wrap {
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.authx__gate {
    display: flex; align-items: center; gap: 13px;
    padding: 13px 15px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--p-radius-lg);
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.authx__gate:hover,
.authx__gate:focus-visible {
    background: rgba(255,255,255,0.075);
    border-color: rgba(255,255,255,0.3);
    transform: translateX(2px);
    text-decoration: none;
}
.authx__gate:focus-visible { outline: 2px solid rgba(255,255,255,0.5); outline-offset: 2px; }
.authx__gate-ic {
    flex: 0 0 auto;
    width: 40px; height: 40px; border-radius: 11px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.2);
    color: #eef0f7; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    transition: background .18s ease, color .18s ease;
}
.authx__gate:hover .authx__gate-ic { background: #eef0f7; color: #14161d; }
.authx__gate-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.authx__gate-title { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; }
.authx__gate-sub { font-size: 12.5px; color: #9ca0b4; line-height: 1.45; }
.authx__gate-go { flex: 0 0 auto; color: #6f748c; font-size: 13px; }
.authx__aside-foot { display: none; }
    .authx__card { padding: 36px 30px; }
    .authx__headline { font-size: 25px; }
}
@media (max-width: 480px) {
    .authx { padding: 40px 0 60px; }
    .authx__aside { padding: 30px 22px; }
    .authx__card { padding: 30px 22px; }
    .authx__card-title { font-size: 22px; }
}
