.interactive-map-section {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 44px 0 24px;
    box-shadow: none;
}

.map-canvas-wrap {
    background: transparent;
    border: 1px solid #dde5ef;
    border-radius: 14px;
    padding: 14px;
}

#tt-jamaat-map {
    width: 100%;
    height: 520px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%);
}

#tt-jamaat-map .leaflet-container {
    background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%);
}

.leaflet-control-container .leaflet-top,
.leaflet-control-container .leaflet-bottom {
    z-index: 500;
}

.leaflet-control-zoom a {
    color: #0f172a;
}

.leaflet-control-attribution {
    font-size: 11px;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: #ffffff;
    color: #111827;
}

.leaflet-bar a,
.leaflet-bar a:hover {
    background: #ffffff;
    border-bottom-color: #d1d5db;
    color: #0f172a;
}

.tt-map-popup {
    min-width: 220px;
}

.tt-map-popup h4 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.35;
    color: #111827;
}

.tt-map-popup p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.55;
    color: #4b5563;
}

.tt-map-popup .coords {
    font-family: "Courier New", monospace;
    font-size: 12px;
    color: #7c2d12;
}

html[data-theme="dark"] .interactive-map-section {
    background: transparent;
}

html[data-theme="dark"] .map-canvas-wrap {
    background: rgba(10, 15, 24, 0.88);
    border-color: rgba(255, 255, 255, 0.10);
}

html[data-theme="dark"] #tt-jamaat-map,
html[data-theme="dark"] #tt-jamaat-map .leaflet-container {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
}

html[data-theme="dark"] #tt-jamaat-map .leaflet-tile {
    filter: brightness(0.78) saturate(0.86) hue-rotate(185deg) contrast(1.02);
}

html[data-theme="dark"] #tt-jamaat-map .leaflet-control-zoom a,
html[data-theme="dark"] #tt-jamaat-map .leaflet-bar a,
html[data-theme="dark"] #tt-jamaat-map .leaflet-bar a:hover {
    background: rgba(15, 23, 42, 0.92);
    color: #f8fafc;
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] #tt-jamaat-map .leaflet-control-attribution {
    background: rgba(2, 6, 23, 0.72);
    color: #cbd5e1;
}

html[data-theme="dark"] #tt-jamaat-map .leaflet-control-attribution a {
    color: #fca5a5;
}

html[data-theme="dark"] .leaflet-popup-content-wrapper,
html[data-theme="dark"] .leaflet-popup-tip {
    background: #0f172a;
    color: #f8fafc;
}

html[data-theme="dark"] .tt-map-popup h4 {
    color: #f8fafc;
}

html[data-theme="dark"] .tt-map-popup p {
    color: #cbd5e1;
}

html[data-theme="dark"] .tt-map-popup .coords,
html[data-theme="dark"] .map-detail-coords {
    color: #fca5a5;
}

@media (max-width: 980px) {
    #tt-jamaat-map {
        height: 420px;
    }
}

@media (max-width: 768px) {
    #tt-jamaat-map {
        height: 340px;
    }
}
