.app-group-picker {
  width: 100%;
  height: 100%;

  .app-group-picker__content {
    display: flex;
    height: calc(100% - 65px);

    .app-group-picker__content__card {
      flex-grow: 1;
      padding: 0 10px;
      overflow: auto;
      height: 100%;

      .content__card__group-name {
        padding: 5px 0;
        font-size: 16px;
        font-weight: 700;
      }

      .content__card__item {
        border: 1px solid #666;
        width: 150px;
        text-align: center;
        height: 70px;
        line-height: 70px;
        border-radius: 8px;
        margin-right: 10px;
        display: inline-block;
        margin-bottom: 10px;
        &:focus {
          box-shadow: 0 0 0 2px rgba(@primary-color, 0.2);
        }

        &:hover,
        &:focus {
          background: mix(@primary-color, #fff, 80%);
          color: @btn-primary-color;
          border-color: mix(@primary-color, #fff, 80%);
        }
      }

      .is-select {
        background: @primary-color;
        color: @btn-primary-color;
        border-color: @primary-color;
      }
    }
  }

  .app-group-picker__content__select-tree {
    min-width: 200px;
    border-right: 1px solid #ddd;
    padding: 0 34px 0 10px;
    overflow: auto;
    height: 100%;

    .ant-tree-list {
      width: 100%;
      border-radius: 2px;
      cursor: pointer;
      .ant-tree-treenode {
        width: 100%;
        padding: 0;
      }
      .ant-tree-treenode-selected {
          background: mix(@primary-color, #fff, 80%);
          color: @btn-primary-color;
          border-color: mix(@primary-color, #fff, 80%);
      }
      &:hover{
          background: mix(@primary-color, #fff, 80%);
          color: @btn-primary-color;
          border-color: mix(@primary-color, #fff, 80%);
      }
    }
  }
  .ant-tree .ant-tree-treenode .ant-tree-node-content-wrapper{
    flex: auto;
    &:hover{
      background-color: unset;
    }
  }
  .ant-tree .ant-tree-treenode .ant-tree-node-content-wrapper.ant-tree-node-selected {
      background: mix(@primary-color, #fff, 80%);
      color: @btn-primary-color;
      border-color: mix(@primary-color, #fff, 80%);
  }

  .app-group-picker__footer {
    justify-content: center;
    padding: 24px;
    text-align: right;
    border-top: 1px solid #ddd;
    cursor: pointer;

    > .app-button {
      margin: 0 10px;
      padding: 0 20px;
      border-radius: 3px;
    }
  }
}
