/* ============================================================
   MCQ Radio Style — matches screenshot
   Paste in: Appearance → Customize → Additional CSS
   ============================================================ */

.mcq-block {
  display: grid;
  gap: 32px;
  margin: 1.5rem 0;
  font-family: inherit;
}

/* ── Question Card ── */
.mcq-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

/* ── Question Header ── */
.mcq-q-head {
  background: #fff;
  border: 1.5px solid #d0d0d0;
  border-left: 4px solid var(--tc, #1a4a2e);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.mcq-q-text {
  font-size: 15px;
  font-weight: 600;
  color: #1c2b3a;
  line-height: 1.55;
  word-break: break-word;
}

/* ── Options List ── */
.mcq-opts {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

/* ── Single Option — radio style ── */
.mcq-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1.5px solid #d8d8d8;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
  min-width: 0;
  font-family: inherit;
  transition: border-color .15s, background .15s;
}

.mcq-opt:hover {
  border-color: var(--tc, #1a4a2e);
  background: #f0f7f2;
}

/* Radio circle */
.mcq-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #b0b0b0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, background .15s;
  background: #fff;
}

/* Inner dot — hidden by default */
.mcq-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity .15s;
}

.mcq-opt-txt {
  font-size: 14px;
  color: #2d2d2d;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
  word-break: break-word;
  white-space: normal;
}

/* ── Answered — lock all options ── */
.mcq-opt.mcq-answered {
  pointer-events: none;
}

.mcq-opt.mcq-answered:not(.mcq-correct):not(.mcq-wrong) {
  opacity: .55;
}

/* ── Correct option ── */
.mcq-opt.mcq-correct {
  border-color: #2e7d32;
  background: #e8f5e9;
}

.mcq-opt.mcq-correct .mcq-radio {
  border-color: #2e7d32;
  background: #2e7d32;
}

.mcq-opt.mcq-correct .mcq-radio::after {
  opacity: 1;
}

.mcq-opt.mcq-correct .mcq-opt-txt {
  color: #1b5e20;
  font-weight: 500;
}

/* ── Wrong chosen option ── */
.mcq-opt.mcq-wrong {
  border-color: #e53935;
  background: #ffebee;
}

.mcq-opt.mcq-wrong .mcq-radio {
  border-color: #e53935;
  background: #e53935;
}

.mcq-opt.mcq-wrong .mcq-radio::after {
  opacity: 1;
}

.mcq-opt.mcq-wrong .mcq-opt-txt {
  color: #b71c1c;
}

/* ── Explanation Box ── */
.mcq-exp-box {
  display: none;
  background: #e8f5e9;
  border: 1.5px solid #a5d6a7;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 4px;
}

.mcq-exp-box.mcq-exp-show {
  display: block;
}

.mcq-exp-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #1b5e20;
  margin-bottom: 8px;
}

.mcq-exp-check {
  width: 20px;
  height: 20px;
  background: #2e7d32;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  flex-shrink: 0;
}

.mcq-exp-text {
  font-size: 13.5px;
  color: #2d4a2d;
  line-height: 1.65;
  word-break: break-word;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .mcq-q-head  { padding: 12px 14px; }
  .mcq-q-text  { font-size: 13.5px; }
  .mcq-opts    { gap: 8px; }
  .mcq-opt     { padding: 11px 14px; gap: 10px; }
  .mcq-opt-txt { font-size: 13px; }
  .mcq-radio   { width: 20px; height: 20px; }
  .mcq-radio::after { width: 8px; height: 8px; }
  .mcq-exp-box { padding: 12px 14px; }
  .mcq-exp-text{ font-size: 13px; }
}
