/* ==========================================================================
   VELMUSE — Client Portal (SaaS) UI
   Demo dashboard: login, overview, orders, content calendar, bookings, etc.
   Shares the marketing brand: black + red #d40000 + gold #d4af37 + white.
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #0c0c0c;
  --panel: #101011;
  --card: rgba(255, 255, 255, 0.035);
  --card-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --white: #ffffff;
  --text: #c9c9c9;
  --muted: #8a8a8a;
  --muted-dim: #5f5f5f;
  --red: #d40000;
  --red-bright: #ff3b30;
  --red-wash: rgba(212, 0, 0, 0.12);
  --gold: #d4af37;
  --green: #24c07a;

  --font-display: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --sidebar-w: 256px;
  --topbar-h: 66px;
  --t: 0.2s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-display); color: #fff; font-weight: 700; line-height: 1.15; }

/* ---------------- Buttons / chips ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 40px; font-family: var(--font-body); font-weight: 600; font-size: 14px; cursor: pointer; border: 1px solid transparent; transition: var(--t); white-space: nowrap; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -12px rgba(212,0,0,0.8); }
.btn-red:hover { background: var(--gold); color: #0a0a0a; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-sm { padding: 8px 15px; font-size: 13px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 30px; font-size: 12px; font-weight: 600; letter-spacing: .3px; }
.chip-red { background: var(--red-wash); color: var(--red-bright); border: 1px solid rgba(212,0,0,0.3); }
.chip-gold { background: rgba(212,175,55,0.12); color: var(--gold); border: 1px solid rgba(212,175,55,0.35); }
.chip-green { background: rgba(36,192,122,0.12); color: var(--green); border: 1px solid rgba(36,192,122,0.3); }
.chip-muted { background: rgba(255,255,255,0.05); color: var(--muted); border: 1px solid var(--line); }

/* ---------------- App shell ---------------- */
.app { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w); flex-shrink: 0; position: fixed; top: 0; left: 0; height: 100vh;
  background: var(--bg-2); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 22px 16px; z-index: 40;
}
.sidebar-logo { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: 5px; color: #fff; padding: 6px 12px 22px; }
.sidebar-logo span { color: var(--red); }
.nav-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-dim); padding: 16px 12px 8px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: var(--t); position: relative; }
.nav-item i { width: 20px; text-align: center; font-size: 15px; }
.nav-item:hover { background: rgba(255,255,255,0.04); color: #fff; }
.nav-item.active { background: var(--red-wash); color: #fff; }
.nav-item.active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--red); }
.nav-item .soon { margin-left: auto; font-size: 9px; letter-spacing: 1px; color: var(--muted-dim); background: rgba(255,255,255,0.05); padding: 2px 6px; border-radius: 20px; }
.sidebar-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; }
.side-user { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; }
.side-user:hover { background: rgba(255,255,255,0.04); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle, var(--red), #400); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 13px; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.12); }
.side-user .u-name { font-size: 13.5px; color: #fff; font-weight: 600; }
.side-user .u-plan { font-size: 11px; color: var(--gold); }

.app-main { flex: 1; margin-left: var(--sidebar-w); min-width: 0; }
.topbar { height: var(--topbar-h); position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 28px; background: rgba(10,10,10,0.8); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar-title { font-family: var(--font-display); font-size: 20px; color: #fff; font-weight: 700; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.search { display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 40px; padding: 9px 16px; color: var(--muted); font-size: 13px; min-width: 220px; }
.search input { background: none; border: none; outline: none; color: #fff; font-family: var(--font-body); font-size: 13px; width: 100%; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted); border: 1px solid var(--line); background: rgba(255,255,255,0.02); cursor: pointer; transition: var(--t); position: relative; }
.icon-btn:hover { color: #fff; border-color: var(--line-strong); }
.icon-btn .dot { position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; background: var(--red); border-radius: 50%; border: 1.5px solid var(--bg); }

.app-content { padding: 28px; max-width: 1200px; }
.page-head { margin-bottom: 24px; }
.page-head h1 { font-size: 30px; margin-bottom: 6px; }
.page-head p { color: var(--muted); font-size: 14.5px; }

/* ---------------- Cards / panels ---------------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-head h3 { font-size: 17px; font-family: var(--font-body); font-weight: 600; color: #fff; }
.panel-head a { font-size: 13px; color: var(--red-bright); }
.grid { display: grid; gap: 18px; }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2 { grid-template-columns: 1.6fr 1fr; }
.mt { margin-top: 18px; }

.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.stat .s-label { font-size: 12.5px; color: var(--muted); letter-spacing: .4px; display: flex; align-items: center; gap: 8px; }
.stat .s-label i { color: var(--red); }
.stat .s-val { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: #fff; margin-top: 8px; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .s-delta { font-size: 12px; margin-top: 8px; color: var(--green); }
.stat .s-delta.down { color: var(--red-bright); }

/* ---------------- Order status tracker ---------------- */
.order-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.order-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.order-top h4 { font-family: var(--font-body); font-size: 16px; color: #fff; font-weight: 600; }
.order-top .meta { color: var(--muted-dim); font-size: 12.5px; margin-top: 3px; }
.tracker { display: flex; align-items: center; margin-bottom: 20px; }
.tracker .step { flex: 1; text-align: center; position: relative; }
.tracker .dot { width: 26px; height: 26px; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; font-size: 11px; background: #1c1c1c; color: var(--muted-dim); border: 1px solid var(--line); }
.tracker .step.done .dot { background: var(--red); color: #fff; border-color: var(--red); }
.tracker .step.active .dot { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 0 0 5px var(--red-wash); }
.tracker .step .lbl { font-size: 11px; margin-top: 8px; color: var(--muted); }
.tracker .step.active .lbl, .tracker .step.done .lbl { color: #fff; }
.tracker .bar { flex: 1; height: 2px; background: #1c1c1c; }
.tracker .bar.fill { background: var(--red); }
.order-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; gap: 12px; flex-wrap: wrap; }
.mgr { display: flex; align-items: center; gap: 11px; }
.mgr .avatar { border-color: var(--red); }
.mgr .m-name { font-size: 13.5px; color: #fff; }
.mgr .m-sub { font-size: 12px; color: var(--muted); }

/* ---------------- Lists / tables ---------------- */
.list-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.list-row:first-child { border-top: none; }
.list-row .r-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--red-wash); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.list-row .r-main { flex: 1; min-width: 0; }
.list-row .r-title { color: #fff; font-size: 14px; font-weight: 500; }
.list-row .r-sub { color: var(--muted); font-size: 12.5px; }
.list-row .r-meta { color: var(--muted-dim); font-size: 12.5px; white-space: nowrap; }

table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; padding: 12px 14px; color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; border-bottom: 1px solid var(--line); }
table.data td { padding: 14px; border-bottom: 1px solid var(--line); color: var(--text); }
table.data tr:hover td { background: rgba(255,255,255,0.02); }

/* ---------------- Content calendar ---------------- */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-nav { display: flex; align-items: center; gap: 12px; }
.cal-month { font-family: var(--font-display); font-size: 22px; color: #fff; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal-dow { text-align: center; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted-dim); padding-bottom: 6px; }
.cal-cell { min-height: 108px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 5px; transition: var(--t); }
.cal-cell:hover { border-color: var(--line-strong); }
.cal-cell.out { opacity: 0.35; }
.cal-cell.today { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.cal-date { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.cal-cell.today .cal-date { color: var(--red-bright); }
.ev { font-size: 11px; padding: 4px 7px; border-radius: 6px; color: #fff; display: flex; align-items: center; gap: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ev i { font-size: 9px; opacity: .9; }
.ev-post { background: rgba(212,0,0,0.22); border-left: 2px solid var(--red); }
.ev-story { background: rgba(212,175,55,0.18); border-left: 2px solid var(--gold); color: #f0e2b8; }
.ev-reel { background: rgba(36,192,122,0.16); border-left: 2px solid var(--green); color: #bfeeda; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend .sw { width: 12px; height: 12px; border-radius: 3px; }

/* ---------------- Booking system ---------------- */
.book-item { display: flex; align-items: center; gap: 14px; padding: 15px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; transition: var(--t); }
.book-item:hover { border-color: var(--line-strong); }
.book-time { text-align: center; flex-shrink: 0; width: 58px; }
.book-time .bt-day { font-size: 11px; color: var(--muted); text-transform: uppercase; }
.book-time .bt-num { font-family: var(--font-display); font-size: 24px; color: #fff; font-weight: 700; line-height: 1; }
.book-main { flex: 1; min-width: 0; border-left: 1px solid var(--line); padding-left: 14px; }
.book-main .bk-title { color: #fff; font-size: 14.5px; font-weight: 600; }
.book-main .bk-sub { color: var(--muted); font-size: 12.5px; }
.slot { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; font-size: 13.5px; }
.slot.free { border-color: rgba(36,192,122,0.3); }
.slot.booked { opacity: .55; }

/* ---------------- Empty / coming soon ---------------- */
.empty { text-align: center; padding: 70px 24px; }
.empty .e-ico { width: 74px; height: 74px; border-radius: 20px; background: var(--red-wash); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 22px; }
.empty h2 { font-size: 26px; margin-bottom: 10px; }
.empty p { color: var(--muted); max-width: 44ch; margin: 0 auto 24px; }

/* ---------------- Login ---------------- */
.auth { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.auth-brand { position: relative; overflow: hidden; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(120% 90% at 20% 10%, #1a0000 0%, #0a0a0a 60%); border-right: 1px solid var(--line); }
.auth-brand .orb { position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none; }
.auth-brand .orb-1 { top: -60px; left: -40px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(212,0,0,0.4), transparent 68%); }
.auth-brand .orb-2 { bottom: -80px; right: -60px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(212,175,55,0.14), transparent 66%); }
.auth-brand .sq { position: absolute; border: 1px solid rgba(212,175,55,0.35); transform: rotate(18deg); top: 40%; right: 14%; width: 90px; height: 90px; }
.auth-logo { position: relative; z-index: 2; font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: 7px; color: #fff; }
.auth-logo span { color: var(--red); }
.auth-quote { position: relative; z-index: 2; }
.auth-quote h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.15; margin-bottom: 18px; }
.auth-quote h2 em { color: var(--red); font-style: italic; }
.auth-quote p { color: var(--text); max-width: 42ch; font-weight: 300; }
.auth-badges { position: relative; z-index: 2; display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.auth-badges span i { color: var(--gold); margin-right: 7px; }

.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 40px; background: var(--bg); }
.auth-card { width: 100%; max-width: 380px; }
.auth-card .eyebrow { color: var(--red); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; }
.auth-card h1 { font-size: 30px; margin: 10px 0 6px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .4px; color: #fff; margin-bottom: 7px; }
.field .input { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; transition: var(--t); }
.field .input:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-wash); }
.field .input i { color: var(--muted); font-size: 14px; }
.field input { flex: 1; background: none; border: none; outline: none; color: #fff; font-family: var(--font-body); font-size: 14.5px; padding: 13px 0; }
.auth-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; margin-bottom: 22px; }
.auth-row a { color: var(--red-bright); }
.auth-row label { color: var(--muted); display: flex; align-items: center; gap: 7px; cursor: pointer; }
.auth-btn { width: 100%; padding: 14px; font-size: 15px; }
.auth-alt { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.auth-alt a { color: #fff; font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--muted-dim); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sso { display: flex; gap: 10px; }
.sso .btn { flex: 1; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) { .g-4 { grid-template-columns: repeat(2, 1fr); } .g-3 { grid-template-columns: 1fr; } .g-2 { grid-template-columns: 1fr; } }
@media (max-width: 880px) {
  .sidebar { transform: translateX(-100%); transition: transform .3s ease; }
  .sidebar.open { transform: translateX(0); }
  .app-main { margin-left: 0; }
  .menu-toggle { display: flex !important; }
  .auth { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
}
@media (max-width: 560px) {
  .cal-grid { gap: 4px; }
  .cal-cell { min-height: 84px; padding: 5px; }
  .search { display: none; }
  .app-content { padding: 18px; }
}
.menu-toggle { display: none; }

/* ---------------- Analytics ---------------- */
.chart { display: flex; align-items: flex-end; gap: 8px; height: 200px; padding-top: 10px; }
.chart-bar { flex: 1; min-width: 0; background: linear-gradient(180deg, var(--red), rgba(212,0,0,0.22)); border-radius: 6px 6px 0 0; transition: var(--t); }
.chart-bar:hover { background: linear-gradient(180deg, var(--gold), rgba(212,175,55,0.28)); }
.src-row { display: flex; align-items: center; gap: 14px; padding: 11px 0; }
.src-name { width: 120px; flex-shrink: 0; font-size: 13.5px; color: var(--text); }
.src-bar { flex: 1; height: 8px; background: rgba(255,255,255,0.06); border-radius: 6px; overflow: hidden; }
.src-bar span { display: block; height: 100%; border-radius: 6px; }
.src-pct { width: 40px; text-align: right; font-size: 13px; color: #fff; font-variant-numeric: tabular-nums; }

/* ---------------- Content library ---------------- */
.lib-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters .chip { cursor: pointer; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.media-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: var(--t); }
.media-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.media-thumb { position: relative; aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.55); font-size: 40px; }
.media-type { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.5); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .5px; padding: 3px 9px; border-radius: 20px; backdrop-filter: blur(4px); }
.media-hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(0,0,0,0.5); opacity: 0; transition: var(--t); }
.media-card:hover .media-hover { opacity: 1; }
.media-info { padding: 12px 14px; }
.media-title { font-size: 14px; color: #fff; font-weight: 500; }
.media-tag { font-size: 12px; color: var(--muted); margin-top: 3px; }
.media-tag i { color: var(--red); margin-right: 5px; }

/* ---------------- Referral ---------------- */
.refer-hero { position: relative; overflow: hidden; padding: 34px; border-radius: 18px; border: 1px solid rgba(212,0,0,0.3); background: radial-gradient(120% 120% at 15% 0%, #2a0000 0%, #101011 60%); }
.refer-hero-orb { position: absolute; top: -60px; right: -40px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,0.18), transparent 68%); filter: blur(30px); pointer-events: none; }
.refer-link { display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,0.4); border: 1px solid var(--line-strong); border-radius: 40px; padding: 6px 8px 6px 18px; max-width: 520px; }
.refer-link i { color: var(--gold); }
.refer-link input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: #fff; font-family: var(--font-body); font-size: 14px; }
.refer-share { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* ---------------- Support ---------------- */
.ticket-select, .ticket-area { width: 100%; background: #141414; color: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-family: var(--font-body); font-size: 14px; outline: none; }
.ticket-select:focus, .ticket-area:focus { border-color: var(--red); }
.ticket-area { resize: vertical; }
.prio { display: flex; gap: 8px; }
.prio .chip { cursor: pointer; }

/* ---------------- Team members ---------------- */
.team-member { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.team-member:first-of-type { border-top: none; }
.team-member .tm-main { flex: 1; min-width: 0; }
.tm-name { color: #fff; font-size: 14.5px; font-weight: 600; }
.tm-role { font-size: 12.5px; color: var(--gold); margin: 1px 0; }
.tm-role i { margin-right: 5px; }
.tm-sub { font-size: 12px; color: var(--muted); }

/* ---------------- Onboarding wizard ---------------- */
.ob-overlay { position: fixed; inset: 0; z-index: 200; background: radial-gradient(120% 90% at 50% -10%, #1a0000 0%, rgba(6,6,6,0.97) 62%); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.ob-card { width: 100%; max-width: 460px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 20px; padding: 36px 32px; box-shadow: 0 40px 100px rgba(0,0,0,0.6); }
.ob-logo { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: 5px; color: #fff; text-align: center; margin-bottom: 24px; }
.ob-logo span { color: var(--red); }
.ob-badge { display: inline-block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--red-bright); background: var(--red-wash); border: 1px solid rgba(212,0,0,0.3); padding: 5px 12px; border-radius: 30px; margin-bottom: 16px; }
.ob-step h2 { font-size: 30px; margin-bottom: 8px; }
.ob-step p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.ob-label { display: block; font-size: 12.5px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.ob-input { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; color: #fff; font-family: var(--font-body); font-size: 15px; outline: none; margin-bottom: 22px; }
.ob-input:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-wash); }
.ob-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.ob-chips span { padding: 10px 16px; border-radius: 40px; border: 1px solid var(--line-strong); color: var(--text); font-size: 14px; cursor: pointer; transition: var(--t); }
.ob-chips span:hover { border-color: var(--red); color: #fff; }
.ob-chips span.sel { background: var(--red); border-color: var(--red); color: #fff; }
.ob-btn { width: 100%; }
.ob-nav { display: flex; gap: 10px; }
.ob-nav .ob-btn { flex: 1; }

/* ---------------- Empty states ---------------- */
.empty-mini { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-mini i { font-size: 28px; color: var(--red); opacity: 0.75; display: block; margin-bottom: 14px; }
.empty-mini p { font-size: 14.5px; margin-bottom: 16px; max-width: 40ch; margin-left: auto; margin-right: auto; }

/* ---------------- Styled modals (V.confirm / V.formModal) ---------------- */
.vm-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(5,5,5,0.85); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .2s ease; }
.vm-overlay.open { opacity: 1; }
.vm-card { width: 100%; max-width: 440px; background: #0f0f10; border: 1px solid var(--line-strong); border-radius: 18px; padding: 28px; box-shadow: 0 30px 90px rgba(0,0,0,0.65); transform: scale(0.96); transition: transform .2s ease; }
.vm-overlay.open .vm-card { transform: scale(1); }
.vm-title { font-size: 22px; margin-bottom: 8px; }
.vm-msg { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.vm-field { margin-bottom: 14px; }
.vm-field label { display: block; font-size: 12.5px; font-weight: 600; color: #fff; margin-bottom: 7px; }
.vm-input { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: #fff; font-family: var(--font-body); font-size: 14.5px; outline: none; }
.vm-input:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-wash); }
select.vm-input { background-color: #141414; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
select.vm-input option { background-color: #141414; }
.vm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

/* ---------------- Journey timeline (signature vertical engagement timeline) ---------------- */
.journey-list { position: relative; padding-left: 8px; }
.journey-item { display: flex; gap: 20px; position: relative; padding-bottom: 32px; }
.journey-item:last-child { padding-bottom: 0; }
.journey-item .j-rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.journey-item .j-dot { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; background: #1c1c1c; color: var(--muted-dim); border: 1.5px solid var(--line); flex-shrink: 0; z-index: 1; }
.journey-item .j-line { width: 2px; flex: 1; background: var(--line); margin-top: 4px; min-height: 24px; }
.journey-item.done .j-dot { background: var(--red); color: #fff; border-color: var(--red); animation: checkPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.journey-item.done .j-line { background: var(--red); }
.journey-item.current .j-dot { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 0 0 6px var(--red-wash); }
.journey-item .j-body { flex: 1; padding-top: 3px; }
.journey-item .j-title { font-size: 15.5px; font-weight: 600; color: var(--muted-dim); }
.journey-item.done .j-title, .journey-item.current .j-title { color: #fff; }
.journey-item.current .j-title { color: var(--red); }
.journey-item .j-meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.journey-item .j-update { margin-top: 10px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; color: var(--text); line-height: 1.6; }
.journey-item .j-files { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.journey-item .j-file { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); padding: 5px 10px; border-radius: 20px; }
.journey-item .j-file i { color: var(--red); }
@keyframes checkPop { 0% { transform: scale(0.6); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
