/* ============================================
   PRACTICE TEST 2 — READING PASSAGE 3
   Insight or evolution?
   ============================================ */

.pt2r3-inst-header { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 14px 20px; margin-bottom: 18px; }
.pt2r3-inst-label { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--gold); margin-bottom: 4px; }
.pt2r3-inst-text  { font-size: 1rem; color: rgba(255,255,255,0.88); line-height: 1.6; margin-bottom: 4px; }
.pt2r3-inst-tips  { font-size: .85rem; color: rgba(255,255,255,0.45); font-style: italic; }
.pt2r3-inst-sub   { font-size: .88rem; color: rgba(255,255,255,0.5); margin: -4px 0 12px; font-style: italic; }

.pt2r3-score-banner {
  display: flex; align-items: center; gap: 16px;
  background: rgba(251,191,36,0.08); border: 1.5px solid rgba(251,191,36,0.3);
  border-radius: 12px; padding: 16px 22px; margin-bottom: 20px; flex-wrap: wrap;
}
.pt2r3-score-big   { font-size: 2.6rem; font-weight: 900; color: var(--gold); line-height: 1; }
.pt2r3-score-denom { font-size: 1.4rem; color: rgba(255,255,255,0.4); }
.pt2r3-score-label { font-size: 1rem; color: rgba(255,255,255,0.8); flex: 1; }
.pt2r3-exp-hint    { font-size: .85rem; color: rgba(255,255,255,0.5); font-style: italic; width: 100%; }

/* ── Layout ── */
.pt2r3-content-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; position: relative; }
@media (max-width: 900px) { .pt2r3-content-wrap { grid-template-columns: 1fr; } }
.pt2r3-left-col  { min-width: 0; }
.pt2r3-right-col {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 0; min-width: 0; overflow: hidden; position: relative;
}

.pt2r3-section-head { font-size: 1rem; font-weight: 700; color: var(--gold); margin: 22px 0 6px; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 6px; }

/* ── Q badge ── */
.pt2r3-q-badge { min-width: 28px; height: 28px; border-radius: 50%; background: #7c3aed; color: #fff; font-size: .82rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pt2r3-q-badge-blue { background: #1d4ed8; }

/* ── MC4 (Q27–31) ── */
.pt2r3-mc4-row { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; }
.pt2r3-mc4-head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; flex-wrap: wrap; }
.pt2r3-mc4-q    { font-size: .97rem; color: rgba(255,255,255,0.88); line-height: 1.6; flex: 1; }
.pt2r3-mc4-opts { display: flex; flex-direction: column; gap: 7px; }
.pt2r3-mc4-opt {
  display: flex; align-items: flex-start; gap: 10px;
  border: 2px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 9px 14px;
  cursor: pointer; font-size: .95rem; color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.03); transition: border-color .15s, background .15s; user-select: none;
}
.pt2r3-mc4-opt:hover      { border-color: var(--gold); }
.pt2r3-mc4-opt.selected   { border-color: var(--gold); background: rgba(251,191,36,0.1); color: var(--gold); font-weight: 700; }
.pt2r3-mc4-opt.opt-ok     { border-color: #4ade80; background: rgba(74,222,128,.1); color: #4ade80; font-weight: 700; }
.pt2r3-mc4-opt.opt-err    { border-color: #f87171; background: rgba(248,113,113,.08); color: #f87171; }
.pt2r3-mc4-opt.opt-correct { border-color: #4ade80; background: rgba(74,222,128,.07); color: #4ade80; }
.pt2r3-mc4-letter { font-weight: 900; min-width: 20px; flex-shrink: 0; }
.pt2r3-mc4-text   { flex: 1; }

/* ── YES/NO/NOT GIVEN (Q32–36) ── */
.pt2r3-ynn-row { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; }
.pt2r3-ynn-head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; flex-wrap: wrap; }
.pt2r3-ynn-text { font-size: .97rem; color: rgba(255,255,255,0.88); line-height: 1.6; flex: 1; }
.pt2r3-ynn-opts { display: flex; gap: 7px; flex-wrap: wrap; }
.pt2r3-ynn-opt {
  border: 2px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 7px 14px;
  font-weight: 800; font-size: .85rem;
  color: rgba(255,255,255,0.7); cursor: pointer; background: rgba(255,255,255,0.03);
  transition: border-color .15s, background .15s; user-select: none; white-space: nowrap;
}
.pt2r3-ynn-opt:hover      { border-color: var(--gold); color: var(--gold); }
.pt2r3-ynn-opt.selected   { border-color: var(--gold); background: rgba(251,191,36,0.15); color: var(--gold); }
.pt2r3-ynn-opt.opt-ok     { border-color: #4ade80; background: rgba(74,222,128,.15); color: #4ade80; }
.pt2r3-ynn-opt.opt-err    { border-color: #f87171; background: rgba(248,113,113,.1); color: #f87171; }
.pt2r3-ynn-opt.opt-correct { border-color: #4ade80; background: rgba(74,222,128,.08); color: #4ade80; }
.pt2r3-ynn-label { font-weight: 800; }

/* ── Word-bank summary (Q37–40) ── */
.pt2r3-wordbank {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 10px 16px; font-size: .9rem;
}
.pt2r3-wordbank strong { color: var(--gold); margin-right: 3px; }
.pt2r3-exam-box {
  background: rgba(255,255,255,0.04); border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 20px 24px; font-family: 'Georgia', serif;
  line-height: 2.4; color: rgba(255,255,255,0.85); margin-bottom: 20px;
}
.pt2r3-exam-title { font-size: 1.05rem; font-weight: 700; text-align: center; margin-bottom: 14px; font-family: 'Inter', sans-serif; color: var(--gold); border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 10px; }
.pt2r3-exam-box p { margin: 0; }
.pt2r3-wb-select {
  display: inline-block; background: #1a1a30; border: 2px solid rgba(255,255,255,0.2);
  border-radius: 6px; color: rgba(255,255,255,0.9); font-size: .9rem; font-family: 'Georgia', serif;
  padding: 2px 6px; cursor: pointer; vertical-align: middle; margin: 0 4px;
  transition: border-color .15s;
}
.pt2r3-wb-select option { background: #1a1a30; color: rgba(255,255,255,0.9); }
.pt2r3-wb-select:focus { outline: none; border-color: var(--gold); }
.pt2r3-wb-sel { display: inline-block; padding: 2px 8px; border-radius: 6px; font-family: 'Inter', sans-serif; font-size: .88rem; margin: 0 4px; vertical-align: middle; }
.pt2r3-wb-sel.wb-ok  { background: rgba(74,222,128,.15); color: #4ade80; font-weight: 700; border: 1px solid #4ade80; }
.pt2r3-wb-sel.wb-err { background: rgba(248,113,113,.1); color: #f87171; font-weight: 700; border: 1px solid #f87171; }
.pt2r3-q-num     { font-size: .78rem; font-weight: 700; color: var(--gold); vertical-align: super; margin-right: 1px; font-family: 'Inter', sans-serif; }
.pt2r3-correct-ans { color: #4ade80; font-weight: 700; font-size: .88rem; margin-left: 4px; font-family: 'Inter', sans-serif; }

/* ── Why button ── */
.pt2r3-why-btn {
  background: rgba(251,191,36,0.12); border: 1px solid rgba(251,191,36,0.4);
  color: var(--gold); border-radius: 6px; padding: 2px 9px;
  font-size: .78rem; font-weight: 700; cursor: pointer; transition: background .15s;
  vertical-align: middle; margin-left: 4px;
}
.pt2r3-why-btn:hover { background: rgba(251,191,36,0.25); }

/* ── Passage panel ── */
.pt2r3-passage-title-bar { font-size: 1rem; font-weight: 700; color: var(--gold); padding: 14px 22px 12px; background: rgba(14,14,28,0.97); border-bottom: 1px solid rgba(255,255,255,0.07); position: sticky; top: 0; z-index: 2; }
.pt2r3-passage-card { font-size: 1.06rem; line-height: 2.1; color: rgba(255,255,255,0.88); padding: 18px 24px 30px; font-family: 'Georgia', serif; letter-spacing: 0.01em; }
.pt2r3-passage-card p { margin: 0 0 14px; }
.pt2r3-passage-title { font-size: 1.15rem; font-weight: 700; color: rgba(255,255,255,0.97); font-family: 'Inter', sans-serif; margin-bottom: 18px; line-height: 1.4; }

/* ── Context highlights ── */
.pt2r3-ctx { background: rgba(251,191,36,0.12); border-radius: 4px; padding: 1px 3px; border-bottom: 2px solid rgba(251,191,36,0.35); transition: background .3s; }
.pt2r3-ctx.active { background: rgba(245,200,66,0.3); border-bottom-color: #f5c842; animation: pt2r3-pulse 1.4s ease-in-out; }
@keyframes pt2r3-pulse { 0%,100%{background:rgba(245,200,66,0.22);} 50%{background:rgba(245,200,66,0.5);} }
.pt2r3-ans { color: var(--gold); font-weight: 700; }
.pt2r3-no-hl .pt2r3-ctx { background: none; border-bottom: none; padding: 0; border-radius: 0; }
.pt2r3-no-hl .pt2r3-ans { color: inherit; font-weight: inherit; }

/* ── Exp box + arrow ── */
.pt2r3-exp-box { background: rgba(251,191,36,0.07); border: 1px solid rgba(251,191,36,0.3); border-radius: 8px; padding: 10px 14px; margin: 8px 0 6px; font-size: .9rem; color: rgba(255,255,255,0.85); line-height: 1.65; font-family: 'Inter', sans-serif; }
.pt2r3-arrow-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; overflow: visible; }
