

/* Start:/local/components/maksimum-art/quiz-maksimum-art/templates/.default/style.css?17799985124482*/
.quiz152 {
  max-width: 600px;
  margin: 40px auto;
  padding: 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, .12);
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #333
}

.quiz152__progress {
  height: 6px;
  width: 100%;
  background: #d6dde6;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 28px
}

.quiz152__progress-bar {
  height: 100%;
  width: 0;
  background: #f59f0a;
  transition: width .35s ease
}

.quiz152__step,
.quiz152__final {
  animation: quiz152-fade .25s ease
}

.quiz152__counter {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px
}

.quiz152__question {
  font-size: 20px;
  line-height: 1.45;
  color: #0f172a;
  margin: 0 0 24px
}

.quiz152__answers {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.quiz152__btn {
  flex: 1 1 140px;
  max-height: 52px;
  padding: 12px 24px;
  border: 1px solid #253B57;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease
}

.quiz152__btn:hover {
  background: #f59f0a;
  color: #fff;
  border-color: #f59f0a
}

.quiz152__btn--no:hover {
  background: #CD663E;
  border-color: #CD663E
}

.quiz152__btn:disabled {
  opacity: .6;
  cursor: not-allowed
}

.quiz152__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px
}

.quiz152__input,
.quiz152__textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #253B57;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color .2s
}

.quiz152__input:focus,
.quiz152__textarea:focus {
  border-color: #f59f0a
}

.quiz152__textarea {
  min-height: 100px;
  resize: vertical
}

.quiz152__notice {
  font-size: 13px;
  color: #555;
  margin: 6px 0 0;
  text-align: center
}

.quiz152__result {
  margin-top: 16px;
  font-size: 15px;
  text-align: center
}

.quiz152__result--ok {
  color: green
}

.quiz152__result--error {
  color: #c62828
}

/* === Капча: единый блок в одну строку === */
.quiz152__captcha {
  display: flex;
  align-items: stretch;
  /* все элементы одинаковой высоты */
  gap: 8px;
  width: 100%;
  flex-wrap: nowrap;
}

.quiz152__captcha-img {
  height: 50px;
  width: auto;
  max-width: 140px;
  border: 1px solid #253B57;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
  flex: 0 0 auto;
  display: block;
}

.quiz152__captcha-reload {
  width: 50px;
  height: 50px;
  border: 1px solid #253B57;
  border-radius: 10px;
  background: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all .2s;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.quiz152__captcha-reload:hover {
  background: #f59f0a;
  color: #fff;
  border-color: #f59f0a;
}

.quiz152__captcha-input {
  flex: 1 1 auto;
  min-width: 0;
  /* чтобы flex не растягивал контейнер */
  height: 50px;
  padding: 0 16px;
  border: 1px solid #253B57;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color .2s;
}

.quiz152__captcha-input:focus {
  border-color: #f59f0a;
}

/* === Мобильная версия === */
@media (max-width: 560px) {
  .quiz152 {
    padding: 20px;
    margin: 20px auto;
    border-radius: 12px;
  }

  .quiz152__captcha {
    flex-wrap: wrap;
    gap: 8px;
  }

  .quiz152__captcha-img {
    height: 46px;
    max-width: 120px;
    flex: 0 0 auto;
  }

  .quiz152__captcha-reload {
    width: 46px;
    height: 46px;
    font-size: 18px;
    flex: 0 0 auto;
  }

  /* поле ввода — на всю ширину второй строкой */
  .quiz152__captcha-input {
    flex: 1 1 100%;
    order: 3;
    height: 46px;
  }
}

@media (max-width: 380px) {
  .quiz152__captcha-img {
    max-width: 100px;
  }
}

.quiz152__agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #555;
  line-height: 1.4
}

.quiz152__agree input[type=checkbox] {
  margin-top: 3px;
  flex: 0 0 auto
}

.quiz152__agree a {
  color: #f59f0a;
  text-decoration: underline
}

.quiz152__agree a:hover {
  color: #CD663E
}

@keyframes quiz152-fade {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}
/* End */
/* /local/components/maksimum-art/quiz-maksimum-art/templates/.default/style.css?17799985124482 */
