/* PGD Ljutomer – Preventiva PRO v3.2.09 */
#prevention.pgd-has-hero{background:#081727!important;color:#eef4fb;padding-bottom:26px}
#prevention .pgd-module-hero{margin-bottom:0!important;border-radius:0!important;box-shadow:none!important}
#prevention .prevention-pro{padding:16px 18px 22px;background:linear-gradient(180deg,#091a2b 0%,#081522 100%);min-height:calc(100vh - 250px)}
#prevention .prevent-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
#prevention .prevent-toolbar button{height:44px;border-radius:8px;border:1px solid #31465b;background:#14283a;color:#eaf0f7;font-weight:800;padding:0 18px;cursor:pointer}
#prevention .prevent-toolbar .primary{background:linear-gradient(180deg,#ff3b43,#ed1c24);border-color:#ff4c54;color:#fff;box-shadow:0 7px 18px #d91b2733}
#prevention .prevent-toolbar .danger{background:#301b21;border-color:#6b2c35;color:#ffb4bb}
#prevention .prevent-toolbar .spacer{flex:1}
#prevention .prevent-filters{display:grid;grid-template-columns:1.8fr .7fr 1fr 1fr .9fr .9fr auto;gap:12px;align-items:end;padding:14px;border:1px solid #263c51;border-radius:12px;background:#0c1d2d;margin-bottom:14px}
#prevention .prevent-filter label{display:block;font-size:12px;font-weight:800;color:#cbd7e3;margin:0 0 7px}
#prevention .prevent-filter input,#prevention .prevent-filter select{width:100%;height:42px;box-sizing:border-box;border:1px solid #334b62;border-radius:8px;background:#102437;color:#eef4fb;padding:0 12px;outline:none}
#prevention .prevent-filter input:focus,#prevention .prevent-filter select:focus{border-color:#eb2933;box-shadow:0 0 0 2px #eb293322}
#prevention .prevent-reset{height:42px;border:1px solid #42566a;border-radius:8px;background:#162a3c;color:#eaf0f7;font-weight:800;padding:0 16px;cursor:pointer}
#prevention .prevent-table-wrap{border:1px solid #263c51;border-radius:12px;overflow:auto;background:#0b1b2a;box-shadow:0 12px 28px #0002}
#prevention .prevent-table{width:100%;border-collapse:collapse;min-width:1180px;color:#eaf0f7;font-size:13px}
#prevention .prevent-table th{position:sticky;top:0;z-index:2;background:#10263a;color:#dce6f0;text-align:left;padding:13px 12px;border-bottom:1px solid #385069;font-size:12px;letter-spacing:.01em}
#prevention .prevent-table td{padding:13px 12px;border-bottom:1px solid #20364a;vertical-align:middle}
#prevention .prevent-table tr{transition:.15s background}
#prevention .prevent-table tbody tr:hover{background:#10263a}
#prevention .prevent-table tbody tr.is-selected{background:#152e43;box-shadow:inset 3px 0 #ef2b34}
#prevention .prevent-date{font-weight:850;color:#fff;white-space:nowrap}
#prevention .prevent-type{display:inline-flex;align-items:center;gap:6px;border-radius:7px;padding:6px 9px;font-weight:850;white-space:nowrap;background:#b3202a;color:#fff}
#prevention .prevent-type.hydrant{background:#1672d4}.prevent-type.ext{background:#0c9c59}.prevent-type.edu{background:#ee8a12}.prevent-type.guard{background:#c62828}.prevent-type.other{background:#54687d}
#prevention .prevent-sub{display:block;color:#94a7ba;font-size:11px;margin-top:3px}
#prevention .prevent-doc{display:inline-flex;gap:4px;align-items:center;color:#d6e2ee}
#prevention .prevent-actions{display:flex;gap:7px;justify-content:flex-end}
#prevention .prevent-actions button{width:34px;height:34px;border-radius:7px;border:1px solid #38516a;background:#183047;color:#fff;cursor:pointer}
#prevention .prevent-actions button.del{background:#e52a33;border-color:#f44750}
#prevention .prevent-empty{padding:36px;text-align:center;color:#8fa3b6}
#prevention .prevent-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 3px 0;color:#9eb0c2;font-size:12px}
#prevention .prevent-summary{display:flex;gap:8px;align-items:center}
#prevention .prevent-summary b{color:#fff}
#prevention .prevent-modal-note{font-size:12px;color:#a7b7c7}
/* keep existing editing modal functional but visually aligned */
#fireWatchModal66 .modal-card{background:#0b1a29!important;color:#eef4fb!important;border:1px solid #344b61!important}
#fireWatchModal66 .card{background:#102437!important;border-color:#324960!important;color:#eef4fb!important}
#fireWatchModal66 input,#fireWatchModal66 select,#fireWatchModal66 textarea{background:#0c1f31!important;color:#fff!important;border-color:#3d556d!important}
#fireWatchModal66 table{color:#eaf0f7}
#fireWatchModal66 th{background:#173047;color:#fff}
@media(max-width:1200px){#prevention .prevent-filters{grid-template-columns:repeat(3,1fr)}#prevention .prevent-reset{width:100%}}

/* v3.2.10 – isolated full-bleed layout fix for Preventiva PRO */
html:has(#prevention.page.active),
body:has(#prevention.page.active){
  background:#081727!important;
}
body:has(#prevention.page.active) main{
  padding:0!important;
  margin:0!important;
  max-width:none!important;
  width:100%!important;
  min-width:0!important;
  background:#081727!important;
}
body:has(#prevention.page.active) .layout{
  background:#081727!important;
}
#prevention.page.active{
  margin:0!important;
  padding:0!important;
  width:100%!important;
  max-width:none!important;
  min-height:100vh!important;
  background:#081727!important;
  overflow:auto!important;
}
#prevention.page.active > .pgd-module-hero{
  margin:0!important;
  border-radius:0!important;
  width:100%!important;
  max-width:none!important;
}
#prevention.page.active > .prevention-pro{
  margin:0!important;
  width:100%!important;
  max-width:none!important;
}

/* v3.2.44 – množični izbor Preventiva */
#prevention .prevent-check-head,#prevention .prevent-check-cell{width:62px;text-align:center!important;padding-left:10px!important;padding-right:10px!important}
#prevention .prevent-row-check{width:18px;height:18px;accent-color:#ed1c24;cursor:pointer}
#prevention .prevent-bulkbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:12px;padding:12px 14px;border:1px solid #2d4358;border-radius:10px;background:#0c1d2d;color:#dce6f0}
#prevention .prevent-select-all{display:flex;align-items:center;gap:8px;cursor:pointer}
#prevention .prevent-select-all input{width:18px;height:18px;accent-color:#ed1c24;cursor:pointer}
#prevention .prevent-bulk-count{color:#9fb1c2;font-size:12px;font-weight:700}
#prevention .prevent-bulk-delete{margin-left:auto;height:38px;padding:0 16px;border-radius:8px;border:1px solid #ef4a51;background:#e52a33;color:#fff;font-weight:850;cursor:pointer}
#prevention .prevent-bulk-delete:disabled{opacity:.42;cursor:not-allowed;filter:saturate(.4)}
@media(max-width:760px){#prevention .prevent-bulk-delete{margin-left:0;width:100%}}
