/**
 * FOOD BY KAZEL - CUSTOM CSS & THERMAL PRINT RULES
 * Food by Kazel Culinary Theme
 */

@layer base {
  html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #fbf8fc;
    color: #201a1a;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
  }

  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }
  .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .pb-safe {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .pt-safe {
    padding-top: env(safe-area-inset-top, 0px);
  }
}

/* ==========================================================================
   ATURAN CETAK STRUK THERMAL POS (58mm & 80mm) & EDC SLIP
   ========================================================================== */
@media print {
  /* Sembunyikan seluruh UI dashboard saat window.print() */
  body * {
    visibility: hidden;
  }

  #thermal-print-container,
  #thermal-print-container * {
    visibility: visible;
  }

  #thermal-print-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #000;
  }
}

/* Standard thermal 58mm POS paper */
.receipt-58mm {
  width: 58mm;
  max-width: 58mm;
  padding: 2mm;
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  line-height: 1.25;
  color: #000;
  background-color: #fff;
}

/* Standard thermal 80mm POS paper */
.receipt-80mm {
  width: 80mm;
  max-width: 80mm;
  padding: 3mm;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  line-height: 1.3;
  color: #000;
  background-color: #fff;
}

.receipt-divider {
  border-top: 1px dashed #000;
  margin: 6px 0;
}
