/* OpenStreetMap Leaflet Styling for Locations Section */

.osm-map {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Popup styling */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    padding: 0;
}

.leaflet-popup-content {
    margin: 0;
    min-width: 200px;
}

.map-popup {
    padding: 15px;
}

.map-popup h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.map-popup .address {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Marker clustering (optional enhancement) */
.marker-cluster-small {
    background-color: rgba(181, 226, 140, 0.6);
}

.marker-cluster-small div {
    background-color: rgba(110, 204, 57, 0.6);
}

.marker-cluster-medium {
    background-color: rgba(241, 211, 87, 0.6);
}

.marker-cluster-medium div {
    background-color: rgba(240, 194, 12, 0.6);
}

.marker-cluster-large {
    background-color: rgba(253, 156, 115, 0.6);
}

.marker-cluster-large div {
    background-color: rgba(241, 128, 23, 0.6);
}


    .osm-map {

      height: 100% !important;
   
    }

/* Responsive adjustments */
@media (max-width: 991px) {
    .osm-map {
       height: 400px !important; 

        margin-bottom: 1rem;
    }
}

@media (max-width: 575px) {
    .osm-map {
        height: 300px !important;
 
    }
}

/* Fix for Leaflet attribution */
.leaflet-control-attribution {
    font-size: 10px;
    background-color: rgba(255, 255, 255, 0.8);
}

/* Karten-Texte vergrößern */
.leaflet-container {
    font-size: 16px !important;
}

/* Kartenbeschriftungen vergrößern */
.leaflet-container .leaflet-tile {
    filter: contrast(1.1) brightness(1.05);
}

/* Alternative CSS-Zoom für bessere Lesbarkeit */
.osm-map .leaflet-container {
    transform-origin: 0 0;
    /* Optional: Leichte Vergrößerung der gesamten Karte */
    /* transform: scale(1.1); */
}
