/* Map Section */
/* Leaflet Map Styling */
.leaflet-map {
    width: 70%;
    height: 500px;
    border-radius: 10px;
    z-index: 1;
    margin: 0 auto; /* Ini yang membuat center */
    display: block; /* Pastikan sebagai block element */
}

.map-container {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.map-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    background-color: white;
    border-top: 1px solid #eee;
}

.map-controls .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Marker */
.custom-marker {
    background-color: #e63946;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Leaflet Popup Customization */
.leaflet-popup-content {
    min-width: 200px;
}

.leaflet-popup-content h5 {
    color: #e63946;
    margin-bottom: 10px;
}

.leaflet-popup-content p {
    margin: 5px 0;
}

.leaflet-popup-content a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #e63946;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.leaflet-popup-content a:hover {
    background-color: #d32f2f;
}

/* Responsive Map */
@media (max-width: 768px) {
    .leaflet-map {
        height: 400px;
    }
    
    .map-controls {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .leaflet-map {
        height: 350px;
    }
    
    .map-controls .btn span {
        display: none;
    }
    
    .map-controls .btn i {
        margin-right: 0;
    }
}
