﻿.leaflet-tooltip {
    opacity:0.75;
    position: absolute !important;
    z-index: 9999; 
    background: #e7f5f8 !important;
    min-height: 35px;
    color: #325ab4 !important;
    font-family: Calibri;
    font-size: clamp(10px, calc(.6vw + .8vh), 13px);
    padding: 10px 10px;
    transition: opacity 0.2s ease;
    
}


.legend-tooltip {
    background: #e7f5f8;
    max-width: 1000px;
    width: 100%;
    min-height: 35px;
    color: #325ab4;
    font-family: Calibri;
    font-size: clamp(10px, calc(.6vw + .8vh), 13px);
    pointer-events: auto !important;
}


.explanation-table {
    width: clamp(100px, calc(10vw + 12vh), 400px);
    border-collapse: collapse;
    table-layout: fixed; /* Forces columns to respect defined widths */
}

    .explanation-table td {
        vertical-align: top;
        padding: 4px 6px 4px 0;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal; /* Ensure wrapping is allowed */
        font-size: clamp(10px, calc(.4vw + .5vh), 13px);
    }


.explanation-category {
    width: 45%; /* Explicit width */
}

.explanation-description {
    width: 55%; /* Explicit width */
}


.eu-map-button-container {
    background: none;
    border: none;
}

.eu-map-button {
    padding: 6px 6px 4px 6px;
    font-size: 1vh;
    background-color: #003366;
    width: 2.5vw;
    height: 2vh;
    color: white;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    
}

    .eu-map-button.active {
        background-color: #003366;
        opacity: 0.5;
        border: solid #325ab4;
    }

.eu-map-tooltip {
    
    position: absolute;
    background: #e7f5f8;
    color: #325ab4;
    padding: 10px 10px;
    border-radius: 4px;
    font-size: clamp(10px, calc(.6vw + .8vh), 15px);
    font-family: Calibri;
    white-space: nowrap;
    pointer-events: none;
    min-height: 35px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.2s ease;
}

    .eu-map-tooltip.visible {
        opacity: .8;
    }

    .eu-map-tooltip::after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border: 6px solid transparent;
        top: 100%;
    }
    .eu-map-tooltip.left-tail::after {
        content: "";
        position: absolute;
        top: 50%;
        left: -12px;
        transform: translateY(-50%);
        border-width: 6px;
        border-style: solid;
        border-color: transparent #FFF transparent transparent;
    }

    .eu-map-tooltip.right-tail::after {
        content: "";
        position: absolute;
        top: 50%;
        right: -6px;
        transform: translateY(-50%);
        border-width: 6px;
        border-style: solid;
        border-color: transparent transparent transparent #FFF;
    }
/*.custom-country-label {

}

.left-tail {

}

.leaflet-zoom-animated {

}

.leaflet-interactive {

}

.leaflet-tooltip-left{

}*/


