.client-search-result-list {
  position: relative;
  height: 100%;
  overflow: auto;
}

.client-search-result-list__header,
.client-search-result-list__item-content {
  display: flex;
  min-width: 795px;
}

.client-search-result-list__header {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: #fafafa;
  border-bottom: 1px solid #d9d9d9;
  padding: 12px 16px;
  font-weight: 600;
}

.client-search-result-list__header-cell,
.client-search-result-list__cell {
  flex-shrink: 0;
  padding-right: 16px;
  color: rgba(0, 0, 0, 0.85);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.client-search-result-list__infinite {
  min-width: 795px;
}

.client-search-result-list__list {
  width: 100%;
}

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

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

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

.client-search-result-list__item-content {
  width: 100%;
  padding: 12px 16px;
  outline: none;
}

.client-search-result-list__cell {
  display: inline-block;
  white-space: nowrap;
}

.client-search-result-list__cell--name {
  width: 180px;
}

.client-search-result-list__cell--register-time {
  width: 110px;
}

.client-search-result-list__cell--membership {
  width: 125px;
}

.client-search-result-list__cell--contact-info {
  width: 180px;
}

.client-search-result-list__cell--holder {
  width: 200px;
}

.client-search-result-list__ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-search-result-list__membership-tag {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: auto;
  max-width: 100%;
  display: inline-block;
  border-radius: 16px;
  margin-right: 0;
}

.client-search-result-list__message {
  text-align: center;
  padding: 20px;
  color: #999;
}

.pisell-client-search-result-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 10;
}
