/* Кнопка запуска — можешь удалить/переоформить */
.quiz-open{
  padding: 12px 16px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}

.quiz-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.76);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 9998;
}

.quiz-modal{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-48%);
  width: min(560px, calc(100vw - 32px));
  background: #e6edf7;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  color: #000;
  z-index: 9999999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  overflow: hidden;
}

.quiz-modal.is-open{
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%);
}

.quiz-overlay.is-open{
  opacity: 1;
  pointer-events: auto;
}

.quiz-close{
  position: absolute;
  right: 12px;
  top: 10px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  background: #fff;
  color: #00000080;
  font-size: 22px;
  line-height: 1;
}

.quiz-head{
  padding: 22px 22px 8px;
}

.quiz-step{
  font-size: 12px;
  opacity: .85;
  margin-bottom: 8px;
  width: fit-content;
}

.quiz-title{
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 8px 0;
  text-transform: none;
  text-align: left;
  width: fit-content;
}

.quiz-subtitle{
  font-size: 16px;
  font-weight: 700;
  opacity: .9;
  min-height: 18px;
  margin-top: 50px;
}

.quiz-body{
  padding: 0px 22px 22px;
}

.quiz-question{
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.quiz-answers{
  display: grid;
  gap: 10px;
}

.quiz-option{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  /* border: 1px solid rgba(255,255,255,.18); */
  background: #fff;
  cursor: pointer;
  user-select: none;
}

.quiz-option:hover{
  background: rgb(159 209 255);
}

.quiz-option input{
  accent-color: #0571D5; /* твой фирменный */
  width: 18px;
  height: 18px;
}

.quiz-error{
  margin-top: 12px;
  font-size: 13px;
  color: #c90000;
}

.quiz-actions{
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.quiz-actions button{
  flex: 1;
  padding: 16px 14px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
}

.quiz-back{
  background: #fff;
  color: #0571D5;
  border: 1px solid #0571D5;
}

.quiz-back:disabled{
  /* opacity: .5; */
  cursor: not-allowed;
}

.quiz-next{
  background: #0571D5;
  color: #fff;
  border: 0;
}

.quiz-input{
  width: 94%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: #fff;
  color: #000;
  outline: none;
}

.quiz-hint{
  margin-top: 10px;
  font-size: 12px;
  opacity: .9;
}

.quiz-phone-error{
  margin-top: 10px;
  font-size: 13px;
  color: #c90000;
}

/*ПРОГРЕСС_БАР*/
.quiz-progress{
  margin-top: 10px;
  margin-bottom: 6px;
}

.quiz-progress__track{
  height: 5px;
  border-radius: 999px;
  background: #ffffff;
  /*border: 2px solid #0571D5;*/
  overflow: hidden;
}

.quiz-progress__fill{
  height: 100%;
  width: 0%;
  background: #1fd400; /* зелёная заливка */
  border-radius: 999px;
  transition: width .25s ease;
}

@media (max-width: 420px){
  .quiz-title{ font-size: 18px; }
  .quiz-option{ padding: 10px 10px; }
}
.form_submission > label{
    color: #000;
}
.form_submission > label > a{
    color: #000;
}
.quiz-answers > .form_card > input{
    background: #ffffff;
}