/* ═══════════════════════════════════════════════
   Ákotí Stats / Metric Cards — Pure CSS

   <div class="akoti-stat">
     <span class="akoti-stat-icon"><span class="aki aki-naira"></span></span>
     <div class="akoti-stat-content">
       <span class="akoti-stat-label">Revenue</span>
       <span class="akoti-stat-value">₦4,250,000</span>
       <span class="akoti-stat-trend up"><span class="aki aki-trending-up"></span> 12.5%</span>
     </div>
   </div>

   Grid:  <div class="akoti-stat-grid">...stats...</div>
   Colors: icon bg via inline style or class
   ═══════════════════════════════════════════════ */

.akoti-stat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: white;
  border: 1px solid rgba(26, 47, 94, 0.08);
  border-radius: 16px 6px 16px 6px;
  font-family: 'Outfit', system-ui, sans-serif;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.03);
  transition: all 0.25s;
}

.akoti-stat:hover {
  border-radius: 6px 16px 6px 16px;
  box-shadow: 0 4px 12px rgba(26,47,94,0.06);
}

.akoti-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px 5px 14px 5px;
  background: rgba(26, 47, 94, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  color: #1a2f5e;
}

/* Icon color variants */
.akoti-stat-icon.blue    { background: #e8f0f8; color: #1a2f5e; }
.akoti-stat-icon.green   { background: #e8f5e9; color: #2e7d32; }
.akoti-stat-icon.amber   { background: #fff3e0; color: #e65100; }
.akoti-stat-icon.red     { background: #fce4ec; color: #c62828; }
.akoti-stat-icon.purple  { background: #f3e5f5; color: #6a1b9a; }
.akoti-stat-icon.bronze  { background: #fdf0e0; color: #8b5e20; }

.akoti-stat-content {
  flex: 1;
  min-width: 0;
}

.akoti-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8a8a96;
  margin-bottom: 2px;
}

.akoti-stat-value {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #1e1e24;
  line-height: 1.2;
}

.akoti-stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}
.akoti-stat-trend.up { color: #2e7d32; }
.akoti-stat-trend.down { color: #c62828; }
.akoti-stat-trend.flat { color: #8a8a96; }

.akoti-stat-trend .aki { font-size: 14px; }

/* ── Stat Grid ─────────────────────────────────────── */

.akoti-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

/* ── Compact ───────────────────────────────────────── */

.akoti-stat.compact {
  padding: 14px;
  gap: 10px;
}
.akoti-stat.compact .akoti-stat-icon { width: 36px; height: 36px; font-size: 16px; border-radius: 10px 4px 10px 4px; }
.akoti-stat.compact .akoti-stat-value { font-size: 20px; }

/* ── Horizontal (value + label inline) ─────────────── */

.akoti-stat.inline {
  align-items: center;
}
.akoti-stat.inline .akoti-stat-content {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.akoti-stat.inline .akoti-stat-label { margin: 0; }

/* ── Dark mode ─────────────────────────────────────── */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .akoti-stat { background: #1e1e24; border-color: rgba(255,255,255,0.06); }
  :root:not([data-theme="light"]) .akoti-stat:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
  :root:not([data-theme="light"]) .akoti-stat-icon { background: rgba(168,200,232,0.1); color: #a8c8e8; }
  :root:not([data-theme="light"]) .akoti-stat-value { color: #e0e0e4; }
  :root:not([data-theme="light"]) .akoti-stat-label { color: #6a6a76; }
}
