/* Komponen kecil di atas Tailwind */
.tab{padding:.45rem .9rem;border-radius:.25rem;font-weight:600;color:#cfd4dc}
.tab:hover{color:#fff}
.tab[aria-current="true"]{background:#F2B705;color:#1B2430}
.field{width:100%;border:1px solid #D9D5CB;background:#fff;border-radius:.25rem;padding:.5rem .65rem}
.field:focus,.tab:focus-visible,.btn-primary:focus-visible,.btn-ghost:focus-visible{outline:2px solid #1B2430;outline-offset:2px}
.lbl{display:block;font-size:.875rem;font-weight:600;margin-bottom:.25rem}
.btn-primary{background:#F2B705;color:#1B2430;font-weight:700;padding:.55rem 1rem;border-radius:.25rem}
.btn-primary:hover{background:#d9a304}
.btn-ghost{border:1px solid #1B2430;color:#1B2430;font-weight:600;padding:.55rem 1rem;border-radius:.25rem;background:transparent}
.btn-ghost:hover{background:#1B2430;color:#fff}
.dlg{border:0;border-radius:.5rem;padding:0;box-shadow:0 10px 40px rgba(0,0,0,.3)}
.dlg::backdrop{background:rgba(27,36,48,.55)}
.receipt{font-family:"Courier New",monospace;font-size:.8rem;line-height:1.35}
.receipt hr{border:0;border-top:1px dashed #000;margin:.4rem 0}
.receipt .row{display:flex;justify-content:space-between;gap:.5rem}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* Cetak: hanya struk yang tampil, lebar kertas thermal 58mm */
@media print{
  body *{visibility:hidden}
  #receipt,#receipt *{visibility:visible}
  #receipt{position:absolute;left:0;top:0;width:58mm;color:#000}
  .no-print{display:none!important}
  @page{margin:2mm}
}

/* Panel dashboard & pengguna */
.panel{background:#fff;border:1px solid #D9D5CB;border-radius:.375rem;padding:1rem}
.panel h3{font-weight:700;margin-bottom:.5rem}
