/* ============================================================
   BLEND PIXEL STUDIO — account.css v16.0
   · Centered login/register (ithappy-inspired layout)
   · Full Creator Dashboard styles
   · Both dark + light mode
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   TOKENS
════════════════════════════════════════════════════════════ */
:root {
    --ac-bg:    #0b0a0e;
    --ac-s1:    #111018;
    --ac-s2:    #1a1826;
    --ac-s3:    #221f30;
    --ac-s4:    #2c2940;
    --ac-bd:    #2e2b42;
    --ac-bdh:   #403c5c;
    --ac-acc:   #efb07d;
    --ac-acc-l: #f5c89a;
    --ac-acc-g: rgba(239, 176, 125, .15);
    --ac-acc-s: rgba(239, 176, 125, .08);
    --ac-ok:    #4ade80;
    --ac-err:   #f87171;
    --ac-warn:  #fbbf24;
    --ac-t1:    #f0ede8;
    --ac-t2:    #9a8e7e;
    --ac-t3:    #5c5248;
    --ac-r:     10px;
    --ac-rl:    16px;
    --ac-sh:    0 4px 32px rgba(0, 0, 0, .5);
    --ac-sh-l:  0 8px 48px rgba(0, 0, 0, .65);
    --ac-tr:    .2s ease;
    --ac-sb-w:  220px;
}
html[data-theme="light"] {
    --ac-bg:    #f2f0ed;
    --ac-s1:    #ffffff;
    --ac-s2:    #f0ede8;
    --ac-s3:    #e4e0d8;
    --ac-s4:    #d8d3ca;
    --ac-bd:    #ccc6bc;
    --ac-bdh:   #afa89e;
    --ac-t1:    #1a1612;
    --ac-t2:    #5c5248;
    --ac-t3:    #9a8e7e;
    --ac-acc-g: rgba(239, 176, 125, .18);
    --ac-acc-s: rgba(239, 176, 125, .06);
    --ac-sh:    0 4px 32px rgba(0, 0, 0, .1);
    --ac-sh-l:  0 8px 48px rgba(0, 0, 0, .18);
}

/* ════════════════════════════════════════════════════════════
   KILL KADENCE CHROME
════════════════════════════════════════════════════════════ */
.woocommerce-account #primary,
.woocommerce-account .site-main,
.woocommerce-account .content-container,
.woocommerce-account .entry-content-wrap,
.woocommerce-account .entry-content,
.woocommerce-account article.page,
.woocommerce-account .wp-block-group {
    background:    transparent !important;
    box-shadow:    none !important;
    border:        none !important;
    border-radius: 0 !important;
    padding:       0 !important;
    margin:        0 !important;
    max-width:     100% !important;
}
.woocommerce-account .entry-header,
.woocommerce-account .page-title-wrap,
.woocommerce-account .hero-section,
.woocommerce-account .entry-title,
.woocommerce-account h1.page-title { display: none !important; }
.woocommerce-account .woocommerce-MyAccount-navigation { display: none !important; }
.woocommerce-account body,
.woocommerce-account #page,
.woocommerce-account #wrapper,
.woocommerce-account .site { background: var(--ac-bg) !important; }

/* ════════════════════════════════════════════════════════════
   ██ AUTH PAGE — centered layout
════════════════════════════════════════════════════════════ */
.bps-auth-page {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    position: relative;
    overflow: hidden;
    background: var(--ac-bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Decorative blobs */
.bps-auth-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: .4;
    z-index: 0;
}
.bps-auth-blob--tl {
    width: 480px; height: 480px;
    top: -120px; left: -120px;
    background: radial-gradient(circle, rgba(239,176,125,.18) 0%, transparent 70%);
}
.bps-auth-blob--br {
    width: 400px; height: 400px;
    bottom: -100px; right: -80px;
    background: radial-gradient(circle, rgba(88,101,242,.12) 0%, transparent 70%);
}

/* Center container */
.bps-auth-center {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Logo */
.bps-auth-logo-link { display: block; margin-bottom: 28px; }
.bps-auth-logo { height: 52px; width: auto; object-fit: contain; }
.bps-auth-site-name {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px; font-weight: 800; color: var(--ac-t1);
    text-decoration: none; margin-bottom: 28px;
    letter-spacing: -.02em;
}

/* Card */
.bps-auth-card {
    width: 100%;
    background: var(--ac-s1);
    border: 1px solid var(--ac-bd);
    border-radius: var(--ac-rl);
    box-shadow: var(--ac-sh-l);
    overflow: hidden;
}

/* ── Tabs ───────────────────────────────────────────────── */
.bps-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--ac-bd);
}
.bps-auth-tab {
    padding: 18px 20px;
    background: transparent;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--ac-t3);
    cursor: pointer;
    transition: color var(--ac-tr), border-color var(--ac-tr);
    position: relative;
    letter-spacing: .01em;
}
.bps-auth-tab::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 2px;
    background: var(--ac-acc);
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transition: transform .25s ease;
}
.bps-auth-tab.is-active { color: var(--ac-t1); }
.bps-auth-tab.is-active::after { transform: scaleX(1); }
.bps-auth-tab:hover:not(.is-active) { color: var(--ac-t2); }

/* ── Panels ──────────────────────────────────────────────── */
.bps-auth-panel { display: none; padding: 32px 32px 28px; }
.bps-auth-panel.is-active { display: block; }

/* ── Field groups ────────────────────────────────────────── */
.bps-field-group { margin-bottom: 20px; }
.bps-field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ac-t1);
    margin-bottom: 8px;
    letter-spacing: .01em;
}
.bps-required { color: var(--ac-err); margin-left: 3px; }

.bps-input {
    width: 100%;
    background: var(--ac-s2);
    border: 1.5px solid var(--ac-bd);
    border-radius: var(--ac-r);
    color: var(--ac-t1);
    font-size: 15px;
    font-family: inherit;
    padding: 13px 16px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
    line-height: 1.4;
}
.bps-input:focus {
    border-color: var(--ac-acc);
    box-shadow: 0 0 0 3px var(--ac-acc-g);
}
.bps-input::placeholder { color: var(--ac-t3); }

/* Password wrap */
.bps-input-wrap { position: relative; }
.bps-input-wrap .bps-input { padding-right: 48px; }
.bps-pw-toggle {
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    color: var(--ac-t3);
    cursor: pointer; padding: 4px;
    display: flex; align-items: center;
    transition: color var(--ac-tr);
    line-height: 1;
}
.bps-pw-toggle:hover { color: var(--ac-t1); }

/* Remember me row */
.bps-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}
.bps-check-label {
    display: flex; align-items: center; gap: 9px;
    cursor: pointer; font-size: 14px; color: var(--ac-t2);
    user-select: none;
}
.bps-checkbox { display: none; }
.bps-check-box {
    width: 18px; height: 18px; flex-shrink: 0;
    border: 1.5px solid var(--ac-bd);
    border-radius: 5px; background: var(--ac-s2);
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.bps-checkbox:checked + .bps-check-box {
    background: var(--ac-acc); border-color: var(--ac-acc);
}
.bps-checkbox:checked + .bps-check-box::after {
    content: '';
    width: 10px; height: 6px;
    border-left: 2px solid #000; border-bottom: 2px solid #000;
    transform: rotate(-45deg) translateY(-1px);
    display: block;
}
.bps-check-text { font-size: 14px; color: var(--ac-t2); }
.bps-forgot {
    font-size: 13px; color: var(--ac-acc);
    text-decoration: none;
    transition: color var(--ac-tr);
    white-space: nowrap;
}
.bps-forgot:hover { color: var(--ac-acc-l); text-decoration: underline; }

/* ── Submit button ───────────────────────────────────────── */
.bps-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 15px 24px;
    background: var(--ac-acc);
    color: #000;
    border: none;
    border-radius: var(--ac-r);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: all .25s;
    box-shadow: 0 4px 20px var(--ac-acc-g);
    margin-bottom: 4px;
}
.bps-submit-btn:hover {
    background: var(--ac-acc-l);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(239,176,125,.35);
}
.bps-submit-btn:active { transform: translateY(0); }
.bps-submit-btn--reg {
    background: var(--ac-s2);
    color: var(--ac-t1);
    border: 1.5px solid var(--ac-bd);
    box-shadow: none;
}
.bps-submit-btn--reg:hover {
    background: var(--ac-acc);
    color: #000;
    border-color: var(--ac-acc);
    box-shadow: 0 8px 28px rgba(239,176,125,.3);
}

/* ── Divider ─────────────────────────────────────────────── */
.bps-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 18px;
    color: var(--ac-t3);
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.bps-divider::before,
.bps-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ac-bd);
}

/* ── Social login pills ──────────────────────────────────── */
/*
   Nextend Social Login outputs buttons with class .nextend-social-login
   We override them to be full-width pill buttons like ithappy.
*/
.bps-social-pills {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Target Nextend buttons */
.bps-social-pills .nextend-social-login,
.bps-social-pills .nsl-container,
.bps-social-pills .nsl-container-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
}
.bps-social-pills .nsl-button,
.bps-social-pills a.nsl-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    height: 48px !important;
    border-radius: var(--ac-r) !important;
    border: 1.5px solid var(--ac-bd) !important;
    background: var(--ac-s2) !important;
    color: var(--ac-t1) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    padding: 0 20px !important;
    transition: all .2s !important;
    cursor: pointer !important;
    box-shadow: none !important;
}
.bps-social-pills .nsl-button:hover,
.bps-social-pills a.nsl-button:hover {
    border-color: var(--ac-bdh) !important;
    background: var(--ac-s3) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.25) !important;
}
/* Google specific */
.bps-social-pills .nsl-button-google {
    border-color: rgba(66,133,244,.3) !important;
}
.bps-social-pills .nsl-button-google:hover {
    border-color: rgba(66,133,244,.6) !important;
}
/* Discord specific */
.bps-social-pills .nsl-button-discord {
    border-color: rgba(88,101,242,.3) !important;
}
.bps-social-pills .nsl-button-discord:hover {
    border-color: rgba(88,101,242,.6) !important;
}
/* Apple */
.bps-social-pills .nsl-button-apple {
    border-color: rgba(255,255,255,.15) !important;
}
/* Icon sizing */
.bps-social-pills .nsl-button img,
.bps-social-pills .nsl-button svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
}
/* Button label text */
.bps-social-pills .nsl-button-label-wrapper,
.bps-social-pills .nsl-button span { font-size: 14px !important; font-weight: 500 !important; }

/* Privacy note */
.bps-privacy {
    font-size: 12px;
    color: var(--ac-t3);
    line-height: 1.6;
    margin: 0 0 18px;
    text-align: center;
}
.bps-privacy a { color: var(--ac-acc); text-decoration: underline; text-underline-offset: 2px; }

/* WC notices inside card */
.bps-auth-card .woocommerce-error,
.bps-auth-card .woocommerce-message,
.bps-auth-card .woocommerce-info {
    background: var(--ac-s2) !important;
    border: none !important;
    border-left: 3px solid var(--ac-acc) !important;
    border-radius: 0 var(--ac-r) var(--ac-r) 0 !important;
    color: var(--ac-t1) !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    margin: 0 32px 16px !important;
    list-style: none !important;
}
.bps-auth-card .woocommerce-error { border-color: var(--ac-err) !important; background: rgba(248,113,113,.08) !important; }
.bps-auth-card .woocommerce-message { border-color: var(--ac-ok) !important; background: rgba(74,222,128,.08) !important; }
.bps-auth-card .woocommerce-error li,
.bps-auth-card .woocommerce-message li { list-style: none !important; margin: 0 !important; }
.bps-auth-card .woocommerce-error::before,
.bps-auth-card .woocommerce-message::before { display: none !important; }

/* Back link */
.bps-auth-back {
    margin-top: 20px;
    font-size: 13px;
    text-align: center;
}
.bps-auth-back a {
    color: var(--ac-t3);
    text-decoration: none;
    transition: color var(--ac-tr);
}
.bps-auth-back a:hover { color: var(--ac-acc); }

/* Light mode card adjustments */
html[data-theme="light"] .bps-auth-card { box-shadow: 0 4px 40px rgba(0,0,0,.12); }
html[data-theme="light"] .bps-auth-blob--tl { opacity: .25; }
html[data-theme="light"] .bps-auth-blob--br { opacity: .15; }

/* ════════════════════════════════════════════════════════════
   ██ CREATOR DASHBOARD LAYOUT
════════════════════════════════════════════════════════════ */
.bps-creator-wrap {
    display: flex;
    min-height: calc(100vh - 140px);
    background: var(--ac-bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ac-t1);
    font-size: 14px;
    line-height: 1.6;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.bps-creator-sidebar {
    width: var(--ac-sb-w);
    flex-shrink: 0;
    background: var(--ac-s1);
    border-right: 1px solid var(--ac-bd);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    scrollbar-width: none;
}
.bps-creator-sidebar::-webkit-scrollbar { display: none; }

/* Brand */
.bps-sidebar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 20px 20px;
    border-bottom: 1px solid var(--ac-bd);
}
.bps-sidebar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}
.bps-sidebar-text-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px; font-weight: 800;
    color: var(--ac-t1); text-decoration: none;
}
.bps-sidebar-name {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ac-t3);
    text-align: center;
}

/* Nav */
.bps-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 10px;
    flex: 1;
}
.bps-snav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ac-t2);
    text-decoration: none;
    transition: all var(--ac-tr);
    position: relative;
    cursor: pointer;
}
.bps-snav-item:hover { background: var(--ac-s2); color: var(--ac-t1); }
.bps-snav-item.is-active { background: var(--ac-acc-s); color: var(--ac-acc); font-weight: 600; }
.bps-snav-icon { flex-shrink: 0; display: flex; }
.bps-snav-label { flex: 1; }
.bps-snav-bar {
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 3px;
    background: var(--ac-acc);
    border-radius: 3px 0 0 3px;
}

/* Logout */
.bps-sidebar-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 24px;
    font-size: 13px;
    color: var(--ac-t3);
    text-decoration: none;
    border-top: 1px solid var(--ac-bd);
    transition: color var(--ac-tr);
}
.bps-sidebar-logout:hover { color: var(--ac-err); }

/* ── Main ────────────────────────────────────────────────── */
.bps-creator-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--ac-bg);
}

/* Top bar */
.bps-creator-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 28px;
    background: var(--ac-s1);
    border-bottom: 1px solid var(--ac-bd);
    position: sticky;
    top: 0;
    z-index: 50;
}
.bps-creator-page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ac-t1);
    margin: 0;
    flex: 1;
}
.bps-creator-user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ac-s2);
    border: 1px solid var(--ac-bd);
    border-radius: 50px;
    padding: 5px 14px 5px 5px;
    flex-shrink: 0;
}
.bps-topbar-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid var(--ac-acc-g);
    flex-shrink: 0;
}
.bps-topbar-user-text { display: flex; flex-direction: column; gap: 1px; }
.bps-topbar-name { font-size: 13px; font-weight: 700; color: var(--ac-t1); line-height: 1.2; }
.bps-topbar-handle { font-size: 11px; color: var(--ac-t3); line-height: 1; }

/* Mobile toggle button */
.bps-mob-menu-btn {
    display: none;
    background: var(--ac-s2);
    border: 1px solid var(--ac-bd);
    border-radius: 8px;
    color: var(--ac-t1);
    width: 38px; height: 38px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--ac-tr);
}
.bps-mob-menu-btn:hover { background: var(--ac-s3); }

/* Content area */
.bps-creator-content {
    padding: 28px 28px 60px;
    flex: 1;
}

/* ── WC content overrides ────────────────────────────────── */
.bps-creator-content .woocommerce-MyAccount-content {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}
.bps-creator-content table.shop_table {
    width: 100%;
    border-collapse: collapse;
    background: var(--ac-s1);
    border: 1px solid var(--ac-bd);
    border-radius: var(--ac-rl);
    overflow: hidden;
}
.bps-creator-content table.shop_table th {
    background: var(--ac-s2);
    padding: 12px 16px;
    font-size: 11px; font-weight: 700; letter-spacing: .07em;
    text-transform: uppercase; color: var(--ac-t3);
    text-align: left; border-bottom: 1px solid var(--ac-bd);
}
.bps-creator-content table.shop_table td {
    padding: 14px 16px;
    font-size: 13px; color: var(--ac-t2);
    border-bottom: 1px solid var(--ac-bd);
    vertical-align: middle;
}
.bps-creator-content table.shop_table tr:last-child td { border-bottom: none; }
.bps-creator-content table.shop_table tbody tr:hover td { background: var(--ac-s2); }
.bps-creator-content table.shop_table a { color: var(--ac-acc); }
.bps-creator-content input.input-text,
.bps-creator-content select,
.bps-creator-content textarea {
    background: var(--ac-s2) !important;
    border: 1.5px solid var(--ac-bd) !important;
    border-radius: var(--ac-r) !important;
    color: var(--ac-t1) !important;
    font-size: 14px !important;
    padding: 11px 14px !important;
    width: 100% !important;
    outline: none !important;
    transition: border-color .2s !important;
    font-family: inherit !important;
    -webkit-appearance: none !important;
}
.bps-creator-content input.input-text:focus,
.bps-creator-content select:focus,
.bps-creator-content textarea:focus {
    border-color: var(--ac-acc) !important;
    box-shadow: 0 0 0 3px var(--ac-acc-g) !important;
}
.bps-creator-content label {
    font-size: 12px; font-weight: 600; color: var(--ac-t2);
    text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: 6px; display: block;
}
.bps-creator-content .woocommerce-Button,
.bps-creator-content button[type="submit"],
.bps-creator-content input[type="submit"],
.bps-creator-content .button {
    background: var(--ac-acc) !important; color: #000 !important;
    border: none !important; border-radius: var(--ac-r) !important;
    padding: 11px 22px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 14px !important; font-weight: 700 !important;
    cursor: pointer !important; transition: all .2s !important;
    display: inline-flex !important; align-items: center !important; gap: 8px !important;
}
.bps-creator-content .woocommerce-Button:hover { background: var(--ac-acc-l) !important; transform: translateY(-1px) !important; }

/* ════════════════════════════════════════════════════════════
   ██ DASHBOARD WIDGETS
════════════════════════════════════════════════════════════ */
.bps-dashboard { display: flex; flex-direction: column; gap: 20px; }

/* Quick stats */
.bps-qs-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.bps-qs-item {
    background: var(--ac-s1);
    border: 1px solid var(--ac-bd);
    border-radius: var(--ac-rl);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: border-color var(--ac-tr), box-shadow var(--ac-tr);
}
.bps-qs-item:hover { border-color: var(--ac-bdh); box-shadow: var(--ac-sh); }
.bps-qs-icon {
    width: 42px; height: 42px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bps-qs-icon--orders  { background: rgba(239,176,125,.12); color: var(--ac-acc); }
.bps-qs-icon--dl      { background: rgba(74,222,128,.1);   color: var(--ac-ok);  }
.bps-qs-icon--seats   { background: rgba(129,140,248,.12); color: #818cf8;        }
.bps-qs-icon--wl      { background: rgba(248,113,113,.1);  color: var(--ac-err); }
.bps-qs-num {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px; font-weight: 800; color: var(--ac-t1);
    line-height: 1; margin-bottom: 2px;
}
.bps-qs-num small { font-size: 14px; color: var(--ac-t3); font-weight: 500; }
.bps-qs-lbl { display: block; font-size: 11px; color: var(--ac-t3); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }

/* Insight grid */
.bps-insight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.bps-ic {
    background: var(--ac-s1);
    border: 1px solid var(--ac-bd);
    border-radius: var(--ac-rl);
    padding: 22px;
    display: flex; flex-direction: column;
    transition: border-color var(--ac-tr), box-shadow var(--ac-tr);
}
.bps-ic:hover { border-color: var(--ac-bdh); box-shadow: var(--ac-sh); }
.bps-ic--wide { grid-column: span 2; }
.bps-ic-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
}
.bps-ic-eyebrow {
    font-size: 10px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--ac-t3);
}
.bps-ic-link {
    font-size: 12px; font-weight: 600; color: var(--ac-acc);
    text-decoration: none; transition: color var(--ac-tr);
}
.bps-ic-link:hover { color: var(--ac-acc-l); }
.bps-ic-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px; font-weight: 700; color: var(--ac-t1);
    margin: 0 0 14px; line-height: 1.3;
}
.bps-ic-sub { font-size: 13px; color: var(--ac-t2); margin: 8px 0 14px; }

/* Seat bar */
.bps-seat-bar-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.bps-seat-bar {
    flex: 1; height: 8px; background: var(--ac-s3); border-radius: 4px; overflow: hidden;
}
.bps-seat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ac-acc), var(--ac-acc-l));
    border-radius: 4px;
    transition: width .6s ease;
}
.bps-seat-pct {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px; font-weight: 700; color: var(--ac-acc);
    flex-shrink: 0; min-width: 36px; text-align: right;
}
.bps-seat-warn {
    font-size: 11px; font-weight: 600; color: var(--ac-warn);
    background: rgba(251,191,36,.1); border: 1px solid rgba(251,191,36,.25);
    border-radius: 4px; padding: 2px 7px; margin-left: 6px;
    display: inline-flex; align-items: center; gap: 4px;
}

/* Card button */
.bps-ic-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--ac-s2); border: 1px solid var(--ac-bd);
    color: var(--ac-t1); font-size: 12px; font-weight: 600;
    padding: 8px 14px; border-radius: var(--ac-r);
    text-decoration: none; transition: all var(--ac-tr);
    margin-top: 4px; align-self: flex-start;
}
.bps-ic-btn:hover { background: var(--ac-acc); color: #000; border-color: var(--ac-acc); }

/* Insight rows */
.bps-ic-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.bps-ic-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 8px; background: var(--ac-s2);
    transition: background var(--ac-tr);
}
.bps-ic-row:hover { background: var(--ac-s3); }
.bps-ic-row-icon {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bps-iri--order  { background: rgba(239,176,125,.12); color: var(--ac-acc); }
.bps-iri--dl     { background: rgba(74,222,128,.1);   color: var(--ac-ok);  }
.bps-iri--renew  { background: rgba(129,140,248,.12); color: #818cf8;        }
.bps-ic-row-body { flex: 1; min-width: 0; }
.bps-ic-row-name {
    display: block; font-size: 13px; font-weight: 600; color: var(--ac-t1);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.3; margin-bottom: 2px;
}
.bps-ic-row-meta { display: block; font-size: 11px; color: var(--ac-t3); }

/* Status badges */
.bps-status {
    flex-shrink: 0; font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    padding: 3px 8px; border-radius: 20px;
}
.bps-status--completed,.bps-status--active   { background: rgba(74,222,128,.12);   color: var(--ac-ok);  border: 1px solid rgba(74,222,128,.25);  }
.bps-status--pending,.bps-status--on-hold    { background: rgba(251,191,36,.1);    color: var(--ac-warn);border: 1px solid rgba(251,191,36,.25);   }
.bps-status--failed,.bps-status--cancelled  { background: rgba(248,113,113,.1);   color: var(--ac-err); border: 1px solid rgba(248,113,113,.25);  }
.bps-status--processing                      { background: rgba(129,140,248,.12);  color: #818cf8;        border: 1px solid rgba(129,140,248,.25); }

/* Download button */
.bps-dl-btn {
    width: 28px; height: 28px; border-radius: 7px;
    background: var(--ac-s3); border: 1px solid var(--ac-bd);
    color: var(--ac-t2); display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: all var(--ac-tr); flex-shrink: 0;
}
.bps-dl-btn:hover { background: var(--ac-ok); border-color: var(--ac-ok); color: #000; }

/* Empty states */
.bps-ic-empty {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 16px 0; text-align: center; flex: 1; justify-content: center;
}
.bps-ic-empty p { font-size: 13px; color: var(--ac-t3); margin: 0 0 8px; }

/* Mobile sidebar backdrop */
.bps-sidebar-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 999;
    backdrop-filter: blur(4px);
}
.bps-sidebar-backdrop.is-open { display: block; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    :root { --ac-sb-w: 190px; }
    .bps-qs-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .bps-creator-sidebar {
        position: fixed;
        left: -100%;
        transition: left .3s ease;
        z-index: 1000;
    }
    .bps-creator-sidebar.is-open { left: 0; }
    .bps-creator-main { margin-left: 0; }
    .bps-insight-grid { grid-template-columns: 1fr; }
    .bps-ic--wide { grid-column: span 1; }
    .bps-mob-menu-btn { display: flex; }
    .bps-auth-panel { padding: 24px 24px 20px; }
}

@media (max-width: 640px) {
    .bps-auth-page { padding: 32px 16px; }
    .bps-auth-panel { padding: 22px 18px 18px; }
    .bps-auth-tabs .bps-auth-tab { padding: 15px 12px; font-size: 15px; }
    .bps-qs-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .bps-creator-topbar { padding: 14px 18px; }
    .bps-creator-content { padding: 18px 18px 48px; }
    .bps-creator-user-pill .bps-topbar-user-text { display: none; }
    .bps-creator-user-pill { padding: 4px; }
}

@media (max-width: 480px) {
    .bps-auth-page { min-height: 100dvh; }
    .bps-qs-row { grid-template-columns: 1fr 1fr; gap: 8px; }
    .bps-qs-item { padding: 14px; }
    .bps-qs-icon { width: 36px; height: 36px; }
    .bps-qs-num { font-size: 20px; }
    .bps-ic { padding: 16px; }
}