@page {
  size: A4;
  margin: 8mm;
}

@media print {
  @page {
    size: A4;
    margin: 8mm;
  }

  body {
    margin: 0;
    padding: 0;
  }

  .no-print {
    display: none;
  }
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
}

.a4-container {
  width: 210mm;
  min-height: 295mm;
  margin: auto;
  padding: 5mm;
  box-sizing: border-box;
  background: white;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 5px solid black;
  padding: 10px 10px;
}

.logo-left {
  width: 100px;
}

.logo-right {
  width: 100px;
}

.header-text {
  text-align: center;
  flex-grow: 1;
  padding: 0 10px;
}

.header-text h2 {
  margin: 0;
  font-size: 30px;
  font-weight: bold;
}

.header-text p {
  margin: 4px 0;
  font-size: 18px;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.email {
  font-size: 13px;
}

.section-title {
  margin: 10px 0;
  text-align: center;
  font-weight: bold;
  text-decoration: underline;
  font-size: 16px;
}

.subject {
  margin: 15px 0;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
}
.subject-block {
    text-align: center;
    font-size: 14px;   /* adjust as you want */
    font-weight: bold;
    line-height: 1.6;
}

.subject-line {
    display: block;
}


.outward-details {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.outward-box {
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  min-width: 220px;
}

.to-outward-row {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.to-box {
  font-size: 14px;
  line-height: 1.6;
  max-width: 60%;
}

.letter-body p {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 10px;
  text-align: justify;
}

.account-table table {
  border: 1px solid black;
  border-collapse: collapse;
}

.account-table th,
.account-table td {
  background-color: white;
  border: 1px solid black;
  padding: 8px;
  font-size: 14px;
  text-align: center;
}

.instruction-block {
  font-size: 14px;
  line-height: 1.2;
  margin-top: 8px;
}

.instruction-block ol {
  padding-left: 20px;
}

.signature-container {
  display: flex;
  justify-content: flex-end; /* align to right */
  align-items: center; /* vertical center in block */
  height: 180px; /* adjust this height to position it vertically */
  margin-top: 10px; /* gap from above content */
}

.signature-block {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}
