/* File: b2n-maps-public.css */
/* Path: /wp-content/plugins/b2n-maps/public/css/b2n-maps-public.css */

.b2n-map {
    width: 100%;
    height: 400px;
    min-width: 200px;
    min-height: 300px;
    /*border: 1px solid #ddd;*/
    max-width: unset;
    margin: 0;
}

/*
PGB
*/
.b2n-map .leaflet-tile-pane {
    filter: grayscale(100%);
}

.b2n-map-loading,
.b2n-map-error {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 16px;
    color: #666;
}

.b2n-map-error {
    background-color: #ffebee;
    color: #c62828;
}

/* OSM Leaflet */
.leaflet-container .leaflet-control-attribution {
    background: unset;
    margin: 0;
}

.leaflet-control-attribution, .leaflet-control-attribution a {
    color: black;
    opacity: 0.6;
}

/* Map Container */
div:has(.b2n-map) {
    padding: 0;
    margin: 0;
}