/* ============================================================
   KVOLT - DASHBOARD STYLESHEET  v1.0.2
   Mobile-first, sidebar hidden on mobile with bottom nav
   ============================================================ */

/* ── Dashboard Layout ───────────────────────────────────────── */
.nv-dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 68px);
  position: relative;
  z-index: 1;
}

/* ── Sidebar ────────────────────────────────────────────────── */
.nv-sidebar {
  background: rgba(8,13,26,0.95);
  border-right: 1px solid var(--border);
  padding: 1.5rem 1rem;
  position: sticky; top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 0.2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nv-sidebar::-webkit-scrollbar { width: 3px; }
.nv-sidebar::-webkit-scrollbar-track { background: transparent; }
.nv-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.nv-sidebar-section { margin-bottom: 1.25rem; }
.nv-sidebar-label {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); padding: 0 0.75rem;
  margin-bottom: 0.4rem; display: block;
}
.nv-sidebar-link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 0.875rem; border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 500;
  text-decoration: none;
  transition: all var(--t-fast) var(--ease);
  position: relative; cursor: pointer;
}
.nv-sidebar-link:hover {
  background: var(--bg-glass);
  color: var(--text-primary);
}
.nv-sidebar-link.active {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(245,158,11,0.15);
}
.nv-sidebar-link.active::before {
  content: '';
  position: absolute; left: 0; top: 25%; bottom: 25%;
  width: 3px; border-radius: 0 3px 3px 0;
  background: var(--accent);
}
.nv-sidebar-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.nv-sidebar-badge {
  margin-left: auto;
  background: var(--color-danger);
  color: #fff; font-size: 0.65rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

.nv-sidebar-user {
  margin-top: auto; padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.nv-sidebar-user-inner {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0.875rem; border-radius: var(--radius-md);
  background: var(--bg-glass);
}
.nv-sidebar-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  color: #000; flex-shrink: 0;
}
.nv-sidebar-username { font-size: 0.85rem; font-weight: 600; line-height: 1.2; }
.nv-sidebar-role { font-size: 0.68rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }

/* ── Dashboard Main ─────────────────────────────────────────── */
.nv-dash-main {
  padding: 2rem 2.5rem;
  min-width: 0;
}
/* nv-dash-header styles live in main.css (enhanced version) */
/* nv-dash-title and nv-dash-subtitle styles live in main.css */

/* ── Overview Stat Cards ────────────────────────────────────── */
.nv-overview-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem; margin-bottom: 2rem;
}
.nv-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative; overflow: hidden;
  transition: all var(--t-normal) var(--ease);
}
.nv-stat-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.nv-stat-card__icon {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 0.875rem;
}
.nv-stat-card__icon--gold   { background: rgba(245,158,11,0.15); }
.nv-stat-card__icon--blue   { background: rgba(59,130,246,0.15); }
.nv-stat-card__icon--green  { background: rgba(16,185,129,0.15); }
.nv-stat-card__icon--purple { background: rgba(139,92,246,0.15); }
.nv-stat-card__label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.35rem;
}
.nv-stat-card__value {
  font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700;
  color: var(--text-primary); line-height: 1;
  word-break: break-all;
}
.nv-stat-card__change {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; font-weight: 600; margin-top: 0.4rem;
}
.nv-stat-card__change.up   { color: var(--color-success); }
.nv-stat-card__change.down { color: var(--color-danger); }
.nv-stat-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity var(--t-normal);
  pointer-events: none;
}
.nv-stat-card:hover::before { opacity: 1; }

/* ── Two-column responsive grid (overview) ──────────────────── */
.nv-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* ── Wallet Cards ───────────────────────────────────────────── */
.nv-wallets-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; margin-bottom: 2rem;
}
.nv-wallet-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem; position: relative; overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--t-normal) var(--ease);
}
.nv-wallet-card:hover { border-color: var(--border-glow); transform: translateY(-2px); }
.nv-wallet-card__bg {
  position: absolute; top: -20px; right: -20px;
  font-size: 5rem; opacity: 0.05; pointer-events: none; line-height: 1;
}
.nv-wallet-card__type {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.625rem;
}
.nv-wallet-card__balance {
  font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700;
  color: var(--text-primary); margin-bottom: 0.25rem; word-break: break-all;
}
.nv-wallet-card__sub { font-size: 0.78rem; color: var(--text-muted); }
.nv-wallet-card__actions { margin-top: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Plan card styles moved to main.css */

/* ── Active Investment Progress Card ────────────────────────── */
.nv-active-inv {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.125rem;
  transition: all var(--t-fast);
  margin-bottom: 0.75rem;
}
.nv-active-inv:last-child { margin-bottom: 0; }
.nv-active-inv:hover { border-color: var(--border-blue); }
.nv-active-inv__header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 0.875rem; gap: 0.5rem;
}
.nv-active-inv__name { font-weight: 700; font-size: 0.875rem; }
.nv-active-inv__amount { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 700; color: var(--accent); }
.nv-active-inv__profit { font-size: 0.78rem; color: var(--color-success); margin-top: 0.15rem; }
.nv-active-inv__progress { margin: 0.875rem 0; }
.nv-active-inv__progress-label {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.35rem;
}
.nv-countdown {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
}
.nv-countdown-seg {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.15rem 0.375rem;
  color: var(--accent); font-weight: 700; font-size: 0.72rem;
}

/* ── Transaction Table Panel ────────────────────────────────── */
.nv-txn-filters {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem; flex-wrap: wrap;
}
.nv-filter-pill {
  padding: 0.35rem 0.75rem; border-radius: var(--radius-full);
  border: 1px solid var(--border); background: transparent;
  color: var(--text-muted); font-size: 0.78rem; font-weight: 500;
  cursor: pointer; transition: all var(--t-fast);
  font-family: var(--font-body); white-space: nowrap;
}
.nv-filter-pill:hover { border-color: var(--accent); color: var(--accent); }
.nv-filter-pill.active { background: var(--accent-dim); border-color: rgba(245,158,11,0.3); color: var(--accent); }
.nv-txn-search {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius-full); padding: 0.35rem 0.875rem;
  min-width: 0; flex: 1; max-width: 220px;
}
.nv-txn-search input {
  background: none; border: none; outline: none;
  color: var(--text-primary); font-size: 0.82rem; width: 100%;
  font-family: var(--font-body);
}
.nv-txn-search input::placeholder { color: var(--text-muted); }
.nv-txn-search svg { color: var(--text-muted); width: 14px; flex-shrink: 0; }

.nv-txn-type { display: flex; align-items: center; gap: 0.5rem; }
.nv-txn-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.nv-txn-dot--deposit    { background: var(--color-success); }
.nv-txn-dot--withdrawal { background: var(--color-danger); }
.nv-txn-dot--investment { background: var(--accent-2); }
.nv-txn-dot--profit     { background: var(--color-success); }
.nv-txn-dot--transfer   { background: var(--accent-4); }
.nv-txn-dot--refund     { background: var(--color-warning); }

.nv-amount-credit { color: var(--color-success); }
.nv-amount-debit  { color: var(--color-danger); }

/* ── Deposit Panel ──────────────────────────────────────────── */
.nv-bank-details {
  background: rgba(59,130,246,0.06);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: var(--radius-lg); padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.nv-bank-details__label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 0.875rem;
}
.nv-bank-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  gap: 0.5rem; flex-wrap: wrap;
}
.nv-bank-row:last-child { border-bottom: none; }
.nv-bank-key { font-size: 0.78rem; color: var(--text-muted); flex-shrink: 0; }
.nv-bank-val { font-family: var(--font-mono); font-size: 0.875rem; font-weight: 600; color: var(--text-primary); word-break: break-all; }
.nv-copy-btn {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.2rem 0.5rem;
  color: var(--text-muted); font-size: 0.68rem; cursor: pointer;
  transition: all var(--t-fast); font-family: var(--font-body);
  white-space: nowrap; flex-shrink: 0;
}
.nv-copy-btn:hover { color: var(--accent); border-color: var(--accent); }
.nv-copy-btn.copied { color: var(--color-success); border-color: var(--color-success); }

.nv-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.5rem;
  text-align: center; cursor: pointer;
  transition: all var(--t-normal);
  position: relative;
}
.nv-upload-area:hover, .nv-upload-area.dragover {
  border-color: var(--accent); background: var(--accent-dim);
}
.nv-upload-area input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.nv-upload-icon { font-size: 2rem; margin-bottom: 0.625rem; }
.nv-upload-label { font-size: 0.875rem; color: var(--text-secondary); }
.nv-upload-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ── Support Ticket Panel ───────────────────────────────────── */
.nv-support-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.nv-ticket-list { display: flex; flex-direction: column; gap: 0.625rem; }
.nv-ticket-row {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1rem 1.125rem;
  display: flex; align-items: flex-start; gap: 0.875rem;
  transition: all var(--t-fast);
}
.nv-ticket-row:hover { border-color: var(--border-glow); background: var(--bg-glass-2); }
.nv-ticket-subject { flex: 1; font-weight: 600; font-size: 0.875rem; min-width: 0; }
.nv-ticket-meta { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; flex-wrap: wrap; }

/* ── Profile Grid ───────────────────────────────────────────── */
.nv-profile-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}

/* ── Market Performance ─────────────────────────────────────── */
.nv-market-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem; margin-bottom: 1.5rem;
}
.nv-market-item {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1rem;
  transition: all var(--t-fast);
}
.nv-market-item:hover { border-color: var(--border-glow); }
.nv-market-symbol { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; color: var(--text-muted); }
.nv-market-price { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; color: var(--text-primary); margin: 0.2rem 0; word-break: break-all; }
.nv-market-change { font-size: 0.78rem; font-weight: 600; display: flex; align-items: center; gap: 0.25rem; }
.nv-market-change.up   { color: var(--color-success); }
.nv-market-change.down { color: var(--color-danger); }

.nv-chart-container { position: relative; height: 240px; }
.nv-market-disclaimer {
  font-size: 0.72rem; color: var(--text-muted);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.5rem 0.75rem;
  margin-top: 0.875rem; line-height: 1.5;
}

/* ── Progress Bar ───────────────────────────────────────────── */
.progress-track {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-full);
  height: 6px; overflow: hidden;
}
.progress-fill {
  height: 100%; border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: width 1s var(--ease-out);
  position: relative;
}
.progress-fill::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 6px;
  background: rgba(255,255,255,0.5); border-radius: var(--radius-full); filter: blur(2px);
}

/* ── Skeleton / Empty ───────────────────────────────────────── */
.nv-skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}
.nv-empty-state {
  text-align: center; padding: 2.5rem 1rem; color: var(--text-muted);
}
.nv-empty-state__icon { font-size: 2.5rem; margin-bottom: 0.875rem; opacity: 0.4; }
.nv-empty-state__text { font-size: 0.875rem; }

/* ── Pagination ─────────────────────────────────────────────── */
.nv-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; margin-top: 1.25rem; flex-wrap: wrap;
}
.nv-page-btn {
  width: 34px; height: 34px; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: transparent;
  color: var(--text-secondary); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-family: var(--font-body);
  transition: all var(--t-fast);
}
.nv-page-btn:hover { border-color: var(--accent); color: var(--accent); }
.nv-page-btn.active { background: var(--accent); border-color: var(--accent); color: #000; font-weight: 700; }
.nv-page-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ── Profile ────────────────────────────────────────────────── */
.nv-profile-header {
  display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem;
}
.nv-profile-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  color: #000; flex-shrink: 0;
  border: 3px solid var(--accent-dim);
}

/* Testimonial styles moved to main.css */

/* ── Mobile Bottom Navigation ───────────────────────────────── */
.nv-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: rgba(8,13,26,0.97);
  border-top: 1px solid var(--border);
  padding: 0.5rem 0 max(0.5rem, env(safe-area-inset-bottom));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nv-bottom-nav__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.nv-bottom-nav__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; padding: 0.4rem 0.25rem;
  cursor: pointer; border: none; background: none;
  color: var(--text-muted); font-family: var(--font-body);
  transition: color var(--t-fast);
  text-decoration: none;
}
.nv-bottom-nav__item.active { color: var(--accent); }
.nv-bottom-nav__item:active { opacity: 0.7; }
.nv-bottom-nav__icon { font-size: 1.2rem; line-height: 1; }
.nv-bottom-nav__label { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1; }
.nv-bottom-nav__badge {
  position: absolute; top: 0.3rem; right: calc(50% - 16px);
  background: var(--color-danger); color: #fff;
  font-size: 0.55rem; font-weight: 700;
  min-width: 14px; height: 14px; border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; border: 1.5px solid var(--bg-deep);
}
.nv-bottom-nav__item { position: relative; }

/* ── Sidebar Toggle (header, shown on mobile only) ──────────── */
.nv-sidebar-toggle {
  display: none;
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 0.5rem 0.625rem;
  color: var(--text-secondary); cursor: pointer;
  font-size: 1rem; align-items: center; justify-content: center;
  transition: all var(--t-fast);
}
.nv-sidebar-toggle:hover { color: var(--text-primary); border-color: var(--border-glow); }

.nv-sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65); z-index: 250;
  backdrop-filter: blur(3px);
  pointer-events: none;
}
.nv-sidebar-overlay.visible {
  display: block;
  pointer-events: all;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ── 1280px: Tablet landscape ───────────────────────────────── */
@media (max-width: 1280px) {
  .nv-overview-cards { grid-template-columns: repeat(2, 1fr); }
  .nv-dash-main { padding: 1.75rem 2rem; }
}

/* ── 1024px: Sidebar collapses to drawer ────────────────────── */
@media (max-width: 1024px) {
  .nv-dashboard { grid-template-columns: 1fr; }

  .nv-sidebar {
    position: fixed;
    left: -280px; top: 0; bottom: 0;
    z-index: 300; width: 260px; height: 100vh;
    transition: left var(--t-normal) var(--ease);
    top: 0; padding-top: calc(68px + 1.5rem);
  }
  .nv-sidebar.open { left: 0; box-shadow: 8px 0 32px rgba(0,0,0,0.6); }
  .nv-dash-main { padding: 1.5rem; }
  .nv-wallets-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 768px: Mobile ──────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Sidebar: completely off-screen, replaced by bottom nav */
  .nv-sidebar { display: none !important; }
  .nv-sidebar-toggle { display: none !important; }

  /* Show bottom navigation */
  .nv-bottom-nav { display: block; }

  /* Add bottom padding to main so content isn't hidden behind bottom nav */
  .nv-dash-main {
    padding: 1rem;
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
  .nv-dashboard { grid-template-columns: 1fr; }

  /* Overview cards: 2-col on mobile */
  .nv-overview-cards { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .nv-stat-card { padding: 1rem; }
  .nv-stat-card__value { font-size: 1.1rem; }
  .nv-stat-card__icon { width: 34px; height: 34px; font-size: 0.9rem; }

  /* Two-col stacks to single */
  .nv-two-col { grid-template-columns: 1fr; }
  .nv-support-grid { grid-template-columns: 1fr; }
  .nv-profile-grid { grid-template-columns: 1fr; }

  /* Wallet cards: 1 col */
  .nv-wallets-grid { grid-template-columns: 1fr; }

  /* Plan cards: 1 col */
  .nv-plans-grid { grid-template-columns: 1fr; }

  /* Market grid: 2 col */
  .nv-market-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

  /* Dash header */
  .nv-dash-main { padding: 1.25rem; }
  /* .nv-dash-header responsive handled in main.css */

  /* Transaction filters wrap */
  .nv-txn-filters { gap: 0.375rem; }
  .nv-txn-search { max-width: 100%; flex: 0 0 100%; order: 10; }

  /* Table horizontal scroll */
  .nv-table-wrap { border-radius: var(--radius-md); }
  .nv-table { font-size: 0.78rem; }
  .nv-table thead th { padding: 0.75rem 0.75rem; font-size: 0.65rem; }
  .nv-table tbody td { padding: 0.75rem 0.75rem; }

  /* WhatsApp button moves up above bottom nav */
  .nv-whatsapp-btn { bottom: calc(80px + 1rem); }
}

/* ── 480px: Small phones ────────────────────────────────────── */
@media (max-width: 480px) {
  .nv-overview-cards { grid-template-columns: 1fr 1fr; gap: 0.625rem; }
  .nv-stat-card { padding: 0.875rem; }
  .nv-stat-card__value { font-size: 1rem; }
  .nv-stat-card__label { font-size: 0.65rem; }
  .nv-market-grid { grid-template-columns: 1fr 1fr; }
  .nv-plan-meta { grid-template-columns: 1fr 1fr; }
  .nv-dash-main { padding: 0.875rem; padding-bottom: calc(80px + 0.875rem); }

  /* Bottom nav label smaller */
  .nv-bottom-nav__label { font-size: 0.52rem; }
  .nv-bottom-nav__icon  { font-size: 1.1rem; }

  /* Table: hide description column on tiny screens via JS class */
  .nv-table .col-desc { display: none; }
}

/* ── Admin panel styles ─────────────────────────────────────── */
.nexvest-admin .nv-admin-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem; margin: 1.25rem 0;
}
.nexvest-admin .nv-admin-card {
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 8px; padding: 1.125rem; text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.nexvest-admin .nv-admin-card.alert { border-color: #f59e0b; background: #fffbeb; }
.nexvest-admin .nv-card-icon { font-size: 1.75rem; display: block; margin-bottom: 0.4rem; }
.nexvest-admin .nv-admin-card h3 { font-size: 1.6rem; font-weight: 700; margin: 0; }
.nexvest-admin .nv-admin-card p { color: #64748b; font-size: 0.82rem; margin: 0.2rem 0 0; }
.nexvest-admin .nv-filter-bar { margin: 0.875rem 0; display: flex; gap: 0.5rem; flex-wrap: wrap; }
