.client-search-table {
  .pisell-lowcode-table-tbody > tr {
    cursor: pointer;

    &:hover {
      background-color: #f5f5f5;
    }
  }

  .pisell-lowcode-table-thead > tr > th {
    background-color: #fafafa;
    font-weight: 600;
  }
}

// List样式
.client-search-list-header {
  display: flex;
  background-color: #fafafa;
  border-bottom: 1px solid #d9d9d9;
  padding: 12px 16px;
  font-weight: 600;

  .header-item {
    flex-shrink: 0;
    padding-right: 16px;
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
    word-break: keep-all;
    overflow: hidden;
    word-wrap: normal;
    text-overflow: ellipsis;
  }
}

.client-search-list-item {
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  padding: 0 !important;

  &:hover {
    background-color: #f5f5f5;
  }

  &:last-child {
    border-bottom: none;
  }

  .list-item-content {
    display: flex;
    width: 100%;
    padding: 12px 16px;

    .item-cell {
      flex-shrink: 0;
      padding-right: 16px;
      color: rgba(0, 0, 0, 0.85);
      font-size: 14px;
      display: flex;
      align-items: center;
      overflow: hidden;
      display: inline-block;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }

  // 添加点击事件处理
  .ant-list-item-meta {
    pointer-events: none;
  }
}

.client-search-form {
  padding: 16px 0;

  .ant-form-item {
    margin-bottom: 16px;
  }

  .ant-input {
    height: 40px;
  }
}

.comprehensive-search {
  .comprehensive-search__results-container {
    .client-search-table {
      .pisell-lowcode-table {
        border: 1px solid #d9d9d9;
        border-radius: 6px;
      }
    }
  }
}
