/* PGD Ljutomer – professional fire-service dashboard, v3.2.04 */
#dashboard{padding:0!important;margin:-18px -20px -28px!important;min-height:100vh;background:#0e1824}
#dashboardV2Root{min-height:100vh;background:#0e1824;color:#fff}
.dash2-hero{position:relative;min-height:222px;padding:22px 24px 24px;overflow:hidden;background:linear-gradient(90deg,rgba(9,18,28,.96) 0%,rgba(9,18,28,.73) 45%,rgba(9,18,28,.46) 100%),var(--dash2-bg,url('login-background.jpg'));background-size:cover;background-position:center 45%;border-bottom:1px solid rgba(255,255,255,.08)}
.dash2-hero:after{content:"";position:absolute;inset:auto 0 0;height:80px;background:linear-gradient(transparent,#0e1824);pointer-events:none}
.dash2-top{position:relative;z-index:2;display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.dash2-title{padding-top:8px}.dash2-kicker{font-size:13px;font-weight:900;letter-spacing:4px;color:#f11b27}.dash2-kicker span{color:#c6d0dd}.dash2-title h1{font-size:38px;line-height:1.04;margin:13px 0 4px;color:#fff}.dash2-sub{font-size:19px;color:#c8d1dc}
.dash2-user{display:flex;align-items:center;gap:11px;background:rgba(7,15,24,.72);border:1px solid rgba(255,255,255,.13);border-radius:13px;padding:8px 9px 8px 11px;backdrop-filter:blur(8px);box-shadow:0 8px 28px rgba(0,0,0,.2)}.dash2-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#334256;border:2px solid rgba(255,255,255,.7);font-size:20px}.dash2-avatar img{width:100%;height:100%;object-fit:cover}.dash2-user-copy{min-width:125px}.dash2-user-copy b{display:block;font-size:13px;color:#fff}.dash2-user-copy small{display:block;color:#aeb9c8;margin-top:2px;font-size:11px}.dash2-logout{height:38px;padding:0 15px;border:0;border-radius:8px;background:#ef1824;color:#fff;font-weight:850;cursor:pointer}.dash2-logout:hover{background:#c90e19}
.dash2-hero-note{position:relative;z-index:2;margin-top:15px;display:inline-flex;gap:8px;align-items:center;padding:7px 11px;border-radius:7px;background:rgba(10,20,31,.68);border:1px solid rgba(255,255,255,.16);color:#cdd6e1;font-size:11px}
.dash2-body{position:relative;z-index:3;margin-top:-27px;padding:0 22px 28px}.dash2-kpis{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:10px}.dash2-kpi{min-height:96px;background:#fff;color:#162231;border:1px solid #dce3ea;border-radius:9px;padding:13px 14px;display:flex;align-items:center;gap:11px;box-shadow:0 5px 18px rgba(0,0,0,.14)}.dash2-kpi-ico{width:48px;height:48px;border-radius:11px;display:grid;place-items:center;font-size:25px;background:#eef2f6}.dash2-kpi:nth-child(1) .dash2-kpi-ico,.dash2-kpi:nth-child(4) .dash2-kpi-ico,.dash2-kpi:nth-child(6) .dash2-kpi-ico{color:#e71925}.dash2-kpi:nth-child(2) .dash2-kpi-ico{color:#31445a}.dash2-kpi:nth-child(3) .dash2-kpi-ico{color:#f0a100}.dash2-kpi:nth-child(5) .dash2-kpi-ico{color:#506173}.dash2-kpi-copy span{display:block;font-size:11px;color:#506074;font-weight:750}.dash2-kpi-copy strong{display:inline-block;font-size:27px;line-height:1.1;margin-top:2px}.dash2-kpi-copy small{display:block;font-size:10px;color:#7a8798;margin-top:3px}
.dash2-ready{margin-top:10px;display:grid;grid-template-columns:1.1fr 1fr 1.1fr 1fr;background:#142331;border:1px solid rgba(255,255,255,.08);border-radius:9px;overflow:hidden}.dash2-ready-item{padding:13px 16px;display:flex;gap:11px;align-items:center;border-right:1px solid rgba(255,255,255,.08)}.dash2-ready-item:last-child{border-right:0}.dash2-ready-icon{font-size:27px;color:#ef1824}.dash2-ready b{display:block;font-size:12px}.dash2-ready strong{display:block;color:#42dc78;font-size:14px;margin-top:2px}.dash2-ready small{display:block;color:#9dacbb;font-size:10px;margin-top:2px}
.dash2-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.85fr);gap:12px;margin-top:12px}.dash2-card{background:#fff;color:#172231;border-radius:10px;border:1px solid #dce3ea;box-shadow:0 3px 12px rgba(0,0,0,.08);overflow:hidden}.dash2-card-head{height:52px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f4}.dash2-card-head h3{margin:0;font-size:16px}.dash2-card-head small,.dash2-link{font-size:10px;color:#718096}.dash2-chart{padding:14px 16px 12px}.dash2-bars{height:215px;display:grid;grid-template-columns:repeat(12,1fr);gap:8px;align-items:end;border-bottom:1px solid #dfe5eb;background:repeating-linear-gradient(to top,transparent 0,transparent 42px,#eef1f5 43px)}.dash2-month{height:100%;display:flex;gap:3px;align-items:end;justify-content:center;position:relative;padding-bottom:1px}.dash2-bar{width:11px;border-radius:3px 3px 0 0;min-height:3px}.dash2-bar.int{background:#ef1925}.dash2-bar.ex{background:#64778d}.dash2-labels{display:grid;grid-template-columns:repeat(12,1fr);gap:8px;padding-top:7px;font-size:9px;color:#6e7b8c;text-align:center}.dash2-legend{display:flex;gap:13px;font-size:10px;color:#637083}.dash2-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:4px}.dash2-dot.red{background:#ef1925}.dash2-dot.gray{background:#64778d}
.dash2-alerts{padding:5px 12px 10px}.dash2-alert{display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;padding:9px 2px;border-bottom:1px solid #edf0f3}.dash2-alert:last-child{border-bottom:0}.dash2-alert-icon{width:32px;height:32px;border-radius:7px;display:grid;place-items:center;background:#fee7e8;color:#e31924}.dash2-alert.warn .dash2-alert-icon{background:#fff0d2;color:#e39300}.dash2-alert b{display:block;font-size:11px}.dash2-alert small{display:block;font-size:9px;color:#788496;margin-top:2px}.dash2-tag{padding:4px 7px;border-radius:5px;font-size:9px;font-weight:850;background:#ffe1e3;color:#cf1821}.dash2-alert.warn .dash2-tag{background:#fff0d2;color:#ba7100}
.dash2-bottom{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:12px;margin-top:12px}.dash2-timeline{padding:7px 16px 12px}.dash2-event{display:grid;grid-template-columns:98px 14px 1fr;gap:8px;min-height:43px;align-items:start}.dash2-event-time{font-size:9px;color:#718096;padding-top:5px}.dash2-event-pin{width:9px;height:9px;border-radius:50%;background:#ef1925;margin-top:6px;box-shadow:0 0 0 4px #ffe6e8}.dash2-event-copy b{display:block;font-size:10px}.dash2-event-copy small{font-size:9px;color:#748194}.dash2-actions{padding:13px;display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.dash2-action{min-height:70px;border:0;border-radius:8px;background:#203244;color:#fff;font-weight:800;font-size:11px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.dash2-action span{font-size:24px}.dash2-action.red{background:linear-gradient(180deg,#ef1925,#d40d18)}.dash2-action:hover{filter:brightness(1.1)}.dash2-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px}.dash2-overview-item{border-radius:8px;padding:10px;display:flex;gap:9px;align-items:center;background:#eaf8ef}.dash2-overview-item.warn{background:#fff4da}.dash2-overview-item.danger{background:#ffe9eb}.dash2-overview-item i{font-style:normal;font-size:24px}.dash2-overview-item b{display:block;font-size:10px}.dash2-overview-item strong{display:block;font-size:17px}
.dashboard-bg-settings-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;align-items:stretch}.dashboard-bg-preview{min-height:190px;border-radius:12px;border:1px solid #d7dfe8;background:linear-gradient(90deg,rgba(7,15,24,.78),rgba(7,15,24,.3)),url('login-background.jpg');background-size:cover;background-position:center;display:flex;align-items:flex-end;padding:14px;color:#fff;font-weight:800;overflow:hidden}.dashboard-bg-controls{display:flex;flex-direction:column;gap:10px;justify-content:center}.dashboard-bg-toggle{display:flex;gap:8px;align-items:center;padding:10px;border:1px solid #e0e5eb;border-radius:9px;background:#f8fafc}.dashboard-bg-toggle input{width:19px;height:19px;accent-color:#ef1824}.dashboard-bg-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:5px}
@media(max-width:1200px){.dash2-kpis{grid-template-columns:repeat(3,1fr)}.dash2-grid,.dash2-bottom{grid-template-columns:1fr}.dash2-ready{grid-template-columns:1fr 1fr}.dash2-ready-item:nth-child(2){border-right:0}.dash2-actions{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){#dashboard{margin:-12px!important}.dash2-top{flex-direction:column}.dash2-user{align-self:flex-end}.dash2-kpis{grid-template-columns:1fr 1fr}.dash2-body{padding:0 12px 22px}.dash2-ready{grid-template-columns:1fr}.dash2-ready-item{border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}.dashboard-bg-settings-grid{grid-template-columns:1fr}}
\n/* V3.2.75 – bolj vidna opozorila + utripajoč zvonček */
.dash2-alert-card .dash2-card-head{height:60px;padding:0 18px}
.dash2-alert-card .dash2-card-head h3{font-size:18px;font-weight:850;display:flex;align-items:center;gap:7px}
.dash2-alert-card .dash2-link{font-size:11px;font-weight:700}
.dash2-alert-card .dash2-alerts{padding:8px 14px 13px}
.dash2-alert-card .dash2-alert{grid-template-columns:40px 1fr auto;gap:11px;padding:12px 3px}
.dash2-alert-card .dash2-alert-icon{width:38px;height:38px;border-radius:9px;font-size:17px;font-weight:900}
.dash2-alert-card .dash2-alert b{font-size:13px;line-height:1.25}
.dash2-alert-card .dash2-alert small{font-size:10.5px;line-height:1.35;margin-top:3px}
.dash2-alert-card .dash2-tag{font-size:10px;padding:5px 8px}
.dash2-bell{display:inline-block;font-size:21px;transform-origin:50% 12%;will-change:transform,filter}
.dash2-bell.active{animation:dash2BellRing 1.25s ease-in-out infinite;filter:drop-shadow(0 0 5px rgba(255,193,7,.55))}
.dash2-alert-card.has-alerts{box-shadow:0 0 0 1px rgba(255,193,7,.18),0 4px 18px rgba(0,0,0,.12)}
@keyframes dash2BellRing{
  0%,55%,100%{transform:rotate(0deg) scale(1)}
  8%{transform:rotate(13deg) scale(1.08)}
  16%{transform:rotate(-12deg) scale(1.08)}
  24%{transform:rotate(10deg) scale(1.06)}
  32%{transform:rotate(-8deg) scale(1.04)}
  40%{transform:rotate(5deg) scale(1.02)}
  48%{transform:rotate(0deg) scale(1)}
}
@media (prefers-reduced-motion: reduce){.dash2-bell.active{animation:none}}

/* V3.2.76: dashboard alert opens the exact equipment service record */
.dash2-alert-clickable{cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.dash2-alert-clickable:hover{transform:translateY(-1px);box-shadow:0 0 0 1px rgba(255,195,77,.38),0 8px 22px rgba(0,0,0,.16)}
.dash2-alert-clickable:focus{outline:2px solid rgba(255,195,77,.85);outline-offset:2px}
.dash2-alert-clickable .dash2-tag{text-decoration:underline;text-underline-offset:2px}
