/* Leaflet tile styling - ensure natural Google Maps colors without CSS color filters */
.sc-unified-leaflet-map .leaflet-tile-pane,
.sc-unified-leaflet-map .leaflet-tile,
.sc-unified-leaflet-map .sc-sold-raster-fallback {
    filter: none !important;
}

.sc-unified-leaflet-map .leaflet-control-zoom {
    border: 1px solid #d4dce0;
    box-shadow: 0 2px 8px rgba(34, 49, 78, 0.12);
    border-radius: 6px;
    overflow: hidden;
}
.sc-unified-leaflet-map .leaflet-control-zoom a {
    background: #fff;
    color: #272d6d;
    font-weight: bold;
}
.sc-unified-leaflet-map .leaflet-control-zoom a:hover {
    background: #f0f4f8;
    color: #0366d6;
}
.sc-unified-leaflet-map .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.88);
    color: #5e6d76;
    font-size: 10px;
    padding: 2px 6px;
    border-top-left-radius: 4px;
}
.sc-unified-leaflet-map .leaflet-control-attribution a {
    color: #5e6d76;
}

.sc-public-map-wrap {
    width: 100%;
    margin: 15px 0 25px;
    clear: both;
}
.sc-unified-leaflet-map {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 450px;
    min-height: 320px;
    overflow: hidden;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    background: #f8f9fa;
    z-index: 1;
}

/* Custom Scott Kim Marker Pin */
.custom-leaflet-marker {
    background: transparent !important;
    border: none !important;
}

/* Polished Popup Card */
.sc-unified-leaflet-map .leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
    padding: 2px;
}
.sc-unified-leaflet-map .leaflet-popup-content {
    margin: 12px 16px;
    line-height: 1.5;
    color: #22314e;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.sc-unified-leaflet-map .leaflet-popup-content strong {
    color: #272d6d;
    font-size: 14px;
    display: block;
}
.sc-unified-leaflet-map .leaflet-popup-content a.sc-map-open-link {
    display: inline-block;
    margin-top: 6px;
    color: #272d6d;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}
.sc-unified-leaflet-map .leaflet-popup-content a.sc-map-open-link:hover {
    color: #e4002b !important;
    text-decoration: underline !important;
}

@media (max-width: 600px) {
    .sc-unified-leaflet-map {
        height: 360px;
        border-radius: 8px;
    }
}


.sc-unified-leaflet-map .maplibregl-map{background:#f4f5f6}
.sc-unified-leaflet-map .maplibregl-canvas{max-width:none!important;max-height:none!important}

.sc-map-pin{box-sizing:border-box;background:#272d6d;width:24px;height:24px;border-radius:50%;border:3px solid #fff;box-shadow:0 2px 8px #00000059}
