.filter-section {
	margin-bottom: 20px;
}

.filter-header {
	cursor: pointer;
	padding: 5px;
	background-color: #f3f3f3;
	border-radius: 5px;
	margin-bottom: 5px;
}

.filter-header:hover {
	background-color: #dee2e6;
}

.filter-body {
	padding: 10px;
	background-color: white;
	border-radius: 5px;
	border: 1px solid #dee2e6;
	max-height: 200px;
	/* Set maximum height */
	overflow-y: auto;
	/* Add vertical scrollbar when needed */
}

/* Fix checkbox overlap issue - override base.css scaling */
.filter-body .form-check {
	margin-bottom: 0.5rem;
	padding-left: 0.1rem;
	position: relative;
}

.filter-body .form-check-input {
	transform: scale(1) !important;
	/* Override the 1.5x scaling from base.css */
	margin: 0 !important;
	/* Remove margins from base.css */
	padding: 0 !important;
	/* Remove padding from base.css */
	/* position: absolute; */
	/* margin-left: -1.5rem; */
	width: 1.3rem;
	height: 1.3rem;
}

.filter-body .form-check-label {
	margin-bottom: 0;
	font-size: smaller;
	cursor: pointer;
	display: inline-block;
	/* line-height: 1.5; */
	padding-left: 1.5rem;
	word-wrap: break-word;
}

/* Ensure images in labels don't cause alignment issues */
.filter-body .form-check-label img {
	margin-right: 0.25rem;
}

/* Ensure icons in labels are properly aligned */
.filter-body .form-check-label i {
	margin-right: 0.25rem;
}

/* Optional: Style the scrollbar (works in Chrome/Edge/Safari) */
.filter-body::-webkit-scrollbar {
	width: 8px;
}

.filter-body::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 4px;
}

.filter-body::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 4px;
}

.filter-body::-webkit-scrollbar-thumb:hover {
	background: #555;
}