/* Custom styles to override default settings */

/* Change scrollUp button to orange-red (#e74c3c) */
#scrollUp:before {
    background: #000000 !important;
    /* Use !important to override any existing styles */
}

/* Also change hover state if needed */
#scrollUp:hover:before {
    background: #000000 !important;
}/* Unified legend styles */
.legend {
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: #333;
    font-size: 12px;
    max-width: 180px;
    font-family: 'Open Sans', sans-serif;
}

.legend-title,
.legend h3,
.legend-group-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #111;
    border-bottom: 1px solid #eee;
    padding-bottom: 4px;
}

.legend-item,
.legend-cuisine-item,
.category-item {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #333;
}

/* Tooltip styles */
.tooltip,
#tooltip,
#tooltip-map,
#tooltip-bubble,
#globe-tooltip,
#radial-tooltip {
    position: fixed;
    background: rgba(40,40,40,0.9);
    color: #fff;
    padding: 10px 12px;
    border-radius: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10000;
    display: none;
}

.tooltip.active,
#tooltip.active,
#tooltip-map.active,
#tooltip-bubble.active,
#globe-tooltip.active,
#radial-tooltip.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}
