.hph-job-apply-modal-open {
  overflow: hidden;
}

.hph-job-apply-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.hph-job-apply-modal[hidden] {
  display: none !important;
}

.hph-job-apply-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hph-job-apply-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  height: min(90vh, 900px);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.hph-job-apply-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: #1d2327;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.hph-job-apply-modal__iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
