/* ============================================================
   Aurion — Portfolio Demo
   Gold / dark ink trading dashboard theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --ink: #13110c;
  --ink-2: #0e0c08;
  --surface: #1d1a13;
  --surface-2: #252017;
  --surface-hover: #2b2519;
  --border: #332c1e;
  --border-soft: #262117;

  --gold: #c9a227;
  --gold-bright: #e8c766;
  --gold-dim: #8a7220;

  --text: #f3ede0;
  --text-muted: #a89b7c;
  --text-faint: #6f6552;

  --green: #4caf6d;
  --red: #d9534f;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 10px;
  --radius-sm: 6px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

::selection { background: var(--gold-dim); color: var(--text); }

.tabular { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- Demo strip (persistent, non-dismissible) ---------- */
.demo-strip {
  background: var(--surface-2);
  color: var(--text-faint);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 4px 12px;
  position: sticky;
  top: 0;
  z-index: 200;
}
.demo-strip strong { font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--gold);
  color: #171307;
}
.btn-gold:hover { background: var(--gold-bright); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--gold-dim); }

.btn-outline {
  background: transparent;
  border-color: var(--gold-dim);
  color: var(--gold-bright);
}
.btn-outline:hover { background: rgba(201,162,39,0.1); }

.btn-danger-line {
  background: transparent;
  border-color: var(--border);
  color: var(--red);
}
.btn-danger-line:hover { border-color: var(--red); background: rgba(217,83,79,0.08); }

.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 12.5px; }

.btn-buy { background: var(--green); color: #0d1f13; }
.btn-buy:hover { filter: brightness(1.08); }
.btn-sell { background: var(--red); color: #250a09; }
.btn-sell:hover { filter: brightness(1.08); }

/* ================================================================
   SIGN-IN PAGE
   ================================================================ */
.signin-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.signin-brand {
  position: relative;
  background:
    radial-gradient(circle at 20% 15%, rgba(201,162,39,0.16), transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(201,162,39,0.10), transparent 50%),
    var(--ink-2);
  border-right: 1px solid var(--border-soft);
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.signin-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 30% 30%, black, transparent 70%);
  pointer-events: none;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-bright);
  z-index: 1;
}
.brand-mark .glyph {
  width: 30px; height: 30px;
  border: 1.5px solid var(--gold-bright);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}

.brand-copy { z-index: 1; max-width: 420px; }
.brand-copy h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.18;
  margin: 0 0 16px;
  color: var(--text);
}
.brand-copy h1 em { font-style: normal; color: var(--gold-bright); }
.brand-copy p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.brand-stats { display: flex; gap: 36px; z-index: 1; }
.brand-stats div span { display: block; }
.brand-stats .num {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--gold-bright);
}
.brand-stats .label {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 4px;
}

.signin-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.signin-card { width: 100%; max-width: 380px; }
.signin-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 6px;
}
.signin-card .sub {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 30px;
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.field input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 13px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease;
}
.field input:focus { border-color: var(--gold); }
.field input::placeholder { color: var(--text-faint); }

/* ---------- Select dropdowns (dark theme, all forms) ---------- */
select,
.field select {
  width: 100%;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 36px 12px 13px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3e%3cpath fill='none' stroke='%23a89b7c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 13px center;
  transition: border-color 0.15s ease;
}
select:focus { border-color: var(--gold); }
select:hover { border-color: var(--gold-dim); }
select:disabled { opacity: 0.55; cursor: not-allowed; }
select option { background: var(--surface); color: var(--text); }

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: 13px;
}
.checkbox-row { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.checkbox-row input { accent-color: var(--gold); }
.link-muted { color: var(--gold-bright); }
.link-muted:hover { text-decoration: underline; }

.signin-footnote {
  margin-top: 22px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-faint);
}
.signin-footnote a { color: var(--gold-bright); }

.trust-row {
  display: flex;
  gap: 18px;
  margin-top: 26px;
  justify-content: center;
  font-size: 11.5px;
  color: var(--text-faint);
}
.trust-row span { display: flex; align-items: center; gap: 5px; }

@media (max-width: 860px) {
  .signin-wrap { grid-template-columns: 1fr; }
  .signin-brand { display: none; }
}

/* ================================================================
   DASHBOARD LAYOUT
   ================================================================ */
.app-shell { display: grid; grid-template-columns: 250px 1fr; min-height: calc(100vh - 34px); }

.sidebar {
  background: var(--ink-2);
  border-right: 1px solid var(--border-soft);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar .brand-mark { padding: 6px 10px 22px; font-size: 18px; }
.sidebar .brand-mark .glyph { width: 26px; height: 26px; font-size: 13px; }

.nav-group { margin-bottom: 18px; }
.nav-group-label {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  padding: 0 10px 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
}
.nav-item .ic { width: 17px; text-align: center; opacity: 0.85; }
.nav-item:hover { background: var(--surface-2); color: var(--text); }
.nav-item.active { background: var(--surface-2); color: var(--gold-bright); }
.nav-item .chip {
  margin-left: auto;
  font-size: 10px;
  background: rgba(201,162,39,0.15);
  color: var(--gold-bright);
  padding: 2px 6px;
  border-radius: 20px;
}

.sidebar-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border-soft); }

.main { display: flex; flex-direction: column; min-width: 0; }

.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 26px;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 34px;
  background: rgba(19,17,12,0.92);
  backdrop-filter: blur(6px);
  z-index: 100;
}
.topbar .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(76,175,109,0.18);
}
.ticker-mini { display: flex; gap: 18px; font-size: 12.5px; color: var(--text-muted); }
.ticker-mini b { color: var(--text); font-family: var(--font-mono); }
.topbar-spacer { flex: 1; }
.icon-btn {
  position: relative;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.badge-dot {
  position: absolute; top: -2px; right: -2px;
  background: var(--gold); color: #171307;
  font-size: 9.5px; font-weight: 700;
  width: 15px; height: 15px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #171307;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}

.content { padding: 26px; display: flex; flex-direction: column; gap: 22px; }

.page-head h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 4px;
}
.page-head p { color: var(--text-muted); font-size: 13.5px; margin: 0; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px;
}
.stat-card .label { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.stat-card .value { font-family: var(--font-mono); font-size: 22px; }
.stat-card .delta { font-size: 12px; margin-top: 8px; }
.delta.up { color: var(--green); }
.delta.down { color: var(--red); }
.delta.neutral { color: var(--text-faint); }

.grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: start; }

.panel {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.panel-head h3 { font-size: 15px; font-weight: 600; margin: 0; }
.panel-head .muted-link { font-size: 12.5px; color: var(--gold-bright); }

.chart-wrap { height: 220px; }

.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th {
  text-align: left;
  color: var(--text-faint);
  font-weight: 500;
  font-size: 11.5px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-soft);
}
.table td { padding: 10px 10px; border-bottom: 1px solid var(--border-soft); }
.table tr:last-child td { border-bottom: none; }
.pill { padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.pill.buy { background: rgba(76,175,109,0.14); color: var(--green); }
.pill.sell { background: rgba(217,83,79,0.14); color: var(--red); }

/* Trade panel */
.trade-form .field { margin-bottom: 14px; }
.trade-form select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 11px 12px;
  font-size: 14px;
}
.trade-btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }

/* Wallet quick actions */
.quick-actions { display: flex; gap: 10px; }

/* Toast */
.toast {
  position: fixed;
  bottom: 22px; right: 22px;
  background: var(--surface-2);
  border: 1px solid var(--gold-dim);
  color: var(--text);
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 400;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,9,6,0.65);
  display: none;
  align-items: center; justify-content: center;
  z-index: 500;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  width: 100%;
  max-width: 360px;
}
.modal h3 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 500; font-size: 19px; }
.modal p.sub { color: var(--text-muted); font-size: 13px; margin: 0 0 18px; }
.modal-close-row { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

@media (max-width: 1080px) {
  .grid-2 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
.mobile-menu-btn { display: none; }
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 290;
}
.sidebar-backdrop.show { display: block; }

@media (max-width: 760px) {
  .app-shell { grid-template-columns: 1fr; }
  .mobile-menu-btn { display: flex; }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    max-width: 82vw;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 300;
    overflow-y: auto;
  }
  .sidebar.mobile-open { transform: translateX(0); }
  .stat-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   MARKETING HOMEPAGE
   ================================================================ */
.site-header {
  position: sticky; top: 34px; z-index: 150;
  display: flex; align-items: center; gap: 28px;
  padding: 16px 40px;
  background: rgba(19,17,12,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
.site-nav { display: flex; gap: 26px; font-size: 13.5px; color: var(--text-muted); }
.site-nav a:hover { color: var(--gold-bright); }
.site-header-spacer { flex: 1; }
.site-header .btn { padding: 9px 16px; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  background: rgba(201,162,39,0.12);
  border: 1px solid var(--gold-dim);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 46px;
  line-height: 1.14;
  margin: 0 0 18px;
}
.hero h1 .accent { color: var(--gold-bright); }
.hero p { color: var(--text-muted); font-size: 15.5px; line-height: 1.6; max-width: 440px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; }
.hero-chart-frame {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  height: 460px;
}
.hero-chart-frame .tradingview-widget-container,
.hero-chart-frame .tradingview-widget-container__widget {
  height: 100% !important;
  width: 100% !important;
}

.section { padding: 60px 40px; max-width: 1280px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  margin: 0 0 10px;
}
.section-head p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.module-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
}
.module-card.c-forex { border-top-color: #5aa0e0; }
.module-card.c-shares { border-top-color: #4caf6d; }
.module-card.c-energy { border-top-color: #e0a13a; }
.module-card.c-indices { border-top-color: #7c8ce0; }

.module-card .icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  font-size: 18px;
  margin-bottom: 16px;
}
.module-card h3 { font-size: 16px; margin: 0 0 8px; }
.module-card p { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin: 0 0 14px; min-height: 62px; }
.module-card a.explore, .module-card button.explore { font-size: 13px; font-weight: 600; color: var(--gold-bright); }

.crypto-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--surface);
}
.crypto-card .swatch {
  height: 88px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  color: #fff;
}
.crypto-card .swatch.btc { background: linear-gradient(135deg,#f7931a,#c9a227); }
.crypto-card .swatch.eth { background: linear-gradient(135deg,#627eea,#8a63d2); }
.crypto-card .swatch.xrp { background: linear-gradient(135deg,#3d9be8,#2166c9); }
.crypto-card .swatch.ada { background: linear-gradient(135deg,#4a5fe0,#2f3aa3); }
.crypto-card .body { padding: 18px; }
.crypto-card h3 { font-size: 15px; margin: 0 0 8px; }
.crypto-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; margin: 0 0 14px; min-height: 78px; }
.crypto-card .row { display: flex; align-items: center; justify-content: space-between; }
.crypto-card .tag { font-size: 11px; color: var(--text-faint); font-family: var(--font-mono); }

.split-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.conditions-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.conditions-list li { display: flex; gap: 10px; font-size: 14px; color: var(--text-muted); }
.conditions-list li .check { color: var(--green); flex-shrink: 0; }
.conditions-list li b { color: var(--text); }

.education-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px;
}
.education-panel img { width: 100%; border-radius: var(--radius-sm); display: block; }
.education-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; color: var(--gold-bright); margin-bottom: 10px; }
.education-panel h2 { font-family: var(--font-display); font-weight: 500; font-size: 26px; margin: 0 0 12px; }
.education-panel p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 0 0 20px; }
.education-note {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}
.education-note h4 { margin: 0 0 6px; font-size: 14px; }
.education-note p { margin: 0; font-size: 13px; }

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 30px 40px;
  text-align: center;
  color: var(--text-faint);
  font-size: 12.5px;
}

/* TradingView widget containers need explicit height */
.tv-widget { width: 100%; }
.tv-widget.tall { height: 420px; }
.tv-widget.med { height: 300px; }
.tv-widget.short { height: 46px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 48px 24px; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .education-panel { grid-template-columns: 1fr; }
  .split-panel { grid-template-columns: 1fr; }
}
.site-nav-toggle { display: none; }
.site-nav-mobile-actions { display: none; }

@media (max-width: 600px) {
  .module-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 20px; }

  .site-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    width: 38px;
    height: 34px;
    font-size: 16px;
    cursor: pointer;
    margin-left: auto;
  }
  .site-header-actions { display: none; }
  .site-header-spacer { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--border-soft);
    padding: 8px 20px 16px;
    z-index: 250;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
  .site-nav-mobile-actions { display: flex; gap: 10px; margin-top: 14px; }
  .site-header { position: relative; }
}

/* ================================================================
   SIGN-UP WIZARD
   ================================================================ */
.signup-wrap {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 20px;
}
.signup-card { width: 100%; max-width: 560px; }
.signup-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.trader-count {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 8px 14px; font-size: 12px; color: var(--text-muted);
}
.trader-count b { color: var(--gold-bright); font-size: 13px; }

.step-tracker { display: flex; justify-content: center; gap: 46px; margin-bottom: 28px; }
.step-tracker .step { text-align: center; }
.step-tracker .dot {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 6px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-faint); font-size: 13px; font-weight: 600;
}
.step-tracker .step.active .dot { background: var(--gold); color: #171307; border-color: var(--gold); }
.step-tracker .step.done .dot { background: var(--green); color: #0d1f13; border-color: var(--green); }
.step-tracker .step .lbl { font-size: 12px; color: var(--text); }
.step-tracker .step .sub-lbl { font-size: 10.5px; color: var(--text-faint); }

.signup-panel {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px;
}
.signup-panel .panel-title { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.signup-panel .panel-title .glyph2 {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(201,162,39,0.14); color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
}
.signup-panel .panel-title h3 { margin: 0; font-size: 16px; }
.signup-panel .panel-title p { margin: 2px 0 0; font-size: 12.5px; color: var(--text-muted); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.signup-step { display: none; }
.signup-step.active { display: block; }

.signup-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.step-of { font-size: 12.5px; color: var(--text-faint); }
.signup-bottom-note { text-align: center; font-size: 12.5px; color: var(--text-faint); margin-top: 20px; }
.signup-trust { display: flex; justify-content: center; gap: 16px; margin-top: 14px; font-size: 11px; color: var(--text-faint); }

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .step-tracker { gap: 20px; }
}

/* ================================================================
   ADMIN DASHBOARD
   ================================================================ */
.admin-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #171307;
  background: var(--gold-bright);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.tab-row { display: flex; gap: 4px; border-bottom: 1px solid var(--border-soft); margin-bottom: 20px; }
.tab-btn {
  background: transparent; border: none; color: var(--text-muted);
  padding: 10px 16px; font-size: 13.5px; font-weight: 600;
  border-bottom: 2px solid transparent;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--gold-bright); border-bottom-color: var(--gold); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

.admin-table-wrap { overflow-x: auto; }
.status-pill { padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.status-pill.active { background: rgba(76,175,109,0.14); color: var(--green); }
.status-pill.suspended { background: rgba(217,83,79,0.14); color: var(--red); }

.cms-edit-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}
.cms-edit-row:last-child { border-bottom: none; }
.cms-edit-row .cms-label { font-size: 13px; font-weight: 600; padding-top: 10px; }
.cms-edit-row textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 10px 12px;
  font-size: 13px;
  font-family: var(--font-body);
  resize: vertical;
  min-height: 44px;
}
.cms-edit-row input[type=text] {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 8px;
}

.log-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border-soft); font-size: 13px; }
.log-row:last-child { border-bottom: none; }
.log-row .log-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.log-row .log-dot.buy { background: var(--green); }
.log-row .log-dot.sell { background: var(--red); }
.log-row .log-dot.sys { background: var(--gold); }
.log-row .log-time { margin-left: auto; color: var(--text-faint); font-size: 11.5px; }

.persist-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(201,162,39,0.08);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.persist-note b { color: var(--gold-bright); }
