.cl-table-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgb(15 23 42 / 6%);

  .ant-table-wrapper {
    .ant-table-thead > tr > th {
      font-size: 13px;
      white-space: nowrap;
      background: #f8f9fb;
    }

    .ant-table-tbody > tr > td {
      vertical-align: middle;
    }
  }

  .ant-pagination {
    margin: 14px 16px;
  }
}

.cl-customer-cell {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cl-avatar {
  display: inline-flex;
  flex-shrink: 0;
  gap: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border-radius: 50%;
}

.cl-customer-main {
  min-width: 0;
}

.cl-customer-name {
  font-weight: 500;
  color: rgb(0 0 0 / 88%);
}

.cl-customer-phone {
  margin-top: 2px;
  font-size: 12px;
  color: rgb(0 0 0 / 45%);
}

.cl-order-count-cell {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cl-order-count-value {
  min-width: 20px;
  font-weight: 600;
}

.cl-order-count-bar {
  display: inline-flex;
  flex: 1;
  max-width: 90px;
  height: 6px;
  background: #1677ff;
  border-radius: 3px;
  opacity: 0.72;
}

.cl-amount,
.cl-average-amount {
  font-weight: 600;
  white-space: nowrap;
}

.cl-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;

  .ant-tag {
    margin-inline-end: 0;
  }
}

.cl-detail-action {
  padding-inline: 0;
}

.cl-row-dimmed td {
  opacity: 0.55;
}

.cl-row-dimmed:hover td {
  opacity: 0.78;
}
