/* TEAMVIBE UAE MAP: load AFTER all existing UAE map CSS files. */
#uae-map .tv-map-content {
    position: relative;
    min-height: 640px;
    overflow: visible;
}
/* Map moved LEFT and DOWN, leaving space for right-side detail card. */
#uae-map .tv-map-visual {
    position: relative !important;
    width: 79% !important;
    max-width: 1050px !important;
    margin: 55px auto 0 0 !important;
    top: auto !important;
    right: auto !important;
    overflow: visible !important;
}
#uae-map .tv-map-illustration { position:relative; overflow:visible; }
/* The seven permanent labels are drawn above the existing SVG hit areas. */
#uae-map .tv-map-labels {
    position:absolute; inset:0; z-index:12;
    pointer-events:none;
}
#uae-map .tv-map-city-label {
    position:absolute; display:inline-flex; align-items:center; gap:7px;
    left:0; top:0; transform:translate(-50%,-50%);
    background:#fff; border:1px solid #eaded5; border-radius:30px;
    padding:8px 12px; white-space:nowrap; cursor:pointer;
    font-size:12px; line-height:1.2; font-weight:800; color:#13254a;
    box-shadow:0 4px 13px rgba(29,38,56,.14);
    pointer-events:auto; z-index:2;
    transition:background .18s,border-color .18s,box-shadow .18s;
}
#uae-map .tv-map-city-label i { color:var(--tv-city-color,#f47720); font-size:14px; }
#uae-map .tv-map-city-label:is(:hover,:focus-visible,.is-active) {
    background:#fff7f0; border-color:#ed6d27;
    box-shadow:0 6px 18px rgba(244,119,32,.2);
}
#uae-map .tv-map-label-lines {
    position:absolute; inset:0; display:block; width:100%; height:100%;
    overflow:visible; z-index:11; pointer-events:none;
}
#uae-map .tv-map-dotted-line {
    fill:none; stroke-width:1.5; stroke-dasharray:4 5; opacity:.82;
    vector-effect:non-scaling-stroke;
}
#uae-map .tv-map-anchor-dot {
    stroke:#fff; stroke-width:2; vector-effect:non-scaling-stroke;
}
/* Hide the old single-hover label and connector; new seven labels replace them. */
#uae-map #tvMapHoverName,
#uae-map #tvMapConnector,
#uae-map #tvMapConnectorDot { display:none !important; }
/* Information card: Abu Dhabi and Dubai LEFT; other five RIGHT. */
#uae-map #tvMapInfoCard {
    position:absolute !important; top:18px !important; left:0 !important;
    right:auto !important; width:300px; max-width:300px; z-index:25;
}
#uae-map #tvMapInfoCard.is-right {
    left:auto !important; right:0 !important;
}
@media(max-width:1100px) {
    #uae-map .tv-map-visual { width:84% !important; }
    #uae-map #tvMapInfoCard { width:270px; max-width:270px; }
    #uae-map .tv-map-city-label { font-size:11px; padding:6px 9px; }
}
@media(max-width:767px) {
    #uae-map .tv-map-content { min-height:0; display:flex; flex-direction:column; gap:12px; }
    #uae-map .tv-map-visual {
        width:100% !important; max-width:100% !important;
        margin:14px 0 0 !important; overflow-x:auto !important;
        overflow-y:hidden !important; order:1;
    }
    #uae-map .tv-map-illustration { min-width:680px !important; }
    #uae-map #tvMapInfoCard,
    #uae-map #tvMapInfoCard.is-right {
        position:relative !important; order:2; top:auto !important;
        left:auto !important; right:auto !important;
        width:100% !important; max-width:100% !important;
        display:none;
    }
    #uae-map #tvMapInfoCard.is-visible { display:block; }
    #uae-map .tv-map-city-label { font-size:11px; padding:6px 9px; }
}
@media(prefers-reduced-motion:reduce) {
    #uae-map .tv-map-city-label { transition:none; }
}
