.info.legend {
    padding: 6px 8px;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    font-size: 14px;
}

.info.legend i {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    opacity: 0.7;
    vertical-align: middle;
}



.leaflet-popup-content-wrapper {
    max-width: 300px !important; /* batasi lebar popup */
}

.leaflet-popup-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

.leaflet-popup-content a.btn {
    display: block;
    text-align: center;
    margin-top: 5px;
}

#map {
    width: 100%;
    height: calc(100vh - 120px); /* contoh: full viewport minus header */
    min-height: 500px;
}