.download-main-modal .modal-dialog {
  max-width: 700px;
  margin: 1.75rem auto;
}

.download-main-modal .popup-quote-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(5, 33, 67, .3);
}

.download-main-modal .popup-quote-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #687eff, #8e68ff, #f87a53);
}

.download-main-modal .modal-body.download-popup {
  position: relative;
  z-index: 2;
  padding: 44px 42px 34px;
  border-radius: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(248, 122, 83, .13), transparent 33%),
    radial-gradient(circle at 0 100%, rgba(104, 126, 255, .12), transparent 36%),
    #fff;
}

.download-main-modal .modal-header-scroll {
  position: absolute;
  z-index: 5;
  top: 17px;
  right: 17px;
}

.download-main-modal #down-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #e2e7f3;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #052143;
  font-size: 25px;
  line-height: 1;
  opacity: 1;
  box-shadow: 0 8px 24px rgba(5, 33, 67, .08);
  transition: .25s ease;
}

.download-main-modal #down-btn:hover {
  color: #fff;
  background: #052143;
  transform: rotate(90deg);
}

.popup-form-heading {
  max-width: 540px;
  margin: 0 auto 28px;
  text-align: center;
}

.popup-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 13px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #5168df;
  background: #eef1ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .65px;
  text-transform: uppercase;
}

.popup-form-heading h2 {
  margin: 0 0 10px;
  color: #052143;
  font-family: var(--payforonlineexam-font-two);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.12;
}

.popup-form-heading h2 span { color: #687eff; }

.popup-form-heading p {
  margin: 0;
  color: #6b778b;
  font-size: 15px;
  line-height: 1.55;
}

.popup-quote-form .row { row-gap: 18px; }
.popup-quote-form .popup-field { margin: 0; text-align: left; }

.popup-quote-form .popup-field label {
  display: block;
  margin: 0 0 7px 2px;
  color: #253b58;
  font-size: 13px;
  font-weight: 700;
}

.popup-input-wrap { position: relative; }

.popup-input-wrap > i {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 17px;
  width: 18px;
  color: #687eff;
  font-size: 14px;
  text-align: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.popup-quote-form .popup-input-wrap input,
.popup-quote-form .popup-input-wrap select,
.popup-quote-form .popup-input-wrap .nice-select {
  width: 100%;
  height: 56px;
  min-height: 56px;
  margin: 0;
  padding: 0 44px 0 48px;
  border: 1px solid #dce3ef;
  border-radius: 13px;
  outline: none;
  color: #052143;
  background: rgba(248, 250, 255, .92);
  font-family: var(--payforonlineexam-font);
  font-size: 14px;
  line-height: 54px;
  box-shadow: none;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.popup-quote-form .popup-input-wrap input:focus,
.popup-quote-form .popup-input-wrap select:focus,
.popup-quote-form .popup-input-wrap .nice-select.open {
  border-color: #687eff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(104, 126, 255, .11);
}

.popup-quote-form .popup-input-wrap input::placeholder { color: #98a3b3; }
.popup-select-wrap .nice-select .list { width: 100%; max-height: 230px; overflow-y: auto; }

.popup-form-action { margin-top: 24px; text-align: center; }

.popup-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 58px;
  padding: 14px 24px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #687eff, #7659df);
  font-family: var(--payforonlineexam-font);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 15px 34px rgba(104, 126, 255, .3);
  transition: transform .3s ease, box-shadow .3s ease;
}

.popup-submit-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(104, 126, 255, .38);
}

.popup-submit-btn i { transition: transform .3s ease; }
.popup-submit-btn:hover i { transform: translateX(5px); }

.popup-form-action p {
  margin: 13px 0 0;
  color: #7c8797;
  font-size: 12px;
  line-height: 1.4;
}

.popup-form-action p i { margin-right: 5px; color: #43b97e; }

@media (max-width: 767px) {
  .download-main-modal .modal-dialog { margin: 12px; }
  .download-main-modal .modal-body.download-popup { padding: 52px 20px 24px; }
  .popup-form-heading { margin-bottom: 22px; }
  .popup-form-heading h2 { font-size: 32px; }
  .popup-form-heading p { font-size: 14px; }
  .popup-quote-form .row { row-gap: 14px; }
  .popup-form-action { margin-top: 19px; }
}
