.yk-table {
  position: relative;
  overflow: auto;
  width: 100%;
  font-size: 14px;
  color: var(--gray);
}
.yk-table table {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  height: fit-content;
  border-spacing: 0;
  border-collapse: separate;
  table-layout: fixed;
  box-sizing: border-box;
}
.yk-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0 24px;
  text-align: left;
  background-color: var(--bgColor3);
}
.yk-table__header-cell {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.yk-table__header-cell.is-sortable {
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}
.yk-table__header-cell.is-sortable:hover {
  color: var(--pcolor);
}
.yk-table__sort {
  display: inline-flex;
  flex-direction: column;
  color: var(--gray5);
  line-height: 1;
}
.yk-table__sort-icon {
  width: 10px;
  height: 10px;
}
.yk-table__sort-icon.is-active {
  color: var(--pcolor);
}
.yk-table__cell {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 24px;
  min-width: 0;
  max-width: 240px;
  height: 56px;
  border-bottom: 1px solid var(--gray1);
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
  line-height: 1.54;
}
.yk-table__cell .cell {
  box-sizing: border-box;
  overflow: hidden;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-all;
}
.yk-table__cell .cell.is-ellipsis {
  white-space: nowrap;
}
.yk-table__row {
  background-color: var(--bgColor1);
  transition: background-color 0.1s;
}
.yk-table__row:hover {
  background-color: var(--bgColor2);
}
.yk-table__empty-body .yk-table__empty {
  padding: 24px;
  height: 120px;
  text-align: center;
  color: var(--gray5);
}
.yk-table__loading {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--gray8);
  background-color: var(--bgColor1);
  opacity: 0.85;
}
.yk-table .text-center {
  text-align: center;
}
.yk-table .text-right {
  text-align: right;
}
.yk-table--stripe .yk-table__row:nth-child(even) {
  background-color: var(--bgColor3);
}
.yk-table--border {
  border: 1px solid var(--gray1);
}
.yk-table--border .yk-table__cell {
  border-right: 1px solid var(--gray1);
}
.yk-table--border .yk-table__cell:last-child {
  border-right: none;
}
