/* ── Base ─────────────────────────────────────────────────────────────────── */
body {
  background-color: #0f1117;
  color: #e5e7eb;
  font-family: system-ui, -apple-system, sans-serif;
}

/* ── Stat cards ──────────────────────────────────────────────────────────── */
.stat-card {
  background-color: #1a1d27;
  border: 1px solid #2d3141;
  border-radius: 0.75rem;
  transition: border-color 0.2s;
}

.stat-card:hover {
  border-color: #4b5563;
}

.stat-icon {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-unit {
  font-size: 0.85rem;
  font-weight: 400;
  color: #9ca3af;
  margin-left: 1px;
}

.stat-sub {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 0.15rem;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  margin-top: 0.4rem;
}

/* ── 24h summary bar ─────────────────────────────────────────────────────── */
.summary-cell {
  padding: 0.85rem 1rem;
}

/* ── Charts ──────────────────────────────────────────────────────────────── */
.chart-card {
  background-color: #1a1d27;
  border: 1px solid #2d3141;
  border-radius: 0.75rem;
}

.chart-card .card-header {
  background-color: transparent;
  border-bottom: 1px solid #2d3141;
  padding: 0.6rem 1rem;
}

.chart-card canvas {
  max-height: 220px;
}

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.navbar {
  background-color: #13151f !important;
}
