/* Custom CSS — Day 1 dashboard. Plan 04B-11.
 *
 * Tailwind CDN does not run the JIT compiler, so @apply directives are
 * not available here. We keep plain CSS scoped to dashboard-specific
 * concerns and let utility classes do the heavy lifting in the HTML.
 *
 * Accent color: Bleu Majorelle #0824CE (single accent, used sparingly).
 */

:root {
  --accent-blue: #0824CE;
  --bg-soft: #FAFAFA;
  --border-soft: #E5E7EB;
  --text-muted: #6B7280;
}

body {
  background: var(--bg-soft);
  color: #111827;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

.dashboard-card {
  background: #FFFFFF;
  border: 1px solid var(--border-soft);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  min-height: 16rem;
  display: flex;
  flex-direction: column;
}

.dashboard-card-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.dashboard-card-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.dashboard-card-chart {
  flex: 1 1 auto;
  position: relative;
  min-height: 12rem;
}

.dashboard-card-table {
  width: 100%;
  font-size: 0.85rem;
  border-collapse: collapse;
}

.dashboard-card-table th,
.dashboard-card-table td {
  text-align: left;
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.dashboard-card-table th {
  font-weight: 600;
  color: var(--text-muted);
}

.dashboard-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-soft);
  padding: 1rem 1.25rem;
}

.dashboard-header h1 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
}

.dashboard-header .updated {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.dashboard-accent {
  color: var(--accent-blue);
}

.dashboard-pill {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(8, 36, 206, 0.08);
  color: var(--accent-blue);
}

.dashboard-big-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-blue);
  line-height: 1;
}

.dashboard-footer {
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dashboard-footer a {
  color: var(--accent-blue);
  text-decoration: underline;
}
