:root {
  --page-bg: #ffffff;
  --text-main: #000000;
  --border-color: #000000;
  --font-family: 'Courier New', Courier, monospace; /* Using a monospace/fixed-width font to mimic the dot-matrix/receipt style */
  --font-size: 11pt;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  font-family: var(--font-family);
  color: var(--text-main);
  line-height: 1.2;
}

.document-page {
  background: var(--page-bg);
  width: 210mm; /* A4 width */
  min-height: 297mm; /* A4 height */
  padding: 15mm;
  box-sizing: border-box;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin: 20px;
  position: relative;
}

.header-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-weight: bold;
}

.table-header {
  border-top: 1.5px solid var(--border-color);
  border-bottom: 1.5px solid var(--border-color);
  display: grid;
  grid-template-columns: 100px 250px 100px 80px 80px 100px;
  padding: 5px 0;
  font-size: 10pt;
  font-weight: bold;
}

.row {
  display: grid;
  grid-template-columns: 100px 250px 100px 80px 80px 100px;
  padding: 3px 0;
  font-size: 10pt;
}

.hospitality-services {
  font-weight: bold;
  padding-top: 5px;
}

.summary-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 10px;
  font-size: 10pt;
}

.summary-grid {
  display: grid;
  grid-template-columns: 200px 100px;
  text-align: right;
  gap: 2px;
}

.summary-grid .label {
  font-weight: bold;
}

.summary-grid .value {
  padding-right: 5px;
}

.footer {
  position: absolute;
  bottom: 15mm;
  left: 15mm;
  right: 15mm;
  border-top: 1.5px solid var(--border-color);
  padding-top: 5px;
  font-size: 9pt;
  display: flex;
  justify-content: space-between;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.bold {
  font-weight: bold;
}

/* Print specific styles */
@media print {
  body {
    background: none;
  }
  .document-page {
    margin: 0;
    box-shadow: none;
  }
}
