.enroll-result-pdf-container,
a.skip-link,
.page-header,
header,
footer {
  display: none;
}

.wpr-bulk-pdf-print-btn {
  position: fixed;
  top: 50%;
  right: 0;
}

.wpr-bulk-pdf-print-btn {
  position: fixed;
  top: 50%;
  right: 0;
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--green-primary);
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wpr-bulk-pdf-print-btn:hover {
  background-color: #147a3b;
}
.pdf-1-container,
.pdf-2-container {
  font-family: "Gulzar", Arial, sans-serif !important;
  direction: rtl;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-size: 1rem;
}

.adil-font {
  font-family: "Aadil" !important;
}

.pdf-1-container {
  page-break-after: always;
}

.pdf-2-container {
  page-break-before: always;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.logo-banner {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  margin-bottom: 0.3rem;
}

.ltr {
  direction: ltr;
  unicode-bidi: bidi-override;
}

.bracket-text {
  font-size: 0.7rem;
}

/* Header */

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 10px;
  padding-left: 10px;
}

.profile-pic {
  width: auto;
  max-height: 100px;
}
.form-title {
  text-align: center;
}

.form-title h1 {
  font-size: 1rem;
  margin: 0;
}

.subtitle {
  font-size: 0.9rem;
  margin: 0;
}

.class-level {
  font-size: 1rem;
  margin: 0;
}

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

.meta-item {
  margin-bottom: 4px;
}

.meta-item .label {
  font-weight: bold;
  margin-left: 5px;
}

.meta-item .value {
  border-bottom: 1px solid #000;
  padding: 0 5px;
}

/*  Data table  */

.data-table {
  margin-top: 0.6rem;
  page-break-inside: avoid;
}

.table-title {
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  margin: 4px 0 2px 0;
}

.table-grid {
  border: 1px solid #000;
}

.table-row {
  display: grid;
  border-bottom: 1px solid #000;
  line-height: 1.4;
}

.table-row:last-child {
  border-bottom: none;
}

.table-row > div {
  padding: 14px 8px 3px;
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 2px;
}

.table-row.two-cols {
  grid-template-columns: 1fr 1fr;
}

.table-row.two-cols-first-small {
  grid-template-columns: 1fr 3fr;
}

.two-cols > div:nth-child(2),
.two-cols-first-small > div:nth-child(2),
.three-cols > div:nth-child(2),
.three-cols > div:nth-child(3),
.three-cols-third-big > div:nth-child(2),
.three-cols-third-big > div:nth-child(3),
.four-cols-first-small > div:nth-child(2),
.four-cols-first-small > div:nth-child(3),
.four-cols-first-small > div:nth-child(4) {
  border-right: 1px solid #000;
}

.four-cols-first-small {
  grid-template-columns: auto 1fr 1fr 1fr;
}

.three-cols {
  grid-template-columns: 1fr 1fr 1fr;
}

.table-row.three-cols-third-big {
  grid-template-columns: 1fr 1fr 2fr;
}

.affidavit_agreement {
  margin-top: 0.5rem;
}

.affidavit_agreement p,
.pdf-2-container li,
.pdf-2-container strong {
  line-height: 1.8;
}

.pdf-2-container h2 {
  margin: 0.5rem 0 0.2rem 0;
  font-size: 1rem;
}

.pdf-2-container ul,
.pdf-2-container ol {
  margin: 0 0 0.5rem 0;
}

.pdf-2-container li {
  margin-bottom: 0.3rem;
}

.ltr > .item-value,
.item-value.ltr {
  margin-left: 1rem;
}

.item-value:not(.ltr > .item-value):not(.item-value.ltr) {
  margin-right: 1rem;
}

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

  body {
    zoom: 0.82; /* Adjust the zoom level to fit content */
    margin: 0;
  }

  body * {
    visibility: hidden;
  }

  .wpr-bulk-pdf-contaienr *,
  .enroll-result-pdf-container * {
    visibility: visible;
  }

  .wpr-bulk-pdf-contaienr,
  .enroll-result-pdf-container {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
  }
}

/**************************
*
* Thank you page
*
****************************/

.thankyou-container {
  max-width: 1000px;
  font-family: "Gulzar", Arial, sans-serif !important;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  margin-right: auto;
  margin-left: auto;
}

.thankyou-container h2 {
  color: var(--green-primary);
}

.thankyou-container ul {
  padding-right: 20px;
}

.thankyou-container .note {
  color: red;
  font-weight: bold;
}

.thankyou-container .print-btn {
  display: block;
  margin-right: auto;
  margin-left: auto;
  margin-top: 10px;
  cursor: pointer;
  padding: 10px 20px;
  color: white;
  background-color: var(--green-primary);
  text-decoration: none;
  border-radius: 5px;
}

.affidavit_agreement_dynamic_name {
  color: var(--green-primary);
  text-decoration: underline;
}
