body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

#map {
    height: 100%;
    width: 100%;
    background: #dddddd;
    /* Neutral background color */
}

/* Grayscale filter for the map tiles */
.leaflet-tile-pane {
    filter: grayscale(100%);
}

.level-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.legend {
    line-height: 18px;
    color: #555;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    font-family: 'Inter', sans-serif;
}

.legend h4 {
    margin: 0 0 5px;
    color: #777;
}

.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.9;
    border-radius: 50%;
    /* Make data points round in legend too */
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    cursor: pointer;
    /* Clickable */
    transition: opacity 0.3s;
}

.legend-item.disabled {
    opacity: 0.5;
    /* Dimmed when hidden */
    text-decoration: line-through;
    /* Optional: cross it out */
}

/* Tooltip Styling */
.map-tooltip {
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 10px;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 14px;
}

.leaflet-tooltip-top:before {
    border-top-color: white;
}

/* Club Logo Icons */
.club-logo-icon {
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: white;
}