@media print {
  body * {
    visibility: hidden;
  }
  #pos-slip-print-area,
  #pos-slip-print-area *,
  #receipt-print-area,
  #receipt-print-area * {
    visibility: visible;
  }
  #pos-slip-print-area,
  #receipt-print-area {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
  }
}

#pos-slip-print-area,
#receipt-print-area {
  width: 80mm;
  font-family: "Courier New", monospace;
  font-size: 12px;
  direction: rtl;
  text-align: right;
  padding: 4mm;
}

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

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.receipt-total {
  font-weight: bold;
  font-size: 14px;
}
