/* Select2 overrides for directory search — match native .search-input-group select */

.search-form .select2-container {
	width: 100% !important;
}

.search-form .select2-container--default .select2-selection--single {
	height: 50px;
	border: 1px solid #000 !important;
	border-radius: 0;
	background-color: transparent;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%231e69af' d='M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 12px;
	outline: none;
	box-shadow: none !important;
}

.search-form .select2-container--default.select2-container--focus .select2-selection--single,
.search-form .select2-container--default.select2-container--open .select2-selection--single {
	border: 1px solid #000 !important;
	box-shadow: none !important;
}

.search-form .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 50px;
	padding-left: 15px;
	padding-right: 35px;
	font-family: var(--font-medium);
	font-size: 14px;
	color: #4e4e4e;
}

.search-form .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #4e4e4e;
}

.search-form .select2-container--default .select2-selection--single .select2-selection__arrow {
	display: none;
}

.search-form .select2-container--default .select2-selection--single .select2-selection__clear {
	display: none !important;
}

.search-form .select2-dropdown {
	border: 1px solid #000;
	border-radius: 0;
	font-family: var(--font-medium);
	font-size: 14px;
}

.search-form .select2-container--default .select2-search--dropdown .select2-search__field {
	border: 1px solid #ddd;
	border-radius: 0;
	padding: 8px 12px;
	font-family: var(--font-medium);
	font-size: 14px;
	outline: none;
}

.search-form .select2-container--default .select2-search--dropdown .select2-search__field:focus {
	border-color: #000;
}

.search-form .select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: var(--primary-color);
}

.search-form .select2-container--default .select2-results__option[aria-selected=true] {
	background-color: #eef4fa;
	color: #333;
}
