/*
 * BuyOrLease — Dual-handle range slider
 * Replaces the min/max number inputs for Price and Area fields
 * in the listing archive filter sidebar.
 */

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

/* ── Labels row (low value — high value) ─────────────────────────────────── */
.bol-range-labels {
	display: flex;
	justify-content: space-between;
	font-size: 0.8em;
	font-weight: 600;
	color: #444;
	margin-bottom: 8px;
	line-height: 1.2;
}

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

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

/* ── Fill between the two thumbs ─────────────────────────────────────────── */
.bol-range-fill {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	height: 4px;
	background: #1c6ed4;
	border-radius: 2px;
	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: 4px;
	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: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #1c6ed4;
	cursor: pointer;
	pointer-events: all;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
	transition: border-color 0.15s, background 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: #0f4faa;
	background: #e8f0fb;
}

/* ── Thumb — Firefox ─────────────────────────────────────────────────────── */
.bol-range-track-wrap input[type="range"]::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #1c6ed4;
	cursor: pointer;
	pointer-events: all;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
	transition: border-color 0.15s, background 0.15s;
}
.bol-range-track-wrap input[type="range"]::-moz-range-thumb:hover {
	border-color: #0f4faa;
	background: #e8f0fb;
}

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