/* Traccar marker + label overrides v3 */

/* Scale the inner content of each marker (not the positioned wrapper)
   so MapLibre GL positioning transform stays intact */
.maplibregl-marker > div,
.maplibregl-marker > span {
    transform: scale(3.0) !important;
    transform-origin: bottom center;
}

/* SVG icons inside markers */
.maplibregl-marker svg {
    width: 72px !important;
    height: 72px !important;
}

/* Image-based icons */
.maplibregl-marker img {
    width: 72px !important;
    height: 72px !important;
    max-width: none !important;
}

/* Device name labels (MapLibre popup) */
.maplibregl-popup-content {
    font-size: 18px !important;
    min-width: 160px;
}

/* Device name inside marker element */
.maplibregl-marker div[style] span,
.maplibregl-marker > div > div {
    font-size: 16px !important;
}

/* Selected marker */
.maplibregl-marker.selected > div,
.maplibregl-marker.selected > span {
    transform: scale(3.6) !important;
    transform-origin: bottom center;
}
