.slider:before {
    position: relative;
    content: "";
    height: 0;
    width: 0;
    left: 0;
    bottom: 0;
}

.nk-input-slider .slider {
	width: 96%;
}

.slider {
	background: transparent;
}

.row {
	align-items: center;
}

.filters {
	position: relative;
	background: rgba(20, 22, 28, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	padding: 20px 24px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(12px) saturate(140%);
	-webkit-backdrop-filter: blur(12px) saturate(140%);
	overflow: hidden;
}

.filters__top, .filters__sliders, .filters__tags {
	background: rgba(20, 22, 28, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	padding: 16px 18px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(12px) saturate(140%);
	-webkit-backdrop-filter: blur(12px) saturate(140%);
}

.filters__top {
	margin-bottom: 16px;
}

.filters__sliders {
	margin-bottom: 12px;
	display: grid;
	gap: 12px;
}

.filters__card {
	position: relative;
	overflow: hidden;
	z-index: 0;
}

.filters__tags {
	margin-top: 8px;
}

.filters__top .row,
.filters__sliders .row,
.filters__tags .row {
	row-gap: 16px;
}

.filters__top .input-group {
	flex-wrap: nowrap;
	gap: 8px;
}

.filters__top .nk-btn {
	white-space: nowrap;
	min-width: 160px;
}

.filters__sliders .nk-input-slider-inline {
	width: 100%;
	height: 100%;
}

.filters__sliders .nk-input-slider {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px 16px !important;
}

.filters__card-slider {
	padding: 6px 0 12px;
}

.filters__sliders .nk-input-slider-content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	line-height: 1.2;
}

.filters__sliders .nk-input-slider-content label {
	min-width: 70px;
}

.filters__sliders .nk-input-slider-input {
	padding-top: 6px;
}

.filters__sliders .noUi-target {
	margin-top: 6px;
}

.filters__sliders input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.filters__tags fieldset {
	margin: 0;
}

.filters__tags .form-check {
	display: flex;
	align-items: center;
	gap: 8px;
}

.filters::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 12px;
	background: radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 55%);
	pointer-events: none;
	opacity: 0.8;
}

.filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #f5f5f5;
	font-size: 0.9rem;
}

.filters .form-control, .filters select.form-control, .filters input[type="text"],
	.filters input[type="search"], .filters input[type="number"] {
	background: rgba(24, 26, 34, 0.65);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	color: #f5f5f5;
	height: 44px;
	padding: 10px 12px;
}

.filters .form-control::placeholder, .filters input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.filters .form-control:focus, .filters select:focus, .filters input:focus
	{
	border-color: rgba(255, 196, 64, 0.9);
	box-shadow: 0 0 0 3px rgba(255, 196, 64, 0.35);
}

.filters input:focus-visible, .filters select:focus-visible, .filters button:focus-visible,
	.filters .form-check-input:focus-visible {
	outline: 3px solid rgba(255, 196, 64, 0.95);
	outline-offset: 2px;
	box-shadow: 0 0 0 4px rgba(255, 196, 64, 0.3);
}

.filters .nk-btn {
	border-radius: 8px;
	min-height: 44px;
}

.filters .form-check-input {
	background-color: #121214;
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.filters .form-check-input:checked {
	background-color: #f3b138;
	border-color: #f3b138;
}

.filters .noUi-target {
	background: transparent;
	background-color: rgba(5, 8, 12, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
	height: 10px;
	z-index: 1;
}

.filters .noUi-base,
.filters .noUi-connects {
	background: transparent;
}

.filters .noUi-connect {
	background: linear-gradient(90deg, #f3b138 0%, #f15b2a 100%);
}

.filters .noUi-handle {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #f5f5f5;
	border: 2px solid #1b1b1d;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.filters .noUi-handle::before, .filters .noUi-handle::after {
	display: none;
}

.filters input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	height: 26px;
	border-radius: 999px;
	background: rgba(5, 8, 12, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.filters input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #f5f5f5;
	border: 2px solid #1b1b1d;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.filters input[type="range"]::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #f5f5f5;
	border: 2px solid #1b1b1d;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.filters input[type="range"]::-moz-range-track {
	background: #141416;
	border-radius: 999px;
}
