/* ═══════════════════════════════════════════════════════════
   uks.css — Accent hijau medis untuk UKS
   ═══════════════════════════════════════════════════════════ */

:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #34d399;
  --accent: #06b6d4;
  --accent-light: #22d3ee;
}

html[data-theme="dark"] {
  --primary: #34d399;
  --primary-dark: #10b981;
  --primary-light: #6ee7b7;
}

.topbar-user {
  background: rgba(16, 185, 129, 0.1) !important;
  color: var(--primary) !important;
}

/* Stat card khusus UKS */
.stat-card.uk-kunjungan {
  background: linear-gradient(135deg, #047857 0%, #10b981 60%, #34d399 100%) !important;
}
.stat-card.uk-obat {
  background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 60%, #38bdf8 100%) !important;
}
.stat-card.uk-siswa {
  background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 60%, #a78bfa 100%) !important;
}
.stat-card.uk-hari-ini {
  background: linear-gradient(135deg, #b45309 0%, #f59e0b 60%, #fbbf24 100%) !important;
}

/* Badge kondisi akhir */
.badge-kondisi {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
}
.badge-pulang    { background: rgba(16, 185, 129, 0.12); color: #047857; }
.badge-istirahat { background: rgba(245, 158, 11, 0.12); color: #b45309; }
.badge-rujuk     { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }
.badge-lanjut    { background: rgba(59, 130, 246, 0.12); color: #1e40af; }

/* Indikator stok */
.stok-low     { color: #dc2626; font-weight: 700; }
.stok-warning { color: #f59e0b; font-weight: 600; }
