/* ============================================================
   Radio cards
   Stacked full-width options with a real radio on the left
   (QC level on step 3, proto mode on step 4).
   ============================================================ */

.qc-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Same cards on step 4, where they sit above the fields they reveal
   and want a tighter rhythm. */
.qc-list--tight {
  gap: 8px;
  margin-bottom: 22px;
}

.qc-list--tight .qc-card {
  padding: 12px 14px;
}

.qc-card {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 15px 16px;
  cursor: pointer;
  font: inherit;
  transition: all .15s;
}

.qc-card:hover {
  border-color: #3d4f60;
}

.qc-card.is-selected {
  background: rgba(20, 184, 166, .06);
  border-color: var(--accent);
}

.qc-card__name {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
}

.qc-card__desc {
  display: block;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 3px;
  line-height: 1.45;
  text-wrap: pretty;
}

/* ---------- Radio ---------- */

.radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--text-dim);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qc-card.is-selected .radio {
  border-color: var(--accent);
}

/* Scaled from 0 rather than toggled, so selection animates */
.radio__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform .15s;
}

.qc-card.is-selected .radio__dot {
  transform: scale(1);
}
