/* Payment Advise — bill table + doc sections (extends received-advise + nd97-theme) */
:root {
  --pa-border: #1e293b;
}

.pa-doc-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bs-secondary-color);
  margin: 0.75rem 0 0.35rem;
}

.pa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}

.pa-table th,
.pa-table td {
  border: 1px solid var(--pa-border);
  padding: 0.35rem 0.5rem;
  vertical-align: top;
}

.pa-table th {
  width: 38%;
  font-weight: 600;
  text-align: left;
  background: #f8fafc;
  color: #0f172a;
}

.pa-table-main th {
  width: 42%;
}

.pa-table-final th {
  width: 38%;
}

.pa-words-cell {
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 500;
}

.pa-weighment-list .pa-weighment-list-row:last-child {
  border-bottom: 0 !important;
}

.pa-page-payment .section-label {
  margin-top: 0.25rem;
}

@media print {
  .pa-table th {
    background: #f8fafc !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
