body {
    margin: 0;
    font-family: sans-serif;
}

#map {
    width: 80%;
    height: 75vh;
    margin: 0 auto;
}

.controls {
    width: 80%;
    margin: 10px auto;
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.mode-switch {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.mode-switch button {
    padding: 6px 14px;
    border: 1px solid #ccc;
    background: #f4f4f4;
    cursor: pointer;
}

.mode-switch button.active {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

#yearSlider {
    margin-bottom: 28px;
}

#yearSlider .noUi-pips {
    margin-top: 6px;
}

.year-values {
    text-align: center;
    font-weight: bold;
    margin-bottom: 8px;
}

#yearSlider.noUi-target {
    height: 6px;
}
#yearSlider .noUi-connect {
    background: #3b82f6;
}
#yearSlider .noUi-handle {
    width: 10px;
    height: 22px;
    top: -8px;
    border-radius: 2px;
    background: #3b82f6;
    border: none;
}

#yearSlider .noUi-handle:before,
#yearSlider .noUi-handle:after {
    display: none;
}
/* Visual separation only */
#yearSlider .noUi-handle-lower {
    transform: translateX(-15px);
}

#yearSlider .noUi-handle-upper {
    transform: translateX(-7px);
}
/* Normalize all pip labels */
#yearSlider .noUi-value {
    font-size: 11px;
    font-weight: normal;
    color: #555;
}

#yearSlider .noUi-value-large {
    font-size: 11px;
    font-weight: normal;
    color: #555;
}

.price-label {
            pointer-events: none;
        }

.price-bubble {
    background: rgba(52, 166, 244, 0.95);
    color: #fff;                       
    padding: 2px 2px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
    border: 1px solid rgba(0,0,0,0.15);     /* subtle border for definition */
}