/* ============================================
   LESSON 23 — SPECIFIC STYLES
   Reaching a Decision
   ============================================ */

/* ── Section tag ── */
.l23-section-tag {
  display: inline-block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 3px 10px;
  border: 1.5px solid rgba(201,168,76,.35);
  background: rgba(201,168,76,.07);
  border-radius: 10px;
  margin-bottom: 8px;
}

/* ── Question stack ── */
.l23-q-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 8px;
}
.l23-q-block {
  padding: 16px 18px;
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}
.l23-q-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
}

/* ── Option buttons ── */
.l23-opt-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.l23-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s;
}
.l23-opt:hover:not(:disabled) { border-color: var(--gold); background: rgba(201,168,76,.05); }
.l23-opt-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
  transition: background .15s, border-color .15s;
}
.l23-opt-text { flex: 1; font-weight: 500; }
.l23-opt-sel     { border-color: var(--gold)    !important; background: rgba(201,168,76,.08) !important; }
.l23-opt-correct { border-color: var(--success) !important; background: rgba(74,222,128,.07) !important; }
.l23-opt-wrong   { border-color: var(--error)   !important; background: rgba(248,113,113,.07) !important; }
.l23-opt:disabled { cursor: not-allowed; opacity: .75; }

/* ── Inline explanation panels ── */
.l23-inline-exp {
  margin: 6px 0 14px 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: .97rem;
  line-height: 1.9;
  border: 1px solid var(--border);
}
.l23-exp-ok  { background: rgba(72,199,116,.08); border-color: var(--success); }
.l23-exp-err { background: rgba(255,100,100,.07); border-color: var(--error); }

/* ── Explanation ── */
.l23-exp-stack { display: flex; flex-direction: column; gap: 16px; }
.l23-exp-block {
  padding: 14px 16px;
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}
.l23-exp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 1rem;
}
.l23-exp-row:last-child { margin-bottom: 0; }
.l23-exp-correct { background: rgba(74,222,128,.07);  border: 1px solid rgba(74,222,128,.2);  }
.l23-exp-wrong   { background: rgba(248,113,113,.05); border: 1px solid rgba(248,113,113,.15); }
.l23-exp-icon { font-size: 1rem; flex-shrink: 0; }
.l23-exp-text { color: var(--text-muted); }
.l23-exp-correct .l23-exp-text { color: var(--text); font-weight: 600; }

/* ── Study Tip ── */
.l23-tip-box { display: flex; flex-direction: column; gap: 14px; }
.l23-tip-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-card-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}
.l23-tip-icon  { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.l23-tip-title { font-weight: 700; color: var(--gold); margin-bottom: 4px; font-size: 1rem; }
.l23-tip-body  { color: var(--text-muted); font-size: .97rem; line-height: 1.55; margin: 0; }

.l23-phrase-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.l23-chip {
  padding: 5px 12px;
  border-radius: 14px;
  font-size: .8rem;
  font-weight: 600;
  font-style: italic;
  border: 1.5px solid rgba(201,168,76,.3);
  background: rgba(201,168,76,.07);
  color: var(--gold);
}

/* ── Shake animation ── */
@keyframes l23-shake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-6px); }
  40%     { transform: translateX(6px); }
  60%     { transform: translateX(-4px); }
  80%     { transform: translateX(4px); }
}
.l23-shake { animation: l23-shake .4s ease; }
