/* Sofőr-oldal (4. lépés): mobil-első, világos, nagy kontrasztú, nagy érintési felületek — kesztyűben, napfényben is olvasható. */
:root {
  --bg: #ffffff; --ink: #111418; --muted: #4a525c; --line: #c9ced4; --surface: #f2f4f6;
  --brand: #0b5d2a; --brand-ink: #ffffff; --accent: #0050b3; --danger: #b00020; --ok: #0b6b2e;
  font-size: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.4; }
.top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 1rem; padding-top: max(0.7rem, env(safe-area-inset-top)); background: var(--brand); color: var(--brand-ink); }
.brand { font-weight: 750; font-size: 1.05rem; }
.live { margin-left: auto; font-size: 0.85rem; opacity: 0.95; }
main { max-width: 36rem; margin: 0 auto; padding: 1rem 1rem 3rem; }
.muted { color: var(--muted); }
.card { border: 2px solid var(--line); border-radius: 12px; padding: 1rem; margin-bottom: 1rem; background: var(--bg); }
.who { display: grid; gap: 0.35rem; }
.plate { display: inline-block; font-weight: 800; letter-spacing: 0.05em; font-size: 1.6rem; text-transform: uppercase; border: 3px solid var(--ink); border-radius: 6px; padding: 0.05rem 0.6rem; background: #fff; }
.plate.trl { font-size: 1.2rem; margin-left: 0.4rem; }
.kv { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 0.35rem; }
.kv b { text-align: right; }
.status { font-size: 1.25rem; font-weight: 750; }
h2 { font-size: 1.15rem; margin: 1.4rem 0 0.6rem; }
.msg { border-left: 6px solid var(--accent); }
.msg.new { border-left-color: var(--danger); background: #fff6f6; }
.msg .head { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.9rem; color: var(--muted); margin-bottom: 0.3rem; }
.msg .from { font-weight: 750; color: var(--ink); }
.msg .text { font-size: 1.25rem; font-weight: 600; white-space: pre-wrap; word-break: break-word; }
.reply { margin-top: 0.8rem; padding: 0.6rem 0.8rem; border-radius: 8px; background: var(--surface); }
.reply .lbl { font-size: 0.85rem; color: var(--muted); }
.quick { display: grid; grid-template-columns: 1fr; gap: 0.5rem; margin-top: 0.9rem; }
button { font: inherit; font-weight: 700; font-size: 1.1rem; min-height: 3.2rem; border-radius: 10px; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
button.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
button:disabled { opacity: 0.5; cursor: default; }
button:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
textarea { width: 100%; font: inherit; font-size: 1.1rem; padding: 0.6rem; border: 2px solid var(--ink); border-radius: 10px; min-height: 5rem; resize: vertical; margin-top: 0.6rem; }
.count { font-size: 0.85rem; color: var(--muted); text-align: right; }
.err { border-color: var(--danger); color: var(--danger); font-weight: 650; }
.empty { text-align: center; padding: 2rem 1rem; color: var(--muted); }
@media (min-width: 30rem) { .quick { grid-template-columns: repeat(3, 1fr); } }
button.send { width: 100%; margin-top: 0.4rem; }
/* 5. lépés: értesítés-sáv */
.notif { max-width: 36rem; margin: 0 auto; padding: 0.8rem 1rem 0; }
.notif:empty { display: none; }
.notif .small { font-size: 0.85rem; margin-top: 0.35rem; }
.notif-on { font-weight: 650; color: var(--ok); }
button.wide { width: 100%; }
/* 7. lépés: nyelvválasztó és kódbeírás */
.lang { font: inherit; font-size: 0.95rem; min-height: 2.4rem; border-radius: 8px; border: 2px solid var(--brand-ink); background: var(--brand); color: var(--brand-ink); padding: 0 0.4rem; }
.codeform h2 { margin-top: 0; }
input.code { width: 100%; font: inherit; font-size: 2.2rem; font-weight: 800; letter-spacing: 0.25em; text-align: center; text-transform: uppercase; padding: 0.5rem; border: 3px solid var(--ink); border-radius: 10px; }
input.code:focus-visible, .lang:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
