/* ==========================================================================
   OFFICIAL 2-PAGE A4 REGISTRATION PDF STYLES
   Exact authentic layout for OLELE KWANZA GROUP
   ========================================================================== */

#pdf-container-wrapper {
  position: absolute;
  top: 0;
  left: -9999px;
  width: 794px;
  z-index: -9999;
  pointer-events: none;
  background: #ffffff;
}

#pdf-template {
  background: #ffffff !important;
  color: #000000 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 10pt;
  line-height: 1.3;
  width: 794px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}

.pdf-page {
  width: 794px;
  height: 1120px;
  max-height: 1120px;
  padding: 30px 42px;
  box-sizing: border-box;
  position: relative;
  background: #ffffff !important;
  overflow: hidden;
}

#pdf-page-1 {
  page-break-before: avoid !important;
  break-before: avoid !important;
  page-break-after: always !important;
  break-after: page !important;
  page-break-inside: avoid !important;
  break-inside: avoid !important;
}

#pdf-page-2 {
  page-break-before: avoid !important;
  break-before: avoid !important;
  page-break-after: avoid !important;
  break-after: avoid !important;
  page-break-inside: avoid !important;
  break-inside: avoid !important;
}

.pdf-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 3px double #000000;
  padding-bottom: 8px;
  text-align: center;
}

.pdf-title-main {
  font-size: 16pt;
  font-weight: 800;
  color: #000000;
  margin: 0 0 3px;
  letter-spacing: 0.5px;
}

.pdf-title-sub {
  font-size: 12pt;
  font-weight: 700;
  color: #000000;
  margin: 0;
  letter-spacing: 0.5px;
}

.pdf-section {
  margin-bottom: 16px;
}

.pdf-section-title {
  font-size: 10.5pt;
  font-weight: 800;
  color: #000000;
  margin: 0 0 4px;
  text-transform: uppercase;
  border-bottom: 1px solid #000000;
  padding-bottom: 2px;
  display: block;
  width: 100%;
}

.pdf-subsection-title {
  font-size: 9.5pt;
  font-weight: 700;
  color: #000000;
  margin: 10px 0 6px;
  text-transform: uppercase;
}

.pdf-section-instruction {
  font-size: 8.5pt;
  font-style: italic;
  margin: 0 0 8px;
  color: #333333;
}

.pdf-row-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}

.pdf-flex-1 {
  flex: 1;
}

.pdf-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
  font-size: 9.5pt;
  color: #000000;
}

.pdf-table td {
  padding: 5px 6px;
  vertical-align: middle;
}

.borderless-table td {
  border: none;
  padding: 3px 4px;
}

.info-line-table td {
  border: none;
  padding: 5px 4px;
}

.pdf-value {
  display: inline-block;
  border-bottom: 1px solid #000000;
  min-height: 18px;
  min-width: 120px;
  padding: 0 4px;
  font-weight: 700;
  color: #000000;
}

.pdf-checkbox-box {
  font-weight: 700;
  font-family: monospace;
  font-size: 11pt;
  color: #000000;
}

.pdf-photo-box-wrapper {
  width: 130px;
  display: flex;
  justify-content: flex-end;
}

.pdf-photo-box {
  width: 110px;
  height: 130px;
  border: 1px solid #000000;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pdf-photo-label {
  font-size: 7.5pt;
  color: #444444;
  padding: 4px;
  pointer-events: none;
  line-height: 1.2;
}

.pdf-inserted-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdf-data-grid,
.pdf-dependents-table {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #000000;
}

.pdf-data-grid th,
.pdf-data-grid td,
.pdf-dependents-table th,
.pdf-dependents-table td {
  border: 1px solid #000000;
  padding: 5px 6px;
}

.pdf-data-grid th,
.pdf-dependents-table th {
  background: #f1f5f9;
  font-weight: 700;
  color: #000000;
  font-size: 9pt;
  text-align: left;
}

.pdf-dependents-table th {
  text-align: center;
}

.pdf-dep-photo-slot {
  width: 35px;
  height: 45px;
  border: 1px solid #000000;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  overflow: hidden;
}

.pdf-dep-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdf-dep-photo-placeholder {
  font-size: 5.5pt;
  color: #555555;
  text-align: center;
}

.pdf-declaration-text {
  font-size: 9.5pt;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 15px;
  font-style: italic;
  color: #000000;
}

.pdf-signature-block {
  margin-top: 10px;
}

.compact-table td {
  padding: 6px 4px;
}

.pdf-sig-container {
  position: relative;
  display: inline-block;
  width: 100%;
  min-height: 35px;
}

.pdf-signature-img {
  position: absolute;
  bottom: 2px;
  left: 20px;
  height: 32px;
  max-width: 180px;
  object-fit: contain;
}

.pdf-dotted-line {
  font-weight: 400;
  color: #000000;
  font-size: 11pt;
  letter-spacing: 0.5px;
}

.chairman-stamp-wrapper {
  position: relative;
  display: inline-block;
  min-height: 40px;
}

.chairman-signature-img {
  max-height: 38px;
  object-fit: contain;
  vertical-align: middle;
}

/* PDF Logo & Spacing Utilities */
.pdf-logo-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.pdf-mt-8 { margin-top: 8px; }
.pdf-mt-14 { margin-top: 14px; }
.pdf-mt-18 { margin-top: 18px; }

/* Table Column Widths replacing deprecated width="" */
.col-w-3 { width: 3%; }
.col-w-5 { width: 5%; }
.col-w-8 { width: 8%; }
.col-w-10 { width: 10%; }
.col-w-15 { width: 15%; }
.col-w-20 { width: 20%; }
.col-w-24 { width: 24%; }
.col-w-25 { width: 25%; }
.col-w-30 { width: 30%; }
.col-w-35 { width: 35%; }
.col-w-37 { width: 37%; }
.col-w-40 { width: 40%; }

