/* ========================
   Question blocks
   ======================== */
.q-block {
  margin-bottom: 1.1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.q-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.q-text {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.opt {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.84rem;
  line-height: 1.45;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background 0.12s, border-color 0.12s;
  -webkit-user-select: none;
  user-select: none;
}

.opt:hover {
  background: var(--surface);
  border-color: var(--border);
}

.opt input[type="radio"] {
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--text);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.opt.is-selected {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* ========================
   Submit button
   ======================== */
.btn-check {
  display: block;
  width: 100%;
  padding: 0.85rem;
  margin-top: 1.5rem;
  background: var(--text);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.02em;
  transition: opacity 0.15s;
}

.btn-check:hover {
  opacity: 0.85;
}

/* ========================
   Form error
   ======================== */
.form-error {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: #c0392b;
  text-align: center;
}

/* ========================
   Verdict box
   ======================== */
.verdict-box {
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 1.25rem;
}

.verdict-box.v-wait {
  background: var(--surface);
  color: var(--text);
}

.verdict-box.v-think {
  background: #f5f0e8;
  color: #5a4520;
}

.verdict-box.v-buy {
  background: var(--text);
  color: #fff;
}

.verdict-score {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.verdict-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.verdict-desc {
  font-size: 0.84rem;
  line-height: 1.8;
  opacity: 0.8;
}

/* ========================
   Score breakdown
   ======================== */
.score-detail {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.score-heading {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.score-row:last-child {
  margin-bottom: 0;
}

.score-cat {
  font-size: 0.72rem;
  color: var(--text-muted);
  width: 4.5rem;
  flex-shrink: 0;
}

.score-bar-wrap {
  flex: 1;
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.score-bar {
  height: 100%;
  background: var(--text);
  border-radius: 3px;
  width: 0%;
  transition: width 0.6s ease;
}

@media (max-width: 480px) {
  .verdict-title { font-size: 1.6rem; }
}
