/* STAS GPS — MapLibre vehicle pin styling.
   Loaded after maplibre-gl.css; mirrors the look of the legacy HERE infoPane
   so the visual change between providers is just the basemap, not the pins. */

.stas-gps-pin {
    pointer-events: auto;
}

.stas-gps-pin.is-selected {
    z-index: 5;
}

.stas-gps-pin-info {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, -8px);
    background: white;
    border: 1px solid black;
    border-radius: 10px;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.stas-gps-pin-info .title {
    font-size: 13px;
    margin-bottom: 2px;
}

.stas-gps-pin-info .lbl {
    color: #ED880E;
    font-weight: bold;
    font-size: 11px;
}

.stas-gps-pin-info .val {
    font-weight: bold;
    font-size: 11px;
}

/* Hide MapLibre's default flag/pin SVG so our DOM marker sits cleanly. */
.maplibregl-marker.maplibregl-marker-anchor-center > svg {
    display: none;
}
