/* ================================================================
   Dashboard Tab — Executive Business Dashboard
   Dark theme (#111827), blue accent, clear KPIs, readable chart
   ================================================================ */

.dash { padding: 24px; max-width: 1200px; margin: 0 auto; }

.dash-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.dash-header__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.dash-header__sub { font-size: 0.82rem; color: var(--app-text-2); }

/* KPI Grid: 6 cards, 3 per row on desktop */
.dash-kpis { grid-template-columns: repeat(3, 1fr); margin-bottom: 24px; }

/* Chart + Activity row */
.dash-row {
  display: grid; grid-template-columns: 1fr 340px; gap: 20px; margin-bottom: 24px;
}

.dash-chart-card { padding: 20px; }
.dash-chart-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;
}
.dash-chart-header h3 { font-size: 0.95rem; font-weight: 600; }
.dash-chart-wrap { position: relative; }
.dash-chart-wrap canvas { width: 100%; height: 260px; display: block; }

.dash-activity-card { padding: 20px; max-height: 360px; overflow-y: auto; }
.dash-card-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 16px; }

/* Activity items */
.dash-activity { display: flex; flex-direction: column; gap: 0; }
.dash-act {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.85rem;
}
.dash-act:last-child { border-bottom: none; }
.dash-act__time {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--app-text-3);
  white-space: nowrap; min-width: 42px;
}
.dash-act__icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; flex-shrink: 0;
  background: rgba(59,130,246,0.12); color: #60a5fa;
}
.dash-act__text { color: var(--app-text-1); line-height: 1.45; }

/* Top Customers */
.dash-customers-card { padding: 20px; }
