/* Vehicle markers on the live GPS map (created by js/vehicle-map.js, outside any component). */
.wvm-icon { background: none; border: 0; }
.wvm-pin { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: rgba(20, 18, 42, .82); border: 1px solid rgba(255, 255, 255, .25); color: #fff; white-space: nowrap; box-shadow: 0 0 0 2px var(--pin), 0 6px 16px rgba(0, 0, 0, .35); font: 600 12px/1.15 system-ui, sans-serif; transform: translate(-6px, -6px); }
.wvm-pin.is-selected { box-shadow: 0 0 0 3px #fff, 0 0 18px var(--pin); }
.wvm-pin-car { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--pin); font-size: 14px; }
.wvm-pin-text { display: flex; flex-direction: column; }
/* A vehicle with a photo: its photo is the marker (status color as its frame), the name under it. */
.wvm-pin.has-photo { flex-direction: column; gap: 3px; padding: 4px; border-radius: 12px; transform: translate(-40px, -30px); }
.wvm-pin-photo { width: 72px; height: 50px; object-fit: cover; border-radius: 9px; border: 3px solid var(--pin); background: #fff; display: block; }
.wvm-pin.has-photo .wvm-pin-text { align-items: center; max-width: 180px; font-size: 11px; }
.wvm-pin.has-photo .wvm-pin-text b, .wvm-pin.has-photo .wvm-pin-text small { overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.wvm-pin-text small { font-weight: 400; opacity: .8; }
.wvm-stage { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; border: 2px solid #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .4); }
.wvm-stage.is-start { background: #3B82F6; }
.wvm-stage.is-stop { background: #8B5CF6; }
.wvm-stage.is-end { background: #22C55E; }

/* Dark themes: OpenStreetMap tiles turned into a night map (markers and routes keep their colors). */
.wvm-dark .leaflet-tile-pane { filter: invert(1) hue-rotate(195deg) brightness(.85) contrast(.92) saturate(.55); }
.wvm-dark.leaflet-container { background: #121428; }
.wvm-dark .leaflet-control-attribution { background: rgba(20, 18, 42, .7); color: #cbd5e1; }
.wvm-dark .leaflet-control-attribution a { color: #c4b5fd; }
.wvm-dark .leaflet-tooltip { background: rgba(20, 18, 42, .92); color: #fff; border-color: rgba(167, 139, 250, .5); }
