/* Practice features: mock test card, streaks, trouble spots, badges.
   Kept in its own file so it can't clash with the brand look in styles.css. */
.mock-card { display: flex; flex-direction: column; gap: 12px; }
.mock-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mock-verdict { font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.03em; }
.mock-card.pass .mock-verdict { color: var(--sign); }
.mock-card.fail .mock-verdict { color: var(--red-ink); }
.mock-card.incomplete .mock-verdict { font-size: 28px; color: var(--muted); }
.mock-rows { display: flex; flex-direction: column; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--faint); }
.mock-row .grow { flex: 1; min-width: 0; }
.mock-chip { font-size: 14px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; background: var(--faint); color: var(--muted); }
.mock-chip.pass { background: var(--sign-soft); color: var(--sign); }
.mock-chip.fail { background: var(--red-soft); color: var(--red-ink); }

.ic-soft { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--sign-soft); color: var(--sign); }
.ic-soft.red { background: var(--red-soft); color: var(--red-ink); }
.ic-soft svg { width: 22px; height: 22px; }
.small-btn { min-height: 40px; padding: 0 16px; font-size: 15px; }
input[type=date], input[type=text] {
  font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px; min-height: 50px; width: 100%;
}

.streaks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.streak { display: flex; flex-direction: column; gap: 2px; padding: 16px; }
.streak-n { font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.03em; color: var(--sign); font-variant-numeric: tabular-nums; }

.spot { display: flex; gap: 14px; align-items: flex-start; }
.spot .grow { flex: 1; min-width: 0; }
a.soft.btn { min-height: 40px; padding: 0 14px; font-size: 14px; font-weight: 700; }

.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 8px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); opacity: .55; }
.badge.on { opacity: 1; }
.badge strong { font-size: 14px; line-height: 1.2; }
.badge .small { font-size: 12px; line-height: 1.3; }
.badge-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--faint); color: var(--muted); flex: none; }
.badge-ic.on { background: var(--sign); color: #fff; box-shadow: 0 10px 20px -10px var(--sign); }
.badge-ic svg { width: 24px; height: 24px; }
.new-badge { gap: 14px; }
.new-badge .eyebrow { font-size: 13px; }

/* right-to-left languages (Arabic, Urdu): mirror arrows */
[dir="rtl"] .chev, [dir="rtl"] .icon-btn svg { transform: scaleX(-1); }
@media (max-width: 360px) { .badges { grid-template-columns: repeat(2, 1fr); } }
.watch-sm { min-height: 40px; padding: 0 14px; font-size: 14px; gap: 6px; }
.watch-sm svg { width: 16px; height: 16px; }
.lang-select { font: inherit; font-weight: 600; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; min-height: 48px; width: 100%; }
.lang-select.compact { width: auto; min-height: 40px; padding: 6px 10px; font-size: 15px; border-radius: 999px; }
