/*
 * BuyOrLease — Dual-handle range slider
 * Replaces the min/max number inputs for Price and Area fields
 * in the listing archive filter sidebar.
 *
 * Redesigned 2026-08-17: was plain blue (#1c6ed4), the one element in the
 * newly gold-themed filter bar (Apply filters, pills, focus states all
 * #D89410) still carrying the old color -- restyled onto the same brand
 * palette, plus a slightly larger/more tactile thumb and value labels
 * unified with the rest of the widget's typography (13px/600/#1a1a2e,
 * matching field labels elsewhere in this filter).
 */

/* ── Container ────────────────────────────────────────────────────────────── */
.bol-range-slider {
	padding: 8px 0 4px;
}

/* ── Track wrapper ───────────────────────────────────────────────────────── */
.bol-range-track-wrap {
	position: relative;
	height: 22px;
	margin: 0 9px;
}

/* ── Labels row (low value — high value) — sits below the track ──────────── */
.bol-range-labels {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 600;
	color: #1a1a2e;
	margin-top: 10px;
	line-height: 1.2;
}

/* ── Background track ────────────────────────────────────────────────────── */
.bol-range-bg {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 5px;
	background: #e5e7eb;
	border-radius: 3px;
	pointer-events: none;
}

/* ── Fill between the two thumbs ─────────────────────────────────────────── */
.bol-range-fill {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	height: 5px;
	background: #D89410;
	border-radius: 3px;
	pointer-events: none;
}

/* ── Range inputs (stacked on top of each other) ─────────────────────────── */
.bol-range-track-wrap input[type="range"] {
	position: absolute;
	width: 100%;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	padding: 0;
	height: 5px;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: none;
	outline: none;
}

/* ── Thumb — WebKit / Blink ────────────────────────────────────────────────── */
.bol-range-track-wrap input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	border: 2.5px solid #D89410;
	cursor: pointer;
	pointer-events: all;
	box-shadow: 0 2px 6px rgba(216, 148, 16, 0.35);
	transition: border-color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
	position: relative;
	z-index: 2;
}
.bol-range-track-wrap input[type="range"]::-webkit-slider-thumb:hover,
.bol-range-track-wrap input[type="range"]:focus::-webkit-slider-thumb {
	border-color: #b97b0d;
	background: #FFF8EC;
	transform: scale(1.12);
	box-shadow: 0 3px 10px rgba(216, 148, 16, 0.45);
}
.bol-range-track-wrap input[type="range"]:active::-webkit-slider-thumb {
	transform: scale(1.18);
}

/* ── Thumb — Firefox ─────────────────────────────────────────────────────── */
.bol-range-track-wrap input[type="range"]::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	border: 2.5px solid #D89410;
	cursor: pointer;
	pointer-events: all;
	box-shadow: 0 2px 6px rgba(216, 148, 16, 0.35);
	transition: border-color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.bol-range-track-wrap input[type="range"]::-moz-range-thumb:hover {
	border-color: #b97b0d;
	background: #FFF8EC;
	transform: scale(1.12);
}

/* ── Firefox removes the track colour by default ────────────────────────── */
.bol-range-track-wrap input[type="range"]::-moz-range-track {
	background: transparent;
}
