/* --- Datamaps & Tooltip Cleanup --- */
.datamaps-hoverover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    z-index: 10000 !important;
    pointer-events: none;
    position: fixed !important;
    top: 0;
    left: 0;
}

.custom-tooltip {
    background-color: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    min-width: 240px;
    pointer-events: none;
}

/* --- Map Container Behavior --- */
#scroll-container {
    cursor: grab;
    touch-action: none !important; /* Disables mobile page scroll inside map */
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden !important;
}

#scroll-container.grabbing-cursor {
    cursor: grabbing !important;
}

#world-map {
    transition: transform 0.1s ease-out;
    will-change: transform;
    transform-origin: 0 0;
}

/* --- UI Component Styling --- */
.hide-scrollbars::-webkit-scrollbar { display: none; }
.hide-scrollbars {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hover-box { transition: all 0.3s ease; }
.hover-box:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
}

/* Grab cursors for general use */
.grab-cursor { cursor: grab; }
.grabbing-cursor { cursor: grabbing; }