:root{--color-bg: #1a1a2e;--color-surface: #16213e;--color-surface-hover: #1f3460;--color-border: #2a2a4a;--color-primary: #e94560;--color-primary-hover: #ff6b6b;--color-text: #f0f0f0;--color-text-muted: #b8bcc4;--color-success: #22c55e;--color-warning: #f59e0b;--color-error: #ef4444;--font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;--text-base: 1.0625rem;--text-sm: .9375rem;--text-lg: 1.1875rem;--text-xl: 1.3125rem;--text-2xl: 1.625rem;--font-medium: 500;--font-semibold: 600;--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.25rem;--space-6: 1.5rem;--space-8: 2rem;--space-10: 2.5rem;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 10px;color-scheme:dark;font-family:var(--font-sans);line-height:1.5;background-color:var(--color-bg)}*{box-sizing:border-box}body{margin:0;min-height:100vh;color:var(--color-text);font-size:var(--text-base)}:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}[data-theme=light]{--color-bg: #f4f5f7;--color-surface: #ffffff;--color-surface-hover: #e8eaed;--color-border: #dadce0;--color-text: #1f2937;--color-text-muted: #6b7280}[data-theme=light] body{color-scheme:light}.toast-container{position:fixed;top:var(--space-4, 1rem);right:var(--space-4, 1rem);z-index:9999;display:flex;flex-direction:column;gap:var(--space-2, .5rem);max-width:360px}.toast{padding:var(--space-3, .75rem) var(--space-4, 1rem);border-radius:var(--radius-md, 8px);box-shadow:0 4px 12px #0000004d;cursor:pointer;animation:toast-in .25s ease-out}.toast-message{font-size:var(--text-sm, .875rem)}.toast-success{background:var(--color-success);color:#fff}.toast-error{background:var(--color-error);color:#fff}.toast-info{background:var(--color-surface);color:var(--color-text);border:1px solid var(--color-border)}@keyframes toast-in{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}.form-field{display:flex;flex-direction:column;gap:var(--space-1, .25rem)}.form-field label{color:var(--color-text-muted);font-size:var(--text-sm);font-weight:var(--font-medium)}.form-field .field-error{color:var(--color-error);font-size:var(--text-sm)}.form-field input.invalid,.form-field select.invalid{border-color:var(--color-error)}.login{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--color-bg);position:relative}.login-theme-toggle{position:absolute;top:1rem;right:1rem;width:44px;height:44px;padding:0;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text);font-size:1.35rem;cursor:pointer}.login-theme-toggle:hover{border-color:var(--color-primary)}.login-card{background:var(--color-surface);padding:2rem;border-radius:12px;box-shadow:0 4px 20px #0000004d;width:100%;max-width:360px}.login-card h1{margin:0 0 .5rem;color:#eee;font-size:1.5rem}.login-card>p{margin:0 0 1.5rem;color:#999;font-size:.9rem}.login-card form{display:flex;flex-direction:column;gap:1rem}.login-card input{padding:.75rem 1rem;border:1px solid #333;border-radius:8px;background:#0f0f1a;color:#eee;font-size:1rem}.login-card input:focus{outline:none;border-color:#e94560}.login-card .error{color:#e94560;font-size:.9rem;margin:0}.login-card button{padding:.75rem 1rem;background:#e94560;border:none;border-radius:8px;color:#fff;font-size:1rem;cursor:pointer}.login-card button:hover{background:#d63a54}.login-card button:disabled{opacity:.7;cursor:not-allowed}.dashboard-page{padding:var(--space-6) var(--space-4);max-width:900px;margin:0 auto}.dashboard-page h1{margin:0 0 var(--space-2);font-size:var(--text-2xl);font-weight:var(--font-semibold);color:var(--color-text)}.dashboard-subtitle{margin:0 0 var(--space-6);color:var(--color-text-muted);font-size:var(--text-base)}.dashboard-error{color:var(--color-error)}.dashboard-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:var(--space-4);margin-bottom:var(--space-8)}.dashboard-card{display:flex;flex-direction:column;align-items:center;padding:var(--space-5);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);text-decoration:none;color:var(--color-text);transition:background .2s,border-color .2s}.dashboard-card:hover{background:var(--color-surface-hover);border-color:var(--color-primary)}.dashboard-card-icon{width:40px;height:40px;margin-bottom:var(--space-3);color:var(--color-primary)}.dashboard-card-icon--success{color:var(--color-success)}.dashboard-card-icon svg{width:100%;height:100%}.dashboard-card-value{font-size:var(--text-2xl);font-weight:var(--font-semibold);margin-bottom:var(--space-1)}.dashboard-card-label{font-size:var(--text-sm);color:var(--color-text-muted)}.dashboard-links{display:flex;flex-wrap:wrap;gap:var(--space-3)}.dashboard-link{padding:var(--space-2) var(--space-4);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text);text-decoration:none;font-size:var(--text-sm);transition:background .2s,border-color .2s}.dashboard-link:hover{background:var(--color-surface-hover);border-color:var(--color-primary);color:var(--color-primary)}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.mapa-page{display:flex;height:calc(100vh - 56px)}.vehicle-list{width:280px;background:#16213e;padding:1rem;overflow-y:auto}.vehicle-list h2{margin:0 0 1rem;color:#eee;font-size:1.1rem}.vehicle-list .error{color:#e94560;font-size:.9rem}.vehicle-list ul{list-style:none;padding:0;margin:0}.vehicle-list li{padding:.75rem;margin-bottom:.5rem;background:#1a1a2e;border-radius:8px;display:flex;flex-direction:column;gap:.25rem}.vehicle-list li.online{border-left:4px solid #0f0}.vehicle-list li.offline{border-left:4px solid #666}.vehicle-list li.clickable{cursor:pointer}.vehicle-list li.clickable:hover{background:#252547}.vehicle-list .plate{font-weight:600;color:#eee}.vehicle-list .driver{color:#999;font-size:.9rem}.vehicle-list .status{font-size:.85rem}.vehicle-list li.online .status{color:#0f0}.vehicle-list li.offline .status{color:#666}.vehicle-list .time{font-size:.8rem;color:#777}.map-wrap{flex:1;min-height:0;position:relative}.map-container,.map-wrap .map{width:100%;height:100%}.map-legend{position:absolute;bottom:12px;left:12px;z-index:1000;background:#16213ef2;padding:10px 14px;border-radius:10px;box-shadow:0 2px 12px #0006;font-size:.85rem;color:#eee}.map-legend-title{display:block;font-weight:600;margin-bottom:8px;color:#ccc}.map-legend-item{display:flex;align-items:center;gap:8px;margin-bottom:4px}.map-legend-dot{width:14px;height:14px;border-radius:50%;flex-shrink:0}.map-legend-dot.marker-online{background:#0f0;box-shadow:0 0 4px #0f09}.map-legend-dot.marker-offline{background:#666}.map-legend-dot.marker-task{border:2px solid white;box-shadow:0 1px 2px #0000004d}.map-legend-dot.marker-task-pending{background:#888}.map-legend-dot.marker-task-picked-up{background:#ff0}.map-legend-dot.marker-task-delivered{background:#0f0}.map-legend-toggle{display:flex;align-items:center;gap:8px;margin-top:10px;padding-top:8px;border-top:1px solid #333;cursor:pointer;font-size:.9rem}.map-legend-toggle input{width:18px;height:18px;cursor:pointer}.custom-marker{background:none!important;border:none!important}.marker-car{display:flex;align-items:center;justify-content:center;line-height:0}.marker-car svg{width:100%;height:100%;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5))}.marker-car-online svg{color:#0f0}.marker-car-offline svg{color:#666}.map-legend-icon.marker-car{width:20px;height:20px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}.map-legend-icon.marker-car svg{width:100%;height:100%}.map-legend-icon.marker-car-online svg{color:#0f0}.map-legend-icon.marker-car-offline svg{color:#666}.marker-task{width:14px;height:14px;border-radius:50%;border:2px solid white;box-shadow:0 1px 3px #0006}.marker-task-delivered{background:#0f0}.marker-task-picked-up{background:#ff0}.marker-task-pending{background:#888}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--space-10) var(--space-4);color:var(--color-text-muted);text-align:center}.table-empty-icon{width:64px;height:64px;margin-bottom:var(--space-4);opacity:.5}.empty-state p{margin:0;font-size:var(--text-lg)}.vehicle-table .empty-state,.task-table .empty-state,.driver-table .empty-state{padding:var(--space-6) var(--space-4)}.vehicle-table .table-empty-icon,.task-table .table-empty-icon,.driver-table .table-empty-icon{width:48px;height:48px}.table-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-4);margin-bottom:var(--space-4)}.table-toolbar-filter{flex:1;min-width:200px;padding:var(--space-2) var(--space-3);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text);font-size:var(--text-base)}.table-toolbar-filter:focus{outline:none;border-color:var(--color-primary)}.table-toolbar-filter::placeholder{color:var(--color-text-muted)}.table-pagination{display:flex;align-items:center;gap:var(--space-3);font-size:var(--text-sm);color:var(--color-text-muted)}.table-pagination select{padding:var(--space-1) var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);font-size:var(--text-sm)}.table-pagination button{padding:var(--space-1) var(--space-2);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-text);font-size:var(--text-sm);cursor:pointer}.table-pagination button:hover:not(:disabled){border-color:var(--color-primary);color:var(--color-primary)}.table-pagination button:disabled{opacity:.5;cursor:not-allowed}.th-sortable{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}.th-sortable:hover{color:var(--color-primary)}.th-sortable .sort-icon{width:14px;height:14px;margin-left:var(--space-1);vertical-align:middle;opacity:.7}.th-sortable--active .sort-icon{opacity:1}.confirm-modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1100}.confirm-modal{background:var(--color-surface, #16213e);padding:1.5rem;border-radius:12px;min-width:320px;max-width:90vw;box-shadow:0 8px 32px #0006}.confirm-modal-title{margin:0 0 .5rem;color:var(--color-text, #eee);font-size:1.25rem}.confirm-modal-message{margin:0 0 1.25rem;color:var(--color-text-muted, #999);font-size:.95rem;line-height:1.4}.confirm-modal-actions{display:flex;gap:.75rem;justify-content:flex-end}.confirm-modal-cancel,.confirm-modal-confirm{padding:.5rem 1rem;border:none;border-radius:var(--radius-md, 8px);font-size:.95rem;cursor:pointer}.confirm-modal-cancel{background:#444;color:#eee}.confirm-modal-cancel:hover:not(:disabled){background:#555}.confirm-modal-confirm{color:#fff}.confirm-modal-confirm--default{background:var(--color-primary, #e94560)}.confirm-modal-confirm--default:hover:not(:disabled){background:var(--color-primary-hover, #d63a54)}.confirm-modal-confirm--danger{background:#dc2626}.confirm-modal-confirm--danger:hover:not(:disabled){background:#b91c1c}.confirm-modal-cancel:disabled,.confirm-modal-confirm:disabled{opacity:.6;cursor:not-allowed}.vozila-page{padding:1.5rem;max-width:800px}.vozila-page h1{margin:0 0 1rem;color:#eee;font-size:1.5rem}.vozila-page .error{color:#e94560;margin:0 0 1rem}.add-form{display:flex;gap:.75rem;margin-bottom:1.5rem}.add-form .add-form-field{flex:1;min-width:0}.add-form .add-form-field input{width:100%}.add-form input{flex:1;padding:.75rem 1rem;border:1px solid #333;border-radius:8px;background:#16213e;color:#eee;font-size:1rem}.add-form input:focus{outline:none;border-color:#e94560}.add-form button{padding:.75rem 1.5rem;background:#e94560;border:none;border-radius:8px;color:#fff;font-size:1rem;cursor:pointer}.add-form button:hover:not(:disabled){background:#d63a54}.add-form button:disabled{opacity:.6;cursor:not-allowed}.vehicle-table{width:100%;border-collapse:collapse}.vehicle-table th,.vehicle-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #333}.vehicle-table th{color:#999;font-weight:600;font-size:.9rem}.vehicle-table td{color:#eee}.vehicle-actions-cell{display:flex;flex-wrap:wrap;gap:var(--space-2)}.vehicle-actions-cell .nav-icon{width:14px;height:14px;margin-right:var(--space-1);vertical-align:middle}.vehicle-actions-cell button{display:inline-flex;align-items:center}.vozila-page .btn-edit{padding:.4rem .8rem;font-size:.9rem;background:#5bc0de;color:#1a1a2e;border:none;border-radius:6px;cursor:pointer;font-weight:600}.vozila-page .btn-edit:hover{background:#46b8da}.vozila-page .btn-delete{padding:.4rem .8rem;font-size:.9rem;background:#d9534f;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:600}.vozila-page .btn-delete:hover:not(:disabled){background:#c9302c}.vozila-page .btn-delete:disabled{opacity:.6;cursor:not-allowed}.vozila-page .modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000}.vozila-page .modal{background:#16213e;padding:1.5rem;border-radius:12px;min-width:320px;max-width:90vw}.vozila-page .modal h3{margin:0 0 1rem;color:#eee;font-size:1.25rem}.vozila-page .modal-form{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.vozila-page .modal-form label{color:#999;font-size:.9rem}.vozila-page .modal-form input,.vozila-page .modal-form select{padding:.75rem;border:1px solid #333;border-radius:8px;background:#1a1a2e;color:#eee;font-size:1rem}.vozila-page .modal-actions{display:flex;gap:.75rem;justify-content:flex-end}.vozila-page .modal-actions button{padding:.5rem 1rem;border:none;border-radius:8px;cursor:pointer;font-size:.95rem}.vozila-page .modal-actions .btn-save{background:#e94560;color:#fff}.vozila-page .modal-actions .btn-save:hover:not(:disabled){background:#d63a54}.vozaci-page{padding:1.5rem;max-width:800px}.vozaci-page h1{margin:0 0 .5rem;color:#eee;font-size:1.5rem}.vozaci-desc{color:#999;font-size:.9rem;margin:0 0 1rem}.vozaci-page .error{color:#e94560;margin:0 0 1rem}.vozaci-page .add-form{display:flex;gap:.75rem;margin-bottom:1.5rem}.vozaci-page .add-form .add-form-field{flex:1;min-width:0}.vozaci-page .add-form .add-form-field input{width:100%}.vozaci-page .add-form input{flex:1;padding:.75rem 1rem;border:1px solid #333;border-radius:8px;background:#16213e;color:#eee;font-size:1rem}.vozaci-page .add-form input:focus{outline:none;border-color:#e94560}.vozaci-page .add-form button{padding:.75rem 1.5rem;background:#e94560;border:none;border-radius:8px;color:#fff;font-size:1rem;cursor:pointer}.vozaci-page .add-form button:hover:not(:disabled){background:#d63a54}.vozaci-page .add-form button:disabled{opacity:.6;cursor:not-allowed}.driver-table{width:100%;border-collapse:collapse}.driver-table th,.driver-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #333}.driver-table th{color:#999;font-weight:600;font-size:.9rem}.driver-table td{color:#eee}.driver-actions-cell{display:flex;flex-wrap:wrap;gap:var(--space-2)}.driver-actions-cell button{display:inline-flex;align-items:center}.driver-actions-cell .nav-icon{width:14px;height:14px;margin-right:var(--space-1)}.vozaci-page .btn-edit{padding:.4rem .8rem;font-size:.9rem;background:#5bc0de;color:#1a1a2e;border:none;border-radius:6px;cursor:pointer;font-weight:600}.vozaci-page .btn-edit:hover{background:#46b8da}.vozaci-page .btn-delete{padding:.4rem .8rem;font-size:.9rem;background:#d9534f;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:600}.vozaci-page .btn-delete:hover:not(:disabled){background:#c9302c}.vozaci-page .btn-delete:disabled{opacity:.6;cursor:not-allowed}.vozaci-page .modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000}.vozaci-page .modal{background:#16213e;padding:1.5rem;border-radius:12px;min-width:320px;max-width:90vw}.vozaci-page .modal h3{margin:0 0 1rem;color:#eee;font-size:1.25rem}.vozaci-page .modal-form{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.vozaci-page .modal-form label{color:#999;font-size:.9rem}.vozaci-page .modal-form input{padding:.75rem;border:1px solid #333;border-radius:8px;background:#1a1a2e;color:#eee;font-size:1rem}.vozaci-page .modal-actions{display:flex;gap:.75rem;justify-content:flex-end}.vozaci-page .modal-actions button{padding:.5rem 1rem;border:none;border-radius:8px;cursor:pointer;font-size:.95rem}.vozaci-page .modal-actions .btn-save{background:#e94560;color:#fff}.vozaci-page .modal-actions .btn-save:hover:not(:disabled){background:#d63a54}.zadaci-page{padding:1.5rem;max-width:900px}.zadaci-page h1{margin:0 0 1rem;color:#eee;font-size:1.5rem}.zadaci-page .error{color:#e94560;margin:0 0 1rem}.task-form{display:flex;gap:.75rem;margin-bottom:1.5rem;flex-wrap:wrap}.task-form .form-field{min-width:0}.task-form .task-form-address{flex:2;min-width:200px}.task-form .task-form-driver{flex:1;min-width:150px}.task-form .form-field input,.task-form .form-field select{width:100%}.task-form input{flex:2;min-width:200px;padding:.75rem 1rem;border:1px solid #333;border-radius:8px;background:#16213e;color:#eee;font-size:1rem}.task-form select{flex:1;min-width:150px;padding:.75rem 1rem;border:1px solid #333;border-radius:8px;background:#16213e;color:#eee;font-size:1rem}.task-form input:focus,.task-form select:focus{outline:none;border-color:#e94560}.task-form button{padding:.75rem 1.5rem;background:#e94560;border:none;border-radius:8px;color:#fff;font-size:1rem;cursor:pointer}.task-form button:hover:not(:disabled){background:#d63a54}.task-form button:disabled{opacity:.6;cursor:not-allowed}.btn-dodeli{padding:.4rem .8rem;font-size:.9rem;background:#f0ad4e;color:#1a1a2e;border:none;border-radius:6px;cursor:pointer;font-weight:600}.btn-dodeli:hover:not(:disabled){background:#ec971f}.btn-dodeli:disabled{opacity:.6;cursor:not-allowed}.task-actions-cell{display:flex;flex-wrap:wrap;gap:var(--space-2)}.task-actions-cell button{display:inline-flex;align-items:center}.task-actions-cell .nav-icon{width:14px;height:14px;margin-right:var(--space-1)}.btn-edit{padding:.4rem .8rem;font-size:.9rem;background:#5bc0de;color:#1a1a2e;border:none;border-radius:6px;cursor:pointer;font-weight:600}.btn-edit:hover{background:#46b8da}.btn-delete{padding:.4rem .8rem;font-size:.9rem;background:#d9534f;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:600}.btn-delete:hover:not(:disabled){background:#c9302c}.btn-delete:disabled{opacity:.6;cursor:not-allowed}.modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background:#16213e;padding:1.5rem;border-radius:12px;min-width:320px;max-width:90vw}.modal h3{margin:0 0 1rem;color:#eee;font-size:1.25rem}.modal-form{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.modal-form label{color:#999;font-size:.9rem}.modal-form input,.modal-form select{padding:.75rem;border:1px solid #333;border-radius:8px;background:#1a1a2e;color:#eee;font-size:1rem}.modal-actions{display:flex;gap:.75rem;justify-content:flex-end}.modal-actions button{padding:.5rem 1rem;border:none;border-radius:8px;cursor:pointer;font-size:.95rem}.modal-actions .btn-save{background:#e94560;color:#fff}.modal-actions .btn-save:hover:not(:disabled){background:#d63a54}.task-table{width:100%;border-collapse:collapse}.task-table th,.task-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #333}.task-table th{color:#999;font-weight:600;font-size:.9rem}.task-table td{color:#eee}.zadaci-page .sla-badge{display:inline-block;padding:.25rem .5rem;border-radius:6px;font-size:.75rem;font-weight:600;margin-left:6px}.zadaci-page .sla-badge.sla-on_time{background:#5cb85c;color:#1a1a2e}.zadaci-page .sla-badge.sla-at_risk{background:#f0ad4e;color:#1a1a2e}.zadaci-page .sla-badge.sla-late{background:#e94560;color:#fff}.driver-page{padding:1rem;max-width:600px;margin:0 auto;font-size:1.125rem;min-height:100vh}.driver-step{margin-bottom:1.5rem}.driver-step-title{margin:0 0 .75rem;font-size:1.1rem;font-weight:600;color:#bbb}.driver-label{display:block;margin-bottom:.35rem;font-size:.95rem;color:#999}.driver-input,.driver-token-form input{width:100%;box-sizing:border-box}.btn-logout{padding:.5rem 1rem;min-height:44px;font-size:1rem}.location-sent-ok{margin:0 0 .25rem;color:#5cb85c;font-weight:600;font-size:1rem}.gps-meta{font-size:.9rem;color:#888}.driver-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:.5rem}.driver-header h1{margin:0;color:#eee;font-size:1.75rem}.connection-badge{padding:.4rem .9rem;border-radius:20px;font-size:.9rem;font-weight:600}.connection-badge.online{background:#5cb85c;color:#1a1a2e}.connection-badge.offline{background:#e94560;color:#fff}.error-banner{background:#e94560;color:#fff;padding:1rem 1.25rem;border-radius:8px;margin-bottom:1rem;font-size:1.05rem;font-weight:500}.token-section{margin-bottom:1.25rem}.token-collapsed{display:flex;align-items:center;justify-content:space-between;padding:.5rem 0}.token-collapsed span{color:#999;font-size:.95rem}.token-collapsed button{padding:.4rem .8rem;background:transparent;border:1px solid #666;border-radius:8px;color:#999;font-size:.95rem;cursor:pointer}.token-collapsed button:hover{color:#e94560;border-color:#e94560}.gps-section{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:1rem}.gps-warning{width:100%;margin:0;color:#f0ad4e;font-size:.9rem}.gps-vehicle-input{min-width:8rem;width:100%;max-width:320px;padding:.75rem 1rem;min-height:48px;border:2px solid #333;border-radius:10px;background:#16213e;color:#eee;font-size:1.1rem}.gps-toggle-btn{padding:1rem 2rem;min-height:52px;border:2px solid #333;border-radius:10px;background:#444;color:#eee;font-size:1.2rem;font-weight:700;cursor:pointer}.gps-toggle-btn.active{background:#e94560;border-color:#e94560;color:#fff}.gps-toggle-btn:hover{opacity:.9}.gps-status{display:flex;flex-direction:column;gap:.25rem;margin-top:.5rem;font-size:.9rem;color:#888}.gps-error{color:#e94560}.driver-token-form{display:flex;flex-direction:column;gap:.75rem}.driver-token-form input,.driver-input{padding:.875rem 1rem;min-height:48px;border:2px solid #333;border-radius:10px;background:#16213e;color:#eee;font-size:1.1rem}.driver-token-form button,.btn-primary{min-height:48px;padding:.75rem 1.25rem;border:none;border-radius:10px;font-size:1.1rem;font-weight:600;cursor:pointer;background:#e94560;color:#fff}.driver-token-form button:hover{background:#d63a54}.loading{color:#999;font-size:1.125rem;margin:0 0 1rem}.last-sync{color:#888;font-size:.95rem;margin:0 0 1rem}.driver-task-list{list-style:none;padding:0;margin:0}.task-card{padding:1.25rem;margin-bottom:1rem;background:#16213e;border-radius:12px;box-shadow:0 2px 8px #0000004d}.task-card.updating{opacity:.85;pointer-events:none}.task-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.35rem;margin-bottom:.5rem}.sla-badge{display:inline-block;padding:.25rem .5rem;border-radius:6px;font-size:.75rem;font-weight:600}.sla-badge.sla-on_time{background:#5cb85c;color:#1a1a2e}.sla-badge.sla-at_risk{background:#f0ad4e;color:#1a1a2e}.sla-badge.sla-late{background:#e94560;color:#fff}.status-badge{display:inline-block;padding:.4rem .85rem;border-radius:20px;font-size:.95rem;font-weight:600}.status-badge.status-pending,.status-badge.status-assigned{background:#666;color:#ddd}.status-badge.status-picked_up{background:#f0ad4e;color:#1a1a2e}.status-badge.status-delivered{background:#5cb85c;color:#1a1a2e}.task-created{color:#888;font-size:.85rem}.task-address{margin:0 0 1rem;color:#eee;font-size:1.25rem;font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.task-actions{display:flex;flex-direction:column;gap:.75rem}.task-actions button{min-height:56px;padding:1rem 1.5rem;border:none;border-radius:10px;font-size:1.2rem;font-weight:700;cursor:pointer}@media(max-width:480px){.driver-page{padding:.75rem;font-size:1.05rem}.driver-header h1{font-size:1.5rem}.driver-step-title{font-size:1.05rem}.driver-token-form input,.driver-input,.gps-vehicle-input{min-height:52px;font-size:16px}.driver-token-form button,.btn-primary,.gps-toggle-btn{min-height:52px;padding:1rem 1.5rem;font-size:1.15rem}.task-card{padding:1rem}.task-address{font-size:1.15rem}.task-actions button{min-height:52px;padding:1rem 1.25rem;font-size:1.15rem}.token-collapsed button,.btn-logout{min-height:48px;padding:.6rem 1rem;font-size:1rem}}.task-actions button:disabled{opacity:.4;cursor:not-allowed}.task-actions button:not(:disabled){cursor:pointer}.btn-preuzmi{background:#f0ad4e;color:#1a1a2e}.btn-preuzmi:hover:not(:disabled){background:#ec971f}.btn-preuzmi:disabled{background:#555;color:#999}.btn-isporuceno{background:#5cb85c;color:#1a1a2e}.btn-isporuceno:hover:not(:disabled){background:#449d44}.btn-isporuceno:disabled{background:#555;color:#999}.task-done{color:#5cb85c;font-size:1.15rem;font-weight:600;padding:.5rem 0}.driver-pod-modal{background:#16213e;padding:1.5rem;border-radius:12px;max-width:400px;width:100%}.driver-pod-modal .form-field{margin-bottom:1rem}.driver-pod-modal .form-field label{display:block;margin-bottom:.35rem;color:#999}.driver-pod-modal input{width:100%;padding:.75rem;border:2px solid #333;border-radius:8px;background:#1a1a2e;color:#eee;box-sizing:border-box}.driver-pod-hint{color:#888;font-size:.9rem;margin:0 0 1rem}.driver-pod-modal .modal-actions{display:flex;gap:.75rem;margin-top:1rem}.izvestaj-page{padding:1.5rem;max-width:900px}.izvestaj-page h1{margin:0 0 1rem;color:#eee;font-size:1.5rem}.izvestaj-page .error{color:#e94560;margin:0 0 1rem}.report-form{display:flex;gap:1rem;align-items:flex-end;margin-bottom:1.5rem}.report-form label{display:flex;flex-direction:column;gap:.25rem;color:#999;font-size:.9rem}.report-form input[type=date]{padding:.5rem .75rem;border:1px solid #333;border-radius:8px;background:#16213e;color:#eee;font-size:1rem}.report-form input:focus{outline:none;border-color:#e94560}.report-form button{padding:.5rem 1.25rem;background:#e94560;border:none;border-radius:8px;color:#fff;font-size:1rem;cursor:pointer}.report-form button:hover:not(:disabled){background:#d63a54}.report-form button:disabled{opacity:.6;cursor:not-allowed}.report-table{width:100%;border-collapse:collapse}.report-table th,.report-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #333}.report-table th{color:#999;font-weight:600;font-size:.9rem}.report-table td{color:#eee}.firme-page{padding:1.5rem}.firme-forbidden{color:var(--color-text-muted);font-size:var(--text-lg);margin:2rem 0}.firme-form{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem;align-items:flex-end}.firme-form .form-field{min-width:160px}.firme-form .form-field input{padding:.5rem .75rem;border:1px solid #333;border-radius:8px;background:var(--color-surface, #16213e);color:var(--color-text, #eee);width:100%}.firme-form button{padding:.5rem 1rem;background:var(--color-primary, #e94560);color:#fff;border:none;border-radius:8px;cursor:pointer}.firme-form button:hover:not(:disabled){background:var(--color-primary-hover, #d63a54)}.firme-form button:disabled{opacity:.7;cursor:not-allowed}.rute-page{padding:.5rem 0}.rute-disabled{opacity:.85;margin-bottom:1rem}.rute-form{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-end;margin-bottom:1.5rem}.rute-form .form-field{margin-bottom:0}.rute-table{width:100%;border-collapse:collapse;margin-top:1rem}.rute-table th,.rute-table td{padding:.5rem .75rem;text-align:left;border:1px solid var(--border-color, #ddd)}.rute-detail-modal{max-width:520px;max-height:85vh;overflow:auto}.rute-detail-add{margin:.75rem 0}.rute-detail-add select[multiple]{min-height:80px;width:100%;margin-right:.5rem}.rute-task-list{list-style:none;padding:0;margin:.75rem 0}.rute-task-list li{display:flex;align-items:center;gap:.5rem;padding:.35rem 0;border-bottom:1px solid var(--border-color, #eee)}.rute-task-order{min-width:2rem;font-weight:600}.rute-task-address{flex:1}.rute-task-actions button{margin-left:2px;padding:2px 6px}.modal-close{margin-top:1rem}.not-found-page{min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;text-align:center;position:relative}.not-found-theme-toggle{position:absolute;top:1rem;right:1rem;width:44px;height:44px;padding:0;background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text);font-size:1.25rem;cursor:pointer}.not-found-theme-toggle:hover{border-color:var(--color-primary)}.not-found-title{margin:0 0 .5rem;font-size:clamp(3rem,10vw,6rem);font-weight:700;color:var(--color-primary);line-height:1}.not-found-message{margin:0 0 .5rem;font-size:var(--text-xl);color:var(--color-text)}.not-found-hint{margin:0 0 1.5rem;font-size:var(--text-base);color:var(--color-text-muted)}.not-found-link{display:inline-block;padding:.75rem 1.5rem;background:var(--color-primary);color:#fff;border-radius:var(--radius-md);font-weight:600;text-decoration:none}.not-found-link:hover{background:var(--color-primary-hover)}.layout{min-height:100vh;background:var(--color-bg)}.nav{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);padding:var(--space-4) var(--space-5);background:var(--color-surface);border-bottom:1px solid var(--color-border)}.nav-metrics{font-size:var(--text-sm);color:var(--color-text-muted);margin-right:var(--space-2)}.nav-link{display:inline-flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);color:var(--color-text);text-decoration:none;border-radius:var(--radius-md);font-size:var(--text-sm);font-weight:var(--font-medium);transition:background .2s,color .2s}.nav-link:hover{background:var(--color-surface-hover);color:var(--color-primary)}.nav-link--active{background:var(--color-primary);color:#fff}.nav-link--active:hover{background:var(--color-primary-hover);color:#fff}.nav-icon{width:18px;height:18px;flex-shrink:0}.nav-theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:40px;height:36px;padding:0;margin-left:auto;margin-right:var(--space-2);background:transparent;border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text);font-size:1.25rem;cursor:pointer;transition:background .2s,border-color .2s}.nav-theme-toggle:hover{background:var(--color-surface-hover);border-color:var(--color-primary)}.nav-logout{display:inline-flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);background:transparent;border:1px solid var(--color-border);border-radius:var(--radius-md);color:var(--color-text-muted);font-size:var(--text-sm);cursor:pointer;transition:color .2s,border-color .2s}.nav-logout:hover{color:var(--color-primary);border-color:var(--color-primary)}.nav-logout .nav-icon{width:18px;height:18px}.main{min-height:calc(100vh - 56px)}.main-content{padding:var(--space-4)}.breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-1);padding:var(--space-2) var(--space-4);font-size:var(--text-sm);color:var(--color-text-muted);background:var(--color-surface);border-bottom:1px solid var(--color-border)}.breadcrumbs a{color:var(--color-text-muted);text-decoration:none}.breadcrumbs a:hover{color:var(--color-primary)}.breadcrumbs-sep{margin:0 var(--space-1);-webkit-user-select:none;user-select:none}.breadcrumbs-current{color:var(--color-text);font-weight:var(--font-medium)}.breadcrumbs-item{display:inline-flex;align-items:center}
