/* CMEC-NPH custom styles (supplements Tailwind CDN) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; background-clip: content-box; }
body { -webkit-font-smoothing: antialiased; }

/* SweetAlert2 — Sarabun */
.swal2-popup { font-family: 'Sarabun', sans-serif !important; }

/* table niceties used across modules */
.tbl { width: 100%; border-collapse: collapse; }
.tbl thead th { font-weight: 600; color: #475569; background: #f8fafc; text-align: right; }
.tbl th, .tbl td { padding: .625rem .75rem; border-bottom: 1px solid #f1f5f9; font-size: .875rem; }
.tbl tbody tr:hover { background: #f8fafc; }

/* 30-procedure grid cell */
.proc-cell { aspect-ratio: 1 / 1; display:flex; align-items:center; justify-content:center; border-radius:.5rem; font-size:.7rem; font-weight:600; }

/* Print / PDF report layout */
@media print {
  body { background: #fff !important; }
  .no-print, header, aside, footer, #loadingOverlay { display: none !important; }
  .print-area { box-shadow: none !important; border: 0 !important; }
  @page { margin: 1.5cm; }
}
