/* ============================================================
   Veloblock — Dashboard Design System v3.0
   Professional Crypto Investment Platform
   ============================================================ */

:root {
  --bg-base:      #04080f;
  --bg-surface:   #080e1a;
  --bg-elevated:  #0d1526;
  --bg-hover:     #111f36;

  --border:       rgba(255,255,255,0.06);
  --border-soft:  rgba(255,255,255,0.04);
  --border-glow:  rgba(59,130,246,0.35);

  --primary:      #3b82f6;
  --primary-dim:  rgba(59,130,246,0.12);
  --primary-glow: rgba(59,130,246,0.30);
  --primary-dark: #1d4ed8;

  --success:      #22c55e;
  --success-dim:  rgba(34,197,94,0.12);
  --warning:      #f59e0b;
  --warning-dim:  rgba(245,158,11,0.12);
  --danger:       #ef4444;
  --danger-dim:   rgba(239,68,68,0.12);
  --purple:       #a855f7;
  --purple-dim:   rgba(168,85,247,0.12);
  --cyan:         #06b6d4;
  --cyan-dim:     rgba(6,182,212,0.12);
  --orange:       #f97316;
  --orange-dim:   rgba(249,115,22,0.12);

  --text:         #f1f5f9;
  --text-dim:     #94a3b8;
  --text-muted:   #475569;

  --sidebar-w:    260px;
  --topbar-h:     64px;
  --r:            14px;
  --r-sm:         8px;
  --r-lg:         20px;
  --r-pill:       999px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --t:    all 0.22s cubic-bezier(0.4,0,0.2,1);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --glow:   0 0 40px rgba(59,130,246,0.18);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text);
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar          { width: 4px; height: 4px; }
::-webkit-scrollbar-track    { background: transparent; }
::-webkit-scrollbar-thumb    { background: rgba(59,130,246,0.25); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(59,130,246,0.5); }

/* ── Layout ───────────────────────────────────────────────── */
#wrapper {
  display: flex;
  min-height: 100vh;
}

#content-wrapper {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-base);
}

#content { flex: 1; }

/* ── Sidebar ──────────────────────────────────────────────── */
.Veloblock-sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  min-height: 100vh;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
  transition: width 0.3s ease, min-width 0.3s ease;
  display: flex;
  flex-direction: column;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-surface);
  z-index: 2;
  flex-shrink: 0;
}

.brand-text {
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.toggle-btn {
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  padding: 6px;
  border-radius: 6px;
  transition: var(--t);
}
.toggle-btn:hover { color: var(--primary); background: var(--primary-dim); }

.sidebar-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 6px 16px;
  flex-shrink: 0;
}

.sidebar-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  padding: 12px 20px 4px;
  flex-shrink: 0;
}

.Veloblock-sidebar .nav-item {
  padding: 0 10px;
  margin-bottom: 1px;
  list-style: none;
}

.Veloblock-sidebar .nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 450;
  transition: var(--t);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.Veloblock-sidebar .nav-link i {
  width: 17px;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.Veloblock-sidebar .nav-link:hover {
  background: var(--primary-dim);
  color: var(--text);
}
.Veloblock-sidebar .nav-link:hover i { transform: translateX(2px); }

.Veloblock-sidebar .nav-item.active .nav-link {
  background: linear-gradient(135deg, var(--primary-dim), rgba(99,102,241,0.08));
  color: #fff;
  font-weight: 500;
  border: 1px solid var(--border-glow);
}
.Veloblock-sidebar .nav-item.active .nav-link::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; height: 60%;
  width: 3px;
  background: var(--primary);
  border-radius: 0 3px 3px 0;
}
.Veloblock-sidebar .nav-item.active .nav-link i { color: var(--primary); }

.Veloblock-sidebar .nav-link.logout { color: var(--danger); }
.Veloblock-sidebar .nav-link.logout:hover { background: var(--danger-dim); color: var(--danger); }

/* Collapse (admin) */
.collapse-inner {
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-sm) !important;
  padding: 6px !important;
}
.collapse-header {
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: var(--text-muted) !important;
  padding: 6px 10px 4px !important;
}
.collapse-item {
  display: block !important;
  padding: 7px 12px !important;
  border-radius: 6px !important;
  color: var(--text-dim) !important;
  font-size: 13px !important;
  transition: var(--t) !important;
}
.collapse-item:hover,
.collapse-item.active {
  background: var(--primary-dim) !important;
  color: var(--primary) !important;
}
.bg-white { background: var(--bg-elevated) !important; }

/* ── Topbar ───────────────────────────────────────────────── */
.Veloblock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: var(--topbar-h);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
  gap: 12px;
}

.Veloblock-topbar .left  { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.Veloblock-topbar .right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.page-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-icon-btn,
#sidebarToggleTop,
#themeToggle {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-dim);
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--t);
  font-size: 13px;
  position: relative;
  text-decoration: none;
  flex-shrink: 0;
}
.topbar-icon-btn:hover,
#sidebarToggleTop:hover,
#themeToggle:hover {
  background: var(--primary-dim);
  border-color: var(--border-glow);
  color: var(--primary);
}

.topbar-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--danger);
  color: #fff;
  width: 16px; height: 16px;
  border-radius: 50%;
  font-size: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  border: 2px solid var(--bg-surface);
}

.user-box { position: relative; }
.user-box > a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  padding: 5px 10px 5px 6px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: var(--t);
  font-size: 12.5px;
  max-width: 180px;
  overflow: hidden;
}
.user-box > a:hover { border-color: var(--border-glow); background: var(--primary-dim); color: var(--primary); }
.user-box > a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-box img { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border-glow); flex-shrink: 0; }

.user-box .dropdown-menu {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 6px;
  min-width: 150px;
  box-shadow: var(--shadow);
}
.user-box .dropdown-item {
  color: var(--text-dim);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  display: flex; align-items: center; gap: 8px;
  transition: var(--t);
}
.user-box .dropdown-item:hover { background: var(--primary-dim); color: var(--primary); }

/* ── Dashboard Content Wrapper ────────────────────────────── */
.Veloblock-dashboard { padding: 24px; }

/* ── Section Header ───────────────────────────────────────── */
.Veloblock-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 12px;
  flex-wrap: wrap;
}
.Veloblock-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
  line-height: 1.3;
}
.Veloblock-header p { color: var(--text-dim); font-size: 14px; margin: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ── Status Pills ─────────────────────────────────────────── */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  background: var(--success-dim);
  color: var(--success);
  border: 1px solid rgba(34,197,94,0.2);
  white-space: nowrap;
}
.status-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 1.6s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.7); }
}

/* ── Quick Actions ────────────────────────────────────────── */
.quick-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.qa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
  border: none;
  outline: none;
  font-family: var(--font);
}
.qa-btn.primary {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59,130,246,0.28);
}
.qa-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59,130,246,0.42); color: #fff; }
.qa-btn.outline {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.qa-btn.outline:hover { border-color: var(--border-glow); background: var(--primary-dim); color: var(--primary); }
.qa-btn.success {
  background: linear-gradient(135deg, var(--success), #16a34a);
  color: #fff;
  box-shadow: 0 4px 14px rgba(34,197,94,0.22);
}
.qa-btn.success:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(34,197,94,0.36); color: #fff; }

/* ── Stat Cards ───────────────────────────────────────────── */
.Veloblock-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--t);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.Veloblock-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  transition: var(--t);
}
.glow-blue::before   { background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.glow-red::before    { background: linear-gradient(90deg, transparent, var(--danger), transparent); }
.glow-purple::before { background: linear-gradient(90deg, transparent, var(--purple), transparent); }
.glow-yellow::before { background: linear-gradient(90deg, transparent, var(--warning), transparent); }
.glow-cyan::before   { background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.glow-green::before  { background: linear-gradient(90deg, transparent, var(--success), transparent); }
.glow-orange::before { background: linear-gradient(90deg, transparent, var(--orange), transparent); }

.Veloblock-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--glow);
}

.card-top { display: flex; justify-content: space-between; align-items: flex-start; }

.card-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.glow-blue .card-icon   { background: var(--primary-dim); color: var(--primary); }
.glow-red .card-icon    { background: var(--danger-dim);  color: var(--danger); }
.glow-purple .card-icon { background: var(--purple-dim);  color: var(--purple); }
.glow-yellow .card-icon { background: var(--warning-dim); color: var(--warning); }
.glow-cyan .card-icon   { background: var(--cyan-dim);    color: var(--cyan); }
.glow-green .card-icon  { background: var(--success-dim); color: var(--success); }
.glow-orange .card-icon { background: var(--orange-dim);  color: var(--orange); }

.card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.card-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.card-sub {
  font-size: 11.5px;
  color: var(--text-dim);
}
.card-sub .up   { color: var(--success); }
.card-sub .down { color: var(--danger); }
.card-sub .neutral { color: var(--text-muted); }

/* ── Chart Cards ──────────────────────────────────────────── */
.Veloblock-chart-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 24px;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 10px;
  background: var(--bg-elevated);
}
.chart-header h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chart-icon-badge {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--primary-dim);
  color: var(--primary);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 12px;
}

.chart-controls { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.chart-tab {
  padding: 4px 11px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--t);
}
.chart-tab:hover,
.chart-tab.active {
  background: var(--primary-dim);
  border-color: var(--border-glow);
  color: var(--primary);
}

.chart-body { padding: 0; }
.chartjs-wrapper { padding: 20px 22px 16px; position: relative; }

/* TradingView seamless integration */
.tradingview-widget-container,
.tradingview-widget-container__widget { width: 100%; }

/* ── Portfolio Donut ──────────────────────────────────────── */
.portfolio-chart-wrapper {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px;
  flex-wrap: wrap;
}
.portfolio-chart-canvas { width: 170px !important; height: 170px !important; flex-shrink: 0; }
.portfolio-legend { flex: 1; min-width: 140px; }
.portfolio-legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-soft);
}
.portfolio-legend-item:last-child { border: none; }
.legend-left { display: flex; align-items: center; gap: 9px; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.legend-name { font-size: 12.5px; color: var(--text); font-weight: 500; }
.legend-pct { font-size: 12.5px; font-weight: 600; color: var(--text-dim); }

/* ── Activity Feed ────────────────────────────────────────── */
.activity-feed { padding: 4px 0; max-height: 360px; overflow-y: auto; }
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--border-soft);
  transition: var(--t);
}
.activity-item:last-child { border: none; }
.activity-item:hover { background: var(--bg-hover); }
.activity-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.activity-icon.invest   { background: var(--primary-dim); color: var(--primary); }
.activity-icon.withdraw { background: var(--warning-dim); color: var(--warning); }
.activity-icon.profit   { background: var(--success-dim); color: var(--success); }
.activity-icon.pending  { background: var(--purple-dim);  color: var(--purple); }
.activity-icon.cancel   { background: var(--danger-dim);  color: var(--danger); }
.activity-content { flex: 1; min-width: 0; }
.activity-title { font-size: 13px; font-weight: 500; color: var(--text); line-height: 1.4; }
.activity-time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.activity-amount { font-size: 13px; font-weight: 700; color: var(--success); white-space: nowrap; }
.activity-amount.neg { color: var(--danger); }

/* ── Market Ticker Wrap ───────────────────────────────────── */
.market-ticker-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 24px;
}

/* ── Mini Market Cards (homepage-style) ───────────────────── */
.mkt-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--t);
  height: 100%;
}
.mkt-card:hover { border-color: var(--border-glow); background: var(--bg-elevated); }
.mkt-coin { display: flex; align-items: center; gap: 8px; }
.mkt-coin-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}
.mkt-coin-dot.btc  { background: rgba(247,147,26,0.15); color: #f7931a; }
.mkt-coin-dot.eth  { background: rgba(98,126,234,0.15);  color: #627eea; }
.mkt-coin-dot.usdt { background: rgba(38,161,123,0.15);  color: #26a17b; }
.mkt-coin-dot.bnb  { background: rgba(240,185,11,0.15);  color: #f0b90b; }
.mkt-coin-name { font-size: 13px; font-weight: 600; color: var(--text); }
.mkt-coin-sym  { font-size: 11px; color: var(--text-muted); }
.mkt-price { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
.mkt-change { font-size: 12px; font-weight: 600; }
.mkt-change.up   { color: var(--success); }
.mkt-change.down { color: var(--danger); }
.mkt-divider { border: none; border-top: 1px solid var(--border-soft); margin: 6px 0; }
.mkt-vol { font-size: 11px; color: var(--text-muted); }

/* ── Tables ───────────────────────────────────────────────── */
.Veloblock-table-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.table-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  flex-wrap: wrap;
  gap: 10px;
}
.table-card-header h4 {
  font-size: 14px; font-weight: 600; color: var(--text); margin: 0;
  display: flex; align-items: center; gap: 8px;
}

.Veloblock-table { width: 100%; border-collapse: collapse; }
.Veloblock-table thead { background: var(--bg-elevated); }
.Veloblock-table thead th {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-muted);
  padding: 11px 20px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.Veloblock-table tbody tr { border-bottom: 1px solid var(--border-soft); transition: var(--t); }
.Veloblock-table tbody tr:last-child { border: none; }
.Veloblock-table tbody tr:hover { background: rgba(59,130,246,0.04); }
.Veloblock-table td {
  padding: 13px 20px;
  font-size: 13.5px;
  color: var(--text);
  vertical-align: middle;
}

.currency-badge { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.coin-icon {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}
.coin-icon.btc  { background: rgba(247,147,26,0.15); color: #f7931a; }
.coin-icon.eth  { background: rgba(98,126,234,0.15);  color: #627eea; }
.coin-icon.usdt { background: rgba(38,161,123,0.15);  color: #26a17b; }
.coin-icon.trx  { background: rgba(255,6,10,0.15);    color: #ff060a; }

.amount { font-weight: 700; color: var(--success); }
.date   { color: var(--text-muted); font-size: 12px; }

.ref-num { font-family: monospace; font-size: 12px; color: var(--text-muted); }

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.status-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status-success  { background: var(--success-dim); color: var(--success); border: 1px solid rgba(34,197,94,0.2); }
.status-danger   { background: var(--danger-dim);  color: var(--danger);  border: 1px solid rgba(239,68,68,0.2); }
.status-pending  { background: var(--warning-dim); color: var(--warning); border: 1px solid rgba(245,158,11,0.2); }
.status-processing { background: var(--primary-dim); color: var(--primary); border: 1px solid rgba(59,130,246,0.2); }

.empty-state { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.empty-state i { font-size: 32px; opacity: 0.3; display: block; margin-bottom: 10px; }
.empty-state p { margin: 0; font-size: 13px; }

/* ── Forms ────────────────────────────────────────────────── */
.Veloblock-form { padding: 28px; }

.Veloblock-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 30px;
}

.form-header { margin-bottom: 26px; }
.form-header h2 { font-size: 20px; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.form-header p  { color: var(--text-dim); font-size: 13.5px; margin: 0; }

.form-group { margin-bottom: 18px; }
.form-group label,
.form-group-label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.Veloblock-input,
.Veloblock-select {
  width: 100%;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 13.5px;
  font-family: var(--font);
  transition: var(--t);
  outline: none;
  appearance: none;
}
.Veloblock-input:focus,
.Veloblock-select:focus {
  border-color: var(--border-glow);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
  background: var(--bg-surface);
}
.Veloblock-input::placeholder { color: var(--text-muted); }
.Veloblock-select option { background: var(--bg-elevated); color: var(--text); }

.input-group-vb { display: flex; gap: 8px; }
.input-group-vb .Veloblock-input { flex: 1; }

.Veloblock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 22px;
  border-radius: var(--r-sm);
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
  font-family: var(--font);
}
.Veloblock-btn.primary {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59,130,246,0.28);
}
.Veloblock-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59,130,246,0.42); }
.Veloblock-btn.success {
  background: linear-gradient(135deg, var(--success), #16a34a);
  color: #fff;
  box-shadow: 0 4px 14px rgba(34,197,94,0.22);
}
.Veloblock-btn.success:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(34,197,94,0.36); }
.Veloblock-btn.warning {
  background: linear-gradient(135deg, var(--warning), #d97706);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245,158,11,0.22);
}
.Veloblock-btn.warning:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,158,11,0.36); }

/* ── Alert / Notice Boxes ─────────────────────────────────── */
.Veloblock-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  margin-bottom: 18px;
}
.Veloblock-alert i { margin-top: 1px; flex-shrink: 0; font-size: 15px; }
.Veloblock-alert.success { background: var(--success-dim); border: 1px solid rgba(34,197,94,0.2); color: var(--success); }
.Veloblock-alert.warning { background: var(--warning-dim); border: 1px solid rgba(245,158,11,0.2); color: var(--warning); }
.Veloblock-alert.info    { background: var(--primary-dim); border: 1px solid rgba(59,130,246,0.2); color: var(--primary); }
.Veloblock-alert.danger  { background: var(--danger-dim);  border: 1px solid rgba(239,68,68,0.2);  color: var(--danger); }

/* ── Wallet / Payment Card ────────────────────────────────── */
.Veloblock-wallet-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 26px;
  text-align: center;
}
.wallet-header h3 { font-size: 17px; font-weight: 600; color: var(--text); margin: 0 0 20px; }
.wallet-address-box { display: flex; gap: 8px; margin-bottom: 12px; text-align: left; }
.wallet-address-box input {
  flex: 1;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-dim);
  font-size: 12.5px;
  outline: none;
  font-family: monospace;
}
#copyBtn {
  padding: 9px 14px;
  border-radius: var(--r-sm);
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  transition: var(--t);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
}
#copyBtn:hover { background: var(--primary-dark); box-shadow: 0 4px 14px var(--primary-glow); }
#copyMsg { font-size: 11.5px; color: var(--success); display: block; min-height: 18px; margin-bottom: 10px; }
.wallet-qr { margin: 14px 0 22px; }
.wallet-qr img { width: 150px; height: 150px; border-radius: 10px; border: 3px solid var(--border); object-fit: cover; }
.payment-status {
  margin-top: 12px; font-size: 12.5px; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; gap: 7px;
}

.Veloblock-info-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 18px 22px;
  border-radius: var(--r);
  text-align: center;
  margin-bottom: 18px;
}
.Veloblock-info-card p { font-size: 14.5px; color: var(--text); margin: 0 0 6px; }
.Veloblock-info-card .sub { font-size: 12.5px; color: var(--text-muted); margin: 0; }

.invest-amount-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-dim);
  border: 1px solid var(--border-glow);
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
}

/* ── Investment Plan Cards ────────────────────────────────── */
.plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: var(--t);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.plan-card:hover { border-color: var(--border-glow); transform: translateY(-6px); box-shadow: var(--glow); }

.plan-card.featured {
  background: linear-gradient(155deg, #0d1f3c 0%, var(--bg-surface) 100%);
  border-color: var(--border-glow);
  box-shadow: var(--glow);
}
.plan-card.featured::after {
  content: 'POPULAR';
  position: absolute;
  top: 16px; right: -28px;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff;
  font-size: 9px; font-weight: 800; letter-spacing: 1.2px;
  padding: 5px 38px;
  transform: rotate(45deg) translateX(8px);
}

.plan-tier {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--primary); margin-bottom: 10px;
}
.plan-name { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.plan-return { font-size: 12.5px; color: var(--success); font-weight: 500; margin-bottom: 22px; }
.plan-divider { border: none; border-top: 1px solid var(--border); margin: 0 0 18px; }
.plan-details { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; }
.plan-details li { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; }
.plan-details .detail-label { color: var(--text-muted); }
.plan-details .detail-value { font-weight: 600; color: var(--text); }
.plan-price { font-size: 28px; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 4px; letter-spacing: -1px; }
.plan-price sub { font-size: 14px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 11px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-glow);
  background: var(--primary-dim);
  color: var(--primary);
  text-decoration: none;
  transition: var(--t);
  margin-top: auto;
  font-family: var(--font);
}
.plan-cta:hover { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 4px 14px var(--primary-glow); }
.plan-card.featured .plan-cta {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff; border: none;
  box-shadow: 0 4px 14px rgba(59,130,246,0.28);
}
.plan-card.featured .plan-cta:hover { box-shadow: 0 6px 20px rgba(59,130,246,0.45); }

/* ── Admin Stat Cards ─────────────────────────────────────── */
.admin-stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--t);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.admin-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
}
.admin-stat-card.green::before  { background: var(--success); }
.admin-stat-card.red::before    { background: var(--danger); }
.admin-stat-card.blue::before   { background: var(--primary); }
.admin-stat-card.yellow::before { background: var(--warning); }
.admin-stat-card:hover { transform: translateY(-3px); border-color: var(--border-glow); }

.admin-stat-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; flex-shrink: 0;
}
.admin-stat-icon.green  { background: var(--success-dim); color: var(--success); }
.admin-stat-icon.red    { background: var(--danger-dim);  color: var(--danger); }
.admin-stat-icon.blue   { background: var(--primary-dim); color: var(--primary); }
.admin-stat-icon.yellow { background: var(--warning-dim); color: var(--warning); }

.admin-stat-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.7px; color: var(--text-muted); margin-bottom: 3px;
}
.admin-stat-value { font-size: 26px; font-weight: 700; color: var(--text); line-height: 1; }

/* ── Progress Bars ────────────────────────────────────────── */
.vb-progress { height: 5px; background: var(--bg-elevated); border-radius: 99px; overflow: hidden; }
.vb-progress-bar {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), #6366f1);
  transition: width 1.2s ease;
}
.vb-progress-bar.green  { background: linear-gradient(90deg, var(--success), #16a34a); }
.vb-progress-bar.yellow { background: linear-gradient(90deg, var(--warning), #d97706); }
.vb-progress-bar.red    { background: linear-gradient(90deg, var(--danger), #b91c1c); }

/* ── Footer ───────────────────────────────────────────────── */
.Veloblock-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  color: var(--text-muted);
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--success-dim);
  color: var(--success);
  padding: 3px 11px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 500;
}
.footer-status::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 1.6s ease infinite;
}

.Veloblock-scroll {
  position: fixed;
  bottom: 24px; right: 24px;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: white !important;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px var(--primary-glow);
  transition: var(--t);
  z-index: 999;
  text-decoration: none;
  font-size: 13px;
}
.Veloblock-scroll:hover { transform: translateY(-4px); box-shadow: 0 8px 28px var(--primary-glow); }

/* ── Profile / Wallet Page ────────────────────────────────── */
.profile-banner {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.profile-banner-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.18) 0%, rgba(168,85,247,0.12) 50%, rgba(8,14,26,0) 100%);
  border-bottom: 1px solid rgba(59,130,246,0.15);
}
.profile-banner-bg::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--purple), var(--cyan));
}
.profile-banner-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 28px;
  flex-wrap: wrap;
}
.profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.profile-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700; color: #fff;
  letter-spacing: .02em;
  position: relative; z-index: 1;
}
.profile-avatar-ring {
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  z-index: 0;
  opacity: .35;
}
.profile-identity { flex: 1; min-width: 0; }
.profile-name {
  font-size: 20px; font-weight: 700;
  color: var(--text); margin: 0 0 4px;
}
.profile-email {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 10px;
}
.profile-email i { margin-right: 5px; font-size: 11px; }
.profile-badges {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.profile-banner-actions {
  display: flex; gap: 10px; flex-shrink: 0;
}
@media (max-width: 576px) {
  .profile-banner-content { padding: 20px 16px; }
  .profile-banner-actions { width: 100%; }
  .profile-banner-actions a { flex: 1; justify-content: center; }
}

/* Activity rows */
.activity-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}
.activity-row:last-child { border-bottom: none; }
.activity-row:hover { background: rgba(59,130,246,0.04); }
.activity-info { flex: 1; min-width: 0; }
.activity-title { font-size: 13px; font-weight: 500; color: var(--text); }
.activity-meta  { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.activity-right { text-align: right; flex-shrink: 0; }
.activity-amount { font-size: 13px; font-weight: 600; color: var(--success); margin-bottom: 3px; }

/* Profile detail rows */
.profile-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.profile-detail-label {
  font-size: 12.5px; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.profile-detail-label i { width: 14px; text-align: center; color: var(--primary); }
.profile-detail-value {
  font-size: 13px; color: var(--text);
  font-weight: 500; text-align: right;
}

/* ── P&L Calendar ─────────────────────────────────────────── */
.pnl-calendar { padding: 0 20px 20px; }

.pnl-cal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0 16px;
}
.pnl-cal-title { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: .01em; }
.pnl-cal-nav {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  color: var(--text-dim); cursor: pointer; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--t);
}
.pnl-cal-nav:hover { background: var(--primary-dim); color: var(--primary); border-color: rgba(59,130,246,0.35); }

.pnl-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.pnl-cal-dow {
  text-align: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text-muted);
  padding-bottom: 8px;
}

.pnl-cal-cell {
  position: relative;
  border-radius: 10px;
  border: 1px solid transparent;
  min-height: 62px;
  padding: 8px;
  cursor: default;
  transition: border-color .15s, background .15s, transform .1s;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: visible;
}
.pnl-cal-cell.empty { background: transparent; border-color: transparent; }
.pnl-cal-cell.in-month {
  background: var(--bg-elevated);
  border-color: var(--border);
}
.pnl-cal-cell.in-month:hover { border-color: rgba(59,130,246,0.3); transform: translateY(-1px); }
.pnl-cal-cell.today {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 1px rgba(59,130,246,0.18);
}
.pnl-cal-cell.has-profit {
  background: rgba(34,197,94,0.08) !important;
  border-color: rgba(34,197,94,0.28) !important;
}
.pnl-cal-cell.has-loss {
  background: rgba(239,68,68,0.07) !important;
  border-color: rgba(239,68,68,0.25) !important;
}
.pnl-cell-day {
  font-size: 11.5px; font-weight: 600; color: var(--text-dim); line-height: 1;
}
.pnl-cal-cell.today .pnl-cell-day { color: var(--primary); font-weight: 800; }
.pnl-cell-amount {
  font-size: 10.5px; font-weight: 800; line-height: 1; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pnl-cell-amount.profit { color: var(--success); }
.pnl-cell-amount.loss   { color: var(--danger); }

/* Tooltip */
.pnl-tooltip {
  position: absolute;
  bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #0a1020;
  border: 1px solid rgba(59,130,246,0.28);
  border-radius: 10px; padding: 10px 13px;
  font-size: 12px; white-space: nowrap;
  z-index: 200; pointer-events: none;
  opacity: 0; transition: opacity .15s;
  box-shadow: 0 8px 28px rgba(0,0,0,0.55);
  min-width: 140px;
}
.pnl-cal-cell:hover .pnl-tooltip { opacity: 1; }
.pnl-tooltip::after {
  content: '';
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0a1020;
}
.pnl-tip-amt { font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.pnl-tip-amt.profit { color: var(--success); }
.pnl-tip-amt.loss   { color: var(--danger); }
.pnl-tip-date { font-size: 10.5px; color: var(--text-muted); margin-bottom: 2px; }
.pnl-tip-note {
  font-size: 11px; color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 5px; margin-top: 5px;
  max-width: 180px; white-space: normal; line-height: 1.4;
}

/* Summary strip */
.pnl-cal-summary {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--border);
}
.pnl-sum-item {
  flex: 1; min-width: 80px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 14px; text-align: center;
}
.pnl-sum-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 5px; }
.pnl-sum-value { font-size: 17px; font-weight: 700; }

/* ── Bootstrap Overrides ──────────────────────────────────── */
.card {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r) !important;
  color: var(--text) !important;
}
.card-body { color: var(--text) !important; padding: 18px !important; }
.border-left-success { border-left: 4px solid var(--success) !important; }
.border-left-danger  { border-left: 4px solid var(--danger) !important; }
.border-left-primary { border-left: 4px solid var(--primary) !important; }
.border-left-warning { border-left: 4px solid var(--warning) !important; }

.text-gray-100,.text-gray-199,.text-gray-8 { color: var(--text) !important; }
.text-gray-300 { color: var(--text-muted) !important; }
.text-success  { color: var(--success)   !important; }
.text-danger   { color: var(--danger)    !important; }
.text-primary  { color: var(--primary)   !important; }
.text-warning  { color: var(--warning)   !important; }
.h5,.h3,.h4    { color: var(--text)      !important; }

.table { color: var(--text) !important; }
.table-hover tbody tr:hover { background: rgba(59,130,246,0.05) !important; color: var(--text) !important; }
.table-bordered,.table-bordered td,.table-bordered th { border-color: var(--border) !important; }
thead th {
  background: var(--bg-elevated) !important;
  color: var(--text-muted) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-color: var(--border) !important;
}
tbody td { border-color: var(--border-soft) !important; color: var(--text) !important; }

.form-control {
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: var(--r-sm) !important;
  font-size: 13.5px !important;
}
.form-control:focus {
  border-color: var(--border-glow) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1) !important;
  background: var(--bg-surface) !important;
  color: var(--text) !important;
}
label { color: var(--text-dim) !important; font-size: 12.5px !important; font-weight: 500 !important; }

.btn-warning {
  background: linear-gradient(135deg, var(--warning), #d97706) !important;
  border: none !important; color: #fff !important;
  font-weight: 600 !important; border-radius: var(--r-sm) !important;
  transition: var(--t) !important;
}
.btn-warning:hover { transform: translateY(-2px) !important; box-shadow: 0 4px 14px rgba(245,158,11,0.28) !important; color: #fff !important; }

.btn-danger {
  background: linear-gradient(135deg, var(--danger), #b91c1c) !important;
  border: none !important; color: #fff !important; font-weight: 600 !important;
}

.shadow-lg { box-shadow: var(--shadow) !important; }
.bg-light { background: var(--bg-elevated) !important; color: var(--text) !important; }
.text-black { color: var(--text) !important; }
.bg-gradient-primary { background: linear-gradient(160deg, #0a1628 0%, var(--bg-base) 100%) !important; }

.text-xs { font-size: 11px !important; }
.font-weight-bold { font-weight: 700 !important; }
.text-uppercase { text-transform: uppercase !important; }

/* Admin settings collapse */
#collapseTwo .collapse-inner a { color: var(--text-dim) !important; }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.anim-in   { animation: fadeInUp 0.38s ease forwards; }
.anim-in-1 { opacity: 0; animation: fadeInUp 0.38s 0.08s ease forwards; }
.anim-in-2 { opacity: 0; animation: fadeInUp 0.38s 0.16s ease forwards; }
.anim-in-3 { opacity: 0; animation: fadeInUp 0.38s 0.24s ease forwards; }
.anim-in-4 { opacity: 0; animation: fadeInUp 0.38s 0.32s ease forwards; }
.anim-in-5 { opacity: 0; animation: fadeInUp 0.38s 0.40s ease forwards; }
.anim-in-6 { opacity: 0; animation: fadeInUp 0.38s 0.48s ease forwards; }

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-hover) 50%, var(--bg-elevated) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .Veloblock-sidebar {
    position: fixed;
    left: -280px;
    z-index: 1050;
    box-shadow: var(--shadow);
    transition: left 0.3s ease;
    height: 100vh;
  }
  .Veloblock-sidebar.toggled { left: 0; }
}
@media (max-width: 768px) {
  .Veloblock-dashboard { padding: 16px; }
  .Veloblock-topbar { padding: 0 16px; }
  .chart-header { padding: 14px 16px; }
  .Veloblock-table td, .Veloblock-table thead th { padding: 10px 14px; }
  .portfolio-chart-wrapper { flex-direction: column; align-items: center; }
  .Veloblock-form { padding: 16px; }
  .Veloblock-form-card { padding: 20px; }
}
@media (max-width: 480px) {
  .card-value { font-size: 20px !important; }
  .brand-text { font-size: 15px; }
}
