.p-menu {
  @apply min-w-52 rounded-md border border-surface-200 bg-surface-0 text-surface-700 dark:border-surface-700 dark:bg-surface-900 dark:text-surface-0;
}

.p-menu-list {
  @apply m-0 flex list-none flex-col gap-[2px] p-1 outline-none;
}

.p-menu-item-content {
  @apply rounded-sm text-surface-700 transition-colors duration-200 dark:text-surface-0;
}

.p-menu-item-link {
  @apply relative flex cursor-pointer select-none items-center gap-2 overflow-hidden px-3 py-2 text-inherit no-underline outline-none;
}

.p-menu-item-icon {
  @apply text-surface-400 dark:text-surface-500;
}

.p-menu-item.p-focus .p-menu-item-content {
  @apply bg-surface-100 text-surface-800 dark:bg-surface-800 dark:text-surface-0;
}

.p-menu-item.p-focus .p-menu-item-icon {
  @apply text-surface-500 dark:text-surface-400;
}

.p-menu-item:not(.p-disabled) .p-menu-item-content:hover {
  @apply bg-surface-100 text-surface-800 dark:bg-surface-800 dark:text-surface-0;
}

.p-menu-item:not(.p-disabled) .p-menu-item-content:hover .p-menu-item-icon {
  @apply text-surface-500 dark:text-surface-400;
}

.p-menu-overlay {
  @apply shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1),0_2px_4px_-2px_rgba(0,0,0,0.1)];
}

.p-menu-submenu-label {
  @apply bg-transparent px-3 py-2 font-semibold text-surface-500 dark:text-surface-400;
}

.p-menu-separator {
  @apply border-t border-surface-200 dark:border-surface-700;
}
