/* ===== FORM — FIXED BASELINE ===== */

.wrapper {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 24px;
}

.page-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.counter {
  text-align: center;
  opacity: 0.7;
  margin-bottom: 12px;
}

.progress {
  height: 6px;
  background: #1e293b;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 28px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  transition: width 0.3s;
}

/* QUESTION CARD */
.card {
  background: rgba(255,255,255,0.05);
  border-radius: 22px;
  padding: 28px;
}

/* QUESTION */
.question {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 22px;
}

/* ANSWERS */
.answers{
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* label */
.answer{
  display:block;
  padding:0;              /* важно */
  background:transparent; /* важно */
  cursor:pointer;
}

.answer input{
  display:none;
}

/* span внутри label — становится “кнопкой” */
.answer-label{
  display:block;          /* важно: теперь занимает всю ширину */
  width:100%;
  background:#1e293b;
  padding:16px 18px;
  border-radius:14px;
  font-size:17px;
  text-align:center;
  user-select:none;       /* чтобы текст не “выделялся”L */
}

/* выбранный вариант — красим весь “пилюльный” блок */
.answer input:checked + .answer-label{
  background:#2563eb;
}
/* BUTTON */
.btn-wide {
  width: 100%;
  padding: 18px;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 700;
  margin-top: 18px;
}

.btn-primary {
  background: #22c55e;
  color: #022c22;
  border: none;
}

.btn-primary:disabled {
  opacity: 0.4;
}