.rule {
  display: flex;
  .el-form-item {
    display: inline-flex;
    margin-right: 10px;
    margin-bottom: 0;
  }
  .el-form-item__content {
    margin-left: 0 !important;
  }
  .el-select,
  .el-input {
    width: 130px;
  }
  .el-select,
  .el-autocomplete {
    .el-input {
      width: 100%;
    }
  }
}
.rule-operator {
  margin-right: 10px;
  position: relative;
  min-width: 40px;
  min-height: 40px;
  &::before {
    content: ' ';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #d4dbe1;
    transform: translateX(-50%);
  }
  span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    line-height: 24px;
    color: var(--main-color);
    background: #fff;
    text-align: center;
    border: 1px solid #d4dbe1;
    border-radius: 50%;
    cursor: pointer;
  }
}
.rule-list {
  flex: 1;
}
.rule-item {
  margin: 10px 0;
}
.event-rule,
.user-action-rule {
  section + section {
    margin-top: 30px;
  }
}

.rule-tips {
  color: #999;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  .el-icon {
    margin-right: 5px;
    color: var(--main-color);
  }
}

.rule-tag {
  margin-right: 10px;
}
.rule-input {
  width: 100px;
}
