.create-crowds-layout {
  display: grid;
  grid-template-columns: 45% 55%;
}

.code {
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 15px;
  background-color: #f5f5f5;
  max-height: 300px;
  overflow: auto;
}

.crowds-item-wrap {
  width: 100%;
  border: 1px solid #ddd;
  background: white;
  min-height: 80px;
  border-radius: 4px;
  padding: 10px;

  &.active {
    border-color: var(--color-brand);
  }
}

.crowds-item-wrap-active {
  border: 1px dashed var(--color-brand);
}

.crowds-main {
  padding: 30px 70px;
}

.crowds-side {
  background-color: white;
  padding: 30px;
}

.point-arrow {
  position: absolute;
  top: 10px;
  left: 10px;
  border: 1px solid #ddd;
  width: 10px;
  height: 20px;
  border-right: 0;
  border-top: 0;
}

.tag-group-name {
  background-color: #f5f5f5;
  padding: 10px;
  height: 52px;
  line-height: 32px;
}

.tag-option-list {
  .sub {
    position: absolute;
    padding: 10px;
    top: 30px;
    left: 10px;
    width: 200px;
    max-height: 150px;
    overflow: auto;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: none;
    z-index: 10;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
    background-color: white;
  }
}

.tag-option-list {

  // display: grid;
  // grid-template-columns: repeat(6, 1fr);
  :hover {
    .sub {
      display: block;
    }
  }

  li {
    position: relative;
    min-width: 110px;
    float: left;
    padding: 0 10px 10px 0;

    // white-space: nowrap;
    // text-overflow: ellipsis;
    // overflow: hidden;
    // white: 100%;
    .text {
      display: inline-block;
      // width: 98px;
      // overflow: hidden;
      // text-overflow: ellipsis;
      vertical-align: middle;
    }

    .ic {
      display: none;
    }

    &:hover {
      .ic {
        display: inline-block;
      }
    }

  }
}

.tag-category-tab {
  background: #f5f5f5;
  border-radius: 4px;
  padding: 5px 15px;

  .tab {
    line-height: 32px;
    cursor: pointer;
    margin-right: 40px;
  }
}

.tag-category-block {
  border-radius: 4px;
  border: 1px solid #ddd;

  .hd {
    background-color: #f5f5f5;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    border-radius: 5px 5px 0 0;
  }

  .bd {
    height: 200px;
    overflow: auto;
  }
}

.multi-level-block {
  padding: 20px 20px;
  height: 240px;
  overflow: auto;
  border: 1px solid #ddd;
}

.tag-category-list {

  // padding: 1px 0;
  li {
    float: left;
    width: 100%;
    padding: 10px 10px;

    &.can-selected {
      cursor: pointer;

      &:hover {
        background-color: var(--color-brand-opacity);

        .arr {
          display: block;
          opacity: 0.6;
        }
      }
    }

    &.selected {
      background-color: var(--color-brand-opacity);

      .arr {
        display: block;
        opacity: 1;
      }
    }

    .arr {
      // margin-top: 3px;
      display: none;
    }
  }
}

.tag-category {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(4, 1fr);
}

.tag-category-expand {
  grid-template-columns: 1fr;

  .tag-category-list {
    li {
      width: 180px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
}

// .cate-title {
//     margin-left: 3px;
// }

.count-brand {
  border-radius: 10px;
  // width: 15px;
  padding: 0 4px;
  height: 15px;
  line-height: 15px;
  text-align: center;
  color: white;
  background-color: var(--color-brand);
  vertical-align: middle;
  display: inline-block;
}

.tag-search-list {
  max-height: 300px;
  overflow: auto;
  background: white;
  border-radius: 4px;
  border: 1px solid #e6e6e6;
  width: 100%;
  top: 36px;
  right: 0;
  padding: 8px 0;
  position: absolute;
  line-height: 2;

  li {
    padding: 0 15px;
  }
}

.operative-symbol-wrap {
  display: inline-block;
  text-align: center;
  width: 36px;
}

.operative-symbol {
  cursor: move;
  display: inline-block;
  border: 1px solid #888;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  text-align: center;
  line-height: 24px;
  color: #888;
  font-family: Verdana;
  font-size: 20px;

  &:hover {
    border-color: var(--color-brand);
    color: var(--color-brand);
  }
}

.operative-symbol-bracket {
  font-size: 16px;
  line-height: 26px;
}

.tag-search-wrap {
  display: grid;
  grid-template-columns: 45% auto 45%;
}

.tag-search-block {
  border-radius: 4px;
  border: 1px solid #ddd;

  .hd {
    padding: 8px;
    height: 48px;
    line-height: 32px;
    border-radius: 5px 5px 0 0;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
  }

  .bd {
    background-color: white;
    height: 240px;
    overflow: auto;
    border-radius: 0 0 5px 5px;

    ul {
      li {
        padding: 10px;
        border-bottom: 1px solid #eee;
        display: grid;
        grid-gap: 5px;
        grid-template-columns: 80% auto;

        &.no-data {
          color: #999;
          border-bottom: none;
          line-height: 220px;
          text-align: center;
        }
      }
    }
  }
}

.crowd-manage-list {
  li {
    height: 32px;
    line-height: 32px;

    .opr {
      display: none;
    }

    &:hover {
      .opr {
        display: block;
      }
    }
  }
}

.drop-element {
  border-left: 1px solid transparent;
}

.drop-active {
  border-left: 1px solid var(--color-brand);
  animation: drop-active-anim 0.8s linear 0s infinite;
}

.drop-active-anim () {
  0% {
    border-left-color: rgba(104, 73, 158, 0)
  }

  25% {
    border-left-color: rgba(104, 73, 158, 0.5)
  }

  50% {
    border-left-color: rgba(104, 73, 158, 1)
  }

  75% {
    border-left-color: rgba(104, 73, 158, 0.5)
  }

  100% {
    border-left-color: rgba(104, 73, 158, 0)
  }
}

@keyframes drop-active-anim {
  .drop-active-anim
}

.sub-group {
  position: relative;

  &:hover {
    .third-group {
      display: block;
    }
  }

  .third-group {
    padding: 10px;
    // border: 1px solid #ccc;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
    position: absolute;
    z-index: 11;
    display: none;
    min-width: 300px;
    left: 0;
    top: 25px;
    background-color: white;

    a {
      white-space: nowrap;
      margin: 5px 10px;
    }

    // white-space: nowrap;
  }
}

.tag-radio-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 15px;
}


.tag-grid {
  display: grid;
  grid-template-columns: 85px auto;
}


.option-recommend-wrap {
  // display: none;
  display: inline-block;
  position: relative;
  // &:hover {
  //     .option-recommend {
  //         display: block;
  //     }
  // }
}

.option-recommend {
  width: 520px;
  top: 30px;
  margin-bottom: 82px;
  left: -110px;
  // display: none;
  position: absolute;
  z-index: 1000;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  background-color: white;
}