/* Map Styling for Leaflet Integration */

#map {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

/* Leaflet Control Customization */
.leaflet-control-attribution {
    background: rgba(0, 0, 0, 0.7) !important;
    color: #fff !important;
    font-size: 12px;
    padding: 5px 8px !important;
    border-radius: 4px;
}

.leaflet-control-attribution a {
    color: #961d1e !important;
}

/* Leaflet Control Buttons */
.leaflet-control-zoom {
    border: 2px solid #961d1e !important;
    border-radius: 8px !important;
    background: rgba(0, 0, 0, 0.8) !important;
}

.leaflet-control-zoom a {
    background: rgba(0, 0, 0, 0.8) !important;
    color: #fff !important;
    border-bottom: 1px solid #961d1e !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 18px !important;
    font-weight: bold;
}

.leaflet-control-zoom a:hover {
    background: #961d1e !important;
    color: #000 !important;
}

.leaflet-control-zoom a:first-child {
    border-radius: 8px 8px 0 0 !important;
}

.leaflet-control-zoom a:last-child {
    border-radius: 0 0 8px 8px !important;
    border-bottom: none !important;
}

/* Marker Styling */
.leaflet-marker-icon {
    filter: hue-rotate(0deg) saturate(1.2);
}

/* Popup Styling */
.leaflet-popup-content-wrapper {
    background: #000 !important;
    border-radius: 8px !important;
    border: 2px solid #961d1e !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

.leaflet-popup-content {
    color: #fff !important;
    font-size: 14px !important;
    margin: 8px 12px !important;
}

.leaflet-popup-content b {
    color: #961d1e !important;
    font-weight: 600;
}

.leaflet-popup-tip {
    background: #000 !important;
    border: 2px solid #961d1e !important;
}

/* Responsive Map */
@media (max-width: 768px) {
    .leaflet-control-zoom a {
        width: 32px !important;
        height: 32px !important;
        line-height: 32px !important;
        font-size: 16px !important;
    }

    .leaflet-popup-content {
        font-size: 12px !important;
        margin: 6px 10px !important;
    }
}

@media (max-width: 480px) {
    .leaflet-control-attribution {
        font-size: 10px !important;
        padding: 4px 6px !important;
    }

    .leaflet-control-zoom a {
        width: 28px !important;
        height: 28px !important;
        line-height: 28px !important;
        font-size: 14px !important;
    }
}
