
    :root {
        --glass-bg: rgba(15, 23, 42, 0.75);
        --glass-border: rgba(255, 255, 255, 0.08);
        --sidebar-width: 350px;
        --sidebar-bg: rgba(15, 23, 42, 0.85);
    }




    /* --- GLassmorphism Utilities --- */

    .bg-glass {
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
    }

    .bg-glass-dark {
        background: rgba(30, 41, 59, 0.5);
    }

    .border-glass {
        border: 1px solid var(--glass-border);
    }

    .bg-glass-input {
        background: rgba(30, 41, 59, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
    }

    .bg-glass-input:focus {
        background: rgba(30, 41, 59, 0.9);
        border-color: #dc3545;
        color: white;
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    }

    .bg-glass-input::placeholder {
        color: #64748b;
    }

    .bg-gradient-danger {
        background: linear-gradient(135deg, #dc3545 0%, #b91c1c 100%);
    }

    .text-gradient-danger {
        background: linear-gradient(to right, #ef4444, #f97316);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* --- Layout Components --- */

    /* --- Section Polishing --- */
    .global-network-section {
        /* max-width: 1500px; */
        width: 95%;
        background: white;
        border-radius: 30px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        overflow: hidden;

        margin: 40px auto;
    }

    /* --- Map Section Polish (Responsive) --- */
    #map-section {
        position: relative;

        /* Responsive height */
        height: clamp(520px, 85vh, 850px);

        overflow: hidden;

        /* Soft separation glow */
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            inset 0 -1px 0 rgba(255, 255, 255, 0.08);
    }

    @media (max-width: 480px) {
        #map-section {
            height: clamp(480px, 80vh, 680px);
        }
    }


    /* Top & Bottom cinematic fade overlays */
    #map-section::before,
    #map-section::after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 90px;
        z-index: 2;
        pointer-events: none;
    }

    /* Top fade */
    #map-section::before {
        top: 0;
        background: linear-gradient(to bottom,
                rgba(2, 6, 23, 0.85),
                rgba(2, 6, 23, 0));
    }

    /* Bottom fade */
    #map-section::after {
        bottom: 0;
        background: linear-gradient(to top,
                rgba(2, 6, 23, 0.85),
                rgba(2, 6, 23, 0));
    }



    #globe-viz {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    /* overlays stay inside section */
    #map-section .vignette-overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
    }

    /* fix control placement */
    #map-section .map-controls-container {
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        z-index: 50;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .btn-control {
        width: 44px;
        height: 44px;
        border-radius: 12px;

        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.25);
        color: #fff;

        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);

        display: flex;
        align-items: center;
        justify-content: center;

        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
        transition: all 0.2s ease;
    }

    .btn-control:hover {
        background: #dc3545;
        color: #fff;
        transform: translateY(-2px);
    }

    .btn-control:active {
        transform: scale(0.95);
    }



    .sidebar-container {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: var(--sidebar-width);
        background: var(--sidebar-bg);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-right: 1px solid var(--glass-border);
        z-index: 100;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        transform: translateX(0);
    }

    .sidebar-container.collapsed {
        transform: translateX(-100%);
    }

    .desktop-toggle {
        position: absolute;
        top: 50%;
        right: -40px;
        width: 40px;
        height: 50px;
        background: rgba(30, 41, 59, 0.8);
        backdrop-filter: blur(10px);
        border-radius: 0 12px 12px 0;
        border: 1px solid var(--glass-border);
        border-left: none;
        transform: translateY(-50%);
        border: none;
        cursor: pointer;
        transition: background 0.2s;
    }

    .desktop-toggle:hover {
        background: #dc3545;
    }

    /* List Items */
    .office-item {
        transition: all 0.2s;
        border: 1px solid transparent;
    }

    .office-item:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .office-item.active {
        background: rgba(220, 53, 69, 0.1);
        border-color: rgba(220, 53, 69, 0.3);
    }

    .office-item.active .office-name {
        color: #ef4444;
    }

    /* Region Chips */
    .region-chip {
        font-size: 0.75rem;
        background: rgba(30, 41, 59, 0.6);
        color: #cbd5e1;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.2s;
    }

    .region-chip:hover,
    .region-chip.active {
        background: white;
        color: #0f172a;
    }

    /* Mobile FAB – bound to map section */

    #map-section #mobile-fab {
        position: absolute;
        bottom: 24px;
        left: 24px;

        width: 56px;
        height: 56px;

        z-index: 90;
        transition: transform 0.3s;
    }

    #map-section #mobile-fab.hidden {
        transform: translateY(150%);
    }

    @media (min-width: 768px) {
        #map-section #mobile-fab {
            display: none;
        }
    }

    /* ensure popup doesn't escape map */


    /* Info Card */
    .info-card {
        position: absolute;
        z-index: 95;
        border-radius: 16px;
        border: 1px solid var(--glass-border);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Desktop Info Card Positioning */
    @media (min-width: 768px) {
        .info-card {
            top: 30px;
            right: 30px;
            width: 320px;
            transform: translateX(0);
            opacity: 1;
        }

        .info-card.d-none {
            display: block !important;
            transform: translateX(20px);
            opacity: 0;
            pointer-events: none;
        }
    }

    /* Mobile Layout Overrides */
    @media (max-width: 767px) {
        .sidebar-container {
            width: 100%;
            transform: translateX(-100%);
            /* Start hidden on mobile */
        }

        .sidebar-container.mobile-open {
            transform: translateX(0);
        }

        .info-card {
            bottom: 0;
            left: 0;
            width: 100%;
            border-radius: 24px 24px 0 0;
            border-bottom: none;
            transform: translateY(0);
        }

        .info-card.d-none {
            display: block !important;
            transform: translateY(100%);
            pointer-events: none;
        }

        .mobile-drag-handle {
            width: 40px;
            height: 4px;
        }
    }

    /* Scrollbar */
    .custom-scrollbar::-webkit-scrollbar {
        width: 6px;
    }

    .custom-scrollbar::-webkit-scrollbar-track {
        background: transparent;
    }

    .custom-scrollbar::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 10px;
    }

    .custom-scrollbar::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    /* Globe Marker Styling - UPDATED FOR VISIBILITY */
    .map-marker {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: z-index 0.3s;
        text-rendering: optimizeLegibility;
    }

    /* Bring hovered marker to front */
    .map-marker:hover {
        z-index: 1000;
    }

    .marker-dot {
        /* Default State: Visible Flag */
        width: 32px;
        height: 24px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 4px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        padding: 1px;
        backdrop-filter: blur(2px);
    }

    .map-marker:hover .marker-dot,
    .map-marker.active .marker-dot {
        width: 50px;
        height: 36px;
        border-color: #ef4444;
        box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
        background: rgba(0, 0, 0, 0.5);
        transform: scale(1.1);
    }

    .marker-content {
        width: 100%;
        height: 100%;
        border-radius: 2px;
        overflow: hidden;
        opacity: 1;
        /* Always Visible */
    }

    .marker-label {
        position: absolute;
        top: -22px;
        left: 50%;
        transform: translateX(-50%);

        /* Default Label Style */
        background: rgba(15, 23, 42, 0.7);
        color: rgba(255, 255, 255, 0.9);
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 10px;
        font-weight: 500;
        white-space: nowrap;
        opacity: 1;
        /* Always Visible */
        pointer-events: none;
        border: 1px solid rgba(255, 255, 255, 0.15);
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .map-marker:hover .marker-label,
    .map-marker.active .marker-label {
        top: -38px;
        background: #dc3545;
        color: white;
        font-size: 12px;
        font-weight: 700;
        padding: 4px 10px;
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
        border-color: #dc3545;
        z-index: 1001;
    }

    .flag-wrapper {
        width: 48px;
        height: 36px;
    }

    @media (max-width: 1024px) {
        .search-section {
            display: none !important;
        }
    }
