/* =============================================
   Map Styles - GoForLo Dashboard
   ============================================= */

/* Map Container Styles */
#map {
    height: 60vh;   /* responsive height */
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Responsive Map Height */
@media (max-width: 768px) {
    #map {
        height: 50vh;
    }
}

@media (max-width: 576px) {
    #map {
        height: 40vh;
    }
}

/* Leaflet Marker Customizations */
.leaflet-marker-pane {
    z-index: 400;
}

.leaflet-popup-pane {
    z-index: 700;
}

/* Popup Styles */
.leaflet-popup-content-wrapper {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.leaflet-popup-content {
    margin: 8px 12px;
    font-size: 13px;
    color: #333;
}

.leaflet-popup-tip {
    background-color: #fff;
}

/* Control Styles */
.leaflet-control-zoom {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    color: #333;
    font-weight: bold;
    line-height: 26px;
}

.leaflet-control-zoom-in:hover,
.leaflet-control-zoom-out:hover {
    background-color: #e9ecef;
}
