/* Use with <pre>-tag to present formatted text with line-breaks */
.text-container {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: inherit;
}

/* Map pin tooltip styles */
.map-pin-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    margin-bottom: 5px;
    pointer-events: none;
}

.maplibregl-popup-close-button {
    display: none;
}

/* This hides the MapLibre/OpenStreetMap attribution, and should be be removed if we use the maps publicly */
.maplibregl-ctrl-bottom-right {
    display: none;
}

/* Same applies to Stadia Maps attribution */
.maplibre-search-box .search-attribution {
    display: none;
}

.maplibre-search-box .results {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    margin-top: 5px;
}

.maplibre-search-box .result {
    display: block;
    padding: 4px 8px;
    cursor: pointer;
}

.maplibre-search-box .result:hover {
    background-color: #eee;
}

.maplibre-search-box .result .result-icon {
    display: inline-block;
}

.maplibre-search-box .result .result-label {
    display: inline-block;
    font-weight: bold;
}