.backdrop {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(25, 25, 25, 0.89);
  position: fixed;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.quiz-modal {
  width: 1248px;
  background: #fff;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.quiz__modal-top {
  border-bottom: 1px solid #9fafbd;
  margin-bottom: 33px;
  padding: 30px 40px;
}
.step-top__title {
  color: #9fafbd;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.quiz__step {
  display: flex;
  flex-direction: row;
  padding: 0 40px;
  justify-content: space-between;
}
.quiz__step-left {
  width: 720px;
}
.step-left__title {
  color: #6b809f;
  font-family: Montserrat;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px; /* 133.333% */
  margin-bottom: 40px;
}
.step-left__answers {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.radio-option__label {
  color: #6b809f;
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px; /* 100% */
}
.quiz__step-right {
  width: 376px;
  padding: 33px 33px 53px 33px;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 5px;
  border: 1px solid #dae4ee;
  background: #f1f4f8;
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.step-right__text-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.text-block__title {
  color: #6b809f;
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.text-block__text {
  color: #9fafbd;
  font-family: Montserrat;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.quiz__step-bottom {
  display: flex;
  flex-direction: row;
  position: relative;
  width: 100%;
  height: 71.92px;
  margin-top: 100px;
}
.step-bottom__back {
  width: 25%;
  border-radius: 0px 0px 6px 0px;
  background: #fff;
  padding: 0px 93.966px 0px 80.31px;
  justify-content: center;
  align-items: center;

  gap: 17.01px;
  border: none;
  display: flex;
  flex-direction: row;
}
.back__img {
}
.back__text {
  color: #9fafbd;
  font-family: Montserrat;
  font-size: 14.7px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.step-bottom__text-progress {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  top: -6px;
}
.step-bottom__text-progress p {
  color: #dae4ee;
  font-family: Montserrat;
  font-size: 13.1px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.62px; /* 149.771% */
}
.step-bottom__text-progress p span {
  color: #6b809f;
  font-family: Montserrat;
  font-size: 13.1px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.62px; /* 149.771% */
}
.step-bottom__forward {
  width: 25%;
  border-radius: 0px 0px 6px 0px;
  background: #dae4ee;
  padding: 0px 54px 0px 40px;
  align-items: center;
  gap: 79.06px;
  border: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.forward__text {
  color: #9fafbd;
  font-family: Montserrat;
  font-size: 14.7px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 2.207px;
  text-transform: uppercase;
}
.forward__img {
}
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.radio-option__input {
  opacity: 0;
  position: absolute;
}

.radio-option__custom {
  width: 18px;
  height: 18px;
  border: 2px solid #a0acc0;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  transition: border-color 0.2s ease;
}

.radio-option__input:checked + .radio-option__custom::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 12px;
  height: 12px;
  background-color: #a0acc0;
  border-radius: 50%;
}

.radio-option__label {
  font-size: 14px;
  color: #6d7a94;
}

/* Скрытые шаги */
.quiz__step {
  opacity: 0;
  transform: translateY(30px);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.quiz__step--active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
  z-index: 2;
}

.quiz__step--hide-up {
  transform: translateY(-40px);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.quiz__step--hide-down {
  transform: translateY(40px);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* Прогресс текст */
.step-bottom__text-progress span {
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.fade-in {
  opacity: 1;
  transform: translateY(0px);
}

.step-bottom__back:disabled,
.step-bottom__forward:disabled {
  opacity: 0.5;
  pointer-events: none;
}
.quiz-modal::before {
  content: attr(data-step);
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 120px;
  color: #f0f3f8;
  font-weight: bold;
  z-index: 0;
  transition: transform 0.4s ease, opacity 0.3s ease;
  opacity: 1;
  top: 96px;
  color: #f0f4f8;
  font-family: Montserrat;
  font-size: 163.5px;
  font-style: normal;
  font-weight: 700;
  line-height: 163.46px; /* 99.976% */
  left: -50px;
}
.quiz-modal[data-step]::before {
  animation: step-swipe 0.4s ease;
}

@keyframes step-swipe {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.step-bottom__progress {
  width: 100%;
  height: 6px;
  background-color: transparent;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
  position: absolute;
}

.step-bottom__progress-inner {
  height: 100%;
  width: 0%;
  background-color: #0693e3;
  transition: width 0.4s ease;
  border-radius: 4px;
}

.loader {
  position: absolute;
  width: 50px;
  padding: 8px;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #25b09b;
  --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
  mask: var(--_m);
  -webkit-mask-composite: source-out;
  mask-composite: subtract;
  animation: l3 1s infinite linear;
}
@keyframes l3 {
  to {
    transform: rotate(1turn);
  }
}
.form-wrapper {
  justify-content: left;
}
.form-wrapper .quiz__step-left {
  display: flex;
  flex-direction: column;
  width: 516.53px;
}
.form__step-left__top-wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.step-left__top-wrap__title {
  color: #6b809f;
  font-family: Montserrat;
  font-size: 24.5px;
  font-style: normal;
  font-weight: 400;
  line-height: 32.69px; /* 133.429% */
  width: 147.51px;
}
.step-left__top-wrap__text-wrap {
  display: flex;
  width: 294.36px;
  height: 52.28px;
  padding: 14.07px 19.611px 14.13px 19.61px;
  justify-content: center;
  align-items: center;
  gap: 64.88px;
  border-radius: 3.27px;
  background: rgba(107, 128, 159, 0.1);
}

.step-left__top-wrap__text-wrap p {
  color: #6b809f;
  font-family: Montserrat;
  font-size: 9.8px;
  font-style: normal;
  font-weight: 400;
  line-height: 13.08px; /* 133.469% */
}
.field {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}
.field--first-name {
}
.cardholder_name_js {
}
.field__title {
  color: #6b809f;
  font-family: Montserrat;
  font-size: 11.4px;
  font-style: normal;
  font-weight: 400;
  line-height: 13.08px; /* 114.737% */
  margin-bottom: 20px;
}
.field__error {
  position: absolute;
  z-index: 10;
  color: red;
  bottom: 5px;
  font-family: Montserrat;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}
.field_help_js {
}
.name_help_js {
}
.field__input {
  display: flex;
  width: 100%;
  height: 33.05px;
  padding: 7px 2px 8.05px 2px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border: none;
  border-bottom: 1px solid #dae4ee;
  width: 100%;
  color: #6b7075;
  font-family: Montserrat;
  font-size: 14.7px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  background: transparent;
}
.field__input::placeholder {
  color: #9fafbd;
  font-family: Montserrat;
  font-size: 14.7px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.form-wrapper .quiz__step-right {
  width: 124.22px;
  height: 138.41px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: transparent;
  border: none;
  margin-left: 120px;
}
.quiz__step-right__top {
  display: flex;
  flex-direction: row;
  gap: 7px;
  position: relative;
}
.quiz__step-right__top-title {
  color: #dae4ee;
  font-family: Montserrat;
  font-size: 24.5px;
  font-style: normal;
  font-weight: 700;
  line-height: 32.69px; /* 133.429% */
}
.quiz__step-right__top-text {
  color: #dae4ee;
  font-family: Montserrat;
  font-size: 11.4px;
  font-style: normal;
  font-weight: 700;
  line-height: 24.52px; /* 215.088% */
  text-transform: uppercase;
}
.quiz__step-right__bottom {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.quiz__step-right__bottom-text {
  color: #6b809f;
  font-family: Montserrat;
  font-size: 10.6px;
  font-style: normal;
  font-weight: 400;
  line-height: 13.08px; /* 123.396% */
}
form {
  position: relative;
}

.d-none {
  display: none;
}

.phone_help_js {
  bottom: -16px;
}
.iti--show-selected-dial-code .iti__selected-flag {
  background-color: transparent;
}
.iti--show-selected-dial-code.iti--show-flags .iti__selected-dial-code {
  margin-left: 6px;
  color: #6b809f;
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.registration-form__submit--active {
  background: #abb8c3;
  cursor: pointer;
}

.registration-form__submit--active p {
  color: #fff;
}

.quiz__step-right__top::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  right: -7px;
  top: 3px;
  border-radius: 3px;
  background: #ef9e00;
}

@media screen and (max-width: 1240px) {
  .quiz__step-right {
    display: none;
  }
  .quiz-modal {
    width: 100%;
  }
  .quiz__step-left {
    width: 100%;
    max-width: 100%;
  }
  .step-bottom__text-progress {
    position: absolute;
  }
  .step-bottom__progress {
    top: -52px;
  }
  .step-bottom__text-progress {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    top: -60px;
    display: flex;
  }
  .step-bottom__back {
    width: 35%;
    padding: 0;
  }
  .step-bottom__forward {
    width: 65%;
    padding: 0;
  }
  .form__step-left__top-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
  }
  .form-wrapper .quiz__step-right {
    display: none;
  }
  .field__input {
    width: 100%;
  }
}

@media screen and (max-height: 700px) {
  .quiz__modal-top {
    margin-bottom: 15px;
    padding: 15px 40px;
  }
  .field__title {
    margin-bottom: 10px;
  }
  .step-left__top-wrap__text-wrap {
    display: flex;
    width: 294.36px;
    height: 52.28px;
    padding: 4.07px 19.611px 4.13px 19.61px;
    justify-content: center;
    align-items: center;
    gap: 64.88px;
    border-radius: 3.27px;
    background: rgba(107, 128, 159, 0.1);
  }
  .quiz__step-bottom {
    margin-top: 80px;
  }
}
