.@{prefixCls}-select-panel {
  position: relative;
  display: flex;
  height: 100%;

  &-spin {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.6);
  }

  &-left {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid @border-color-base;
    border-radius: @border-radius-base;
  }

  &-header {
    min-height: 36px;
    padding: 6px 12px;
    background: #f9f9fb;
    border-bottom: 1px solid @border-color-split;
  }

  &-body {
    flex: 1;
    min-height: 0;
    padding: 8px @padding-md;
    overflow: auto;

    .scrollBar();
  }

  &-content {
    width: 100%;
    height: 100%;
    .scrollBar();
  }

  &-right {
    display: flex;
    flex-direction: column;
    width: 180px;
    margin-left: 8px;
    padding: 8px 0;
    font-size: 12px;
    line-height: 20px;
    background: #f9f9fb;
    border: 1px solid @border-color-base;
    border-radius: @border-radius-base;

    &-header {
      display: flex;
      justify-content: space-between;
      margin-bottom: 8px;
      padding: 0 @padding-md;

      span {
        color: rgba(102, 102, 102, 0.7);
      }
    }

    &-body {
      flex: 1;
      min-height: 0;
      padding: 0 @padding-md;
      overflow: auto;
      .scrollBar();
    }
  }

  &-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;

    &-name {
      flex: 1;
      min-width: 0;
    }

    &-delete {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 12px;
      height: 12px;
      margin-left: 8px;
      background-color: #bfc4ce;
      border-radius: 50%;
      cursor: pointer;

      &::after {
        display: block;
        width: 6px;
        height: 1px;
        background: #fff;
        content: '';
      }
    }
  }
}
