/* ==========================================================================
   Gasilko Evidenca — styles
   ========================================================================== */

/* --- Base ---------------------------------------------------------------- */
:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202124;
  background: #f4f5f7;
  background: #f5f6f8;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }

h1 {
  font-size: clamp(24px, 6vw, 38px);
  margin: 0 0 8px;
  letter-spacing: -.03em;
}
h2 { font-size: 20px; margin: 0 0 18px; }

.muted { color: #687078; font-size: 14px; }

/* --- Layout: header, nav, main, footer (mobile first) --------------------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #c8161f 0%, #9a0d15 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(120, 8, 14, .28);
}

.brand {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .04em;
  color: #fff;
  text-decoration: none;
}
.brand span { font-weight: 500; opacity: .85; }

/* Burger gumb (viden samo na telefonu/tablici) */
header button.burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 10px;
  box-shadow: none;
}
header button.burger:hover { background: rgba(255, 255, 255, .24); }
header button.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
header.nav-open button.burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.nav-open button.burger span:nth-child(2) { opacity: 0; }
header.nav-open button.burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

nav {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: 100%;
  padding: 4px 0 6px;
}
header.nav-open nav { display: flex; }
nav a,
nav .navbtn {
  position: relative;
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 12px 14px;
  border-radius: 10px;
  transition: all 0.18s ease-in-out;
}
nav a:hover,
nav .navbtn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
nav a.active {
  background: #fff;
  color: #000;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
nav a.active:hover {
  background: #fff;
  color: #000;
}
nav a:active,
nav .navbtn:active {
  transform: scale(0.97);
}
nav form { margin: 6px 0 0; }
nav .navbtn { border: 1px solid rgba(255, 255, 255, .35); width: 100%; }

main {
  max-width: 1160px;
  margin: 20px auto;
  padding: 0 14px;
}

footer {
  text-align: center;
  color: #888;
  font-size: 12px;
  padding: 24px;
}

/* --- Page header --------------------------------------------------------- */
.pagehead {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.pagehead > div { min-width: 0; max-width: 100%; }
.pagehead > div:last-child:not(:first-child) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  color: #b5121b;
  margin: 0 0 8px;
}

/* --- Buttons System ------------------------------------------------------ */
button:not(.navbtn),
.primary,
.secondary,
.btn,
.btn-primary,
.btn-secondary,
.btn-gray,
.btn-danger,
.linkbutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.15s ease-in-out;
}

/* SVG ikone v gumbih */
button svg,
.primary svg,
.secondary svg,
.btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

/* Primary - Rdeč (Gasilko rdeča) */
button.primary,
.primary,
.btn-primary {
  background-color: #b5121b;
  color: #ffffff;
}
button.primary:hover,
.primary:hover,
.btn-primary:hover {
  background-color: #8c0a11 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(181, 18, 27, 0.1);
}
button.primary:active,
.primary:active,
.btn-primary:active {
  background-color: #6b060c !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Secondary / Siv gumb (enak stil kot primarni, le elegantna nevtralna siva) */
button.secondary,
button.btn-danger,
button.btn-gray,
.secondary,
.btn-secondary,
.btn-gray,
.btn-danger {
  background-color: #555e6c;
  color: #ffffff;
}
button.secondary:hover,
button.btn-danger:hover,
button.btn-gray:hover,
.secondary:hover,
.btn-secondary:hover,
.btn-gray:hover,
.btn-danger:hover {
  background-color: #373e48 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
button.secondary:active,
button.btn-danger:active,
button.btn-gray:active,
.secondary:active,
.btn-secondary:active,
.btn-gray:active,
.btn-danger:active {
  background-color: #1e2228 !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Hover efekt na ikoni */
button:hover svg,
.primary:hover svg,
.secondary:hover svg {
  opacity: 0.9;
}

/* Prilagoditev velikosti za manjše gumbe in tabele */
.btn-sm,
button.btn-sm,
table button:not(.navbtn) {
  padding: 7px 13px;
  font-size: 13px;
  border-radius: 7px;
}

/* --- Forms --------------------------------------------------------------- */
input,
select,
textarea {
  font: inherit;
  font-size: 16px; /* prepreči samodejni zoom na iOS */
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #d8dce1;
  background: white;
  border-radius: 8px;
  padding: 11px 12px;
  min-height: 44px;
  color: #202124;
}
select {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
}
label small { font-weight: 400; color: #687078; }

.formcard {
  background: #fff;
  border: 1px solid #e4e6e9;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px #00000005;
}

.formgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.formgrid > * { min-width: 0; }
.formgrid .full { grid-column: 1 / -1; }

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 24px;
}
.search input {
  flex: 1;
  padding-left: 42px;
  border-radius: 12px;
  min-height: 46px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 14px center;
  transition: border-color .15s, box-shadow .15s;
}
.search input:focus,
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #b5121b;
  box-shadow: 0 0 0 3px rgba(181, 18, 27, .12);
}
input.input-invalid {
  border-color: #b5121b;
  background-color: #fff8f8;
}
.field-error {
  display: block;
  margin-top: 4px;
  color: #b5121b;
  font-size: 12px;
  font-weight: 600;
}

/* --- Searchable select (combobox za telefon in namizje) ------------------ */
.ss-wrap { position: relative; width: 100%; min-width: 0; }
.ss-native {
  position: absolute !important;
  inset: 0;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1;
}
.ss-input {
  padding-right: 60px;
  text-overflow: ellipsis;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23687078' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
}
button.ss-clear {
  position: absolute;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
  display: none;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #687078;
  font-size: 18px;
  box-shadow: none;
}
button.ss-clear:hover { background: #eceef0; color: #202124; }
.ss-wrap.ss-has-value .ss-clear { display: inline-flex; }
.ss-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 40;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid #d8dce1;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
  max-height: min(260px, 42vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.ss-wrap.ss-open .ss-list { display: block; }
.ss-option {
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 500;
  color: #202124;
  cursor: pointer;
}
.ss-option:hover, .ss-option.is-active { background: #f4f5f7; }
.ss-option.is-selected { background: #fdecee; color: #8c0a11; font-weight: 700; }
.ss-option.is-create { color: #b5121b; font-weight: 700; }
.ss-option.is-create-sep { border-top: 1px solid #eceef0; margin-top: 4px; }
.ss-option.is-placeholder { color: #687078; }
.ss-empty { padding: 12px; text-align: center; color: #687078; font-size: 14px; font-weight: 400; }
.search a { align-self: center; color: #555; font-size: 14px; text-decoration: none; }
.search a:hover { color: #b5121b; }
.search.loading input { opacity: .75; }

.live-count { color: #687078; font-size: 13px; font-weight: 500; }
.live-empty { display: none; }

/* --- Filter tags (na telefonu dropdown, na tablici/namizju značke) ------- */
.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: -6px 0 20px;
}
.filter-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.filter-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #687078;
}
.filter-select {
  display: block;
  width: 100%;
}
button.filter-tag,
.filter-tag {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 1px solid #d8dce1;
  border-radius: 999px;
  background: #ffffff;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.15s ease;
}
button.filter-tag:hover,
.filter-tag:hover {
  border-color: #b5121b;
  color: #b5121b;
  background: #fff;
  box-shadow: none;
}
button.filter-tag.active,
.filter-tag.active {
  background: #fdecee !important;
  border-color: #b5121b !important;
  color: #8c0a11 !important;
  font-weight: 700;
  box-shadow: none;
}

/* --- Contact picker (nova podstranka) ------------------------------------ */
.picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.picker label {
  flex: 1 1 140px; /* oznake se raztegnejo čez celotno širino (obojestranska poravnava) */
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid #d8dce1;
  border-radius: 999px;
  cursor: pointer;
  background: #fff;
  font-weight: 600;
  transition: all .15s;
}
.picker label:hover { border-color: #b5121b; }
.picker input[type=radio],
.picker input[type=checkbox] {
  width: auto;
  min-height: 0;
  padding: 0;
  accent-color: #b5121b;
}
.picker label:has(input:checked) {
  background: #fdecee;
  border-color: #b5121b;
  color: #8c0a11;
}
.contact-panel { display: none; animation: fadein .2s ease; }
.contact-panel.show { display: block; }
@keyframes fadein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #687078;
  margin-bottom: 20px;
}
.breadcrumbs a {
  color: #b5121b;
  text-decoration: none;
  font-weight: 600;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs span {
  color: #9aa0a6;
}

.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f3f5;
  color: #495057;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
}

/* --- Info Grid (za pregled podrobnosti brez vnosnih polj) ------------------ */
.infogrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px 28px;
}
.infogrid > * { min-width: 0; overflow-wrap: anywhere; }
.infogrid .full {
  grid-column: 1 / -1;
}
.infoitem {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.infolabel {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #737980;
}
.infovalue {
  font-size: 15px;
  color: #202124;
  line-height: 1.4;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- Tables -------------------------------------------------------------- */
.tablewrap {
  overflow-x: auto;
  background: white;
  border: 1px solid #e4e6e9;
  border-radius: 12px;
  margin-bottom: 32px;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  min-width: 0;
}

th,
td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid #eceef0;
}

th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #737980;
  background: #fafafa;
}

tr:last-child td { border-bottom: 0; }

td small {
  display: block;
  color: #777;
  font-size: 12px;
  margin-top: 4px;
}

.idlink {
  font-weight: 800;
  color: #b5121b;
  text-decoration: none;
}

.idlink-lg {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .05em;
  line-height: 1.2;
  color: #b5121b;
  text-decoration: none;
  display: inline-block;
}

.item-title {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #b5121b;
  line-height: 1.35;
  text-decoration: none;
  transition: color .15s ease;
}
a.item-title:hover {
  color: #8c0a11;
}
.item-title-lg {
  font-size: 17px;
  line-height: 1.3;
}

.entity-link {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
  text-decoration: none;
  color: #202124;
}
.entity-link:hover .code-dark,
.entity-link:hover .code-dark-sm {
  color: #b5121b;
}
.entity-label {
  font-size: 12.5px;
  font-weight: 500;
  color: #2c3137;
  letter-spacing: 0;
}
.code-dark {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.3;
  color: #1f2328;
  text-decoration: none;
  display: inline-block;
  transition: color .15s ease;
}
.code-dark:hover {
  color: #b5121b;
}
.code-dark-sm {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  color: #1f2328;
  text-decoration: none;
  transition: color .15s ease;
}

.entity-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.entity-heading .entity-label {
  font-size: 15px;
  font-weight: 600;
  color: #2c3137;
}
.entity-heading-code {
  color: #b5121b;
  letter-spacing: .03em;
}

.username-lg {
  font-size: 17px;
  font-weight: 800;
  color: #1a1d20;
  letter-spacing: -.01em;
}

.empty { text-align: center; color: #777; padding: 30px; }

/* Clickable table cells */
.clickable-cell {
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.clickable-cell:hover {
  background-color: #f6f8fa;
}
.cell-link {
  color: #1a1d20;
  text-decoration: none;
  display: block;
}
.clickable-cell:hover .cell-link,
.cell-link:hover {
  color: #b5121b;
}

/* --- Extinguisher detail ------------------------------------------------- */
.detailhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 24px;
}

.detailgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.detailgrid .formcard { margin: 0; }

.qrbox {
  background: white;
  border: 1px solid #e4e6e9;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  width: 150px;
}
.qrbox img { width: 128px; height: 128px; display: block; }
.qrbox small { font-size: 11px; color: #666; }

dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  font-size: 14px;
}
dt { color: #687078; }
dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.hint {
  font-size: 12px;
  line-height: 1.5;
  color: #6b7178;
  margin-top: 16px;
}

.history { margin-top: 24px; }

/* --- Messages and status ------------------------------------------------- */
.error {
  background: #fff0f0;
  color: #9c1119;
  padding: 12px 14px;
  border-radius: 8px;
  margin: 12px 0;
}

.status-ok {
  padding: 12px;
  border-radius: 8px;
  background: #e7f6ec;
  color: #176b36;
  font-weight: 700;
}

.status-warning {
  padding: 12px;
  border-radius: 8px;
  background: #fff2df;
  color: #8a4b00;
  font-weight: 700;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-admin { background: #fee2e2; color: #991b1b; }
.badge-user { background: #e0f2fe; color: #0369a1; }


/* --- Login page ---------------------------------------------------------- */
.loginbody {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f5f6f8, #fff);
}

.loginbox {
  width: min(420px, calc(100% - 32px));
  padding: 32px;
  background: #fff;
  border: 1px solid #e4e6e9;
  border-radius: 16px;
  box-shadow: 0 12px 40px #0000000b;
}
.loginbox h1 { font-size: 24px; margin-top: 28px; }
.loginbox p  { color: #687078; font-size: 14px; margin-bottom: 24px; }

.dark { color: #b5121b; }
.dark span { color: #555; }

/* --- Responsive (mobile first: osnovni slogi zgoraj so za telefon) -------- */

/* Elementi, ki so vidni le na namizju (>= 1024px), skriti na telefonu in tablici */
.desktop-only {
  display: none !important;
}

/* Tablica in večji: dvostolpčne mreže, značke za filtre, večji odmiki */
@media (min-width: 760px) {
  main { margin: 26px auto; padding: 0 18px; }
  .pagehead {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
  }
  .formcard { padding: 20px; margin-bottom: 22px; }
  .formgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .infogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
  .detailgrid { grid-template-columns: 1.15fr .85fr; gap: 18px; }
  dl { grid-template-columns: 150px 1fr; }
  input, select, textarea { min-height: 42px; }
  .picker label { flex: 0 1 auto; padding: 9px 14px; }
  .filter-bar { display: flex; flex-direction: column; gap: 10px; margin: -8px 0 22px; }
  .filter-group { flex-direction: row; align-items: center; gap: 8px; flex-wrap: wrap; }
  .filter-label { margin-right: 4px; }
  .filter-select { display: none; }
  button.filter-tag, .filter-tag { display: inline-flex; }
}

/* Namizje: polni odmiki in horizontalni meni */
@media (min-width: 1024px) {
  main { margin: 32px auto; padding: 0 20px; }
  .formcard { padding: 24px; margin-bottom: 24px; }
  .formgrid { gap: 18px; }
  .detailgrid { grid-template-columns: 1.1fr .9fr; gap: 20px; }
  th, td { padding: 14px 16px; }
  th.desktop-only,
  td.desktop-only {
    display: table-cell !important;
  }
  a.desktop-only,
  button.desktop-only {
    display: inline-flex !important;
  }
  span.desktop-only {
    display: inline !important;
  }
}

/* Namizje: meni v eni vrstici, burger skrit */
@media (min-width: 900px) {
  header {
    flex-wrap: nowrap;
    padding: 12px max(20px, calc((100% - 1160px) / 2));
  }
  header button.burger { display: none; }
  nav,
  header.nav-open nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    width: auto;
    padding: 0;
  }
  nav a,
  nav .navbtn {
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .85);
  }
  nav form { margin: 0 0 0 10px; }
  nav .navbtn { width: auto; }
}

/* Telefon: tabele postanejo kartice (ena kartica na vrstico) */
@media (max-width: 759px) {
  .tablewrap {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    margin-bottom: 20px;
  }
  table,
  tbody {
    display: block;
    min-width: 0;
    width: 100%;
  }
  thead { display: none; }
  table tr {
    display: block;
    background: #fff;
    border: 1px solid #e4e6e9;
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 6px 0;
    box-shadow: 0 2px 10px #00000005;
  }
  table tr:last-child td { border-bottom: 0; }
  th,
  td {
    display: block;
    padding: 8px 14px;
    border-bottom: 0;
    overflow-wrap: anywhere;
  }
  td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #737980;
  }
  td.cell-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start !important;
    white-space: normal !important;
    text-align: left !important;
    padding-top: 10px;
    border-top: 1px solid #eceef0;
  }
  td.cell-actions > a { margin-right: 0 !important; }
  td.cell-actions-empty { display: none !important; }
  td.empty { text-align: center; padding: 24px 14px; }
  .qrbox { width: 112px; }
  .qrbox img { width: 90px; height: 90px; }
  .search { flex-wrap: wrap; }
  .search input { flex-basis: 100%; }
  .search button { flex: 1 1 100%; }
  .izvoz-actions { margin-top: 18px; }
  .izvoz-actions button { width: 100%; min-height: 46px; }
}
