/* ======================================
   noUiSlider Custom Styling
   ====================================== */

#priceSlider {
    height: 8px;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 4px;
}

#priceSlider .noui-connect {
    background: linear-gradient(90deg, #3b82f6, #f59e0b, #ef4444);
    border-radius: 4px;
}

#priceSlider .noui-handle {
    width: 20px;
    height: 20px;
    right: -10px;
    top: -6px;
    border: 2px solid var(--bg-card);
    border-radius: 50%;
    background: var(--neon-primary);
    cursor: grab;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.7);
    transition: all 0.2s ease;
}

#priceSlider .noui-handle:active {
    cursor: grabbing;
}

#priceSlider .noui-handle:hover {
    background: var(--neon-accent);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.9);
    transform: scale(1.15);
}

#priceSlider .noui-handle::before,
#priceSlider .noui-handle::after {
    display: none;
}

#priceSlider .noui-tooltip {
    display: none;
}

#priceSlider .noui-marker {
    display: none;
}

/* ======================================
   Slider Température — couleur chaude (orange → rouge)
   ====================================== */
#tempSlider {
    height: 8px;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 4px;
}

.temp-range-sliders .noUi-connect {
    background: linear-gradient(90deg, #fb923c, #f97316, #ef4444) !important;
    border-radius: 4px;
}

.temp-range-sliders .noUi-handle {
    background: #f97316 !important;
    border: 2px solid var(--bg-card) !important;
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.7) !important;
}

.temp-range-sliders .noUi-handle:hover,
.temp-range-sliders .noUi-handle:active {
    background: #ef4444 !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.9) !important;
}

/* ======================================
   Slider Réduction — couleur promo (vert)
   ====================================== */
#redSlider {
    height: 8px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 4px;
}

.red-range-sliders .noUi-connect {
    background: linear-gradient(90deg, #4ade80, #22c55e, #16a34a) !important;
    border-radius: 4px;
}

.red-range-sliders .noUi-handle {
    background: #22c55e !important;
    border: 2px solid var(--bg-card) !important;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.7) !important;
}

.red-range-sliders .noUi-handle:hover,
.red-range-sliders .noUi-handle:active {
    background: #16a34a !important;
    box-shadow: 0 0 20px rgba(22, 163, 74, 0.9) !important;
}
