.trigger {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	min-width: 10rem;
	padding: 0.5rem 0.75rem;
	background-color: white;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.15s ease;

	&:hover {
		border-color: var(--purple-400);
	}

	&:focus-visible {
		outline: 2px solid var(--purple-400);
		outline-offset: 2px;
	}

	&[data-placeholder] {
		color: #9ca3af;
	}

	&[data-disabled] {
		opacity: 0.5;
		cursor: not-allowed;
	}
}

.icon {
	display: flex;
	color: #6b7280;
}

.content {
	overflow: hidden;
	background-color: white;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	z-index: 50;
}

.viewport {
	padding: 0.25rem;
}

.item {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0.5rem 0.75rem;
	padding-right: 2rem;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	cursor: pointer;
	user-select: none;
	outline: none;

	&:hover,
	&[data-highlighted] {
		background-color: var(--purple-50);
		color: var(--purple-600);
	}

	&[data-disabled] {
		opacity: 0.5;
		pointer-events: none;
	}
}

.itemIndicator {
	position: absolute;
	right: 0.5rem;
	display: flex;
	align-items: center;
	color: var(--purple-400);
}

.scrollButton {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem;
	color: #6b7280;
	cursor: default;
}