.reactflowContextMenu {
  position: absolute;
  z-index: 10;
  background-color: var(--backgroundColorL1_5);
  border-radius: var(--borderRadius);
  box-shadow: var(--box-shadow);
  border: 1px solid #2c2c33;
  :global {
    .node-info {
      padding: 10px;
      overflow: hidden;
      color: #FFF;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-family: SF Pro Text;
      font-size: 10px;
      font-style: normal;
      font-weight: 400;
      line-height: 15.456px;
      /* 154.56% */
      letter-spacing: 0.3px;
      opacity: .2;
    }
    .ant-menu {
      background-color: transparent;
      border-radius: 0;
      box-shadow: none;
      border: none;
      border-inline-end: none !important;
      padding: 0 4px;
      .ant-menu-item, .ant-menu-submenu .ant-menu-submenu-title{
        padding: 0 4px;
        height: 24px;
        line-height: 24px;
        font-size: 12px;
        margin-bottom: 10px;
      }
      .ant-menu-item:not(.ant-menu-item-selected):hover{
        background-color: var(--actionHoverColor) !important;
      }
      .ant-menu-submenu .ant-menu-submenu-arrow { 
        inset-inline-end: 6px;
      }
      .ant-menu-item-divider {
        margin: 0px 10px 10px;
        background-color: var(--borderColor);
        opacity: .3;
      }

      .menu-item-title {
        display: flex;
        align-items: center;
        svg {
          margin-right: 6px;
        }
      }
    }
  }
}

.reactflowContextMenuPopover {
  :global {
    .ant-popover-inner {
      background-color: var(--backgroundColorL1_5);
      border-radius: var(--borderRadius);
      box-shadow: var(--box-shadow);
      border: 1px solid #2c2c33;
      padding: 10px;
      p {
        font-size: 12px;
        margin: 4px 0;
      }
    }
    .change-color {
      padding: 4px 10px;
      .color-option{
        transition: var(--transition);
        &:hover {
          transform: scale(1.2);
        }
      }
    }
    .change-input {
      p {
        opacity: .6;
      }
      .input-item {
        display: flex;
        .name {
          flex: 1;
          font-size: 12px;
          margin: 4px 0;
          .type {
            opacity: .5;
            font-size: 10px;
            margin-left: 4px;
          }
        }
        .switch {
          margin-left: 8px;
          width: 40px;
        }
      }
    }
  }
}

.reactflowPopoverMenuNoPadding {
  :global {
    .ant-popover-inner {
      padding: 0;
    }
  }
}