.dropdown {
  .option {
    background: #ffffff;
    padding: 0;
    .optionItem {
      width: 100%;
      display: flex;
      align-items: center;
      padding: 12px 16px;

      &:hover {
        color: #298dff;
      }
      img {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        flex-shrink: 0;
      }
      .showBox {
        overflow: hidden;
        .name {
          width: 100%;
          margin: 0;
          display: flex;
          align-items: center; 
          .showName {
            overflow: hidden;
            text-overflow: ellipsis;
            margin-left: 7px;
            span {
              display: inline-block;
              margin-left: 0px;
              line-height: 20px;
            }
          }
        }
      }
      .tagContact {
        width: 28px;
        height: 15px;
        background: #fff4e7;
        border-radius: 3px;
        font-size: 10px;
        font-weight: 500;
        color: #f89119;
        text-align: center;
        line-height: 15px;
        margin-left: 4px;
        display: inline-block;
      }
      .showDept {
        display: inline-block;
        margin-left: 7px;
      }
    }
    .selectLoadMore {
      width: 100%;
      height: 32px;
      padding-top: 5px;
      text-align: center;
      font-size: 12px;
      color: #298dff;
      cursor: pointer;
    }
    .selectLoadMore:hover {
      background-color: #e6f7ff;
    }
  }
}

.ant-select-item:hover {
  background-color: rgba(246, 247, 250, 1);
}

.ant-select-item-group {
  background: #ffffff;
}

.ant-select-item-option-state {
  display: flex;
  align-items: center;
  padding-right: 20px;
}
.custom-selection-container {
  .custom-selection-item {
    margin: 4px 0;
    .ant-select-selection-item {
      display: inline-flex;
      align-items: center;
      height: 28px;
      line-height: 26px;
      background: #F5F6FB;
      border-radius: 4px;
      color: #757b82;
      margin: 4px 4px 4px 0;
      padding: 0 4px 0 8px;
      .ant-select-selection-item-icon, .orgImg {
        width: 14px;
        height: 14px;
        border-radius: 2px;
        margin-right: 4px;
        display: flex;
        .teamImg, .userImg {
          width: 100%;
          height: 100%;
          border-radius: 50%;
        }
      }
      .ant-select-selection-item-content {
        flex: 1;
        max-width: 220px;
        margin-right: 4px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0; // 允许flex子项缩小
      }
      .ant-select-selection-item-remove {
        flex-shrink: 0;
        cursor: pointer;
        padding: 0 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        &:hover {
          color: #286cfb;
        }
      }
    }
  }
}

