@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Onest&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Onest&display=swap");
body {
  font-family: "Onest", sans-serif;
  color: #464B55;
  margin: 0;
  height: 100%;
  overflow-x: hidden;
  line-height: 150% !important;
}

.container {
  max-width: 1140px;
}

@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1140px !important;
  }
}
/* Базовые стили для прогресс-бара */
.quiz-progress {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 10px 0;
  width: 100%;
  align-items: center;
}

.question-body {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  height: 100%;
}

.progress-item {
  width: 40px;
  height: 4px;
  background: #eb0d87;
  transition: all 0.3s ease;
}

.progress-item.completed {
  background: #296EFF;
}

.progress-item.current {
  background: rgba(41, 110, 255, 0.6);
  transform: scaleY(1.5);
}

.progress, .progress-stacked {
  width: 65%;
  --bs-progress-bar-bg: #296EFF !important;
}

/* Стили управления */
.quiz-controls {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}

.btn-next {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 16px 24px;
  gap: 10px;
  width: 104px;
  height: 48px;
  /* blue/blue-100 */
  background: #296EFF;
  border-radius: 12px;
  border: none;
  color: var(--dark-dark-60, #FFF);
  /* Head/Head-20-SemiBold */
  font-family: "Onest";
  font-style: normal;
  font-weight: 600;
}

.btn-prev {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 16px 24px;
  gap: 10px;
  width: 145px;
  height: 48px;
  /* blue/blue-100 */
  background: #FFF;
  border-radius: 12px;
  border: none;
  color: var(--dark-dark-60, #909399);
  /* Head/Head-20-SemiBold */
  font-family: "Onest";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
}

.btn-next:hover {
  background: rgba(41, 110, 255, 0.6) !important;
  border: none;
}

.btn-prev:hover {
  color: #DADBDD;
}

/* Сетка ответов */
.answers-grid {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.columns-1 {
  grid-template-columns: 1fr;
}

.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Элементы ответов */
.answer-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px;
  width: auto;
  height: auto;
  font-family: "Onest";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  gap: 12px;
  color: #464B55;
  border: 2px solid #F5F6F6;
  background: #F5F6F6;
  border-radius: 12px;
  transition: all 0.2s;
}

.answer-item:hover {
  background: var(--blue-blue-5, rgba(54, 103, 255, 0.05));
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
}

/* Стили ошибок */
.answer-item.is-invalid {
  border: 2px solid #ff4444 !important;
  background: #fff5f5;
  animation: pulseError 0.5s;
}

.text-answer.is-invalid {
  border: 2px solid #ff4444;
  border-radius: 6px;
  padding: 12px;
  background: #fff5f5;
}

.text-answer.is-invalid textarea {
  border: 1px solid #ffcccc;
  background: white;
}

.quiz-content .error-message {
  color: #ff4444;
  font-size: 0.9em;
  margin: 8px 0 0;
  padding-left: 4px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

/* Анимации */
@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-3px);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes pulseError {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}
.shake {
  animation: shake 0.5s;
}

/* border: 2px solid #ff4444; */
.answers-grid.is-invalid {
  border-radius: 6px;
  padding: 10px;
  background: #fff5f5;
  animation: pulseError 0.5s;
}

.answers-grid.is-invalid .answer-item {
  border-color: #ffcccc;
}

.quiz-content .error-message {
  color: #ff4444;
  font-size: 0.9em;
  margin: 8px 0 0 10px;
}

/* border: 2px solid #ff4444 !important; */
.answers-grid.is-invalid {
  border-radius: 6px;
  padding: 10px;
  margin: -2px; /* Компенсируем границу */
  background: #fff5f5;
}

.answers-grid.is-invalid .answer-item {
  border-color: #ffcccc;
}

.question-title {
  font-size: 26px;
  color: #464B55;
  /* Head/Head-32-SemiBold */
  font-family: "Onest";
  font-style: normal;
  font-weight: 600;
}

.question-counter {
  color: #464B55;
  /* Body/Body-16-Regular */
  font-family: "Onest";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}

.qwiz .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 600px;
  width: 660px;
  background: #FFFFFF;
  border: 1px solid #296EFF;
  border-radius: 36px;
  padding: 36px;
}

.quiz-content {
  height: 100%;
}

.question-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 16px;
  width: auto;
}

.form-control {
  border-radius: var(--radius-atom, 12px) !important;
  background: #F5F6F6 !important;
  border: none !important;
}

.form-control::placeholder {
  color: #DADBDD !important;
  /* Head/Head-16-SemiBold */
  font-family: "Onest";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
}

.text-answer textarea {
  color: var(--dark-dark-100, #464B55) !important;
  /* Head/Head-16-SemiBold */
  font-family: "Onest";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
}

.comment-field textarea:focus {
  outline: none;
  box-shadow: none;
}

.comment-field {
  margin-top: -50px;
}

.text-answer textarea:focus {
  outline: none;
  box-shadow: none;
}

.bonus-selected {
  border: 2px solid var(--blue-blue-100, #296EFF) !important;
  background: #FFF !important;
}

input[type=radio] {
  width: 21px;
  height: 21px;
  cursor: pointer;
}

.wiz {
  margin-top: 20px;
}

.opros .modal-body .col-lg-8 .mt-4 {
  margin-top: 2.9rem !important;
}

.opros .modal-body .request__tittle {
  margin-left: 0;
  font-size: 26px;
  padding-bottom: 0;
  width: 100%;
}

.opros-ochnoe .modal-body .request__tittle {
  margin-left: 0;
  font-size: 26px;
  padding-bottom: 14px;
  width: 100%;
}

.opros-agents .modal-body .request__tittle {
  margin-left: 0;
  font-size: 26px;
  padding-bottom: 14px;
  width: 100%;
}

.opros-coop .modal-body .request__tittle {
  margin-left: 0;
  font-size: 26px;
  padding-bottom: 14px;
  width: 100%;
}

.request .container {
  display: flex;
  gap: 20px;
  flex-direction: column;
  align-items: flex-start;
  height: 655px;
  width: 1118px;
  background: #FFFFFF;
  /* blue/blue-100 */
  border: 1px solid #296EFF;
  border-radius: 36px;
  padding: 36px;
}

.row .request__card {
  width: 410px;
  height: 582px !important;
  position: relative;
  border-radius: 24px;
  background: #F8F9FB;
  overflow: hidden; /* Обрежет все, что выходит за границы */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 30px;
  object-fit: contain;
  left: 646px;
  flex-direction: column;
  top: -582px;
}

.request .row .col-md-3 {
  margin-left: -1.2rem;
}

.col-12 .btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 16px 24px;
  gap: 10px;
  width: 600px;
  height: 48px;
  /* blue/blue-100 */
  background: #296EFF;
  border-radius: 12px;
}

.col-md-4 .form-control {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 16px;
  gap: 8px;
  width: 298px;
  height: 48px;
  /* dark/dark-5 */
  background: #F5F6F6;
  border-radius: 12px;
  gap: 10px;
}

.form-control:focus {
  border-color: #ced4da !important; /* стандартный цвет бордера Bootstrap */
  box-shadow: none !important;
  background: #F5F6F6;
}

.col-md-3 .form-control {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 16px;
  gap: 8px;
  width: 266px;
  height: 48px;
  /* dark/dark-5 */
  background: #F5F6F6;
  border-radius: 12px;
  gap: 10px;
  margin-left: 0;
}

.col-md-3 .form-label {
  margin-left: 0;
}

.qwiz .row {
  width: 133%;
}

.form-label {
  font-family: "Onest";
  color: #464B55;
}

/* Стиль для состояния hover */
#phoneInput:hover::placeholder {
  color: #666;
}

/* Стиль для состояния focus */
#phoneInput:focus::placeholder {
  color: transparent;
}

/* Стиль для активного состояния (когда поле активно и вводится текст) */
#phoneInput:active::placeholder {
  color: transparent;
}

#phoneInput::placeholder {
  color: #999 !important;
  opacity: 1; /* Firefox по умолчанию делает placeholder полупрозрачным */
}

#phoneInput {
  /* Цвет курсора */
  caret-color: #296EFF;
  color: #000;
}

/* Стиль для заполненного поля */
#phoneInput:not(:placeholder-shown) {
  background-color: #EDEDEE;
  color: #464B55; /* Полупрозрачный текст */
  font-family: "Onest";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
}

#nameInput {
  /* Цвет курсора */
  caret-color: #296EFF;
  color: #464B55;
  font-family: "Onest";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
}

#nameInput:focus {
  background-color: #EDEDEE;
}

#emailInput {
  /* Цвет курсора */
  caret-color: #296EFF;
  color: #464B55;
  font-family: "Onest";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
}

#emailInput:focus {
  background-color: #EDEDEE;
}

#innInput {
  /* Цвет курсора */
  caret-color: #296EFF;
  color: #464B55;
  font-family: "Onest";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
}

#innInput:focus {
  background-color: #EDEDEE;
}

#companyInput {
  /* Цвет курсора */
  caret-color: #296EFF;
  color: #464B55;
  font-family: "Onest";
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
}

#companyInput:focus {
  background-color: #EDEDEE;
}

.form-check-input.is-valid ~ .form-check-label, .was-validated .form-check-input:valid ~ .form-check-label {
  color: #464B55 !important;
}

.form-check-input.is-valid:checked, .was-validated .form-check-input:valid:checked {
  background-color: #0d6efd !important;
}

.form-group .form-input {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 16px;
  gap: 8px;
  width: 298px;
  height: 56px;
  /* dark/dark-5 */
  background: #F5F6F6;
  border-radius: 12px;
}

.col-12 .form-control {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 16px;
  gap: 8px;
  width: 600px;
  height: 48px;
  /* dark/dark-5 */
  background: #F5F6F6;
  border-radius: 12px;
}

.col-12 .form-check-label {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  /* or 17px */
  /* dark/dark-100 */
  color: #464B55;
}

.col-md-3 .invalid-feedback {
  margin-left: 0;
}

.invalid-feedback {
  color: rgb(243, 41, 129) !important;
  position: absolute;
}

/* Hover состояние */
.form-control:hover {
  background: rgb(237, 237, 238) !important;
}

.form-control {
  border: rgb(245, 246, 246) !important;
}

/* Error состояние */
.was-validated .form-control:invalid {
  background: rgba(243, 41, 129, 0.1) !important;
}

.was-validated .form-control:valid {
  background-image: none !important;
}

@media (min-width: 992px) {
  .col-lg-8 {
    flex: 0 0 auto;
    width: auto !important;
  }
}
#applicationForm {
  display: none;
}

.thanks {
  display: none;
  flex-direction: column;
  align-items: center;
  align-content: space-between;
  width: 100%;
  justify-content: space-between;
  text-align: center;
  margin-top: 9rem;
}

.equest__tittle {
  font-family: "Onest";
  font-weight: 600;
  font-size: 26px;
  color: #464B55;
}

.thanks__countdown {
  color: var(--dark-dark-60, #909399);
  text-align: center;
  /* Body/Body-14-Regular */
  font-family: "Onest";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
}

.answer-text {
  width: 84%;
}

@media (max-width: 500px) {
  .qwiz .container {
    width: 360px;
    padding: 16px;
    border-radius: 24px;
    height: auto;
  }
  .container {
    width: 460px;
  }
  .question-title {
    font-size: 20px;
  }
  .question-wrapper {
    width: 302px;
  }
  .text-answer {
    margin-top: 0;
  }
  .col-md-4 .form-control {
    width: 292px;
  }
  .col-md-3 .form-control {
    width: 292px;
  }
  .col-12 .form-control {
    width: 292px;
  }
  .col-12 .btn {
    width: 292px;
  }
  .qwiz .row {
    width: 108%;
  }
  .equest__tittle {
    font-size: 20px;
  }
  .thanks {
    margin-top: 0;
  }
  .request .container .row {
    padding: 0 !important;
    width: 110%;
  }
  .request .container {
    height: auto;
    width: 326px;
    padding: 16px;
    border-radius: 24px;
  }
  .request .row .col-md-3 {
    margin-left: 0;
  }
  .quiz-progress {
    margin-top: 20px;
    display: flex;
    gap: 8px;
    padding: 10px 0;
    margin-left: 0rem;
    justify-content: space-between;
    width: 153%;
  }
  .opros .modal-body .col-lg-8 .mt-4 {
    margin-top: 0 !important;
  }
  .quiz-controls {
    gap: 0;
    flex-direction: column;
  }
  .opros .modal-body .request__tittle {
    font-size: 20px;
  }
  .opros-ochnoe .modal-body .request__tittle {
    font-size: 20px;
    margin-left: 0 !important;
  }
  .opros-agents .modal-body .request__tittle {
    font-size: 20px;
  }
  .opros-coop .modal-body .request__tittle {
    font-size: 20px;
  }
  .btn-prev {
    padding: 15px 15px;
    gap: 10px;
    width: 122px;
  }
  .mob {
    gap: 76px !important;
  }
  .comment-field {
    margin-top: 20px;
  }
}
.mob {
  display: flex;
  gap: 20px;
}

/*# sourceMappingURL=quizSATIL.css.map */
