.rdev-select-search-wrap {
	position: relative;
}

.rdev-select-search-wrap select {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	width: 1px;
	height: 1px;
}

.rdev-select-search-trigger {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 1px solid #d7cedf;
	border-radius: 8px;
	color: #171321;
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-size: 15px;
	gap: 10px;
	justify-content: space-between;
	min-height: 44px;
	padding: 10px 14px;
	width: 100%;
}

.rdev-select-search-trigger::after {
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #5d5868;
	content: "";
	display: inline-block;
	flex: 0 0 auto;
	height: 0;
	width: 0;
}

.rdev-select-search-trigger[data-placeholder="true"] {
	color: #8a8494;
}

.rdev-select-search-trigger:focus-visible {
	outline: 2px solid #7b61ff;
	outline-offset: 2px;
}

.rdev-select-search-dropdown {
	background: #fff;
	border: 1px solid #d7cedf;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(23, 19, 33, 0.12);
	display: none;
	flex-direction: column;
	left: 0;
	margin-top: 6px;
	max-height: 320px;
	min-width: 100%;
	position: absolute;
	top: 100%;
	width: 100%;
	z-index: 1000;
}

.rdev-select-search-dropdown.is-open {
	display: flex;
}

.rdev-select-search-input-wrap {
	border-bottom: 1px solid #e4ddea;
	padding: 10px 12px;
	position: sticky;
	top: 0;
}

.rdev-select-search-input {
	background: #f6f1fb;
	border: 1px solid #d7cedf;
	border-radius: 6px;
	color: #171321;
	font-family: inherit;
	font-size: 14px;
	outline: none;
	padding: 8px 12px;
	width: 100%;
}

.rdev-select-search-input:focus {
	border-color: #7b61ff;
	box-shadow: 0 0 0 2px rgba(123, 97, 255, 0.15);
}

.rdev-select-search-list {
	list-style: none;
	margin: 0;
	max-height: 240px;
	overflow-y: auto;
	padding: 4px 0;
}

.rdev-select-search-list:empty::before {
	color: #8a8494;
	content: attr(data-empty);
	display: block;
	font-size: 13px;
	padding: 16px 12px;
	text-align: center;
}

.rdev-select-search-option {
	color: #171321;
	cursor: pointer;
	font-size: 14px;
	padding: 10px 14px;
}

.rdev-select-search-option:hover,
.rdev-select-search-option.is-highlighted {
	background: #f6f1fb;
}

.rdev-select-search-option.is-selected {
	background: #ede8f6;
	font-weight: 600;
}

.rdev-select-search-option.is-hidden {
	display: none;
}

@media (max-width: 480px) {
	.rdev-select-search-dropdown {
		left: -12px;
		margin-top: 4px;
		max-height: 70vh;
		min-width: calc(100% + 24px);
	}

	.rdev-select-search-list {
		max-height: calc(70vh - 60px);
	}
}
