body.job-apply-modal-open {
  overflow: hidden !important;
}

.job-apply-modal,
.job-apply-modal * {
  box-sizing: border-box;
}

.job-apply-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 2000000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.job-apply-modal__mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  background: rgba(18, 24, 38, 0.58);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  animation: jobApplyModalMaskIn 0.18s ease-out both;
}

.job-apply-modal__dialog {
  position: relative;
  width: 800px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 26px;
  background: #fff;
  box-shadow:
    0 24px 70px rgba(20, 27, 43, 0.28),
    0 4px 14px rgba(20, 27, 43, 0.12);
  animation: jobApplyModalIn 0.2s ease-out both;
}

.job-apply-modal__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  padding: 0 78px;
  border-radius: 26px 26px 0 0;
  background-color: #d8332f;
  background-image: url(/static/jysd-jylm/i/job-apply-bg.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 2px rgba(122, 16, 13, 0.3);
}

.job-apply-modal__title-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.job-apply-modal__head-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  margin-right: 14px;
  color: #fff;
  filter: drop-shadow(0 2px 1px rgba(111, 10, 8, 0.2));
}

.job-apply-modal__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.job-apply-modal__badge {
  margin-left: 10px;
  color: #ffeb8a;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.job-apply-modal__close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.job-apply-modal__close span {
  position: absolute;
  top: 14px;
  left: 1px;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: #fff;
}

.job-apply-modal__close span:first-child {
  transform: rotate(45deg);
}

.job-apply-modal__close span:last-child {
  transform: rotate(-45deg);
}

.job-apply-modal__body {
  display: flex;
  align-items: center;
  min-height: 180px;
  padding: 24px 34px;
  background: linear-gradient(180deg, #fff 0%, #fffdfd 100%);
}

.job-apply-modal__alert {
  display: flex;
  flex: 0 0 118px;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  margin-right: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #fff 0%, #fdebe9 56%, #fbe3e1 100%);
  box-shadow: inset 0 0 0 1px rgba(226, 51, 46, 0.05);
}

.job-apply-modal__alert svg {
  width: 72px;
  height: 62px;
  overflow: visible;
  filter: drop-shadow(0 4px 4px rgba(190, 40, 35, 0.14));
}

.job-apply-modal__alert-shape {
  fill: #e23630;
  stroke: #e23630;
  stroke-width: 6;
  stroke-linejoin: round;
}

.job-apply-modal__alert-mark {
  fill: none;
  stroke: #fff;
  stroke-width: 6;
  stroke-linecap: round;
}

.job-apply-modal__alert-dot {
  fill: #fff;
}

.job-apply-modal__text {
  flex: 1;
  min-width: 0;
  padding: 2px 0 2px 30px;
  border-left: 1px solid #e9e9e9;
  color: #333;
  font-size: 20px;
  line-height: 1.82;
  letter-spacing: 0.2px;
  text-align: left;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-line;
}

.job-apply-modal__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px 24px;
  border-top: 1px solid #ececec;
  border-radius: 0 0 26px 26px;
  background: #fff;
}

.job-apply-modal__btn {
  height: 56px;
  margin: 0;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 54px;
  cursor: pointer;
  outline: none;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.job-apply-modal__btn--confirm {
  flex: 0 1 460px;
  width: 100%;
  max-width: 460px;
  border-color: #c92f2a;
  background: linear-gradient(180deg, #df433d 0%, #c92f2a 100%);
  color: #fff;
  box-shadow:
    0 5px 12px rgba(186, 45, 39, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.job-apply-modal__btn--confirm:hover {
  background: linear-gradient(180deg, #d83a35 0%, #be2723 100%);
}

.job-apply-modal--mobile {
  padding: 16px;
}

.job-apply-modal--mobile .job-apply-modal__dialog {
  width: 100%;
  max-width: 400px;
  max-height: calc(100vh - 32px);
  border-radius: 20px;
}

.job-apply-modal--mobile .job-apply-modal__header {
  min-height: 76px;
  padding: 0 52px;
  border-radius: 20px 20px 0 0;
}

.job-apply-modal--mobile .job-apply-modal__head-icon {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  margin-right: 8px;
}

.job-apply-modal--mobile .job-apply-modal__title {
  font-size: 21px;
  letter-spacing: 0.8px;
}

.job-apply-modal--mobile .job-apply-modal__badge {
  margin-left: 5px;
  font-size: 21px;
  letter-spacing: 0;
}

.job-apply-modal--mobile .job-apply-modal__close {
  top: 20px;
  right: 17px;
  width: 26px;
  height: 26px;
}

.job-apply-modal--mobile .job-apply-modal__close span {
  top: 12px;
  width: 26px;
  height: 2px;
}

.job-apply-modal--mobile .job-apply-modal__body {
  display: block;
  min-height: 0;
  padding: 24px 22px;
}

.job-apply-modal--mobile .job-apply-modal__alert {
  display: none;
}

.job-apply-modal--mobile .job-apply-modal__text {
  padding: 0;
  border-left: 0;
  color: #3c4048;
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: 0;
}

.job-apply-modal--mobile .job-apply-modal__footer {
  padding: 0 20px 20px;
  border-top: 0;
  border-radius: 0 0 20px 20px;
}

.job-apply-modal--mobile .job-apply-modal__btn {
  height: 48px;
  padding: 0 16px;
  font-size: 16px;
  line-height: 46px;
  letter-spacing: 0.5px;
}

.job-apply-modal--mobile .job-apply-modal__btn--confirm {
  flex: 1 1 auto;
  max-width: none;
}

@keyframes jobApplyModalMaskIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes jobApplyModalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .job-apply-modal--pc {
    padding: 16px;
  }

  .job-apply-modal--pc .job-apply-modal__dialog {
    max-width: calc(100vw - 32px);
    border-radius: 20px;
  }

  .job-apply-modal--pc .job-apply-modal__header {
    min-height: 76px;
    padding: 0 52px;
    border-radius: 20px 20px 0 0;
  }

  .job-apply-modal--pc .job-apply-modal__body {
    display: block;
    min-height: 0;
    padding: 24px 22px;
  }

  .job-apply-modal--pc .job-apply-modal__alert {
    display: none;
  }

  .job-apply-modal--pc .job-apply-modal__text {
    padding: 0;
    border-left: 0;
    font-size: 16.5px;
    line-height: 1.75;
  }

  .job-apply-modal--pc .job-apply-modal__footer {
    padding: 0 20px 20px;
    border-top: 0;
  }

  .job-apply-modal--pc .job-apply-modal__btn {
    height: 48px;
    font-size: 16px;
    line-height: 46px;
  }
}

@media (max-width: 431px) {
  .job-apply-modal--mobile .job-apply-modal__dialog {
    max-width: calc(100vw - 32px);
  }
}
