/* Step-by-step NBI online application section reconstructed from the supplied references. */
.apply-online-section {
  max-width: 930px;
  padding-top: 18px;
  padding-bottom: 38px;
}

.apply-online-section > h2 {
  width: min(760px, 100%);
  margin-bottom: 18px;
}

.apply-online-section > p,
.application-step > p {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 27px;
  text-align: center;
}

.apply-online-section > p + p {
  margin-top: 28px;
}

.application-step {
  margin-top: 30px;
}

.application-step h3 {
  width: min(400px, 100%);
  margin: 0 auto 20px;
  padding: 4px 16px;
  color: #681600;
  font-family: Poppins, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
  background: #ffe4b8;
  border-bottom: 2px solid #681600;
  border-radius: 10px;
}

.application-step-icon {
  display: block;
  width: 130px;
  height: 130px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.portal-warning {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
  margin: 24px 0 0;
  padding: 13px 16px;
  color: #4d3b17;
  background: #fff7df;
  border-left: 4px solid #f0a400;
  border-radius: 7px;
}

.portal-warning > span {
  font-size: 19px;
  line-height: 27px;
}

.portal-warning p {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 17px;
  line-height: 27px;
  text-align: left;
}

.portal-warning code {
  padding: 2px 5px;
  color: #681600;
  font-size: .86em;
  background: #ffedc7;
  border-radius: 4px;
}

.apply-login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(500px, 100%);
  height: 46px;
  margin: 0 auto;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  background: #b82008;
  border-radius: 18px;
}

.apply-login-button span {
  margin-right: 10px;
}

.apply-login-button:hover,
.apply-login-button:focus-visible {
  color: #fff;
  text-decoration: none;
  background: #681600;
}

.application-checklist {
  width: 100%;
  margin: 30px 0 22px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.application-checklist li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 31px;
  color: #101322;
  font-family: Poppins, sans-serif;
  font-size: 17px;
  line-height: 27px;
  text-align: left;
}

.application-checklist li::before {
  content: "➜";
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  background: #681600;
  border-radius: 50%;
}

.application-checklist a,
.application-step > p a {
  color: #681600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.application-process-image {
  display: block;
  width: 600px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
}

.otp-step {
  margin-top: 52px;
}

.otp-step .application-step-icon {
  margin-bottom: 22px;
}

.otp-example-image {
  width: 600px;
}

.followup-step {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 2px dashed #aab2bd;
}

.compact-checklist {
  margin-top: 28px;
}

.appointment-booking-step > p + p {
  margin-top: 28px;
}

.appointment-booking-step .application-process-image {
  margin-top: 34px;
}

.egovph-card {
  margin-top: 58px;
  padding: 10px 8px 14px;
  border: 1px solid #18202d;
  border-top-width: 7px;
  border-bottom-width: 7px;
  border-radius: 12px;
}

.egovph-card h3 {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 3px 16px;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
  background: #761b00;
  border-radius: 18px;
}

.egovph-card p {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 17px;
  line-height: 27px;
  text-align: center;
}

.egovph-card p + p {
  margin-top: 24px;
}

.egovph-download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(420px, 100%);
  min-height: 54px;
  margin: 0 auto;
  padding: 8px 20px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 28px;
  text-decoration: none;
  background: #c92608;
  border-radius: 16px;
}

.egovph-download-button:hover,
.egovph-download-button:focus-visible {
  color: #fff;
  text-decoration: none;
  background: #761b00;
}

@media (max-width: 760px) {
  .apply-online-section {
    padding-top: 14px;
    padding-bottom: 30px;
  }

  .apply-online-section > p,
  .application-step > p,
  .portal-warning p,
  .application-checklist li {
    font-size: 17px;
    line-height: 27px;
  }

  .application-step h3 {
    font-size: 24px;
    line-height: 32px;
  }

  .application-step-icon {
    width: 120px;
    height: 120px;
  }

  .egovph-card {
    padding: 10px 12px 14px;
  }

  .egovph-card h3 {
    width: 100%;
    font-size: 24px;
    line-height: 32px;
  }

  .egovph-card p {
    font-size: 17px;
    line-height: 27px;
  }

  .portal-warning {
    grid-template-columns: 24px 1fr;
    padding: 12px;
  }

  .application-checklist {
    margin-top: 24px;
  }
}
