/* ════════════════════════════
   LIJEVA KOLONA — LISTA NALOGA
   ════════════════════════════ */
.col-lista { display: none !important; }

/* Stat chips */
.stat-blok { padding: 8px 10px 6px; border-bottom: 1px solid #f0f2f8; }
.stat-blok-lbl { font-size: 10px; font-weight: 700; color: #000; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 4px; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; }
.sc {
  border-radius: 8px; padding: 6px 8px; cursor: pointer;
  transition: all .15s; border: 2px solid transparent;
  display: flex; flex-direction: column; gap: 1px;
}
.sc:hover { filter: brightness(.94); transform: translateY(-1px); }
.sc.active-f { box-shadow: 0 0 0 3px rgba(255,255,255,.5), 0 0 0 5px currentColor; }
.sc-a { background: #2d6ee0; color: #fff; }
.sc-d { background: #16a05a; color: #fff; }
.sc-w { background: #d63535; color: #fff; }
.sc-s { background: #7b84a0; color: #fff; }
.sc-n { font-size: 16px; font-weight: 900; line-height: 1; }
.sc-l { font-size: 10px; font-weight: 500; opacity: .85; }

/* Pretraga */
.srch-blok { padding: 10px 14px; border-bottom: 1px solid #f0f2f8; position: relative; }
.srch {
  width: 100%; padding: 9px 12px 9px 36px;
  background: #f5f7fb; border: 1.5px solid #e4e7f2; border-radius: 8px;
  font-size: 13px; color: #1a1d2e; outline: none; transition: all .15s;
}
.srch:focus { border-color: #3a6bd0; background: #fff; box-shadow: 0 0 0 3px rgba(58,107,208,.1); }
.srch::placeholder { color: #000; }
.srch-i { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); color: #000; font-size: 14px; pointer-events: none; }

/* Dan filter */
.day-blok { display: flex; gap: 2px; padding: 8px 14px; border-bottom: 1px solid #f0f2f8; }
.db { flex: 1; text-align: center; padding: 4px 2px; font-size: 10px; font-weight: 700; color: #000; border-radius: 5px; cursor: pointer; border: none; background: none; transition: all .15s; }
.db:hover { color: #3a6bd0; background: #edf2fc; }
.db.on { color: #3a6bd0; background: #dce8fb; }

/* Scroll lista */
.olist { flex: 1; overflow-y: auto; padding: 10px 10px 8px; background: #eef1f5; }
.o-section-lbl { font-size: 10px; font-weight: 700; color: #000; text-transform: uppercase; letter-spacing: .8px; padding: 8px 6px 5px; }
.oc {
  background: #ffffff; border: 1.5px solid #d9dee7;
  border-radius: 12px; padding: 11px 13px;
  margin-bottom: 7px; cursor: pointer; transition: all .18s;
  position: relative; overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.03);
}
.oc::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 12px 0 0 12px; }
.oc.ow::before { background: #f0a000; }
.oc.oa::before { background: #3a6bd0; }
.oc.od::before { background: #16a05a; }
.oc.os::before { background: #d07030; }
.oc:hover { border-color: #b8c1cf; box-shadow: 0 6px 18px rgba(31,41,55,.14); transform: translateY(-2px); }
.oc.sel { border-color: #3a6bd0; background: #ffffff; box-shadow: 0 0 0 2px rgba(58,107,208,.22), 0 6px 18px rgba(58,107,208,.16); }
.oc-r1 { display: flex; align-items: center; gap: 8px; }
.odot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dw { background: #f0a000; } .da { background: #3a6bd0; } .dd { background: #16a05a; } .ds { background: #d07030; }
.ocar { font-size: 13px; font-weight: 700; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oyr { font-weight: 400; font-size: 12px; color: #000; }
.otm { font-size: 10px; color: #000; font-weight: 600; white-space: nowrap; }
.odesc { font-size: 11px; color: #000; padding-left: 16px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-r3 { display: flex; justify-content: space-between; margin-top: 6px; padding-top: 6px; border-top: 1px solid #f0f2f8; }
.ocust { font-size: 11px; color: #000; }
.oprice { font-size: 12px; font-weight: 700; color: #16a05a; }

.lista-foot { padding: 10px; border-top: 1px solid #f0f2f8; }
.btn-novi {
  width: 100%; padding: 13px;
  background: #3a6bd0; color: #fff; border: none; border-radius: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: .2px;
  cursor: pointer; transition: all .15s;
  box-shadow: 0 3px 12px rgba(58,107,208,.4);
}
.btn-novi:hover { background: #2a5ab8; transform: translateY(-1px); box-shadow: 0 5px 16px rgba(58,107,208,.45); }

/* ════════════════════════════
   DESNA KOLONA — DINAMIČKI PRIKAZ
   ════════════════════════════ */
.col-main { background: #f0f2f6; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; position: relative; }

.view-section {
  display: none;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  flex-direction: column;
  align-items: center;
}
.view-section.active { display: flex; }

/* ── VIEW: PRAZNO ── */
#view-empty {
  align-items: center; justify-content: center; gap: 12px; color: #000;
}
.empty-ico { font-size: 56px; opacity: .2; }
.empty-txt { font-size: 15px; font-weight: 600; color: #000; }
.empty-sub { font-size: 12px; color: #000; }
kbd { background: #fff; border: 1px solid #dde1ec; border-radius: 5px; padding: 2px 7px; font-size: 11px; }

/* ── VIEW: DETALJI ── */
#view-detalji { padding: 0; overflow-y: auto; }
.nl-card { transition: all .15s; cursor: pointer; }
.nl-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1) !important; transform: translateY(-2px); }

.nd-wrap {
  padding: 20px;
  max-width: none;
  overflow: visible;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  background: #eef1f5;
  border-radius: 16px;
}

/* Centriranje svih view sadrzaja na 1200px */
#stats-content, #crm-content, #katalog-content,
#marketing-content, #izvjestaj-content, #settings-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 20px;
}

.nd-header {
  background: transparent;
  border: none;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 14px;
  box-shadow: none;
}
.nd-h-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.nd-id-row { display: flex; align-items: center; gap: 10px; }
.nd-id { font-size: 20px; font-weight: 900; letter-spacing: -.3px; }
.nd-id span { color: #3a6bd0; }
.nbadge { font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }
.nb-w { background: #fff3d0; color: #b07800; }
.nb-a { background: #dce8fc; color: #2a58b8; }
.nb-d { background: #d5f0e4; color: #0e8848; }
.nb-s { background: #fde8d0; color: #b05010; }
.nd-actions { display: flex; gap: 6px; align-items: center; }
.nd-workflow{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 10px;
  background:#ffffff;
  border:1.5px solid #d9dee7;
  border-radius:14px;
  margin: 0 0 12px 0;
  overflow:hidden;
}
.wf-step{ display:flex; align-items:center; gap:10px; min-width: 150px; flex:1; }
.wf-dot{
  width:26px; height:26px; border-radius:50%;
  border:2px solid #d1d5db;
  display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:900;
  color:#94a3b8; background:#fff;
  flex-shrink:0;
}
.wf-step.on .wf-dot{ border-color:#3a6bd0; color:#3a6bd0; background:#edf2fc; }
.wf-txt{ min-width:0; }
.wf-lbl{ font-size:11px; font-weight:900; color:#111827; letter-spacing:.2px; text-transform:uppercase; }
.wf-time{ font-size:11px; font-weight:700; color:#6b7280; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wf-line{
  height:2px;
  background:#e5e7eb;
  flex: 0 0 42px;
  border-radius:999px;
}
.wf-line.on{ background:#3a6bd0; }
@media (max-width: 900px){
  .nd-workflow{ flex-direction:column; align-items:stretch; gap:8px; }
  .wf-line{ display:none; }
  .wf-step{ min-width:0; }
}
.nd-stsel { background: #f5f7fb; border: 1.5px solid #e4e7f2; border-radius: 8px; padding: 6px 10px; font-size: 12px; color: #1a1d2e; cursor: pointer; outline: none; }
.ico-btn { width: 34px; height: 34px; border-radius: 8px; background: #f5f7fb; border: 1.5px solid #e4e7f2; cursor: pointer; color: #000; font-size: 15px; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.ico-btn:hover { background: #edf0f8; color: #1a1d2e; }
.ico-btn.del:hover { background: #fdeaea; border-color: #d63535; color: #d63535; }

.nd-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}
.nd-info > .ni {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
@media (max-width: 1100px) {
  .nd-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .nd-info { grid-template-columns: 1fr; }
}
.ni {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1.5px solid #d9dee7;
  box-shadow: 0 1px 3px rgba(0,0,0,.03);
}
.ni-termin-hint {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.35;
  margin: -6px 0 10px 0;
  padding: 0;
}
.ni-termin-lbl {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  min-width: 0;
}
.ni-termin-lbl > span {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ni-termin-fields { display: flex; flex-direction: column; gap: 10px; margin-top: 0; flex: 1; min-height: 0; }
.ni-termin-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: end;
}
.ni-termin-input {
  border: 1.5px solid #e4e7f2; border-radius: 7px; padding: 6px 10px;
  font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; outline: none;
  cursor: pointer; background: #fff; box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
.ni-termin-input:focus { border-color: #3a6bd0; }
.ni-termin-del {
  width: 100%; padding: 7px 12px; margin: 0; margin-top: auto;
  background: #fdeaea; border: 1.5px solid #d63535; border-radius: 8px;
  color: #d63535; font-family: Inter, sans-serif; font-size: 11px; font-weight: 700;
  cursor: pointer; box-sizing: border-box;
}
.ni-termin-del:hover { filter: brightness(0.97); }
/* Mali naslovi (šasija, km, …) u tijelu kartice */
.ni-l { font-size: 10px; font-weight: 700; color: #000; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 3px; }
/* Glavni naslov kartice: Vozilo, Klijent, Mehaničar, Termin */
.ni-l.ni-card-title {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: #1a1d2e;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1.5px solid #e4e7f2;
}
.ni-v { font-size: 14px; font-weight: 700; }
.ni-v small { font-weight: 400; color: #000; font-size: 12px; }
.ni-card-primary { font-size: 14px; font-weight: 700; color: #1a1d2e; line-height: 1.35; }
.ni-card-primary small { font-weight: 500; color: #475569; font-size: 12px; }
.ni-vehicle-stack > .ni-vehicle-inner,
.ni-klijent-grow,
.ni-meh-grow { margin-top: 2px; }
.ni-subfield,
.ni-km-block { margin-top: 4px; }
/* Logo marke (lokalni kolor PNG/SVG u icons/car-brands/; CDN rezerva je jednobojna) */
.ni-vehicle-inner { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ni-vehicle-inner .ni-text { flex: 1; min-width: 0; }
.ni-vehicle-stack { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.ni-klijent-grow { flex: 1; min-height: 6px; }
.ni-meh-grow { flex: 1; min-height: 6px; }
.ni-meh-ime { margin-top: 6px; }
.ni-meh-tel {
  font-size: 13px;
  font-weight: 600;
  color: #3a6bd0;
  margin-top: 10px;
  line-height: 1.35;
}
.ni-meh-foot { margin-top: auto; padding-top: 6px; }
.ni-meh-prazno { font-weight: 600; color: #94a3b8; font-size: 13px; }
.ni-meh-edit-ctl {
  flex-direction: column;
  gap: 8px;
}
.ni-meh-sel {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid #e4e7f2; border-radius: 8px; padding: 8px 10px;
  font-family: Inter, sans-serif; font-size: 13px; font-weight: 600;
  background: #fff; cursor: pointer; outline: none;
}
.ni-meh-sel:focus { border-color: #3a6bd0; }
.nd-meh-promijeni, .nd-meh-gotovo {
  width: 100%; box-sizing: border-box;
  padding: 9px 12px; border-radius: 8px; font-family: Inter, sans-serif;
  font-size: 12px; font-weight: 700; cursor: pointer;
}
.nd-meh-promijeni {
  background: #edf2fc; border: 1.5px solid #3a6bd0; color: #2a58b8;
}
.nd-meh-promijeni:hover { filter: brightness(0.97); }
/* Ostali nalozi istog majstora na isti datum termina (detalji naloga) */
.nd-meh-sister-block { margin-top: 12px; padding-top: 10px; border-top: 1px solid #e4e7f2; }
.nd-meh-sister-title { font-size: 10px; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.nd-meh-sister-list { display: flex; flex-direction: column; gap: 6px; max-height: 200px; overflow-y: auto; }
.nd-meh-sister {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 8px; align-items: center;
  width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1.5px solid #e4e7f2; border-radius: 8px;
  background: #f8fafc; font-family: Inter, sans-serif; font-size: 12px; cursor: pointer; text-align: left;
}
.nd-meh-sister:hover { border-color: #3a6bd0; background: #edf2fc; }
.nd-meh-sister-cur { border-color: #3a6bd0; background: #edf2fc; }
.nd-meh-sister-time { font-weight: 800; color: #1a1d2e; }
.nd-meh-sister-car { font-weight: 600; color: #334155; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.nd-meh-sister-st { font-size: 10px; font-weight: 700; color: #64748b; max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd-meh-sister-here { font-size: 10px; font-weight: 800; color: #3a6bd0; }
.nd-meh-sister-more { font-size: 11px; color: #94a3b8; text-align: center; padding-top: 4px; }
/* Zadnji servisi u kartici Klijent (isto vozilo, bez cijena) */
.nd-klij-serv-block { margin-top: 14px; padding-top: 12px; border-top: 1px solid #e4e7f2; }
.nd-klij-serv-title { font-size: 10px; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.nd-klij-serv-list { display: flex; flex-direction: column; gap: 6px; }
.nd-klij-serv-row {
  width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1.5px solid #e4e7f2; border-radius: 8px;
  background: #f8fafc; font-family: Inter, sans-serif; cursor: pointer; text-align: left;
}
.nd-klij-serv-row:hover { border-color: #0e6b40; background: #f0faf5; }
.nd-klij-serv-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.nd-klij-serv-date { font-size: 11px; font-weight: 800; color: #1a1d2e; }
.nd-klij-serv-km { font-size: 11px; font-weight: 700; color: #0e6b40; white-space: nowrap; }
.nd-klij-serv-desc { font-size: 12px; font-weight: 600; color: #475569; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nd-klij-serv-more {
  width: 100%; box-sizing: border-box; margin-top: 8px; padding: 7px 10px; border: 1px dashed #b8e8d0; border-radius: 8px;
  background: #fff; font-family: Inter, sans-serif; font-size: 11px; font-weight: 700; color: #0e6b40; cursor: pointer;
}
.nd-klij-serv-more:hover { background: #f0faf5; }
.nd-meh-gotovo {
  background: #f5f7fb; border: 1.5px solid #e4e7f2; color: #1a1d2e;
}
.nd-meh-gotovo:hover { background: #eaecf4; }
.ni-subfield .ni-l { margin-top: 2px; }
.ni-sasija-input {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid #e4e7f2; border-radius: 7px; padding: 6px 10px;
  font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; outline: none; background: #fff;
}
.ni-sasija-input:focus { border-color: #3a6bd0; }
.ni-km-block {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 8px 10px; background: #f8f9fd; border-radius: 10px; border: 1.5px solid #e4e7f2;
}
.ni-km-lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: #000; }
.ni-km-input {
  border: 1.5px solid #e4e7f2; border-radius: 7px; padding: 6px 10px;
  font-family: Inter, sans-serif; font-size: 13px; font-weight: 600; outline: none; width: 120px; max-width: 100%; background: #fff;
}
.ni-km-input:focus { border-color: #3a6bd0; }
.ni-km-unit { font-size: 12px; font-weight: 600; color: #888; }
.ni-km-badge-ok { font-size: 11px; font-weight: 700; color: #16a05a; background: #edfaf3; padding: 3px 10px; border-radius: 20px; }
.ni-km-badge-muted { font-size: 11px; color: #aaa; }
.nd-hist-vozilo, .nd-hist-klijent {
  width: 100%; margin-top: auto; box-sizing: border-box;
  font-size: 12px !important; padding: 9px 12px !important;
}
.ni-klijent-phone, .ni-klijent-email, .ni-klijent-pdvjib, .ni-klijent-adr { font-size: 13px; font-weight: 600; color: #3a6bd0; margin-top: 6px; line-height: 1.35; }
.ni-klijent-email { color: #2563eb; font-weight: 500; }
.ni-klijent-pdvjib { color: #334155; font-weight: 600; }
.ni-klijent-adr { color: #475569; font-weight: 500; }
.ni-klijent-adr-lbl { font-weight: 700; color: #64748b; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; }
.nd-predikcija-wrap { margin-top: 8px; }
.nd-brand-logo {
  width: 69px; height: 69px; flex-shrink: 0; object-fit: contain;
}

/* Završen nalog — vidljiv banner iznad detalja */
.nd-banner-done {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px 0;
  padding: 12px 14px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 55%, #ecfdf5 100%);
  border: 1.5px solid #6ee7b7;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(14, 107, 64, 0.08);
}
.nd-banner-done-ico { font-size: 22px; line-height: 1; flex-shrink: 0; }
.nd-banner-done-txt {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #14532d;
  line-height: 1.45;
}

/* Uređivanje modela / godine / klijenta u kartici detalja */
.ni-vehicle-inner.ni-vehicle-edit {
  align-items: flex-start;
  flex-wrap: wrap;
}
.ni-vehicle-inputs {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nd-field-row {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 10px;
  align-items: end;
}
/* Detalji naloga — model u punoj širini stupca (pored loga), godina u užem redu ispod */
.nd-field-row.nd-field-car-model-only {
  grid-template-columns: 1fr;
}
.nd-field-row.nd-field-car-year-only {
  grid-template-columns: 92px;
}
.nd-field-grow { min-width: 0; }
.nd-field-year .ni-sasija-input {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.nd-field-lbl {
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.nd-input-full {
  width: 100%;
  box-sizing: border-box;
  display: block;
}
.nd-klij-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
}

/* Kratak opis naloga (lista / pregled) */
.nd-order-desc-strip {
  margin-top: 12px;
}
.nd-order-desc-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}
.nd-order-desc-title.ni-l.ni-card-title {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
  font-size: 13px;
  letter-spacing: 0.35px;
}
.nd-order-desc-hint {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.35;
}

/* Sekcije usluge/dijelovi */
.nd-sec { background: #fff; border: 1.5px solid #e4e7f2; border-radius: 14px; margin-bottom: 12px; overflow: visible; box-shadow: 0 1px 4px rgba(0,0,0,.04); position: relative; }
.nd-sec-h { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; background: #f8f9fd; border-bottom: 1.5px solid #e4e7f2; }
.nd-sec-t { font-size: 14px; font-weight: 900; color: #1a1d2e; letter-spacing: .3px; }
.nd-sec-cnt { font-size: 10px; font-weight: 700; color: #000; background: #edf0f8; padding: 2px 9px; border-radius: 10px; }
.lrow { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid #eaecf4; transition: all .15s; background: #f8f9fd; }
.lrow:last-child { border-bottom: none; }
.lrow:hover { background: #edf2fc; border-left: 3px solid #3a6bd0; padding-left: 13px; }
.ln { font-size: 13px; font-weight: 600; color: #1a1d2e; }
.lq { font-size: 11px; color: #4a5270; background: #e4e7f2; padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.lp { font-size: 13px; font-weight: 800; color: #16a05a; min-width: 90px; text-align: right; }
.rm { width: 26px; height: 26px; border-radius: 6px; background: #fdeaea; border: 1px solid #f5c0c0; cursor: pointer; color: #d63535; font-size: 12px; display: flex; align-items: center; justify-content: center; transition: all .15s; opacity: 0.5; }
.rm:hover { opacity: 1; background: #d63535; color: #fff; border-color: #d63535; }
.lrow:hover .rm { opacity: 1; }
.iempty { padding: 14px 16px; font-size: 12px; color: #a0a8c0; font-style: italic; }

.addrow { display: flex; gap: 6px; align-items: flex-start; padding: 12px 16px; background: #fff; border-top: 2px dashed #c8d0e8; }
.ai { flex: 1; background: #f5f7fb; border: 1.5px solid #d0d6e8; border-radius: 8px; padding: 9px 12px; font-size: 13px; color: #1a1d2e; outline: none; transition: all .15s; }
.ai:focus { border-color: #3a6bd0; background: #fff; box-shadow: 0 0 0 3px rgba(58,107,208,.12); }
.ai:hover { border-color: #a8b4d0; background: #fff; }
.ai::placeholder { color: #a0a8c0; font-style: italic; }
.ai.sm { width: 82px; flex: none; }
.ai.xs { width: 56px; flex: none; }
.addbtn { padding: 9px 18px; background: #3a6bd0; color: #fff; border: none; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .15s; white-space: nowrap; box-shadow: 0 2px 8px rgba(58,107,208,.3); }
.addbtn:hover { background: #2a5ab8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(58,107,208,.4); }

/* Novi tabelarni UI za usluge i dijelove u nalogu */
.nd-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 1050px) {
  .nd-dual-grid { grid-template-columns: 1fr; }
}
.nd-table-sec {
  overflow: hidden;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  background: #fff;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: #000;
}
.nd-table-sec .nd-sec-h {
  padding: 12px 14px;
  border-bottom: 1px solid #e8edf5;
  background: #f3f4f6;
}
.nd-table-sec .nd-sec-t {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  color: #000;
}
.nd-table-sec .nd-sec-cnt {
  font-size: 10px;
  font-weight: 700;
  color: #000;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 1px 8px;
  border-radius: 10px;
}
.nd-sec-actions { display: flex; align-items: center; gap: 8px; }
.nd-mini-btn {
  border: 1px solid #d7deea;
  background: #fff;
  color: #000;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.nd-mini-btn.primary {
  color: #000;
  border-color: #c8d7f8;
  background: #f4f8ff;
}
.nd-table-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  background: #fff;
  border-bottom: 1px solid #e8edf5;
  flex-wrap: wrap;
}
.nd-table-wrap { overflow-x: auto; background: #fff; }
.nd-lines-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
  font-size: 13px;
  table-layout: fixed;
}
.nd-lines-table thead th {
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #000;
  text-transform: none;
  letter-spacing: 0;
  background: #f3f4f6;
  border-bottom: 1px solid #e8edf5;
}
.nd-lines-table tbody td {
  padding: 10px 8px;
  border-bottom: 1px solid #e8edf5;
  vertical-align: middle;
  background: #fff;
  color: #000;
}
.nd-lines-table tbody tr:hover { background: #fbfdff; }
.nd-lines-table .center { text-align: center; }
.nd-lines-table .right { text-align: right; white-space: nowrap; }
.nd-lines-table th:last-child,
.nd-lines-table td:last-child {
  padding-left: 4px;
  padding-right: 4px;
  text-align: center;
}
.nd-icon-cell { color: #000; font-size: 14px; }
.nd-code-cell { color: #000; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.nd-line-name { font-size: 13px; font-weight: 600; color: #000; }
.nd-line-sub { font-size: 11px; color: #000; margin-top: 2px; }
.nd-line-total { font-weight: 800; color: #000; }
.nd-money-input {
  width: 72px;
  border: 1px solid #d7deea;
  border-radius: 8px;
  padding: 6px 8px;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #000;
  text-align: right;
  outline: none;
  background: #fff;
}
.nd-money-input:focus { border-color: #3a6bd0; }
.nd-qty-input {
  width: 52px;
  border: 1px solid #d7deea;
  border-radius: 8px;
  padding: 6px 6px;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  outline: none;
  background: #fff;
}
.nd-qty-input:focus { border-color: #3a6bd0; }
.nd-unit { font-size: 11px; font-weight: 600; color: #000; margin-left: 4px; }
.nd-table-summary {
  display: grid;
  grid-template-columns: 1fr 88px 120px;
  gap: 16px;
  padding: 12px 10px;
  border-top: 1px solid #e8edf5;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: #000;
}
.nd-table-summary span:nth-child(2),
.nd-table-summary span:nth-child(3) {
  text-align: right;
  white-space: nowrap;
}
.nd-table-toolbar .ai {
  background: #f8fafc;
  border: 1px solid #d7deea;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12px;
  font-style: italic;
  color: #000;
}
.nd-table-toolbar .ai:focus {
  border-color: #3a6bd0;
  background: #fff;
  box-shadow: none;
  font-style: normal;
}
.nd-table-toolbar .addbtn {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(58,107,208,.25);
}
.nd-parts-toolbar {
  flex-wrap: nowrap;
}
.nd-parts-toolbar .ai.xs { width: 48px; }
.nd-parts-toolbar .ai.sm { width: 76px; }
.nd-parts-toolbar { gap: 6px; }

.nd-bottom-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  margin-bottom: 10px;
}
.nd-note-sec textarea { min-height: 94px; }
.nd-total-card .nd-sec-h { background: #f3f4f6; }
.nd-total-body { padding: 10px 12px; }
.nd-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eef2f7;
  font-size: 13px;
  color: #111827;
}
.nd-total-row:last-child { border-bottom: none; }
.nd-total-row span:last-child { font-weight: 700; white-space: nowrap; }
.nd-total-discount-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nd-total-discount-input-wrap .nd-money-input {
  width: 88px;
}
.nd-total-main {
  font-size: 20px;
  font-weight: 900;
  padding-top: 10px;
}
.nd-total-main span:last-child { color: #1d4ed8; }
.nd-total-pay {
  font-size: 18px;
  font-weight: 900;
}
.nd-total-pay span:last-child { color: #1f2937; }
@media (max-width: 1050px) {
  .nd-bottom-grid { grid-template-columns: 1fr; }
}

/* Dugme "Završi i Naplati" */
.btn-naplati-big {
  width: 100%; padding: 16px; margin-top: 4px;
  background: #16a05a; color: #fff; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 800; letter-spacing: .2px;
  cursor: pointer; transition: all .15s;
  box-shadow: 0 4px 16px rgba(22,160,90,.4);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-naplati-big:hover { background: #0e8848; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(22,160,90,.45); }
.btn-save-sm {
  width: 100%; padding: 11px; margin-top: 8px;
  background: #fff; color: #000; border: 1.5px solid #e4e7f2; border-radius: 12px;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all .15s;
}
.btn-save-sm:hover { background: #f5f7fb; color: #1a1d2e; }

/* ── VIEW: KASA ── */
#view-kasa { padding: 0; overflow-y: auto; }
.kasa-wrap { padding: 20px; max-width: 1200px; margin: 0 auto; width: 100%; box-sizing: border-box; }
.kasa-title { font-size: 22px; font-weight: 900; color: #1a1d2e; margin-bottom: 4px; }
.kasa-sub { font-size: 13px; color: #000; margin-bottom: 20px; }

.kasa-total-card {
  background: #fff; border: 1.5px solid #e4e7f2; border-radius: 16px;
  padding: 24px; margin-bottom: 16px; text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.kt-lbl { font-size: 11px; font-weight: 700; color: #000; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; }
.kt-num { font-size: 52px; font-weight: 900; color: #16a05a; line-height: 1; letter-spacing: -1px; }
.kt-sub { font-size: 12px; color: #000; margin-top: 8px; }

.kasa-breakdown {
  background: #fff; border: 1.5px solid #e4e7f2; border-radius: 14px;
  overflow: hidden; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.kb-head { padding: 10px 16px; background: #f8f9fd; border-bottom: 1.5px solid #e4e7f2; font-size: 10px; font-weight: 700; color: #000; text-transform: uppercase; letter-spacing: .8px; }
.kb-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; border-bottom: 1px solid #f0f2f8; }
.kb-row:last-child { border-bottom: none; }
.kb-lbl { font-size: 13px; color: #000; }
.kb-val { font-size: 14px; font-weight: 700; }
.kv-blue { color: #3a6bd0; } .kv-orange { color: #c87030; } .kv-green { color: #16a05a; font-size: 16px; }

/* Stavke fakture pregled */
.kasa-stavke { background: #fff; border: 1.5px solid #e4e7f2; border-radius: 14px; overflow: hidden; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.ks-head { padding: 10px 16px; background: #f8f9fd; border-bottom: 1.5px solid #e4e7f2; font-size: 10px; font-weight: 700; color: #000; text-transform: uppercase; letter-spacing: .8px; }

/* Kasa akcije */
.kasa-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.ka-btn {
  padding: 12px; border-radius: 10px; border: 1.5px solid #e4e7f2;
  background: #fff; font-size: 12px; font-weight: 700; color: #000;
  cursor: pointer; transition: all .15s; display: flex; align-items: center; justify-content: center; gap: 6px;
}
.ka-btn:hover { background: #f5f7fb; border-color: #c8d0e4; color: #1a1d2e; }
.ka-btn.ka-green { background: #16a05a; color: #fff; border-color: #16a05a; box-shadow: 0 3px 10px rgba(22,160,90,.35); }
.ka-btn.ka-green:hover { background: #0e8848; transform: translateY(-1px); }

.btn-faktura {
  width: 100%; padding: 16px;
  background: #16a05a; color: #fff; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 800; cursor: pointer; transition: all .15s;
  box-shadow: 0 4px 16px rgba(22,160,90,.4);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-faktura:hover { background: #0e8848; transform: translateY(-2px); }
.btn-nazad {
  width: 100%; padding: 11px; margin-top: 8px;
  background: #fff; border: 1.5px solid #e4e7f2; border-radius: 12px;
  font-size: 13px; font-weight: 600; color: #000; cursor: pointer; transition: all .15s;
}
.btn-nazad:hover { background: #f5f7fb; }

/* ── VIEW: STATISTIKA ── */
#view-statistika { padding: 0; overflow-y: auto; }
.stats-title { font-size: 22px; font-weight: 900; margin-bottom: 4px; }
.stats-sub { font-size: 13px; color: #000; margin-bottom: 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
.sbox { background: #fff; border: 1.5px solid #e4e7f2; border-radius: 14px; padding: 18px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.sbig { font-size: 32px; font-weight: 900; line-height: 1; }
.slbl { font-size: 10px; font-weight: 600; color: #000; text-transform: uppercase; letter-spacing: .7px; margin-top: 4px; }
.cg { color: #16a05a; } .cb { color: #3a6bd0; } .cy { color: #c87030; }
.stats-sec { background: #fff; border: 1.5px solid #e4e7f2; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.04); margin-bottom: 14px; }
.stats-sec-h { padding: 11px 16px; background: #f8f9fd; border-bottom: 1.5px solid #e4e7f2; font-size: 11px; font-weight: 700; color: #000; text-transform: uppercase; letter-spacing: .8px; }

/* ── VIEW: TERMINI ── */
#view-termini { padding: 0; overflow-y: auto; }
.term-title { font-size: 22px; font-weight: 900; margin-bottom: 4px; }
.term-sub { font-size: 13px; color: #000; margin-bottom: 20px; }
.term-slot { margin-bottom: 18px; }
.term-h { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 2px solid #e4e7f2; margin-bottom: 8px; font-size: 13px; font-weight: 800; color: #3a6bd0; }
.term-h::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3a6bd0; display: block; }
.term-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1.5px solid #e4e7f2; border-radius: 11px;
  padding: 11px 14px; margin-bottom: 5px; cursor: pointer;
  transition: all .15s; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.term-item:hover { border-color: #3a6bd0; background: #edf2fc; transform: translateY(-1px); }
.ti-time { font-size: 12px; font-weight: 700; color: #000; width: 42px; }
.ti-car { font-size: 13px; font-weight: 700; }
.ti-desc { font-size: 12px; color: #000; }
.ti-sp { flex: 1; }
.ti-price { font-size: 12px; font-weight: 700; color: #16a05a; }

/* ── TERMINI VELIKI KALENDAR ── */
.tk-wrap { padding: 20px; max-width: 100%; margin: 0 auto; width: 100%; box-sizing: border-box; }
.tk-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; flex-wrap:wrap; gap:12px; }
.tk-naslov { font-size:22px; font-weight:900; color:#000; }
.tk-mjesec { font-size:16px; font-weight:800; color:#3a6bd0; }
.tk-nav { display:flex; gap:8px; align-items:center; }
.tk-nav-btn { width:34px;height:34px;border-radius:50%;border:1.5px solid #e4e7f2;background:#fff;cursor:pointer;font-size:16px;color:#3a6bd0;display:flex;align-items:center;justify-content:center;transition:all .15s;box-shadow:0 1px 4px rgba(0,0,0,.06); }
.tk-nav-btn:hover { background:#3a6bd0;color:#fff;border-color:#3a6bd0;transform:scale(1.08); }
.tk-danas-btn { padding:7px 18px;background:#3a6bd0;color:#fff;border:none;border-radius:20px;font-family:Inter,sans-serif;font-size:12px;font-weight:700;cursor:pointer;transition:all .15s;box-shadow:0 3px 10px rgba(58,107,208,.3); }
.tk-danas-btn:hover { background:#2a5ab8;transform:translateY(-1px); }
.tk-filters { display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap; }
.tk-chip { padding:5px 14px;border-radius:20px;font-size:11px;font-weight:700;cursor:pointer;border:1.5px solid #e4e7f2;background:#f5f7fb;color:#6b728e;transition:all .15s; }
.tk-chip:hover { border-color:#3a6bd0;color:#3a6bd0;background:#edf2fc; }
.tk-chip.on { background:#3a6bd0;color:#fff;border-color:#3a6bd0; }
.tk-chip.on-w { background:#f0a000;color:#fff;border-color:#f0a000; }
.tk-chip.on-s { background:#8b5cf6;color:#fff;border-color:#8b5cf6; }
.tk-chip.on-d { background:#16a05a;color:#fff;border-color:#16a05a; }
.tk-grid-wrap { background:linear-gradient(135deg,#0a0f1a,#0f141e,#1a1f2e);border:1px solid rgba(255,255,255,.1);border-radius:24px;overflow:hidden;box-shadow:0 20px 40px rgba(0,0,0,.4);margin-bottom:24px;backdrop-filter:blur(10px); }
.tk-wd { display:grid;grid-template-columns:repeat(7,1fr); background:rgba(255,255,255,.03);border-bottom:1px solid rgba(255,255,255,.08); }
.tk-wd-cell { text-align:center;padding:10px 4px;font-size:10px;font-weight:800;color:rgba(148,163,184,.7);text-transform:uppercase;letter-spacing:.8px; }
.tk-wd-cell.wknd { color:#c0c8dc; }
.tk-grid { display:grid;grid-template-columns:repeat(7,1fr);grid-auto-rows:auto; }
.tk-cell { min-height:140px;border-right:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06);padding:8px 6px;cursor:pointer;transition:all .22s cubic-bezier(.2,.9,.4,1.1);background:rgba(255,255,255,.04);position:relative; }
.tk-cell:nth-child(7n) { border-right:none; }
.tk-cell:hover { background:rgba(255,255,255,.09);border-color:rgba(59,130,246,.4);transform:translateY(-3px) scale(1.01);box-shadow:0 12px 24px rgba(0,0,0,.3),0 0 0 1px rgba(59,130,246,.25);z-index:2; }
.tk-cell.tk-today { background:rgba(59,130,246,.12);border-color:rgba(59,130,246,.35) !important; }
.tk-cell.tk-today .tk-num { background:#3b82f6;color:#fff;border-radius:50%;width:26px;height:26px;display:flex;align-items:center;justify-content:center;font-size:12px;box-shadow:0 0 14px rgba(59,130,246,.6); }
.tk-cell.tk-sel { background:rgba(59,130,246,.18) !important;outline:2px solid #3b82f6;outline-offset:-2px; }
.tk-cell.tk-other { background:rgba(255,255,255,.01);opacity:.35; }
.tk-cell.tk-other .tk-num { color:rgba(255,255,255,.25); }
.tk-num { font-size:13px;font-weight:700;color:#e2e8f0;margin-bottom:4px;min-width:26px;line-height:26px;text-align:center;border-radius:50%;transition:all .2s; }
.tk-ev { font-size:9px;padding:2px 5px;border-radius:4px;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;cursor:pointer;transition:all .12s; }
.tk-ev:hover { filter:brightness(.92);transform:translateX(2px); }
.tk-ev.st-active    { background:#dbeafe;color:#1d4ed8;border-left:2px solid #3b82f6; }
.tk-ev.st-waiting   { background:#fef3c7;color:#92400e;border-left:2px solid #f59e0b; }
.tk-ev.st-scheduled { background:#ede9fe;color:#5b21b6;border-left:2px solid #8b5cf6; }
.tk-ev.st-done      { background:#dcfce7;color:#166534;border-left:2px solid #22c55e;opacity:.75; }
.tk-more { font-size:9px;color:#3a6bd0;font-weight:700;margin-top:1px;cursor:pointer; }
.tk-cell.tk-today:hover { background:rgba(59,130,246,.2) !important; }

/* ════════════════════════════
   MODALI
   ════════════════════════════ */
.mover { position: fixed; inset: 0; background: rgba(15,20,45,.55); display: flex; align-items: flex-start; justify-content: center; z-index: 200; backdrop-filter: blur(5px); opacity: 0; pointer-events: none; transition: opacity .2s; overflow-y: auto; padding: 20px 10px; }
.mover.open { opacity: 1; pointer-events: all; }
.modal { background: #fff; border: 1.5px solid #e0e4f0; border-radius: 18px; padding: 26px; width: 480px; max-width: 95vw; box-shadow: 0 12px 50px rgba(0,0,0,.18); transform: translateY(12px); transition: transform .2s; margin: auto; }
.mover.open .modal { transform: translateY(0); }
.m-title { font-size: 18px; font-weight: 900; margin-bottom: 20px; }
.m-title em { color: #3a6bd0; font-style: normal; }
.fg { margin-bottom: 14px; }
.fl { font-size: 10px; font-weight: 700; color: #000; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 5px; display: block; }
.fi { width: 100%; background: #f5f7fb; border: 1.5px solid #e4e7f2; border-radius: 9px; padding: 10px 13px; font-size: 13px; color: #1a1d2e; outline: none; transition: all .15s; }
.fi:focus { border-color: #3a6bd0; background: #fff; box-shadow: 0 0 0 3px rgba(58,107,208,.1); }
.fi::placeholder { color: #000; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fr-termin-dt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.fr-termin-dt-cell { margin-bottom: 0; }
.m-foot { display: flex; gap: 8px; margin-top: 20px; }
.m-cancel { flex: 1; padding: 11px; border: 1.5px solid #e4e7f2; background: none; color: #000; border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 500; transition: all .15s; }
.m-cancel:hover { background: #f5f7fb; }
.m-create { flex: 2; padding: 11px; background: #3a6bd0; color: #fff; border: none; border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 800; transition: all .15s; }
.m-create:hover { background: #2a5ab8; }

/* Invoice */
.inv-body { background: #fff; color: #111; border-radius: 12px; padding: 28px; }
.inv-h { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.inv-logo { font-size: 18px; font-weight: 900; }
.inv-logo em { color: #3a6bd0; font-style: normal; }
.inv-meta { text-align: right; font-size: 11px; color: #000; }
.inv-meta strong { font-size: 14px; color: #111; display: block; }
.inv-hr { border: none; border-top: 1px solid #eee; margin: 12px 0; }
.inv-tbl { width: 100%; border-collapse: collapse; font-size: 12px; margin-bottom: 14px; }
.inv-tbl th { background: #f6f6f6; padding: 7px 11px; text-align: left; font-size: 9px; text-transform: uppercase; color: #999; letter-spacing: .4px; }
.inv-tbl td { padding: 8px 11px; border-bottom: 1px solid #f0f0f0; }
.inv-tbl tr:last-child td { border-bottom: none; }
.inv-tot { display: flex; justify-content: space-between; font-size: 16px; font-weight: 900; padding: 12px 14px; background: #f5f5f5; border-radius: 8px; }
.inv-foot { text-align: center; font-size: 10px; color: #000; margin-top: 16px; }
.inv-modal { width: 540px !important; }
.btn-print { margin-top: 10px; width: 100%; padding: 12px; background: #1a1d2e; color: #fff; border: none; border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 700; }

/* Toast */
.toast { position: fixed; bottom: 22px; right: 22px; background: #fff; border: 1.5px solid #e4e7f2; border-radius: 10px; padding: 10px 18px; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.12); z-index: 300; transform: translateY(12px); opacity: 0; transition: all .22s; }
.toast.on { transform: translateY(0); opacity: 1; }
.ti.ok { color: #16a05a; } .ti.err { color: #d63535; } .ti.info { color: #e8a020; }

/* Print se radi u posebnom prozoru - vidi printRacun() */@media print { body { display: none; } }

