/* SHUPPZHSD-B15UX2-AUTH-EXPERIENCE-SECURITY-HARDENING-R1
   Additive auth/security presentation. B15UX1 routes, forms and business logic remain authoritative. */

.b15ux1-auth {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(109,84,239,.08), transparent 28%),
        linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
    color: #111827;
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

.b15ux1-shell { min-height: 100vh; display: flex; flex-direction: column; }
.b15ux1-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 88px; flex: 1; }
.b15ux1-footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0 34px; display: flex; gap: 18px; align-items: center; color: #667085; font-size: 13px; }
.b15ux1-footer a,.b15ux1-footer button { color: #475467; border: 0; background: transparent; padding: 0; font: inherit; text-decoration: none; cursor: pointer; }
.b15ux1-footer a:hover,.b15ux1-footer button:hover { color: #5b46dc; }

.b15ux2-header {
    position: sticky;
    top: 0;
    z-index: 30;
    width: 100%;
    border-bottom: 1px solid rgba(17,24,39,.07);
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.b15ux2-header__inner {
    width: min(1180px, calc(100% - 40px));
    height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.b15ux2-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.b15ux2-brand img { width: 112px; height: auto; display: block; }
.b15ux2-beta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #f0edff;
    color: #5d43de;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .08em;
}
.b15ux2-beta i { width: 6px; height: 6px; border-radius: 50%; background: #7257f2; box-shadow: 0 0 0 4px rgba(114,87,242,.10); }
.b15ux2-header__nav { display: flex; align-items: center; gap: 22px; }
.b15ux2-header__nav a,.b15ux2-header__nav button {
    border: 0;
    background: transparent;
    color: #344054;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    padding: 8px 0;
}
.b15ux2-header__nav a:hover,.b15ux2-header__nav button:hover { color: #5b46dc; }
.b15ux2-header__nav form { margin: 0; }

.b15ux2-login {
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .8fr);
    gap: clamp(56px, 8vw, 112px);
    align-items: center;
}
.b15ux2-login__context { max-width: 570px; padding: 34px 0; }
.b15ux2-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #6650e8;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .12em;
}
.b15ux2-login__context h1 {
    margin: 0;
    max-width: 630px;
    font-size: clamp(42px, 4.4vw, 64px);
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 560;
}
.b15ux2-login__context > p {
    margin: 24px 0 32px;
    max-width: 560px;
    color: #667085;
    font-size: 18px;
    line-height: 1.7;
}
.b15ux2-context-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 15px;
    padding: 17px 0;
    border-top: 1px solid #e8eaf0;
}
.b15ux2-context-card__icon {
    width: 42px; height: 42px; border-radius: 14px;
    display: grid; place-items: center;
    background: #f0edff; color: #6248e6;
}
.b15ux2-context-card__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.b15ux2-context-card strong { display: block; margin-bottom: 4px; font-size: 15px; }
.b15ux2-context-card span { display: block; color: #667085; font-size: 14px; line-height: 1.6; }

.b15ux2-auth-card {
    width: 100%;
    max-width: 500px;
    justify-self: end;
    border: 1px solid rgba(208,213,221,.85);
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 30px 80px rgba(16,24,40,.11), 0 8px 24px rgba(16,24,40,.05);
    padding: 38px;
}
.b15ux2-auth-card__head h2 { margin: 0; font-size: 30px; line-height: 1.14; letter-spacing: -.025em; font-weight: 620; }
.b15ux2-auth-card__head p { margin: 10px 0 26px; color: #667085; font-size: 15px; }
.b15ux2-passkey-button {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid #cfd4dc;
    border-radius: 14px;
    background: #fff;
    color: #101828;
    text-align: left;
    padding: 10px 14px;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.b15ux2-passkey-button:hover { border-color: #7862ef; box-shadow: 0 8px 24px rgba(109,84,239,.10); transform: translateY(-1px); }
.b15ux2-passkey-button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.b15ux2-passkey-button__icon {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: #f0edff; color: #6248e6; flex: 0 0 auto;
}
.b15ux2-passkey-button__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.b15ux2-passkey-button strong { display: block; font-size: 14px; }
.b15ux2-passkey-button small { display: block; margin-top: 2px; color: #667085; font-size: 12px; line-height: 1.4; }
.b15ux2-separator { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: #98a2b3; font-size: 12px; }
.b15ux2-separator::before,.b15ux2-separator::after { content: ""; height: 1px; background: #eaecf0; flex: 1; }

.b15ux2-form { display: grid; gap: 17px; }
.b15ux2-form label > span { display: block; margin-bottom: 7px; color: #344054; font-size: 13px; font-weight: 650; }
.b15ux2-form input[type="email"],.b15ux2-form input[type="password"] {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #fff;
    color: #101828;
    font: inherit;
    font-size: 15px;
    padding: 12px 14px;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.b15ux2-form input:focus { border-color: #7257f2; box-shadow: 0 0 0 4px rgba(114,87,242,.12); }
.b15ux2-password { position: relative; }
.b15ux2-password input { padding-right: 70px !important; }
.b15ux2-password button {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    border: 0; background: transparent; color: #5b46dc;
    font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; padding: 8px;
}
.b15ux2-form__between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.b15ux2-form__between a { color: #5b46dc; font-size: 13px; font-weight: 650; text-decoration: none; }
.b15ux2-check { display: inline-flex !important; align-items: center; gap: 8px; margin: 0; cursor: pointer; }
.b15ux2-check input { width: 16px; height: 16px; accent-color: #654ce7; }
.b15ux2-check span { margin: 0 !important; font-weight: 500 !important; color: #475467 !important; }
.b15ux2-consent-stack { display: grid; gap: 10px; padding: 14px 15px; border: 1px solid #e5e7ef; border-radius: 13px; background: #fbfbfe; }
.b15ux2-consent-row { display: grid; grid-template-columns: 17px minmax(0,1fr); align-items: start; gap: 10px; margin: 0; cursor: pointer; }
.b15ux2-consent-row input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: #654ce7; }
.b15ux2-consent-row > span { margin: 0 !important; color: #475467 !important; font-size: 12px !important; font-weight: 500 !important; line-height: 1.5; }
.b15ux2-consent-row--required > span { color: #344054 !important; }
.b15ux2-consent-row a,.b15ux2-consent-note button { color: #5b46dc; font: inherit; font-weight: 650; text-decoration: none; }
.b15ux2-consent-row a:hover,.b15ux2-consent-note button:hover { text-decoration: underline; }
.b15ux2-consent-note { margin: 0 0 0 27px; color: #7a8190; font-size: 11px; line-height: 1.5; }
.b15ux2-consent-note button { padding: 0; border: 0; background: transparent; cursor: pointer; }
.b15ux2-primary,.b15ux2-secondary {
    border: 0;
    border-radius: 12px;
    min-height: 48px;
    padding: 12px 16px;
    font: inherit;
    font-weight: 720;
    cursor: pointer;
}
.b15ux2-primary {
    color: #fff;
    background: linear-gradient(135deg,#6044e6,#7659f5);
    box-shadow: 0 12px 28px rgba(96,68,230,.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.b15ux2-primary:hover { filter: brightness(1.03); }
.b15ux2-primary svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.b15ux2-secondary { color: #4f3bd0; background: #f1efff; border: 1px solid #ded8ff; }
.b15ux2-secondary:hover { background: #ebe7ff; }
.b15ux2-passkey-confirm { margin: 0 0 14px; padding: 14px; border: 1px solid #e6e2ff; border-radius: 13px; background: #faf9ff; }
.b15ux2-passkey-confirm label > span { display: block; margin-bottom: 7px; color: #344054; font-size: 12px; font-weight: 650; }
.b15ux2-passkey-confirm input { width: 100%; min-height: 44px; box-sizing: border-box; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; color: #101828; font: inherit; padding: 10px 64px 10px 12px; outline: none; }
.b15ux2-passkey-confirm input:focus { border-color: #7257f2; box-shadow: 0 0 0 4px rgba(114,87,242,.12); }
.b15ux2-passkey-confirm small { display: block; margin-top: 7px; color: #667085; font-size: 11px; line-height: 1.5; }
.b15ux2-auth-note { margin-top: 14px; border-radius: 10px; padding: 11px 12px; background: #f5f3ff; color: #4d3db5; font-size: 13px; }
.b15ux2-auth-note.is-error { background: #fff1f2; color: #b42318; }
.b15ux2-trust-row { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #eaecf0; color: #667085; font-size: 11px; }
.b15ux2-trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.b15ux2-trust-row i { width: 7px; height: 7px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 3px rgba(18,183,106,.10); }
.b15ux2-signup { margin: 20px 0 0; text-align: center; color: #667085; font-size: 13px; }
.b15ux2-signup a { color: #5b46dc; font-weight: 700; text-decoration: none; }

/* existing B15 alerts become visually consistent */
.b15ux1-alert { max-width: 500px; margin: 0 auto 18px; border-radius: 12px; padding: 12px 14px; font-size: 13px; }
.b15ux1-alert--success { background: #ecfdf3; color: #027a48; border: 1px solid #abefc6; }
.b15ux1-alert--error { background: #fff1f3; color: #b42318; border: 1px solid #fecdd6; }
.b15ux1-alert ul { margin: 6px 0 0 18px; }

/* security workspace */
.b15ux2-security { padding: 10px 0 20px; }
.b15ux2-security__head { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 30px; }
.b15ux2-security__head h1 { margin: 0; font-size: clamp(36px, 4vw, 54px); line-height: 1.05; letter-spacing: -.04em; font-weight: 570; }
.b15ux2-security__head p { margin: 12px 0 0; color: #667085; font-size: 16px; }
.b15ux2-security__state { display: inline-flex; align-items: center; gap: 8px; color: #027a48; font-size: 13px; font-weight: 700; white-space: nowrap; }
.b15ux2-security__state i { width: 9px; height: 9px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 4px rgba(18,183,106,.12); }
.b15ux2-security__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.b15ux2-security-card {
    background: rgba(255,255,255,.96);
    border: 1px solid #e3e7ee;
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(16,24,40,.06);
    padding: 24px;
}
.b15ux2-security-card__title { display: grid; grid-template-columns: 44px 1fr; gap: 13px; margin-bottom: 20px; }
.b15ux2-security-card__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #f0edff; color: #6248e6; }
.b15ux2-security-card__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.b15ux2-security-card h2 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.b15ux2-security-card__title p { margin: 4px 0 0; color: #667085; font-size: 13px; line-height: 1.5; }
.b15ux2-security-list { margin-top: 16px; display: grid; gap: 9px; }
.b15ux2-security-list__item { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 12px; border: 1px solid #eaecf0; border-radius: 12px; background: #fbfcfe; }
.b15ux2-security-list__item strong { display: block; font-size: 13px; }
.b15ux2-security-list__item span { display: block; margin-top: 2px; color: #667085; font-size: 11px; }
.b15ux2-security-list__item button { border: 0; background: transparent; color: #b42318; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.b15ux2-security-list__empty { color: #98a2b3; font-size: 13px; padding: 10px 0; }
.b15ux2-security-points { margin: 0; padding-left: 20px; color: #667085; font-size: 13px; line-height: 1.65; }
.b15ux2-security-points li + li { margin-top: 8px; }

/* Cookie consent: compact floating card instead of a full-width visual wall. */
.b15ux1-cookie {
    position: fixed !important;
    left: auto !important;
    right: 22px !important;
    bottom: 22px !important;
    z-index: 60 !important;
    width: min(460px, calc(100vw - 28px)) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 18px !important;
    background: #101828 !important;
    color: #fff !important;
    box-shadow: 0 28px 70px rgba(16,24,40,.28) !important;
    padding: 18px !important;
    display: grid !important;
    gap: 14px !important;
}
.b15ux1-cookie[hidden] { display: none !important; }
.b15ux1-cookie strong { font-size: 14px; }
.b15ux1-cookie p { margin: 5px 0 0; color: #cbd5e1; font-size: 12px; line-height: 1.55; }
.b15ux1-cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.b15ux1-cookie .b15ux1-btn { min-height: 36px; padding: 8px 10px; border-radius: 9px; border: 1px solid rgba(255,255,255,.16); background: #6650e8; color: #fff; font-size: 11px; }
.b15ux1-cookie .b15ux1-btn--secondary { background: rgba(255,255,255,.06); }

/* Founder Admin security operations */
.b15ux2-founder { margin: 0; min-height: 100vh; background: #0b0f17; color: #f8fafc; font-family: ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; font-size: 14px; }
.b15ux2-founder__topbar { height: 68px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #1e293b; background: rgba(11,15,23,.94); position: sticky; top: 0; z-index: 20; }
.b15ux2-founder__brand { display: flex; align-items: center; gap: 14px; color: #f8fafc; text-decoration: none; font-weight: 700; }
.b15ux2-founder__brand img { width: 104px; filter: brightness(0) invert(1); }
.b15ux2-founder__brand span { color: #94a3b8; font-size: 12px; font-weight: 600; border-left: 1px solid #334155; padding-left: 14px; }
.b15ux2-founder__identity { text-align: right; }
.b15ux2-founder__identity span { display: block; color: #7c8ba1; font-size: 10px; letter-spacing: .12em; }
.b15ux2-founder__identity strong { display: block; margin-top: 2px; font-size: 13px; }
.b15ux2-founder__main { width: min(1500px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0 70px; }
.b15ux2-founder__hero { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 28px; }
.b15ux2-founder__hero > div > span { color: #8975ff; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.b15ux2-founder__hero h1 { margin: 8px 0 0; font-size: 36px; letter-spacing: -.03em; }
.b15ux2-founder__hero p { margin: 10px 0 0; max-width: 720px; color: #94a3b8; font-size: 14px; }
.b15ux2-founder__retention { min-width: 160px; padding: 14px 16px; border: 1px solid #293548; border-radius: 12px; background: #121925; }
.b15ux2-founder__retention strong { display: block; font-size: 20px; }
.b15ux2-founder__retention span { display: block; color: #7c8ba1; font-size: 11px; }
.b15ux2-founder__filters { display: grid; grid-template-columns: minmax(220px,1.5fr) repeat(3,minmax(130px,.7fr)) auto auto; gap: 10px; align-items: end; margin-bottom: 18px; }
.b15ux2-founder__filters label { color: #94a3b8; font-size: 11px; }
.b15ux2-founder__filters input,.b15ux2-founder__filters select { width: 100%; box-sizing: border-box; margin-top: 5px; min-height: 38px; border: 1px solid #2b3749; border-radius: 9px; background: #101722; color: #f8fafc; padding: 8px 10px; font: inherit; }
.b15ux2-founder__filters button { min-height: 38px; border: 0; border-radius: 9px; background: #6d54ef; color: #fff; font: inherit; font-weight: 700; padding: 8px 14px; cursor: pointer; }
.b15ux2-founder__risk { display: flex; align-items: center; gap: 7px; min-height: 38px; }
.b15ux2-founder__risk input { width: 15px; min-height: 0; margin: 0; accent-color: #7c62ff; }
.b15ux2-founder__panel { border: 1px solid #202a38; border-radius: 14px; background: #101722; overflow: hidden; }
.b15ux2-founder__panel-head { padding: 14px 16px; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #202a38; }
.b15ux2-founder__panel-head span { display: block; color: #7c8ba1; font-size: 10px; letter-spacing: .1em; }
.b15ux2-founder__panel-head strong { display: block; margin-top: 3px; }
.b15ux2-founder__panel-head small { color: #64748b; align-self: center; }
.b15ux2-founder__table-wrap { overflow-x: auto; }
.b15ux2-founder table { width: 100%; border-collapse: collapse; min-width: 1120px; }
.b15ux2-founder th { padding: 10px 12px; text-align: left; color: #64748b; font-size: 10px; letter-spacing: .08em; border-bottom: 1px solid #202a38; }
.b15ux2-founder td { padding: 12px; vertical-align: top; border-bottom: 1px solid #1b2532; }
.b15ux2-founder td strong { display: block; color: #e2e8f0; font-size: 12px; }
.b15ux2-founder td > span { display: block; color: #64748b; margin-top: 3px; font-size: 10px; }
.b15ux2-founder__pill,.b15ux2-founder__outcome { display: inline-flex !important; width: max-content; margin: 0 !important; border-radius: 999px; padding: 5px 8px; font-size: 10px !important; font-weight: 700; }
.b15ux2-founder__pill { background: #1d2939; color: #cbd5e1 !important; }
.b15ux2-founder__outcome--success,.b15ux2-founder__outcome--passkey_success { background: #12372d; color: #6ce9a6 !important; }
.b15ux2-founder__outcome--failure { background: #3b2025; color: #fda4af !important; }
.b15ux2-founder__outcome--blocked { background: #3b2e18; color: #fbbf24 !important; }
.b15ux2-founder__flags { display: flex; flex-wrap: wrap; gap: 4px; }
.b15ux2-founder__flags span { border: 1px solid #5b3e28; border-radius: 999px; padding: 3px 6px; color: #fbbf24; font-size: 9px; }
.b15ux2-founder__muted { color: #64748b !important; }
.b15ux2-founder__empty { padding: 34px; text-align: center; color: #64748b; }

@media (max-width: 980px) {
    .b15ux2-login { grid-template-columns: 1fr; gap: 28px; min-height: 0; }
    .b15ux2-login__context { max-width: 760px; padding-bottom: 0; }
    .b15ux2-auth-card { justify-self: stretch; max-width: none; }
    .b15ux2-security__grid { grid-template-columns: 1fr; }
    .b15ux2-founder__filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
    .b15ux1-main { width: min(100% - 24px, 1180px); padding: 34px 0 54px; }
    .b15ux2-header__inner { width: min(100% - 24px, 1180px); height: 66px; }
    .b15ux2-brand img { width: 96px; }
    .b15ux2-header__nav { gap: 13px; }
    .b15ux2-header__nav a,.b15ux2-header__nav button { font-size: 12px; }
    .b15ux2-login__context h1 { font-size: 40px; }
    .b15ux2-login__context > p { font-size: 16px; }
    .b15ux2-auth-card { padding: 24px 18px; border-radius: 18px; }
    .b15ux2-form__between { align-items: flex-start; flex-direction: column; }
    .b15ux2-security__head { align-items: flex-start; flex-direction: column; }
    .b15ux2-security-card { padding: 18px; }
    .b15ux1-footer { width: min(100% - 24px,1180px); flex-wrap: wrap; }
    .b15ux1-cookie { right: 14px !important; bottom: 14px !important; }
    .b15ux2-founder__topbar { padding: 0 16px; }
    .b15ux2-founder__main { width: min(100% - 24px,1500px); padding-top: 26px; }
    .b15ux2-founder__hero { align-items: flex-start; flex-direction: column; }
    .b15ux2-founder__filters { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .b15ux2-passkey-button,.b15ux2-form input { transition: none; }
}
