/* Gaya tambahan di luar utilitas Tailwind */
html { -webkit-tap-highlight-color: transparent; }
body { font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif; }
[x-cloak], .hidden-init { display: none !important; }

/* Scrollbar halus */
* { scrollbar-width: thin; scrollbar-color: rgba(107, 0, 214, .35) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: rgba(107, 0, 214, .3); border-radius: 8px; }

/* Animasi */
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.animate-fade-in { animation: fade-in .25s ease-out both; }
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { width: 1.1rem; height: 1.1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 9999px; animation: spin .7s linear infinite; display: inline-block; }

/* Drop zone upload */
.dropzone.dragover { border-color: #6B00D6; background: rgba(107, 0, 214, .06); }

/* Cetak */
.print-only { display: none; }
@media print {
  .no-print, aside, header, #assistant-root, #toast-root { display: none !important; }
  .print-only { display: block !important; }
  body { background: #fff !important; color: #000 !important; }
  main { padding: 0 !important; margin: 0 !important; }
  .dark body, .dark * { color: #000 !important; background: #fff !important; }
  table { font-size: 11px; }
}
