$root: e-kit-library__tags-filter;

.#{$root} {
	--e-kit-library-tags-filter-list-search-background-color: #{theme-colors('light')};
}

.eps-theme-dark {
	.#{$root} {
		--e-kit-library-tags-filter-list-search-background-color: #{dark-tints( 600 )};
	}
}

.e-kit-library__tags-filter {
	margin-block-start: spacing(44);

	&-list {
		margin-block-end: spacing(44);

		.eps-collapse__title {
			padding-inline-end: spacing(30);
			padding-inline-start: spacing(30);
			text-transform: uppercase;
		}

		.eps-collapse__content {
			margin: spacing(5) spacing(30);
		}
	}

	&-list-container {
		max-height: 250px;
		overflow: auto;
	}

	&-list-search {
		margin-block-end: spacing(10);

		.eps-search-input {
			background: var(--e-kit-library-tags-filter-list-search-background-color);
		}
	}

	&-list-item {
		padding: spacing(10) 0;
		display: flex;
		align-items: center;
		font-weight: 500;

		input {
			margin-inline-end: spacing(5);
		}
	}
}
