/* ===== Тесты: инструкции, вопросы, спасибо ===== */

.stage { display: grid; place-items: center; margin: 12px 0; }
.stage .card { width: 100%; max-width: 720px; text-align: center; }

/* Инструкции — крупнее текст */
.instruction h2 { font-size: 1.6rem; }
.instruction p, .instruction ul, .instruction ol { font-size: 1.08rem; line-height: 1.65; }

/* Вопрос — ещё крупнее */
.question-text { font-size: 1.38rem; line-height: 1.55; margin: 10px 0 22px 0; }

/* Кнопки Да/Нет по центру, крупные */
.answer-actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.btn-choice {
  padding: 14px 22px;                /* больше */
  font-size: 1.05rem; font-weight: 600;
  min-width: 120px; border-radius: 12px;
}

/* Цвета */
.btn-yes {
  background: #0a7c5a;               /* зелёный */
  border-color: rgba(16,185,129,.50);
}
.btn-yes:hover { background: #0e8e67; }

.btn-no {
  background: #b91c1c;               /* КРАСНЫЙ ПОЯРЧЕ */
  border-color: rgba(239,68,68,.60);
}
.btn-no:hover { background: #dc2626; }

.q-progress { color: var(--muted); font-size: .97rem; }

/* Блок «спасибо» */
.thanks h2 { font-size: 1.6rem; }
.thanks p { font-size: 1.08rem; }

/* Общие компоненты тестов */
.test-card { width: 100%; max-width: 720px; }
.test-heading { margin-top: 0; }
.test-actions { margin-top: 16px; display: flex; justify-content: center; }
.test-actions .btn { min-width: 180px; }
.test-hint { margin-top: 12px; color: var(--muted); }

/* Люшер */
.luscher-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.btn-luscher {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  transition: transform .1s ease, box-shadow .1s ease;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

.btn-luscher:hover,
.btn-luscher:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,.3);
}

.luscher-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}

.luscher-chip {
  position: relative;
  color: #fff;
  padding: 12px 20px 12px 40px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  min-width: 140px;
  text-align: left;
}

.luscher-chip__index {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.25);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: .85rem;
}

.luscher-chip__name {
  display: block;
}

.luscher-interpret {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.luscher-interpret__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.luscher-interpret__item--positive {
  border-left: 5px solid #0a7c5a;
}

.luscher-interpret__item--neutral {
  border-left: 5px solid #2563eb;
}

.luscher-interpret__item--negative {
  border-left: 5px solid #b91c1c;
}

.luscher-interpret__badge {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.luscher-interpret__body p {
  margin: 6px 0 0 0;
  font-size: .95rem;
  line-height: 1.4;
}
