/* Input Range Slider Styling */
input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: linear-gradient(to right, #e8e8e8, #f0f0f0);
    border-radius: 6px;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--airbnb-pink), #FF6B70);
    border-radius: 50%;
    cursor: grab;
    border: 2px solid var(--airbnb-white);
    box-shadow: 0 2px 6px rgba(255, 90, 95, 0.3);
    transition: all 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(255, 90, 95, 0.4);
    cursor: grabbing;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--airbnb-pink), #FF6B70);
    border-radius: 50%;
    cursor: grab;
    border: 2px solid var(--airbnb-white);
    box-shadow: 0 2px 6px rgba(255, 90, 95, 0.3);
    transition: all 0.15s ease;
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(255, 90, 95, 0.4);
    cursor: grabbing;
}

/* noUiSlider custom styling - Airbnb inspired */
.noUi-target {
    background: #e6e6e6;
    border-radius: 3px;
    border: none;
    box-shadow: none;
    height: 6px;
    margin: 20px 0;
}

.noUi-connect {
    background: var(--airbnb-pink);
    border-radius: 3px;
    box-shadow: none;
}

.noUi-handle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid var(--airbnb-white);
    background: var(--airbnb-white);
    cursor: grab;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    margin-left: -13px;
    top: -10px;
    transition: all 0.15s ease;
    outline: none;
}

.noUi-handle:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: grabbing;
}

.noUi-handle:active {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.noUi-handle:after, .noUi-handle:before {
    display: none;
}

.noUi-horizontal {
    height: 6px;
}

/* Increase clickable area */
.noUi-handle::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
}

/* Slider container styling */
#monthly-slider, #single-slider {
    margin: 14px 0;
    height: 6px;
}

/* Slider value display styling */
.filter-group .filter-range-label {
    font-weight: 500;
    color: var(--airbnb-dark);
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}

.filter-group .filter-range-label span {
    color: var(--airbnb-pink);
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(255, 90, 95, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.filter-enable-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--airbnb-dark);
    cursor: pointer;
}

.filter-enable-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--airbnb-pink);
    margin: 0;
}

#monthly-slider.slider-disabled,
#single-slider.slider-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.filter-group.filter-group-disabled .filter-range-label {
    opacity: 0.6;
}

/* Slider container */
.slider-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
