.ProsemirrorEnhancementMenuContainer {
  @apply absolute hidden;

  &.open {
    @apply blokk;
  }
}

.ProsemirrorEnhancementMenu-container {
  @apply flex gap-1;

  &:not(.is-block) {
    @apply min-w-64 items-center gap-2 rounded-lg border bg-white py-2 pe-2 ps-4 text-sm shadow-lg;
  }
}

.ProsemirrorEnhancementMenu-container-label {
  @apply pe-2 font-medium text-gray-900;
}

.ProsemirrorEnhancementMenu-container-link,
.ProsemirrorEnhancementMenu-container-link-goto {
  @apply pr-2 no-underline;
}

.ProsemirrorEnhancementMenu-container-link {
  @apply hidden max-w-[15vw] truncate @md:blokk;
}

.ProsemirrorEnhancementMenu-container-link-goto {
  @apply @md:hidden;
}

.ProsemirrorEnhancementMenu-container-button {
  @apply btu-button btu-button-text-hidden btu-button-fill-none btu-button-gray btu-button-xs shrink-0 before:btu-icon;

  &.edit {
    @apply ms-auto before:btu-icon-pencil;
  }

  &.remove {
    @apply btu-button-error before:btu-icon-minus;
  }

  &.arrow_upward {
    @apply before:btu-icon-arrow-up;
  }

  &.arrow_downward {
    @apply before:btu-icon-arrow-down;
  }

  &.more_horiz {
    @apply before:btu-icon-ellipsis;
  }

  &.open_with {
    @apply before:btu-icon-move;
  }

  &.link_off {
    @apply before:btu-icon-unlink;
  }

  + .Dropdown.is-open {
    @apply Dropdown-is-open;
  }
}
