/* Geography Hotspots Styles */

.geography-map-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.geography-map-image {
    width: 100%;
    height: auto;
    display: block;
}

.geography-hotspot {
    position: absolute;
    transform: translate(-50%, -100%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.geography-hotspot:hover {
    transform: translate(-50%, -100%) scale(1.1);
    z-index: 20;
}

.hotspot-pin {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

.geography-hotspot:hover .hotspot-pin {
    filter: drop-shadow(0 4px 12px rgba(76, 255, 203, 0.4));
}

/* Hotspot Tooltip (appears on hover) */
.hotspot-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 12px;
    border-radius: 8px;
    padding: 0.5px;
    background: linear-gradient(45deg, rgba(120, 70, 255, 0.5) 0%, rgba(53, 178, 255, 0.5) 50%, rgba(76, 255, 203, 0.5) 100%);
    z-index: 100;
    pointer-events: none;
    animation: tooltip-fade-in 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.hotspot-tooltip-inner {
    background: #1E1E1E;
    border-radius: 7.5px;
    padding: 15px;
}

.hotspot-tooltip-title {
    color: #FFF;
    font-family: Manrope, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
    white-space: nowrap;
}

.hotspot-tooltip-description {
    color: #FFF;
    font-family: Manrope, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    opacity: 0.6;
    margin: 0;
    white-space: nowrap;
}

@keyframes tooltip-fade-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Highlighted hotspot */
.geography-hotspot--highlighted {
    z-index: 15;
}

.geography-hotspot--highlighted:hover {
    z-index: 20;
}

.hotspot-highlighted-pin {
    position: relative;
    display: inline-block;
}

.geography-hotspot--highlighted .hotspot-pin {
    filter: drop-shadow(0 4px 16px rgba(120, 70, 255, 0.5));
}

.geography-hotspot--highlighted:hover .hotspot-pin {
    filter: drop-shadow(0 6px 20px rgba(76, 255, 203, 0.6));
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hotspot-tooltip {
        padding: 2px;
    }

    .hotspot-tooltip-title {
        font-size: 16px;
    }

    .hotspot-tooltip-description {
        font-size: 12px;
    }

    .geography-hotspot {
        transform: translate(-50%, -100%) scale(0.8);
    }

    .geography-hotspot:hover {
        transform: translate(-50%, -100%) scale(0.9);
    }

}
