
/* v1.7.7 — toll dashboard aligned with the camera dashboard */
body.toll-dashboard-page{overflow:hidden;background:var(--camera-layout-bg)}
.toll-map-wrap,#tollsMap{background:var(--camera-map-bg)}
#tollsMap{position:absolute;inset:0}
.toll-controls{gap:9px}
.vehicle-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.vehicle-selector button{display:flex;height:36px;align-items:center;justify-content:center;gap:7px;border:1px solid var(--camera-border);border-radius:8px;background:var(--camera-surface-2);color:var(--camera-muted);cursor:pointer;font-size:10.5px;font-weight:700;transition:background .14s,border-color .14s,color .14s}
.vehicle-selector button:hover{border-color:var(--camera-border-strong);background:var(--camera-surface-hover)}
.vehicle-selector button.active{border-color:#237eb8;background:rgba(0,153,255,.12);color:#80ceff}
.vehicle-icon{display:block;width:17px;height:17px;flex:0 0 17px;color:currentColor}
.vehicle-label{position:relative;top:1px;line-height:1.35}
.toll-sidebar .camera-stat{display:flex;min-height:63px;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.toll-sidebar .camera-stat strong{line-height:1.05}
.toll-sidebar .camera-stat span{line-height:1.2}
.toll-sidebar-footer{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 13px calc(9px + env(safe-area-inset-bottom));border-top:1px solid var(--camera-border);color:var(--camera-faint);font-size:9px}
.toll-sidebar-footer strong{color:var(--camera-muted);white-space:nowrap}

.toll-result-price{color:#80ceff;font-size:11px;font-weight:800;white-space:nowrap}
.toll-result .camera-result-icon img{width:27px;height:27px;margin:1px;filter:drop-shadow(0 2px 2px rgba(0,0,0,.28))}
.toll-result-road{display:inline-flex;margin-top:3px;padding:2px 5px;border:1px solid rgba(0,153,255,.25);border-radius:999px;background:rgba(0,153,255,.09);color:#78caff;font-size:8px;font-weight:800}

.toll-price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.toll-price-card{padding:13px;border:1px solid var(--camera-border);border-radius:11px;background:var(--camera-surface-2)}
.toll-price-card span{display:block;color:var(--camera-faint);font-size:9px;text-transform:uppercase;letter-spacing:.06em}
.toll-price-card strong{display:block;margin-top:5px;color:#fff;font-size:21px;line-height:1.1;letter-spacing:-.04em}
.toll-detail-grid{margin-top:9px}
.toll-details #camera-details-icon img{filter:drop-shadow(0 3px 4px rgba(0,0,0,.28))}

.map-fallback{position:absolute;inset:0;z-index:2200;display:grid;place-items:center;padding:28px;background:#0b111b;color:var(--camera-muted);text-align:center}
.map-fallback[hidden]{display:none}

/* Direct booth icons. Selection never adds glow, ring, outline, or scale. */
.maplibregl-marker.toll-pin{position:absolute;width:32px;height:36px;padding:0;border:0;outline:0;background:transparent;overflow:visible;cursor:pointer;transform-origin:center bottom}
.toll-pin:focus,.toll-pin:focus-visible,.toll-pin.selected{outline:0!important;box-shadow:none!important}
.toll-pin__icon{position:absolute;left:50%;bottom:0;width:30px;height:30px;transform:translateX(-50%);transform-origin:50% 100%;transition:transform .16s ease,filter .16s ease;filter:drop-shadow(0 3px 4px rgba(0,0,0,.28))}
.toll-pin__icon img{display:block;width:30px;height:30px;max-width:none;object-fit:contain}
.toll-pin--side{width:27px;height:31px}
.toll-pin--side .toll-pin__icon,.toll-pin--side .toll-pin__icon img{width:25px;height:25px}
.toll-pin:hover .toll-pin__icon{transform:translateX(-50%) scale(1.08)}
.toll-pin.selected .toll-pin__icon{transform:translateX(-50%);filter:drop-shadow(0 3px 4px rgba(0,0,0,.28));outline:0!important;box-shadow:none!important}
.toll-pin[hidden]{display:none!important}
.toll-pin__price{position:absolute;left:50%;bottom:39px;z-index:3;padding:5px 8px;border:1px solid rgba(0,153,255,.24);border-radius:10px;background:rgba(6,16,44,.94);color:#fff;box-shadow:0 8px 18px rgba(0,0,0,.26);font-size:9px;font-weight:850;line-height:1;white-space:nowrap;opacity:0;visibility:hidden;transform:translate(-50%,6px) scale(.9);transition:opacity .18s,transform .18s,visibility 0s linear .18s}
.toll-pin--side .toll-pin__price{bottom:32px}
.toll-pin.show-price .toll-pin__price{opacity:1;visibility:visible;transform:translate(-50%,0) scale(1);transition-delay:0s}
.toll-pin.far-away{opacity:.68}

@media(max-width:760px){
  body.toll-dashboard-page .camera-app,body.toll-dashboard-page .camera-app.sidebar-collapsed{margin-top:calc(var(--header-height) + env(safe-area-inset-top));height:calc(100dvh - var(--header-height) - env(safe-area-inset-top))}
  body.toll-dashboard-page .camera-app:not(.sidebar-collapsed) .sidebar-toggle{top:10px;right:9px;height:36px;min-width:0;padding:0 9px;gap:5px;border-radius:10px}
  body.toll-dashboard-page .camera-app:not(.sidebar-collapsed) .sidebar-toggle-label{font-size:10.5px}
  body.toll-dashboard-page .camera-app:not(.sidebar-collapsed) .sidebar-toggle-icon{font-size:14px}
  body.toll-dashboard-page .camera-sidebar-head{padding-right:91px}
  body.toll-dashboard-page .camera-app.sidebar-collapsed .sidebar-toggle{top:10px;left:10px;height:40px;padding:0 11px}
  body.toll-dashboard-page.nav-open .sidebar-toggle{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
  .vehicle-selector button{height:40px;font-size:10px}
  .toll-sidebar-footer{padding-block:7px}
  .toll-sidebar-footer>strong{display:none}
  .dashboard-social-footer{width:100%;justify-content:center;margin:0}
  .toll-price-card{padding:12px 10px}
  .toll-price-card strong{font-size:19px}
  .maplibregl-marker.toll-pin{width:29px;height:33px}
  .toll-pin__icon,.toll-pin__icon img{width:27px;height:27px}
  .toll-pin--side{width:25px;height:29px}
  .toll-pin--side .toll-pin__icon,.toll-pin--side .toll-pin__icon img{width:23px;height:23px}
  .toll-pin__price{bottom:36px}
  .toll-pin--side .toll-pin__price{bottom:30px}
}
@media(max-width:380px){
  body.toll-dashboard-page .camera-app:not(.sidebar-collapsed) .sidebar-toggle{right:7px;padding-inline:8px}
  body.toll-dashboard-page .camera-sidebar-head{padding-right:84px}
}
@media(prefers-reduced-motion:reduce){.toll-pin__icon,.toll-pin__price{transition:none}}


/* v1.7.8 — native vehicle icons and optical vertical centering. */
.vehicle-selector button{
  line-height:1.35;
}
.vehicle-selector button .vehicle-icon{
  transform:none;
}
.toll-sidebar .camera-stat strong,
.toll-sidebar .camera-stat span,
.toll-sidebar .filter-label,
.toll-sidebar .filter-count,
.toll-result .camera-result-main,
.toll-result .toll-result-price,
.toll-price-card span,
.toll-price-card strong,
.toll-detail-grid .camera-detail-field > span,
.toll-detail-grid .camera-detail-field > strong{
  position:relative;
  top:1px;
}
.toll-price-card{
  display:flex;
  min-height:76px;
  flex-direction:column;
  justify-content:center;
}
.toll-price-card span,
.toll-price-card strong{
  line-height:1.25;
}
@media(max-width:760px){
  .vehicle-selector button{height:40px}
  .vehicle-icon{width:16px;height:16px;flex-basis:16px}
}
