[data-scope='listbox'][data-part='root'] {
	@apply w-full max-w-xs mx-auto;
}

[data-scope='listbox'][data-part='content'] {
	@apply bg-background border border-border rounded-lg px-2 py-4 max-h-64 overflow-auto space-y-1 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:ring-offset-background transition-all;
	list-style: none;
	margin: 0;
	overscroll-behavior: contain;
	scroll-padding: 4px;
}

[data-scope='listbox'][data-part='item-group'] {
	@apply space-y-1;
}

[data-scope='listbox'][data-part='item-group-label'] {
	@apply select-none flex items-center px-2 pb-1 text-xs font-semibold text-muted-foreground uppercase tracking-wide;
}

[data-scope='listbox'][data-part='item-group']:not(:first-child) [data-part='item-group-label'] {
	@apply mt-3;
}

[data-scope='listbox'][data-part='item'] {
	@apply flex items-center gap-2 px-2 py-1.5 text-sm cursor-default select-none rounded-md transition-colors;
}

[data-scope='listbox'][data-part='item']:hover {
	@apply bg-muted;
}

[data-scope='listbox'][data-part='item'] img {
	@apply w-6 h-6 rounded-full object-cover flex-shrink-0;
}

[data-scope='listbox'][data-part='item'][data-highlighted] {
	@apply bg-primary/70 text-primary-foreground;
}

[data-scope='listbox'][data-part='item'][data-selected] {
	@apply bg-primary text-primary-foreground;
}

[data-scope='listbox'][data-part='item'][data-disabled] {
	@apply text-muted-foreground opacity-50 cursor-not-allowed;
}
