#map {
    position: relative;
    width: 100%;
    min-height: 520px;
}

@media (max-width: 991px) {
    #map {
        min-height: 420px;
    }
    .custom-worldmap-svg {
        height: 380px;
    }
}

@media (max-width: 575px) {
    #map {
        min-height: 320px;
    }
    .custom-worldmap-svg {
        height: 300px;
    }
}

.custom-worldmap-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.custom-worldmap-controls {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.custom-worldmap-controls button {
    width: 36px;
    height: 36px;
    border: 1px solid #cfd8dc;
    background: #f7f7f7;
    color: #37474f;
    border-radius: 6px;
    cursor: pointer;
}

.custom-worldmap-tooltip {
    position: absolute;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 8px;
    font-size: 12px;
    border-radius: 4px;
    transform: translate(-50%, -120%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 120ms ease;
}

.custom-worldmap-svg {
    width: 100%;
    height: 480px;
    display: block;
}

.custom-worldmap-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #607d8b;
    background: #eceff1;
    border: 1px dashed #b0bec5;
    height: 420px;
    border-radius: 8px;
}