/* ============================================================
   Apply Now page — styling
   ============================================================ */

/* Halve the hero banner height on this page only */
.page-banner-area {
  padding-top: 75px;
  padding-bottom: 75px;
}

.page-banner-content p.intro-contact {
  color: #ffffff;
  opacity: 0.85;
  margin-top: 10px;
  margin-bottom: 0;
}

.apply-form-area {
  background-color: #f4f6f9;
}

.apply-form-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
}

.apply-form-card h3 {
  color: #191B4F;
}

.apply-form-card .contacts-form h4 {
  color: #191B4F;
  font-size: 18px;
  border-bottom: 2px solid #f4f6f9;
  padding-bottom: 10px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.apply-form-card .contacts-form h4:first-of-type {
  margin-top: 0;
}

.apply-form-card .form-label {
  font-weight: 600;
  color: #191B4F;
  font-size: 14px;
}

.apply-form-card .alert-success,
.apply-form-card .alert-danger {
  border-radius: 6px;
}


/* Centered application submission notification */
.application-alert-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.12);
}

.application-alert {
  position: relative;
  width: min(420px, 92vw);
  margin: 0;
  padding: 34px 45px 32px 28px;
  border: 0;
  border-radius: 3px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
  text-align: left;
  font-size: 15px;
  line-height: 1.6;
}

.application-alert strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.application-alert span {
  display: block;
}

.application-alert-close {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 24px;
  line-height: 28px;
  cursor: pointer;
  opacity: 0.9;
}

.application-alert-close:hover {
  opacity: 1;
}

@media (max-width: 575px) {
  .application-alert {
    width: min(380px, 94vw);
    padding: 30px 42px 28px 22px;
  }
}
