﻿/* Bulls theme — dark + gold (from "NEW WEBSIT"). Loaded after style/dashboard/demo.css. */

:root {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --bg-3: #1c1c1f;
  --bg-soft: #121214;

  --gold: #e8b923;
  --gold-light: #f5c542;
  --gold-deep: #a86a10;
  --gold-soft: rgba(232, 185, 35, 0.14);

  --cream: #f2f2f3;
  --cream-dim: rgba(242, 242, 243, 0.72);
  --cream-faint: rgba(242, 242, 243, 0.45);
  --dim: #8b8b93;
  --teal: #2ecc71;
  --red: #e74c3c;
  --accent: #e8942a;
  --accent-warm: #e8942a;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-bright: rgba(232, 185, 35, 0.45);

  --violet: #e8b923;
  --violet-light: #f5c542;
  --brand-orange: #e8b923;
  --brand-orange-deep: #a86a10;

  --portal-grad: linear-gradient(135deg, #f5c542 0%, #e09a1a 100%);
  --sidebar-dark-2: #0a0a0b;
  --portal-card-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --portal-card-shadow-hover: 0 10px 30px rgba(232, 185, 35, 0.12);

  --dash-dev-bg: #0a0a0b;
  --dash-dev-line: rgba(255, 255, 255, 0.08);
  --dash-dev-ink: #f2f2f3;
  --dash-dev-muted: #8b8b93;
  --dash-dev-blue: #e8b923;
  --dash-dev-blue-soft: rgba(232, 185, 35, 0.14);

  --panel: #161618;
  --panel-hover: #1c1c1f;
}

html:has(body.portal:not(.portal-login)),
body.portal:not(.portal-login),
.dash-app,
.dash-section {
  background: #0a0a0b;
  color: var(--cream);
}

.demo-wordmark { color: var(--cream); }

/* ───────────── Shell: sidebar ───────────── */
.dash-sidebar {
  background: linear-gradient(180deg, #0e0e10 0%, #0a0a0b 100%);
  border-right: 1px solid var(--line);
  color: var(--cream-dim);
}
.dash-sidebar__logo { background: transparent; box-shadow: none; padding: 0; display: flex; align-items: center; gap: 0.55rem; }
.dash-sidebar__logo::before {
  content: '';
  width: 34px; height: 34px; flex: 0 0 34px;
  background: url('../assets/img/bullishpe-icon.svg') center / contain no-repeat;
  border-radius: 9px;
}
.dash-sidebar__logo .demo-wordmark { color: #fff; }
.dash-sidebar__logo .demo-wordmark em,
.demo-wordmark em {
  background: linear-gradient(135deg, #f5c542, #e09a1a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dash-side-link { color: var(--dim); }
.dash-side-link:hover { color: var(--cream); background: rgba(255, 255, 255, 0.04); }
.dash-side-link.is-active,
.dash-side-link--sub.is-active {
  color: var(--gold-light);
  background: var(--gold-soft);
  box-shadow: inset 0 0 0 1px rgba(232, 185, 35, 0.35), 0 0 20px rgba(232, 185, 35, 0.08);
}
.dash-sidebar__logout { color: #f87171; }

/* ───────────── Shell: main area ───────────── */
.dash-main-wrap,
.dash-main-wrap.dash-main--dashboard {
  background:
    radial-gradient(ellipse 80% 40% at 20% -10%, rgba(232, 185, 35, 0.06), transparent 50%),
    #0a0a0b;
}
.dash-mobile-bar,
.dash-toolbar,
.dash-main--dashboard .dash-toolbar {
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  color: var(--cream);
}
.dash-toolbar__search { background: rgba(255, 255, 255, 0.04); border-color: var(--line); color: var(--cream); }
.dash-toolbar__kbd kbd { background: #1c1c1f; border-color: var(--line); color: var(--dim); }
.dash-toolbar__icon-btn { color: var(--dim); }
.dash-toolbar__icon-btn:hover { background: rgba(255, 255, 255, 0.06); color: var(--cream); }
.dash-mobile-bar__links a { color: var(--dim); }
.dash-mobile-bar__links a.is-active { color: var(--gold-light); }

/* ───────────── Cards / surfaces ───────────── */
.dash-report-stat,
.dash-table--txn thead tr,
.dash-pager,
.dash-pager__page,
.dash-flat-stat,
.dash-home-report,
.dash-home-chip,
.dash-filter-trigger,
.dash-filter-drawer,
.dash-filter-drawer__close,
.dash-home-compare,
.dash-home-txn,
.dash-stat-card,
.dash-table-card,
.dash-panel,
body.portal .dash-dev-panel,
body.portal .dash-dev-cred__value,
body.portal .dash-dev-icon-btn,
body.portal .dash-dev-modal,
body.portal .dash-dev-modal__close,
body.portal .dash-dev-event,
body.portal .dash-dev-toc {
  background: var(--panel);
  border-color: var(--line);
  color: var(--cream);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.dash-pager__page:hover:not(.is-active),
.dash-home-chip:hover,
.dash-home-table tbody tr:hover,
.dash-table tbody tr:hover,
body.portal .dash-dev-cred:hover,
body.portal .dash-dev-event:hover,
body.portal .dash-dev-icon-btn:hover { background: var(--panel-hover); }
.dash-home-table th,
body.portal .dash-dev-table th,
body.portal .dash-dev-cred,
body.portal .dash-dev-modal__foot,
body.portal .dash-dev-opt,
body.portal .dash-dev-btn--soft,
body.portal .dash-dev-mode-toggle { background: #121214; color: var(--cream-dim); border-color: var(--line); }
body.portal .dash-dev-btn--soft:hover { background: #1c1c1f; }
body.portal .dash-dev-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
body.portal .dash-dev-event.is-checked { background: var(--gold-soft); }
body.portal .dash-dev-switch__slider { background: #2a2a2e; }
body.portal .dash-dev-code-tabs { background: #121214; }

/* Tinted (status / icon) chips */
body.portal .dash-dev-pill--test,
body.portal .dash-dev-pill--info,
body.portal .dash-dev-cred__icon,
body.portal .dash-dev-ip-tag { background: var(--gold-soft); color: var(--gold-light); }
body.portal .dash-dev-cred__icon--amber { background: rgba(232, 148, 42, 0.16); color: #e8942a; }
body.portal .dash-dev-pill--live,
body.portal .dash-dev-pill--ok,
body.portal .dash-dev-cred__icon--green,
body.portal .dash-dev-method--get { background: rgba(46, 204, 113, 0.14); color: #4ade80; }
body.portal .dash-dev-pill--warn { background: rgba(251, 191, 36, 0.14); color: #fbbf24; }
body.portal .dash-dev-pill--bad,
body.portal .dash-dev-req,
body.portal .dash-dev-btn--danger,
body.portal .dash-dev-panel__head--danger { background: rgba(231, 76, 60, 0.14); color: #f87171; }
body.portal .dash-dev-cred__icon--violet { background: var(--gold-soft); color: var(--gold-light); }
body.portal .dash-dev-btn--danger:hover,
body.portal .dash-dev-icon-btn--danger:hover { background: rgba(231, 76, 60, 0.24); }

/* Hero banner */
.dash-home-hero,
.dash-home-hero--glow {
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(232, 185, 35, 0.2), transparent 60%),
    linear-gradient(135deg, #161618 0%, #0e0e10 100%);
  border: 1px solid rgba(232, 185, 35, 0.22);
  color: var(--cream);
}
.dash-hero-glow-fx__orb { background: radial-gradient(circle, rgba(232, 185, 35, 0.35), transparent 70%); }

/* Badges / status */
.dash-badge--ok { background: rgba(46, 204, 113, 0.14); color: #4ade80; }
.dash-badge--pending { background: rgba(251, 191, 36, 0.14); color: #fbbf24; }
.dash-badge--fail { background: rgba(231, 76, 60, 0.14); color: #f87171; }

/* Tables */
.dash-table th { background: #121214; color: var(--dim); border-color: var(--line); }
.dash-table td { border-color: var(--line); color: var(--cream-dim); }

/* Inputs */
body.portal:not(.portal-login) .form-control,
body.portal:not(.portal-login) input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
body.portal:not(.portal-login) select,
body.portal:not(.portal-login) textarea {
  background: #121214;
  border-color: var(--line-strong);
  color: var(--cream);
}
body.portal:not(.portal-login) input::placeholder,
body.portal:not(.portal-login) textarea::placeholder { color: var(--dim); }
body.portal:not(.portal-login) input:focus,
body.portal:not(.portal-login) select:focus,
body.portal:not(.portal-login) textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.15);
  outline: none;
}

/* Buttons — gold with dark text */
.dash-btn-primary,
.btn-submit,
body.portal .dash-dev-btn--primary,
.dash-pager__page.is-active {
  background: linear-gradient(135deg, #f5c542, #e09a1a);
  color: #1a1200;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(232, 185, 35, 0.22);
}
.dash-btn-primary:hover,
.btn-submit:hover { filter: brightness(1.06); }
.dash-btn-secondary,
.dash-btn-outline { background: transparent; color: var(--gold-light); border-color: rgba(232, 185, 35, 0.4); }
.dash-btn-secondary:hover,
.dash-btn-outline:hover { background: var(--gold-soft); }

/* Ticker */
.dash-ticker { background: #121214; border-color: var(--line); color: var(--cream-dim); }

/* Scrollbars */
body.portal * { scrollbar-color: #2a2a2e transparent; }

/* ═════════════ LOGIN — dark brand panel + white form panel ═════════════ */
body.portal-login {
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(232, 185, 35, 0.18), transparent 60%),
    #f4f1ea;
  color: #0a0a0b;
}
.portal-login__shell {
  max-width: 1040px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(10, 10, 11, 0.22);
}

/* Left — dark */
.portal-login__brand-panel {
  background:
    radial-gradient(ellipse 80% 55% at 85% 0%, rgba(232, 185, 35, 0.22), transparent 60%),
    linear-gradient(160deg, #161618 0%, #0a0a0b 100%);
  color: var(--cream);
}
.portal-login__brand-glow { background: radial-gradient(circle, rgba(232, 185, 35, 0.22) 0%, transparent 70%); }
.portal-login__brand-mark { display: flex; align-items: center; gap: 0.6rem; }
.portal-login__brand-mark::before {
  content: '';
  width: 46px; height: 46px;
  background: url('../assets/img/bullishpe-icon.svg') center / contain no-repeat;
  border-radius: 12px; box-shadow: 0 0 18px rgba(232, 185, 35, 0.35);
  position: relative; z-index: 1;
}
.portal-login__brand-mark .demo-wordmark { color: #fff; }
.portal-login__headline { color: #fff; }
.portal-login__headline span {
  background: linear-gradient(135deg, #f5c542, #e09a1a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.portal-login__tagline { color: #a3a3ab; }
.portal-login__features li { color: #e6e6e8; }
.portal-login__feature-ico { background: var(--gold-soft); color: var(--gold-light); border: 1px solid rgba(232, 185, 35, 0.3); }
.portal-login__phone { background: linear-gradient(160deg, #1c1c1f 0%, #0a0a0b 100%); border: 1px solid rgba(232, 185, 35, 0.3); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
.portal-login__phone-screen { background: linear-gradient(160deg, #f5c542 0%, #e09a1a 100%); }
.portal-login__phone-check { background: rgba(10, 10, 11, 0.25); border-color: rgba(10, 10, 11, 0.5); }
.portal-login__phone-check svg { stroke: #0a0a0b; }
.portal-login__phone-label { color: #1a1200; }
.portal-login__float { background: #1c1c1f; border: 1px solid rgba(232, 185, 35, 0.25); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45); color: var(--cream); }
.portal-login__float--secure { background: linear-gradient(135deg, #f5c542, #e09a1a); color: #1a1200; border: 0; }
.portal-login__float--secure svg { stroke: #1a1200; }
.portal-login__float--payout .portal-login__pcard-ico { background: #e8942a; }
.portal-login__pcard-label { color: #8b8b93; }
.portal-login__pcard-value { color: #fff; }
.portal-login__copyright { color: #6b6b73; }

/* Right — white. Local tokens flip back to dark-on-light for the form. */
.portal-login__form-panel {
  --cream: #0a0a0b;
  --cream-dim: rgba(10, 10, 11, 0.7);
  --cream-faint: rgba(10, 10, 11, 0.45);
  --dim: #6b6b73;
  --line: rgba(10, 10, 11, 0.1);
  --line-strong: rgba(10, 10, 11, 0.2);
  --bg: #fff;
  --bg-soft: #fafaf8;
  --gold: #b07d00;
  background: #fff;
  color: #0a0a0b;
}
.portal-login__form-panel .demo-wordmark { color: #0a0a0b; }
.portal-login__card-brand { display: flex; align-items: center; gap: 0.5rem; }
.portal-login__card-brand::before {
  content: '';
  width: 38px; height: 38px;
  background: url('../assets/img/bullishpe-icon.svg') center / contain no-repeat;
}
.portal-login__card h1 { color: #0a0a0b; }
.portal-login__card > p.sub { color: #6b6b73; }
body.portal .portal-login__form-panel .form-control,
body.portal .portal-login__form-panel input:not([type="checkbox"]):not([type="submit"]):not([type="button"]) {
  background: #fafaf8;
  border-color: rgba(10, 10, 11, 0.14);
  color: #0a0a0b;
}
body.portal .portal-login__form-panel input:focus {
  border-color: #e8b923;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.22);
}
.portal-login__form-panel .portal-field label,
.portal-login__form-panel label { color: #3f3f46; }
.portal-login__form-panel svg { color: #8b8b93; }
.portal-login__card .btn-submit {
  background: linear-gradient(135deg, #f5c542, #e09a1a);
  color: #1a1200;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(224, 154, 26, 0.35);
}
.portal-login__card .btn-submit:hover { filter: brightness(1.05); }
body.portal .portal-login__form-panel .dash-pin-box { background: #fafaf8; border-color: rgba(10, 10, 11, 0.18); color: #0a0a0b; }
body.portal .portal-login__form-panel .dash-pin-box:focus { border-color: #e8b923; box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.22); }
.portal-login__form-panel .dash-pin-back { color: #6b6b73; }
.portal-login__demo-hint { background: #fff8e1; border: 1px dashed rgba(224, 154, 26, 0.6); color: #7a5600; }


/* Wordmark (from demo.css) */
/* Text wordmark (replaces the logo image) */
.demo-wordmark {
  display: inline-block;
  font-family: var(--f-body), system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  font-size: 1.6rem;
  color: #0a2540;
}
.demo-wordmark em { font-style: normal; color: var(--gold); }
.portal-login__brand-mark .demo-wordmark { font-size: 1.9rem; position: relative; z-index: 1; }
.portal-login__card-brand .demo-wordmark { font-size: 1.5rem; }
.dash-sidebar__logo .demo-wordmark { font-size: 1.05rem; }
.dash-app.is-sidebar-collapsed .dash-sidebar__brand::before { content: 'B'; }


/* ═════════════ Bulls dashboard layout (SellerDashboard) ═════════════ */
.bulls-dash { padding: 1.35rem 1.75rem 2rem; }
.bulls-dash .dash-home { display: flex; flex-direction: column; gap: 1.25rem; max-width: none; padding: 0; }

.bulls-dash .kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.bulls-dash .kpi-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.15rem 1.25rem; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s, transform 0.25s;
}
.bulls-dash .kpi-card:hover { border-color: rgba(232, 185, 35, 0.3); transform: translateY(-2px); }
.bulls-dash .kpi-label { font-size: 0.78rem; color: var(--dim); font-weight: 500; margin: 0 0 0.45rem; }
.bulls-dash .kpi-value { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; color: var(--cream); margin: 0; }

.bulls-dash .panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.15rem 1.25rem; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); min-width: 0;
}
.bulls-dash .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.85rem; flex-wrap: wrap; }
.bulls-dash .panel-head h2 { font-size: 0.95rem; font-weight: 600; color: var(--cream); margin: 0; }
.bulls-dash .ghost-select {
  font-size: 0.75rem; color: var(--dim); padding: 0.35rem 0.6rem; border-radius: 6px; border: 1px solid var(--line);
}

.bulls-dash .charts-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1rem; align-items: stretch; }
.bulls-dash .chart-wrap { position: relative; height: 260px; }
.bulls-dash .chart-wrap canvas { max-height: 260px; }

/* report panels inside the row: stack chart above totals */
.bulls-dash .dash-home-report { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); }
.bulls-dash .dash-home-report__body { display: flex; flex-direction: column; gap: 1rem; }
.bulls-dash .dash-home-report__filters { margin-bottom: 0.75rem; }
.bulls-dash .dash-home-report__chart { height: 150px; }

.bulls-dash .bottom-row { display: grid; grid-template-columns: 1.75fr 0.85fr; gap: 1rem; align-items: start; }
.bulls-dash .dash-home-txn { border-radius: 12px; }
.bulls-dash .dash-home-txn__head { padding: 0; border: 0; }
.bulls-dash .dash-home-table th {
  background: transparent; color: var(--dim); font-weight: 500; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid var(--line);
}
.bulls-dash .dash-home-table td { border-bottom: 1px solid var(--line); color: var(--cream-dim); font-size: 0.82rem; }
.bulls-dash .dash-home-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.bulls-dash .dash-home-status--success { background: rgba(46, 204, 113, 0.14); color: #4ade80; }
.bulls-dash .dash-home-status--pending { background: rgba(232, 185, 35, 0.14); color: var(--gold-light); }
.bulls-dash .dash-home-status--failed { background: rgba(231, 76, 60, 0.14); color: #f87171; }

.bulls-dash .activity-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.bulls-dash .activity-item { display: flex; gap: 0.75rem; padding: 0.85rem 0.35rem; border-bottom: 1px solid var(--line); }
.bulls-dash .activity-item:last-child { border-bottom: 0; }
.bulls-dash .activity-icon {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(232, 185, 35, 0.1); color: var(--gold);
}
.bulls-dash .activity-icon svg { width: 16px; height: 16px; }
.bulls-dash .activity-icon.key { background: rgba(90, 106, 126, 0.25); color: #9aabbf; }
.bulls-dash .activity-icon.login { background: rgba(46, 204, 113, 0.12); color: #2ecc71; }
.bulls-dash .activity-body { flex: 1; min-width: 0; }
.bulls-dash .activity-title { font-size: 0.82rem; font-weight: 500; color: var(--cream); margin: 0 0 0.15rem; }
.bulls-dash .activity-desc { font-size: 0.74rem; color: var(--dim); margin: 0; }
.bulls-dash .activity-value { display: block; font-size: 1.05rem; color: var(--gold-light); margin-bottom: 0.4rem; }
.bulls-dash .dash-hero-glass-chip__track { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bulls-dash .dash-hero-glass-chip__fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #f5c542, #e09a1a); transition: width 0.6s ease; }

@media (max-width: 1200px) {
  .bulls-dash .charts-row { grid-template-columns: 1fr 1fr; }
  .bulls-dash .revenue-panel { grid-column: 1 / -1; }
  .bulls-dash .bottom-row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .bulls-dash { padding: 1rem; }
  .bulls-dash .kpi-grid { grid-template-columns: 1fr 1fr; }
  .bulls-dash .charts-row { grid-template-columns: 1fr; }
}
.bulls-dash .dash-home-table th, .bulls-dash .dash-home-table td { white-space: nowrap; }
.bulls-dash .dash-home-txn__scroll { overflow-x: auto; }


/* ═════════════ Bulls report pages (Payin / Payout) ═════════════ */
.bulls-report { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.35rem 1.75rem 2rem; }
.bulls-report .dash-report-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: linear-gradient(135deg, #161618 0%, #0e0e10 100%);
  border: 1px solid rgba(232, 185, 35, 0.22); border-radius: 12px; padding: 1.15rem 1.35rem;
  position: relative; overflow: hidden;
}
.bulls-report .dash-report-head::after {
  content: ''; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 185, 35, 0.22), transparent 70%); pointer-events: none;
}
.bulls-report .dash-report-head__title { font-size: 1.2rem; font-weight: 700; color: var(--cream); margin: 0; }
.bulls-report .dash-report-head__sub { color: var(--dim); font-size: 0.82rem; margin: 0.2rem 0 0; }
.bulls-report .dash-report-head__actions { display: flex; align-items: center; gap: 0.75rem; position: relative; z-index: 1; }
.bulls-report .dash-inline-label { display: flex; align-items: center; gap: 0.5rem; color: var(--dim); font-size: 0.78rem; }

.bulls-report .report-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.bulls-report .kpi-card--ok { border-left: 3px solid #2ecc71; }
.bulls-report .kpi-card--fail { border-left: 3px solid #e74c3c; }
.bulls-report .kpi-card:not(.kpi-card--ok):not(.kpi-card--fail) { border-left: 3px solid var(--gold); }
.bulls-report .kpi-card--ok .kpi-value { color: #4ade80; }
.bulls-report .kpi-card--fail .kpi-value { color: #f87171; }

.bulls-report .report-grid { display: grid; grid-template-columns: 340px 1fr; gap: 1rem; align-items: start; }
.bulls-report .dash-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1.15rem 1.25rem; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); }
.bulls-report .dash-subpanel-title { font-size: 0.95rem; font-weight: 600; color: var(--cream); margin: 0 0 0.85rem; }
.bulls-report .dash-report-donut-wrap { position: relative; height: 280px; }
.bulls-report .dash-report-donut-empty { color: var(--dim); text-align: center; padding-top: 6rem; font-size: 0.85rem; }
.bulls-report .dash-report-table-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.85rem; }
.bulls-report .dash-report-table-head .dash-subpanel-title { margin: 0; }
.bulls-report .dash-filter-trigger { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.85rem; border-radius: 8px; color: var(--gold-light); border: 1px solid rgba(232, 185, 35, 0.4); background: transparent; cursor: pointer; font-size: 0.8rem; font-weight: 600; }
.bulls-report .dash-filter-trigger:hover { background: var(--gold-soft); }
.bulls-report .dash-select-sm { background: #121214; color: var(--cream); border: 1px solid var(--line-strong); border-radius: 8px; padding: 0.4rem 0.5rem; }

.bulls-report .dash-table--txn th { background: transparent; color: var(--dim); font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid var(--line); }
.bulls-report .dash-table--txn td { border-bottom: 1px solid var(--line); color: var(--cream-dim); }
.bulls-report .dash-table--txn tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.bulls-report .dash-txn-id, .bulls-report .dash-txn-amount, .bulls-report .dash-txn-date { color: var(--cream); font-weight: 600; }
.bulls-report .dash-txn-time, .bulls-report .dash-txn-ref, .bulls-report .dash-txn-fee { color: var(--dim); font-size: 0.72rem; }
.bulls-report .dash-pager { background: transparent; border-top: 1px solid var(--line); box-shadow: none; }
.bulls-report .dash-pager__info { color: var(--dim); }
.bulls-report .dash-pager__nav-btn { color: var(--gold-light); border: 1px solid rgba(232, 185, 35, 0.35); background: transparent; border-radius: 8px; padding: 0.4rem 0.8rem; }
.bulls-report .dash-pager__nav-btn:hover { background: var(--gold-soft); }

@media (max-width: 1100px) {
  .bulls-report .report-grid { grid-template-columns: 1fr; }
  .bulls-report .report-kpis { grid-template-columns: 1fr 1fr; }
}
.bulls-report .dash-report-donut-empty[hidden], .bulls-report canvas[hidden] { display: none !important; }
.bulls-report .dash-txn-id { background: transparent; border: 0; padding: 0; }


/* ═════════════ Bulls settings / profile ═════════════ */
.bulls-settings { padding: 1.35rem 1.75rem 2rem; }
.bulls-settings .settings-layout { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; align-items: start; }
.bulls-settings .settings-nav { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem; position: sticky; top: 1rem; }
.bulls-settings .settings-tab {
  display: block; text-align: left; padding: 0.7rem 0.9rem; border-radius: 8px; color: var(--dim);
  font-size: 0.88rem; font-weight: 500; text-decoration: none; transition: background 0.2s, color 0.2s;
}
.bulls-settings .settings-tab:hover { color: var(--cream); background: rgba(255, 255, 255, 0.04); }
.bulls-settings .settings-tab.active { color: var(--gold-light); background: var(--gold-soft); }
.bulls-settings .settings-panels { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }

.bulls-settings .profile-hero {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  background: linear-gradient(135deg, #161618 0%, #0e0e10 100%); border-color: rgba(232, 185, 35, 0.22);
  position: relative; overflow: hidden;
}
.bulls-settings .profile-hero::after {
  content: ''; position: absolute; right: -60px; top: -90px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 185, 35, 0.2), transparent 70%); pointer-events: none;
}
.bulls-settings .profile-hero__avatar {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font-size: 1.6rem; font-weight: 800; color: #1a1200; text-transform: uppercase;
  background: linear-gradient(135deg, #f5c542, #e09a1a); box-shadow: 0 0 0 4px rgba(232, 185, 35, 0.2);
}
.bulls-settings .profile-hero__body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; flex: 1; min-width: 160px; }
.bulls-settings .profile-hero__name { margin: 0; font-size: 1.3rem; font-weight: 700; color: var(--cream); text-transform: capitalize; }
.bulls-settings .profile-hero__mid { position: relative; z-index: 1; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem; }
.bulls-settings .profile-hero__mid .kpi-label { margin: 0; }
.bulls-settings .profile-hero__mid-value { margin: 0; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 1.05rem; color: var(--gold-light); font-weight: 600; }
.bulls-settings .btn-ghost {
  display: inline-flex; align-items: center; gap: 0.35rem; background: transparent; border: 1px solid var(--line-strong);
  color: var(--dim); font-size: 0.78rem; padding: 0.35rem 0.7rem; border-radius: 8px; cursor: pointer;
}
.bulls-settings .btn-ghost:hover { color: var(--gold-light); border-color: rgba(232, 185, 35, 0.45); }

.bulls-settings .form-stack.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
.bulls-settings .form-stack label { display: flex; flex-direction: column; gap: 0.4rem; margin: 0; }
.bulls-settings .form-stack label span { font-size: 0.75rem; color: var(--dim); font-weight: 500; }
.bulls-settings .form-stack label.full { grid-column: 1 / -1; }
.bulls-settings .form-stack input {
  width: 100%; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 10px;
  color: var(--cream); font-size: 0.85rem; padding: 0.6rem 0.85rem;
}
.bulls-settings .form-stack input[readonly] { cursor: default; }

.bulls-settings .activity-time { font-size: 0.7rem; color: var(--dim); white-space: nowrap; padding-top: 0.15rem; }
.bulls-settings .dash-activity-empty { color: var(--dim); font-size: 0.85rem; margin: 0; }

@media (max-width: 900px) {
  .bulls-settings { padding: 1rem; }
  .bulls-settings .settings-layout { grid-template-columns: 1fr; }
  .bulls-settings .settings-nav { flex-direction: row; flex-wrap: wrap; position: static; }
  .bulls-settings .form-stack.two-col { grid-template-columns: 1fr; }
  .bulls-settings .profile-hero__mid { align-items: flex-start; text-align: left; }
}

/* Back pill in the toolbar (profile sub-pages) */
.bulls-backbtn {
  display: inline-flex; align-items: center; gap: 0.3rem; flex: 0 0 auto; height: 36px; padding: 0 0.85rem 0 0.6rem;
  border-radius: 999px; font-size: 0.8rem; font-weight: 700; color: var(--gold-light); text-decoration: none;
  border: 1px solid rgba(232, 185, 35, 0.4); background: var(--gold-soft); transition: background 0.2s, transform 0.15s;
}
.bulls-backbtn:hover { background: rgba(232, 185, 35, 0.25); transform: translateX(-2px); }
.dash-toolbar__page { margin-right: auto; }

/* Dev-style pages (API creds, webhooks, docs, password, pin, history): dark + full height */
body.portal .dash-dev-root {
  --dash-dev-bg: transparent;
  --dash-dev-line: rgba(255, 255, 255, 0.08);
  --dash-dev-ink: #f2f2f3;
  --dash-dev-muted: #8b8b93;
  --dash-dev-blue: #e8b923;
  --dash-dev-blue-soft: rgba(232, 185, 35, 0.14);
  background: transparent;
  margin: 0;
  padding: 0 1.75rem 1.5rem;
}
body.portal .dash-main-wrap { min-height: 100vh; }

/* Login history */
.bulls-history { padding: 1.35rem 1.75rem 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.bulls-history .kpi-value.lh-small { font-size: 1rem; }
.bulls-history .kpi-card:nth-child(1) { border-left: 3px solid var(--gold); }
.bulls-history .kpi-card:nth-child(2) { border-left: 3px solid #2ecc71; }
.bulls-history .kpi-card:nth-child(3) { border-left: 3px solid #e8942a; }
.bulls-history .kpi-card:nth-child(4) { border-left: 3px solid #9aabbf; }
.bulls-history .lh-sub { margin: 0.2rem 0 0; font-size: 0.78rem; color: var(--dim); }
.bulls-history .lh-search {
  display: flex; align-items: center; gap: 0.5rem; padding: 0 0.8rem; height: 38px; min-width: 260px;
  background: #121214; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--dim);
}
.bulls-history .lh-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.15); }
.bulls-history .lh-search input { flex: 1; background: transparent !important; border: 0 !important; outline: none; box-shadow: none !important; color: var(--cream); font-size: 0.85rem; padding: 0; }
.bulls-history .lh-table td { padding: 0.9rem 0.85rem; vertical-align: middle; }
.bulls-history .lh-date { display: block; color: var(--cream); font-weight: 600; }
.bulls-history .lh-time { display: block; color: var(--dim); font-size: 0.72rem; margin-top: 0.1rem; }
.bulls-history .lh-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; color: var(--gold-light); }
.bulls-history .lh-current {
  display: inline-block; margin-left: 0.35rem; padding: 0.2rem 0.5rem; border-radius: 999px; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-light); background: var(--gold-soft);
}
.bulls-history .lh-empty { color: var(--dim); text-align: center; padding: 1.5rem 0 0.5rem; font-size: 0.85rem; margin: 0; }
@media (max-width: 900px) { .bulls-history { padding: 1rem; } .bulls-history .lh-search { min-width: 0; width: 100%; } }

/* ═════════════ Bull loader ═════════════ */
.bull-loader {
  position: fixed; inset: 0; z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  background: radial-gradient(ellipse 60% 45% at 50% 40%, rgba(232, 185, 35, 0.08), transparent 60%), #0a0a0b;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.bull-loader.is-visible { opacity: 1; visibility: visible; }
.bull-loader__brand {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem); font-weight: 800; letter-spacing: 0.16em; color: #fff;
}
.bull-loader__brand span { background: linear-gradient(135deg, #f5c542, #e09a1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bull-loader__circle { position: relative; width: 210px; height: 210px; display: grid; place-items: center; border-radius: 50%; }
.bull-loader__ring {
  position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(232, 185, 35, 0.55);
  box-shadow: 0 0 0 10px rgba(232, 185, 35, 0.08), inset 0 0 40px rgba(232, 185, 35, 0.06);
  background: radial-gradient(circle at center, #141416 0%, #0a0a0b 70%);
  animation: bullRingGlow 0.72s ease-in-out infinite;
}
.bull-loader__frames { position: relative; z-index: 3; width: 150px; height: 150px; display: grid; place-items: center; animation: bullBob 0.36s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
.bull-loader .bull-frame { grid-area: 1 / 1; width: 150px; height: 150px; object-fit: contain; opacity: 0; visibility: hidden; user-select: none; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.4)); }
.bull-loader .bull-frame.is-active { opacity: 1; visibility: visible; }
.bull-loader__speed { position: absolute; z-index: 2; left: 16px; top: 48%; width: 42px; animation: bullSpeed 0.18s linear infinite; }
.bull-loader__speed span { display: block; height: 2px; margin: 8px 0; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(245, 197, 66, 0.7)); }
.bull-loader__speed span:nth-child(2) { width: 72%; }
.bull-loader__speed span:nth-child(3) { width: 48%; }
.bull-loader__dust { position: absolute; z-index: 4; left: 28%; bottom: 36px; width: 70px; height: 30px; pointer-events: none; }
.bull-loader__dust i { position: absolute; bottom: 0; width: 6px; height: 6px; border-radius: 50%; background: rgba(232, 185, 35, 0.55); animation: bullDust 0.36s ease-out infinite; }
.bull-loader__dust i:nth-child(1) { left: 8px; } .bull-loader__dust i:nth-child(2) { left: 22px; animation-delay: 0.04s; }
.bull-loader__dust i:nth-child(3) { left: 34px; animation-delay: 0.08s; } .bull-loader__dust i:nth-child(4) { left: 46px; animation-delay: 0.02s; }
.bull-loader__dust i:nth-child(5) { left: 56px; animation-delay: 0.1s; }
.bull-loader__hint { margin: 0; font-size: 0.85rem; letter-spacing: 0.08em; color: #8b8b93; }
@keyframes bullBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes bullRingGlow { 0%, 100% { box-shadow: 0 0 0 10px rgba(232, 185, 35, 0.08), inset 0 0 40px rgba(232, 185, 35, 0.06); } 50% { box-shadow: 0 0 0 14px rgba(232, 185, 35, 0.14), inset 0 0 50px rgba(232, 185, 35, 0.12); } }
@keyframes bullSpeed { 0% { transform: translateX(0); opacity: 0.9; } 100% { transform: translateX(-10px); opacity: 0.3; } }
@keyframes bullDust { 0% { transform: translate(0, 0); opacity: 0.8; } 100% { transform: translate(-14px, -8px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bull-loader__frames, .bull-loader__ring, .bull-loader__speed, .bull-loader__dust i { animation: none; } }

/* ═════════════ Notifications (bell + preferences) ═════════════ */
.bn-bell { position: relative; }
.bn-bell.has-unread { color: var(--gold-light); }
.bn-bell.is-muted { opacity: 0.55; }
.bn-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
  background: #e74c3c; color: #fff; font-size: 0.62rem; font-weight: 700; line-height: 18px; text-align: center;
  border: 2px solid #0a0a0b; box-sizing: content-box; box-sizing: border-box;
}
.bn-badge[hidden] { display: none; }
.bn-panel {
  position: fixed; z-index: 9000; max-height: min(520px, 80vh); display: flex; flex-direction: column; overflow: hidden;
  background: #161618; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(232, 185, 35, 0.06);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.bn-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.bn-head { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.bn-head h3 { margin: 0; font-size: 0.95rem; font-weight: 700; color: #f2f2f3; }
.bn-head__actions { display: flex; align-items: center; gap: 0.6rem; }
.bn-link { background: none; border: 0; padding: 0; cursor: pointer; font-size: 0.75rem; font-weight: 600; color: var(--gold-light); }
.bn-link:hover { text-decoration: underline; }
.bn-gear { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #8b8b93; }
.bn-gear:hover { color: #f2f2f3; background: rgba(255, 255, 255, 0.06); }
.bn-list { overflow-y: auto; scrollbar-width: thin; scrollbar-color: #2a2a2e transparent; }
.bn-item { display: flex; gap: 0.75rem; padding: 0.8rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); position: relative; }
.bn-item:last-child { border-bottom: 0; }
.bn-item.is-unread { background: rgba(232, 185, 35, 0.05); }
.bn-item.is-unread::before { content: ''; position: absolute; left: 4px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--gold); }
.bn-ico { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px; display: grid; place-items: center; }
.bn-ico svg { width: 16px; height: 16px; }
.bn-ico--ok { background: rgba(46, 204, 113, 0.14); color: #4ade80; }
.bn-ico--fail { background: rgba(231, 76, 60, 0.14); color: #f87171; }
.bn-ico--pending { background: rgba(232, 185, 35, 0.14); color: var(--gold-light); }
.bn-ico--info { background: rgba(154, 171, 191, 0.16); color: #9aabbf; }
.bn-body { flex: 1; min-width: 0; }
.bn-title { margin: 0 0 0.15rem; font-size: 0.82rem; font-weight: 600; color: #f2f2f3; }
.bn-desc { margin: 0; font-size: 0.74rem; color: #8b8b93; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bn-time { font-size: 0.66rem; color: #6b6b73; white-space: nowrap; padding-top: 0.15rem; }
.bn-empty { padding: 2rem 1.25rem; text-align: center; }
.bn-empty strong { display: block; color: #f2f2f3; font-size: 0.9rem; margin-bottom: 0.35rem; }
.bn-empty p { margin: 0 0 0.9rem; font-size: 0.78rem; color: #8b8b93; line-height: 1.5; }
.bn-btn { border: 0; cursor: pointer; padding: 0.5rem 1rem; border-radius: 8px; font-weight: 700; font-size: 0.8rem; color: #1a1200; background: linear-gradient(135deg, #f5c542, #e09a1a); }

/* Preference toggles (Profile → Notifications) */
.bulls-settings .toggle-list { display: flex; flex-direction: column; }
.bulls-settings .toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.bulls-settings .toggle-row:last-child { border-bottom: 0; padding-bottom: 0.25rem; }
.bulls-settings .toggle-row strong { display: block; font-size: 0.9rem; color: var(--cream); margin-bottom: 0.2rem; }
.bulls-settings .toggle-row .muted { margin: 0; font-size: 0.78rem; color: var(--dim); }
.bulls-settings .switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; display: inline-block; }
.bulls-settings .switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.bulls-settings .slider { position: absolute; inset: 0; background: #2a2a2e; border-radius: 999px; cursor: pointer; transition: background 0.2s; }
.bulls-settings .slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform 0.2s; }
.bulls-settings .switch input:checked + .slider { background: linear-gradient(135deg, #f5c542, #e09a1a); }
.bulls-settings .switch input:checked + .slider::before { transform: translateX(20px); }
.bulls-settings .switch input:focus-visible + .slider { box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.3); }
.bulls-settings button.settings-tab { width: 100%; background: transparent; border: 0; cursor: pointer; font-family: inherit; }

/* ═════════════ Session timeout dialog ═════════════ */
.bs-modal {
  position: fixed; inset: 0; z-index: 99990; display: flex; align-items: center; justify-content: center; padding: 1rem;
  background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s;
}
.bs-modal.is-open { opacity: 1; visibility: visible; }
.bs-card {
  width: min(420px, 100%); text-align: center; padding: 1.75rem 1.5rem 1.5rem; border-radius: 16px;
  background: linear-gradient(160deg, #1a1a1d, #121214); border: 1px solid rgba(232, 185, 35, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(232, 185, 35, 0.08);
}
.bs-ico { width: 56px; height: 56px; margin: 0 auto 0.9rem; display: grid; place-items: center; border-radius: 50%; color: var(--gold-light); background: var(--gold-soft); box-shadow: 0 0 0 6px rgba(232, 185, 35, 0.08); }
.bs-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; font-weight: 700; color: #f2f2f3; }
.bs-card p { margin: 0 0 0.75rem; font-size: 0.85rem; line-height: 1.5; color: #8b8b93; }
.bs-count { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 2.4rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 1.25rem; background: linear-gradient(135deg, #f5c542, #e09a1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bs-actions { display: flex; gap: 0.7rem; }
.bs-btn { flex: 1; padding: 0.7rem 1rem; border-radius: 10px; font-size: 0.88rem; font-weight: 700; cursor: pointer; font-family: inherit; }
.bs-btn--ghost { background: transparent; color: #f2f2f3; border: 1px solid rgba(255, 255, 255, 0.18); }
.bs-btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }
.bs-btn--gold { border: 0; color: #1a1200; background: linear-gradient(135deg, #f5c542, #e09a1a); box-shadow: 0 6px 18px rgba(232, 185, 35, 0.25); }
.bs-btn--gold:hover { filter: brightness(1.06); }

/* Login notice (expired / already signed in) */
.portal-login__notice { margin: 0 0 1.1rem; padding: 0.7rem 0.9rem; border-radius: 10px; font-size: 0.82rem; line-height: 1.45; font-weight: 600; }
.portal-login__notice--warn { background: #fff8e1; border: 1px solid rgba(224, 154, 26, 0.55); color: #7a5600; }
.portal-login__notice--err { background: #fef2f2; border: 1px solid rgba(231, 76, 60, 0.4); color: #b91c1c; }

/* Dashboard analytics row */
.bulls-dash .charts-row--analytics { grid-template-columns: 1.5fr 1fr 1fr; }
.bulls-dash .charts-row--analytics .chart-wrap { height: 240px; }
.bulls-dash .an-empty { margin: 0; padding: 4rem 0; text-align: center; color: var(--dim); font-size: 0.85rem; }
.bulls-dash .an-empty[hidden] { display: none; }
@media (max-width: 1200px) { .bulls-dash .charts-row--analytics { grid-template-columns: 1fr 1fr; } .bulls-dash .charts-row--analytics > :first-child { grid-column: 1 / -1; } }
@media (max-width: 900px) { .bulls-dash .charts-row--analytics { grid-template-columns: 1fr; } }

/* ═════════════ Analytics page ═════════════ */
.bulls-analytics { padding: 1.35rem 1.75rem 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.bulls-analytics .an-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.bulls-analytics .an-title { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--cream); }
.bulls-analytics .an-sub { margin: 0.2rem 0 0; font-size: 0.8rem; color: var(--dim); }
.bulls-analytics .an-filters { display: flex; align-items: center; gap: 0.6rem; }
.bulls-analytics .an-select { background: #121214; color: var(--cream); border: 1px solid var(--line-strong); border-radius: 10px; padding: 0.55rem 0.85rem; font-size: 0.85rem; font-family: inherit; }
.bulls-analytics .an-select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.15); }
.bulls-analytics .an-btn { border: 0; cursor: pointer; font-weight: 700; font-size: 0.85rem; padding: 0.6rem 1.1rem; border-radius: 10px; color: #1a1200; background: linear-gradient(135deg, #f5c542, #e09a1a); box-shadow: 0 4px 16px rgba(232, 185, 35, 0.25); font-family: inherit; }
.bulls-analytics .an-btn:hover { filter: brightness(1.05); }
.bulls-analytics .an-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; }
.bulls-analytics .an-row .chart-wrap { height: 260px; }
.bulls-analytics .an-row .chart-wrap.an-tall { height: 300px; }
.bulls-analytics .stat-list { list-style: none; margin: 0; padding: 0; }
.bulls-analytics .stat-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: 0.85rem; color: var(--dim); }
.bulls-analytics .stat-list li:last-child { border-bottom: 0; }
.bulls-analytics .stat-list strong { color: var(--cream); font-weight: 600; text-align: right; }
.bulls-analytics .an-error { margin: 0; padding: 0.8rem 1rem; border-radius: 10px; background: rgba(231, 76, 60, 0.12); color: #f87171; font-size: 0.85rem; }
.bulls-analytics .an-error[hidden] { display: none; }
@media (max-width: 1100px) { .bulls-analytics .an-row { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .bulls-analytics { padding: 1rem; } }
@media print {
  .dash-sidebar, .dash-toolbar, .dash-ticker, .dash-mobile-bar, .an-filters, .bull-loader, .bn-panel { display: none !important; }
  body.portal, .dash-main-wrap, .dash-app { background: #fff !important; }
  .bulls-analytics .panel { box-shadow: none; border: 1px solid #ddd; background: #fff; }
  .bulls-analytics .panel * { color: #111 !important; }
}
/* Submit buttons rendered as <input> (asp:Button) keep the gold style */
body.portal input.btn-submit, body.portal .portal-login__card .btn-submit { background: linear-gradient(135deg, #f5c542, #e09a1a); color: #1a1200; font-weight: 800; border: 0; cursor: pointer; }
