.no-scroll {
  overflow: hidden;
}

.blur {
  filter: blur(4px);
}

.quiz-preview {
  display: none;

  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow-y: auto;
}

.quiz-preview__container {
  display: flex;
  background: white;
  margin: 20px auto;
  max-width: 1000px;
  height: fit-content;
  border-radius: 8px;
  overflow: hidden;

  position: relative;
}

.quiz-preview__column-left {
  padding: 32px;
  width: 50%;
}

.quiz-preview__column-right {
  width: 50%;
  position: relative;
}

.quiz-preview__logo {
  height: 90px;
  width: 180px;
  margin-bottom: 60px;
}

.quiz-preview__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quiz-preview__text-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.quiz-preview__title {
  font-size: 40px;
  line-height: 48px;
  font-weight: 600;
  color: var(--mainText);
  text-transform: uppercase;
  margin-bottom: 0;
}

.quiz-preview__subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--mainText);
  margin-bottom: 0;
}

.quiz-preview__preview-container {
  position: absolute;
  top: 32px;
  left: 32px;
  color: #fff;
  cursor: pointer;
}

.quiz-preview__preview-text-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-preview__close-btn {
  position: absolute;
  top: 32px;
  right: 32px;
  cursor: pointer;
}

.quiz-preview__preview-title {
  margin-bottom: 0;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 18px;
  background: linear-gradient(90deg, #cbcbcb 0%, #a3a3a3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.quiz-preview__preview-subtitle {
  margin-bottom: 0;
  font-weight: 900;
  font-size: 40px;
  line-height: 40px;
  text-align: end;
  font-family: var(--font-neue);
  background: linear-gradient(90deg, #1362aa 0%, #56a7f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ----------------------- Основная модалка КВИЗА --------------------------- */
.quiz {
  display: none;

  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow-y: auto;
  font-family: var(--font-montserrat);
}

.quiz__container {
  display: flex;
  flex-direction: column;
  background: white;
  margin: 20px auto;
  width: 1000px;
  max-width: 1000px;
  height: fit-content;
  border-radius: 8px;
  overflow: hidden;

  position: relative;
}

.quiz__header {
  display: flex;
  justify-content: space-between;
  padding: 28px 32px 20px 32px;
  border-bottom: 1px solid #e5e6e8;
}

.quiz__header-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--mainText);
}

.quiz__close-btn {
  cursor: pointer;
}

.quiz__body {
  display: flex;
  height: 428px;
}

.quiz__content-container {
  position: relative;
  padding: 24px 24px 24px 32px;
  width: 65%;
}

.quiz__steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  height: 24px;
}

.quiz__steps-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #e5e6e8;
}

.quiz__steps-circle.current {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #0252a7;
  background-color: inherit;
}

.quiz__steps-circle.active {
  position: relative;
  background-color: #0252a7;
}

.quiz__steps-circle.active::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 4px;
  background-image: url("./../images/newImages/checkedIcon.svg");
  width: 14px;
  height: 10px;
}

.quiz__steps-circle-icon.current {
  width: 8px;
  height: 8px;
  background-color: #0252a7;
  border-radius: 50%;
}

.quiz__steps-line {
  width: 245px;
  height: 2px;
  border-radius: 50%;
  background-color: #e5e6e8;
}

.quiz__steps-line.active {
  background-color: #0252a7;
}

.quiz__title {
  font-size: 20px;
  color: var(--mainText);
  font-weight: 500;
  margin-bottom: 24px;
}

.quiz__subtitle {
  font-size: 14px;
  font-weight: 500;
  color: #909294;
  margin-bottom: 24px;
}

.quiz__person-info {
  display: flex;
  flex-direction: column;
  padding: 24px 32px 24px 24px;
  gap: 24px;
  width: 35%;
  background-color: #f4f6f6;
}

.quiz__person {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quiz__person-position {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 500;
  color: #909294;
}

.quiz__person-img {
  width: 64px;
  height: 64px;
}

.quiz__person-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.quiz__person-name {
  font-size: 20px;
  color: var(--mainText);
  font-weight: 500;
  margin-bottom: 0;
}

.quiz__person-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quiz__input-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #dedede;
  color: var(--mainText);
  font-size: 16px;
  font-weight: 500;
  font-size: 14px;
}

.quiz__text {
  color: var(--mainText);
  font-weight: 500;
  margin-bottom: 0;
  font-size: 14px;
}

.quiz__radios-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 52px;
}

.quiz__void-input {
  height: 48px;
}

.quiz__btns-container {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.quiz__btns-container .button {
  font-size: 16px;
}

.quiz__back-btn {
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--mainText);
  background-color: #f1f1f1;
  border: none;
  outline: none;
  border-radius: 10px;
}

.quiz__input-contacts {
  display: flex;
  width: 100%;
  gap: 24px;
  margin-bottom: 128px;
}

.quiz__input-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 33%;
}

.quiz__input-container label {
  color: #6c6e70;
}

.quiz__personal-data {
  display: none;
  font-size: 14px;
  font-weight: 500;
  color: #909294;
  width: 270px;

  position: absolute;
  bottom: 24px;
  left: 32px;
}

.quiz__finish-step {
  display: none;
}

.quiz__finish {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 24px 24px 32px;
}

.quiz__finish-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.quiz__finish-title {
  color: var(--mainText);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 0;
  text-align: center;
}

.quiz__finish-price {
  text-align: center;
  font-size: 40px;
  margin-bottom: 0;
  color: #0252a7;
  font-weight: 600;
}

.quiz__finish-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--mainText);
  font-weight: 400;
}

.quiz__finish-btns {
  display: flex;
  gap: 8px;
}

.quiz__finish-btns > * {
  width: 50%;
}

.quiz__finish-btns .button {
  font-size: 16px;
}

.custom-checkbox {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 50%;
  transition: all 0.3s;
  box-sizing: border-box;
}

.custom-checkbox:hover .checkmark {
  border-color: #888;
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: #0252a7;
  border-color: #0252a7;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 8px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Пример использования с текстом */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px;
}
