.facetwp-checkbox {
	background: none !important;
	margin-bottom: 12px !important;
}

.facetwp-checkbox.checked {
	background-image: none !important;
}

.facetwp-input-wrap{
	width: 100%;
}
.facetwp-checkbox .facetwp-expand{
	color: var(--e-global-color-secondary) !important;
	font-weight: 900;
}

.facetwp-facet {
	margin-bottom: 0px !important;
}
.facetwp-facet input.facetwp-search, .facetwp-facet input.facetwp-location {
	margin: 0;
	padding-right: 30px;
	min-width: 330px !important;
	border-radius: 10px !important;
	padding: 15px !important;
}

span.facetwp-counter {
	background: #F5F5F5;
	color: #6B6B6B;
	font-size: 13px;
	padding: 6px 10px;
	margin: 0px 5px;
	border-radius: 8px;
}

/* Hide the original checkbox input */
.facetwp-facet-topics .facetwp-checkbox > input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.facetwp-checkbox.checked .facetwp-display-value {
	background: var(--e-global-color-primary);
	padding: 6px 10px;
	border-radius: 5px;
	color: white;
}

/* Style the basic checkbox container */
.facetwp-facet-topics .facetwp-checkbox {
	position: relative; /* For positioning the custom checkbox and hiding the input */
	padding-left: 30px; /* Adjust for the width of your custom checkbox */
	margin-bottom: 5px; /* Adjust spacing between items */
	cursor: pointer; /* Indicate it's clickable */
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	display: block; /* Ensure the label takes up space */
}

/* Style the custom checkbox appearance (unchecked state) */
.facetwp-facet-topics .facetwp-checkbox::before {
	content: '';
	position: absolute;
	left: 0;
	top: 2px; /* Adjust vertical alignment */
	border: 1px solid #ccc; /* Light gray border */
	background-color: #fff; /* White background */
	border-radius: 3px; /* Optional: Rounded corners */
	font-family: "Font Awesome 5 Free"; /* Or "Font Awesome 6 Free", adjust as needed */
	font-weight: 900; /* Ensure solid style for the checkmark */
	font-size: 0; /* Hide the default square */
	line-height: 1;
	height: 20px;
	width: 20px;
}

/* Style the checked state - using Font Awesome checkmark */
.facetwp-facet-topics .facetwp-checkbox.checked::before {
	content: "\f00c"; /* Font Awesome checkmark Unicode */
	font-family: "Font Awesome 5 Free"; /* Or "Font Awesome 6 Free", adjust as needed */
	font-weight: 900; /* Ensure solid style for the checkmark */
	font-size: 14px; /* Adjust size of the checkmark */
	color: white; /* Color of the checkmark */
	background-color: var(--e-global-color-primary); /* Green background when checked */
	border-color: var(--e-global-color-primary); /* Green border when checked */
	display: flex; /* Center the icon */
	justify-content: center;
	align-items: center;
	padding: 3px;
	border: 1px solid #98c475;
}

/* Remove the default checkmark styling */
.facetwp-facet-topics .facetwp-checkbox.checked::after {
	content: none;
}

/* Style the disabled state (optional - you can adjust the appearance) */
.facetwp-facet-topics .facetwp-checkbox.disabled {
	color: #999; /* Gray out the text */
	cursor: not-allowed;
}

.facetwp-facet-topics .facetwp-checkbox.disabled::before {
	border-color: #ddd;
	background-color: #eee;
}