
body {
    margin: 0;
    padding: 0;
}

#map {
    height: 80vh;
    width: 100%;
    background: #000;
    border-radius: 20px;
}

.district-label {
    text-align: center;
    pointer-events: none;
}

.district-label .count {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    letter-spacing: 1px;
}

.district-label .district-name {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #000;
    margin-top: 2px;
    text-transform: capitalize;
}

.mapboxgl-popup {
    max-width: 220px;
    font: 13px/1.5 'Arial', sans-serif;
}
.mapboxgl-popup-content{
    background: #efefef;
    border-radius: 3px;
    box-shadow: 0 1px 8px #00BCD4;
    padding: 10px 10px 15px;
    pointer-events: auto;
    position: relative;
}
.legend {
    background: #fff;
    padding: 12px 14px;
    font-size: 13px;
    color: #333;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.legend h4 {
    font-size: 15px;
    margin: 0 0 10px;
    color: #7e003a;
}

.legend div {
    margin-bottom: 5px;
}

.legend i {
    display: inline-block;
    width: 20px;
    height: 12px;
    margin-right: 10px;
    border-radius: 3px;
}
.legend-table{
    border-collapse:collapse;
    /* background:#fff; */
    font:12px Arial, Helvetica, sans-serif;
    /* color:#333; */
    /* box-shadow:0 1px 5px rgba(0,0,0,.3); */
}

/* .legend-table th{
    background:#f5f5f5;
    padding:4px 8px;
    border-bottom:1px solid #ccc;
    text-align:left;
    font-weight:bold;
} */

.legend-table td{
    padding:3px 8px;
    vertical-align:middle;
}

.legend-color{
    display:inline-block;
    width:18px;
    height:10px;
    border:1px solid #999;
}
@media (max-width: 768px) {
    .mapboxgl-canvas {
        height: 250px !important;
    }

    #map {
        height: 250px !important;
        width: 100%;
        background: #000;
    }
    .legend {
        font-size: 10px;
        line-height: 1;
        padding: 4px 5px;
    }
    .legend h4 {
        font-size: 10px;
    }
    .mapboxgl-ctrl-attrib{
        display: none !important
    }
}
.map-model-content{
    background: rgb(253 253 253 / 95%);
}
.map-modal-header{
    border-bottom: 1px solid #1a2d3a; 
    padding: 4px 24px;
}
.modal-title{
    color: #000000; 
    font-weight: 600; 
    font-size: 16px; 
    letter-spacing: 0.5px;
}
.modal-date{
    color: #0000007a; 
    font-weight: 500; 
    font-size: 13px;
}