/* ═══════════════════════════════════════════════════════════
   C LEWIS CAPITAL — Main Stylesheet
   Aesthetic: Refined Corporate-Futurist / Dark Gold + Slate
   Fonts: Syne (headers) + DM Sans (body)
   ═══════════════════════════════════════════════════════════ */

:root {
  --gold:      #C9A84C;
  --gold-lt:   #E8C97A;
  --gold-dk:   #8A6A20;
  --black:     #0A0C10;
  --dark:      #111318;
  --dark2:     #191D24;
  --dark3:     #22272F;
  --slate:     #2E3340;
  --border:    #2E3340;
  --text:      #E8EAF0;
  --text-muted:#8A90A0;
  --text-dim:  #555C70;
  --white:     #FFFFFF;
  --danger:    #E84545;
  --success:   #2ECC8A;
  --info:      #4A9EFF;
  --warn:      #F5A623;

  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow:    0 4px 24px rgba(0,0,0,.45);
  --shadow-gold: 0 0 30px rgba(201,168,76,.15);

  --nav-h: 68px;
  --max-w: 1240px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-lt); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
p { color: var(--text-muted); margin-bottom: .75rem; }

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media(max-width:900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media(max-width:560px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

/* ── NAVBAR ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,12,16,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: 'Syne', sans-serif;
}
.nav-brand:hover { color: var(--white); }
.brand-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold-dk), var(--gold));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--black);
  flex-shrink: 0;
}
.brand-text strong { display: block; font-size: .95rem; }
.brand-text em { display: block; font-size: .7rem; font-style: normal; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: .88rem;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: var(--dark3); }
.nav-cta-link {
  background: linear-gradient(135deg, var(--gold-dk), var(--gold)) !important;
  color: var(--black) !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
}
.nav-cta-link:hover { opacity: .9; background: var(--gold-lt) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
@media(max-width:860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 16px; }
}

/* ── FLASH MESSAGES ── */
.flash-container {
  position: fixed;
  top: calc(var(--nav-h) + 12px);
  right: 16px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 380px;
}
.flash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .88rem;
  animation: slideIn .3s ease;
  backdrop-filter: blur(12px);
}
.flash-success { background: rgba(46,204,138,.15); border: 1px solid rgba(46,204,138,.3); color: #6FEDB4; }
.flash-error   { background: rgba(232,69,69,.15);  border: 1px solid rgba(232,69,69,.3);  color: #F08080; }
.flash-info    { background: rgba(74,158,255,.15); border: 1px solid rgba(74,158,255,.3); color: #8ABFFF; }
.flash-close { margin-left: auto; background: none; border: none; color: inherit; cursor: pointer; font-size: 1.1rem; opacity: .6; }
.flash-close:hover { opacity: 1; }
@keyframes slideIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dk), var(--gold));
  color: var(--black);
}
.btn-gold:hover { filter: brightness(1.1); color: var(--black); transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: rgba(201,168,76,.1); color: var(--gold-lt); }
.btn-ghost {
  background: var(--dark3);
  color: var(--text);
}
.btn-ghost:hover { background: var(--slate); color: var(--white); }
.btn-danger {
  background: rgba(232,69,69,.15);
  border: 1px solid rgba(232,69,69,.4);
  color: var(--danger);
}
.btn-danger:hover { background: rgba(232,69,69,.3); }
.btn-success {
  background: rgba(46,204,138,.15);
  border: 1px solid rgba(46,204,138,.4);
  color: var(--success);
}
.btn-success:hover { background: rgba(46,204,138,.3); }
.btn-sm { padding: 6px 14px; font-size: .8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; justify-content: center; }

/* ── CARDS ── */
.card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s;
}
.card:hover { border-color: var(--gold-dk); box-shadow: var(--shadow-gold); transform: translateY(-2px); }
.card-body { padding: 20px; }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--dark3); }
.card-img-sq { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--dark3); }

/* ── AGENT CARD ── */
.agent-card { position: relative; }
.agent-card .card-img { aspect-ratio: 4/3; }
.agent-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--gold-dk), var(--gold));
  color: var(--black);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.agent-tier {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tier-starter    { background: rgba(108,117,125,.2); border: 1px solid rgba(108,117,125,.4); color: #9AA0B0; }
.tier-growth     { background: rgba(13,110,253,.2);  border: 1px solid rgba(13,110,253,.4);  color: #6BA7FF; }
.tier-pro        { background: rgba(111,66,193,.2);  border: 1px solid rgba(111,66,193,.4);  color: #BF8FFF; }
.tier-enterprise { background: rgba(201,168,76,.2);  border: 1px solid rgba(201,168,76,.4);  color: var(--gold); }

.agent-card .card-body { display: flex; flex-direction: column; gap: 10px; }
.agent-name { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--white); }
.agent-tagline { font-size: .82rem; color: var(--text-muted); line-height: 1.4; margin: 0; }
.agent-price { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--gold); }
.agent-price small { font-size: .7rem; color: var(--text-dim); font-weight: 400; }
.agent-platforms { display: flex; gap: 6px; flex-wrap: wrap; }
.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .72rem;
  color: var(--text-muted);
}
.agent-commission {
  font-size: .78rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 4px;
}
.agent-category {
  font-size: .75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── FORMS ── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .85rem; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 10px 14px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color .2s;
  outline: none;
}
.form-control:focus { border-color: var(--gold); }
.form-control::placeholder { color: var(--text-dim); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-hint { font-size: .78rem; color: var(--text-dim); margin-top: 4px; }
.form-check { display: flex; align-items: center; gap: 8px; cursor: pointer; margin-bottom: 8px; }
.form-check input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--gold); cursor: pointer; }

/* Platform checkboxes */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 10px; }
.platform-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
  font-size: .85rem;
}
.platform-check:hover { border-color: var(--gold-dk); }
.platform-check input[type=checkbox] { accent-color: var(--gold); }
.platform-check.checked { border-color: var(--gold); background: rgba(201,168,76,.07); color: var(--gold); }

/* ── TABLES ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
thead tr { background: var(--dark3); }
thead th { padding: 12px 16px; text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); white-space: nowrap; }
tbody tr { border-top: 1px solid var(--border); transition: background .15s; }
tbody tr:hover { background: var(--dark2); }
td { padding: 12px 16px; font-size: .88rem; color: var(--text); }
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: capitalize;
}
.status-pending   { background: rgba(245,166,35,.15); color: var(--warn); }
.status-active    { background: rgba(46,204,138,.15);  color: var(--success); }
.status-completed { background: rgba(46,204,138,.15);  color: var(--success); }
.status-rejected  { background: rgba(232,69,69,.15);   color: var(--danger); }
.status-cancelled { background: rgba(138,144,160,.15); color: var(--text-muted); }
.status-onboarding{ background: rgba(74,158,255,.15);  color: var(--info); }

/* ── HERO ── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 20px;
  font-size: .78rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 16px; }
.hero h1 span { color: var(--gold); }
.hero-sub { font-size: 1.15rem; max-width: 580px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--gold); }
.hero-stat-label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; }

/* ── SECTION HEADER ── */
.section-header { margin-bottom: 40px; }
.section-header h2 { margin-bottom: 8px; }
.section-header p { font-size: 1.05rem; }
.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 8px;
  font-weight: 600;
}

/* ── DASHBOARD ── */
.dash-header {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.dash-title { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; }
.dash-subtitle { color: var(--text-muted); font-size: .9rem; }
.stat-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.stat-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.icon-gold { background: rgba(201,168,76,.15); color: var(--gold); }
.icon-green { background: rgba(46,204,138,.15); color: var(--success); }
.icon-blue  { background: rgba(74,158,255,.15); color: var(--info); }
.icon-warn  { background: rgba(245,166,35,.15); color: var(--warn); }
.stat-num { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: .8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; }

/* ── TABS ── */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.tab-btn {
  padding: 10px 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .2s;
  font-family: 'DM Sans', sans-serif;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── WIZARD STEPS ── */
.wizard-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.wizard-step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all .3s;
}
.wizard-step.active .step-num { border-color: var(--gold); background: var(--gold); color: var(--black); }
.wizard-step.done .step-num { border-color: var(--success); background: var(--success); color: var(--black); }
.step-label { font-size: .82rem; color: var(--text-muted); white-space: nowrap; }
.wizard-step.active .step-label { color: var(--gold); font-weight: 600; }
.step-connector { width: 40px; height: 2px; background: var(--border); flex-shrink: 0; }

/* ── MISC UTILITIES ── */
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.text-center  { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.w-full { width: 100%; }
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
}
.empty-state i { font-size: 3rem; color: var(--text-dim); margin-bottom: 16px; }
.code-chip {
  display: inline-block;
  padding: 2px 8px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: monospace;
  font-size: .8rem;
  color: var(--gold);
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  color: var(--info);
  background: rgba(74,158,255,.1);
  border: 1px solid rgba(74,158,255,.25);
  padding: 2px 8px;
  border-radius: 20px;
}
.referral-box {
  background: var(--dark3);
  border: 1px dashed var(--gold-dk);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.referral-box input {
  flex: 1;
  background: none;
  border: none;
  color: var(--gold);
  font-size: .88rem;
  font-family: monospace;
  outline: none;
}

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  margin-top: 80px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
}
@media(max-width:760px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand .brand-mark { width: 44px; height: 44px; font-size: .8rem; flex-shrink: 0; }
.footer-brand strong { display: block; font-size: 1rem; font-family: 'Syne', sans-serif; color: var(--white); }
.footer-brand p { font-size: .8rem; margin: 2px 0 0; }
.footer-tag { color: var(--gold) !important; font-style: italic; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media(max-width:600px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 12px; }
.footer-col a, .footer-col span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .83rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  text-align: center;
}
.footer-bottom p { font-size: .78rem; color: var(--text-dim); margin: 0; }

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn .25s ease;
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; }
.modal-close:hover { color: var(--white); }
@keyframes modalIn { from { transform: scale(.95); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── ADMIN SIDEBAR ── */
.admin-layout { display: flex; min-height: calc(100vh - var(--nav-h)); }
.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--dark2);
  border-right: 1px solid var(--border);
  padding: 24px 0;
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: .88rem;
  color: var(--text-muted);
  transition: all .2s;
}
.admin-sidebar a:hover { color: var(--white); background: var(--dark3); }
.admin-sidebar a.active { color: var(--gold); background: rgba(201,168,76,.08); border-left: 2px solid var(--gold); }
.admin-sidebar h5 { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); padding: 16px 20px 6px; }
.admin-main { flex: 1; padding: 32px; overflow: auto; }
@media(max-width:760px) {
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; display: flex; flex-wrap: wrap; gap: 4px; padding: 12px; border-right: none; border-bottom: 1px solid var(--border); }
  .admin-sidebar h5 { display: none; }
  .admin-sidebar a { padding: 8px 12px; border-radius: var(--radius); font-size: .8rem; }
  .admin-main { padding: 20px; }
}

/* ── BLOCKCHAIN ── */
.block-chain { display: flex; flex-direction: column; gap: 0; }
.block-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.block-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.block-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 4px;
}
.block-line { width: 2px; flex: 1; background: var(--border); min-height: 24px; }
.block-content { flex: 1; }
.block-hash { font-family: monospace; font-size: .72rem; color: var(--text-dim); margin-top: 4px; }

/* ── CALIBRATION PANEL ── */
.calibration-panel {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.calibration-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
@media(max-width:600px) { .calibration-row { flex-direction: column; } }

/* ── PROFILE CONFIRMATION ── */
.confirm-box {
  max-width: 600px;
  margin: 60px auto;
  text-align: center;
}
.confirm-icon {
  width: 80px;
  height: 80px;
  background: rgba(46,204,138,.15);
  border: 2px solid var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--success);
  margin: 0 auto 24px;
}
.profile-id-display {
  font-family: monospace;
  font-size: 1.4rem;
  color: var(--gold);
  background: var(--dark3);
  border: 1px solid var(--gold-dk);
  border-radius: var(--radius);
  padding: 12px 20px;
  display: inline-block;
  margin: 12px 0 24px;
  letter-spacing: .08em;
}

/* ── PAGE HEADER BANNER ── */
.page-banner {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.page-banner .breadcrumb {
  font-size: .8rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.page-banner .breadcrumb a { color: var(--text-muted); }
.page-banner .breadcrumb a:hover { color: var(--gold); }
.page-banner .breadcrumb span { margin: 0 6px; }
