@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

.node-tools-wrapper{
  position: relative;



  .node-tools--bottom{
    position: absolute;
    left: 0;
    bottom: -30px;
    .node-tools--tool{
      background-color: #1492FF;
      width: 22px;
      height: 22px;
      border-radius: 3px;
      margin-right: 5px;
      align-items: center;
      justify-content: center;
      display: inline-flex;
      cursor: pointer;
    }
    &.relation-tool{
      .node-tools--tool{
        background-color: rgba(130,114,236,1);
      }

    }
  }

}



.flow-editor--node-action--overlay{
  padding-left: 0;
  .ant-popover-arrow{
    visibility: hidden;
  }
  .ant-popover-inner{
    border-radius: 4px;
  }
  .ant-popover-inner-content{
    padding: 8px;
    .flow-editor--node-tools--add--node-source-container {
      width: 104px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      .node-source-item{
        width: 48px;
        min-height: 48px;
        display:flex;
        align-items: center;
        text-align: center;
        flex-direction: column;
        justify-content: center;
        cursor: pointer;
        border-radius: 4px;
        >.node-source-item--icon{
          width: 14px;
          height: 14px;
          margin-bottom: 4px;
        }
        >span{
          font-size: 12px;
        }
        &:hover{
          background-color: #F6F8FB;
          border-radius: 4px;
        }
      }
    
    }
  }
}

.relation-node-element {
  display: flex;
  align-items: center;
  align-items: center;
  font-size: 12px;
  justify-content: center;
  border-radius: 2px;
  padding: 0 5px;
  .relation-node-element--icon{
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-right: 5px;
  }
  .relation-node-element--title{
    flex-grow: 1;
    width: (100% - 14px);
  }
}

.task-node-element {
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
  padding: 15px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  border: 1px solid transparent;
  .task-node-element--icon {
    width: 21px;
    flex-shrink: 0;
    height: 21px;
    font-size: 21px;
    margin-right: 5px;
    line-height: 1;
  }
  .task-node-element--title{
    flex-grow: 1;
    font-size: 12px;
    width: (100% - 21px);
  }
  &:hover,&.task-node-element-selected{
    box-shadow: 0 0 12px 0 rgba(0,0,0,0.10);
    border-radius: 4px;
  }
  &.task-node-element-wraning{
    border-color: #E51C1C;
  }
  
}

.start-or-end-node-element {
  display: flex;
  text-align: center;
  align-items: center;
  padding: 0 26px;
  text-align: center;
  border-radius: 20px;
}


.flow-editor--node-status-text {
  font-family: PingFangSC;
  font-size: 12px;
  color: #0070CC;
  padding: 1px 3px;
  background-color: #dae9f9;
  word-break: keep-all;
  white-space: nowrap;
  border-radius: 2px;
}