/* Наше поверх комплекта «Разбор долгов» (10.11.2026): строка ошибки формы и окно «Нужно ваше согласие».
   Цвета и кнопки — переменные и классы комплекта (styles.css). */

.quiz-lead-error {
  margin: 14px 0 0;
  color: #a12f24;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.quiz-lead-error a,
#quiz-below-minimum a {
  color: inherit;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- окно согласия ---- */
.consent-dialog {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(23, 27, 25, .5);
}

.consent-dialog[hidden] { display: none !important; }

.consent-dialog__window {
  width: min(100%, 440px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 30px 26px 18px;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(23, 27, 25, .22);
  text-align: center;
}

.consent-dialog__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.5px;
}

.consent-dialog__text {
  margin: 12px 0 22px;
  color: #536057;
  font-size: 16px;
  line-height: 1.5;
}

.consent-dialog__text a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-dialog__accept {
  width: 100%;
}

.consent-dialog__back {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 16px;
}

.consent-dialog__back:hover { color: var(--forest); }

@media (max-width: 700px) {
  .quiz-lead-error { font-size: 14px; }
  .consent-dialog__window { padding: 26px 18px 14px; }
  .consent-dialog__title { font-size: 22px; }
  .consent-dialog__text { font-size: 15px; }
}
