/* NKNET portal za kandidate i deljeni profil. Boje brenda kao u CRM-u. */
:root {
  --ink: #13285a; --yolk: #ffd60a; --yolk-deep: #e6b800; --flour: #eef1f7; --paper: #fff;
  --slate: #56637f; --line: #d9dfeb; --hot: #d23a3a; --proof: #1c8a55;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--flour); color: var(--ink); font: 500 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.wrap { max-width: 640px; margin: 0 auto; padding: 16px 16px 48px; }
.brand { font: 700 20px/1 system-ui; letter-spacing: .02em; padding: 8px 0 16px; }
.brand span { color: var(--slate); font-weight: 500; }
h1 { font-size: 24px; line-height: 1.2; margin: 0 0 6px; }
h2 { font-size: 18px; margin: 0 0 10px; }
.card { background: var(--paper); border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.muted { color: var(--slate); }
.small { font-size: 14px; }
label.f { display: block; margin-bottom: 12px; }
label.f > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
input, select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; color: inherit;
  border: 2px solid var(--line); border-radius: 12px; background: #fff;
}
textarea { min-height: 90px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 18px; border: 0; border-radius: 14px;
  background: var(--paper); box-shadow: inset 0 0 0 2px var(--line);
  font: 700 16px/1.2 inherit; color: var(--ink); cursor: pointer; text-decoration: none;
}
.btn.primary { background: var(--yolk); box-shadow: none; width: 100%; }
.btn.primary:active { background: var(--yolk-deep); }
.btn.small { min-height: 38px; padding: 6px 12px; font-size: 14px; }
.btn.danger { color: var(--hot); }
.btn:disabled { opacity: .5; }
.row { display: flex; gap: 8px; }
.row > * { flex: 1; }
.rows .item { border: 2px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 12px 0; }
.check input { width: 22px; min-height: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--ink); }
.file { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.file:first-of-type { border-top: 0; }
.file .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc { padding: 12px 0; border-top: 1px solid var(--line); }
.doc:first-child { border-top: 0; padding-top: 0; }
.doc b { display: block; }
.bar { height: 8px; background: var(--flour); border-radius: 4px; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: var(--proof); width: 0; transition: width .2s; }
.meter { font-size: 14px; color: var(--slate); }
video { width: 100%; border-radius: 12px; background: #000; margin-bottom: 10px; max-height: 70vh; }
ul.plain { margin: 0; padding-left: 18px; }
.ok { color: var(--proof); font-weight: 700; }
#toast { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 600px; margin: 0 auto; padding: 14px 16px; border-radius: 12px; background: var(--ink); color: #fff; z-index: 10; }
#toast.err { background: var(--hot); }
.hidden-trap { position: absolute; left: -9999px; }

/* ---------- škola ---------- */
.tabs { display: flex; gap: 6px; margin: 0 0 12px; }
.tabs a { flex: 1; text-align: center; padding: 10px; border-radius: 12px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 700; box-shadow: inset 0 0 0 2px var(--line); }
.tabs a.on { background: var(--ink); color: #fff; box-shadow: none; }
.lesson { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.card h2 + .lesson { border-top: 0; }
.lesson .lt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lesson.closed { opacity: .6; cursor: default; }
.chip { flex: none; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: var(--flour); }
.chip.ok { background: #e2f4ea; color: var(--proof); }
.chip.lock { background: #fff4c2; }
.word { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.card > .word:first-child, .card h2 + .word { border-top: 0; }
.word .wt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.word .wt b { font-size: 18px; }
.word .btn { flex: none; }
img.sign { width: 56px; height: 56px; object-fit: contain; flex: none; }
img.sign.big { width: 120px; height: 120px; display: block; margin: 10px auto; }
.prompt { font-size: 20px; font-weight: 700; margin: 10px 0; }
.opt { display: flex; gap: 10px; align-items: center; padding: 10px 12px; margin-top: 8px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; }
.opt input { width: 20px; min-height: 20px; height: 20px; flex: none; accent-color: var(--ink); }
.opt:has(input:checked) { border-color: var(--ink); }
.review { padding-left: 20px; margin: 0; }
.review li { margin: 6px 0; }
.review .good { color: var(--proof); }
.review .bad { color: var(--hot); }

/* ---------- ponuda paketa ---------- */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .offers { grid-template-columns: 1fr; } }
.offer { position: relative; border: 2px solid var(--line); border-radius: 14px; padding: 14px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.offer.best { border-color: var(--ink); }
.offer .tag { position: absolute; top: -11px; left: 12px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.offer .price { font-size: 26px; font-weight: 800; }
.offer .price s { font-size: 16px; color: var(--slate); font-weight: 600; }
.offer .btn { margin-top: 8px; width: 100%; }
.chip.gift { background: #fde7ff; color: #7a1f8a; }
.lesson.chal { opacity: 1; cursor: pointer; }

/* predračun sa IPS QR kodom */
.paybox{display:flex;gap:12px;flex-wrap:wrap;align-items:center;background:#eef6f0;border:1px solid #bfe0c9;border-radius:10px;padding:12px;margin:0 0 12px}
.paybox .btn{flex:none}
