/* ═══════════════════════════════════════════════════════════════════════════
   ECOllet UI — Dashboard Page Styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Stats grid ───────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--section-gap);
}

/* ── Main content grid ────────────────────────────────────────────────────── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--section-gap);
  flex: 1;
  min-height: 0;
}

/* ── Kanban board ─────────────────────────────────────────────────────────── */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--section-gap);
  padding: var(--space-4);
  overflow-y: auto;
  flex: 1;
}

.kanban-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.kanban-col-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 2px;
}

.kanban-col-body::-webkit-scrollbar { width: 3px; }
.kanban-col-body::-webkit-scrollbar-thumb { background: var(--border-subtle); border-radius: 3px; }

/* ── Right column ─────────────────────────────────────────────────────────── */
.right-col {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  overflow: hidden;
}

/* ── Live feed container ──────────────────────────────────────────────────── */
.live-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.live-header-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
}

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-red-500);
  box-shadow: 0 0 8px var(--color-red-500);
  animation: dot-pulse 1s infinite;
}

.live-label {
  font-size: 9px;
  font-weight: var(--weight-bold);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-red-400);
}

.feed-scroll {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.feed-scroll::-webkit-scrollbar { width: 3px; }
.feed-scroll::-webkit-scrollbar-thumb { background: var(--border-subtle); border-radius: 3px; }

/* ── Logs container ───────────────────────────────────────────────────────── */
.logs-scroll {
  overflow-y: auto;
  max-height: 200px;
  padding: var(--space-1) 0;
}

.logs-scroll::-webkit-scrollbar { width: 3px; }
.logs-scroll::-webkit-scrollbar-thumb { background: var(--border-subtle); border-radius: 3px; }
