.fi-badge {
    width: fit-content !important;
}

/*
 * filament-map-picker (dotswan) erzwingt global `z-index: auto !important` auf allen
 * Leaflet-Panes und gibt nur `.leaflet-marker-icon` ein eigenes `z-index: 300`. Dadurch
 * verlieren die Panes ihre Reihenfolge: Marker bleiben sichtbar, Kreise und Polygone im
 * Overlay-Pane verschwinden hinter den Kacheln. Hier nur für die Karten von
 * filament-leaflet (x-data="leafletMapEntry|Field|Widget|Column") zurückgesetzt.
 */
[x-data^='leafletMap'] .leaflet-tile-pane {
    z-index: 200 !important;
}

[x-data^='leafletMap'] .leaflet-overlay-pane {
    z-index: 400 !important;
}

[x-data^='leafletMap'] .leaflet-shadow-pane {
    z-index: 500 !important;
}

[x-data^='leafletMap'] .leaflet-marker-pane {
    z-index: 600 !important;
}

[x-data^='leafletMap'] .leaflet-tooltip-pane {
    z-index: 650 !important;
}

[x-data^='leafletMap'] .leaflet-popup-pane {
    z-index: 700 !important;
}

[x-data^='leafletMap'] .leaflet-control {
    z-index: 800 !important;
}

[x-data^='leafletMap'] .leaflet-top,
[x-data^='leafletMap'] .leaflet-bottom {
    z-index: 1000 !important;
}
