/* Base receipt container at 150 DPI */
#receipt-content {
  width: 425px;
  /* 72mm x 5.91 */
  margin: 0 auto;
  padding: 10px;
  /* Minimal padding for roll edge safety */
  background: #ffffff;
  color: #000000;
  font-family: 'Courier New', Courier, monospace;
  font-size: 21px;
  /* Equivalent to ~10pt at 150dpi */
  line-height: 1.25;
  -webkit-font-smoothing: none;
  /* Keeps fonts crisp on thermal heads */
}

/* Header styling */
.header h1 {
  font-size: 30px;
  /* ~14pt big header */
  text-align: center;
  margin: 0 0 10px 0;
}

/* Item Table - high contrast for low-res thermal */
.item-table {
  width: 100%;
  border-collapse: collapse;
}

.item-table th {
  border-bottom: 2px solid #000;
  text-align: left;
  font-size: 18px;
  /* Slightly smaller headers */
}

/* Total Section with big bold text */
.big-total {
  font-size: 42px;
  /* Roughly 20pt for emphasis */
  font-weight: 900;
  text-align: center;
  border: 3px solid #000;
  margin: 15px 0;
  padding: 10px;
}

/* Grayscale filter for 150dpi logos */
.logo {
  display: block;
  margin: 0 auto 15px;
  width: 250px;
  /* Scaled for 72mm printable area */
  filter: grayscale(100%) contrast(250%) brightness(120%);
}

/* Dashed divider using borders rather than images */
.divider {
  border-top: 2px dashed #000;
  height: 0;
  width: 100%;
  margin: 12px 0;
}