.table-scroll {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  max-height: 560px;
  position: relative;
}

.table-scroll::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

.table-scroll::-webkit-scrollbar-thumb {
  background: rgba(109, 94, 252, 0.3);
  border-radius: 999px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: auto;
  min-width: 0;
}

th,
td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
  white-space: nowrap;
  width: 1%;
}

th:first-child,
td:first-child {
  white-space: normal;
  min-width: 140px;
  width: auto;
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 2;
}

th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: #f5f6ff;
}

th.sortable {
  cursor: pointer;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 3;
}

thead th:first-child {
  z-index: 4;
}

tbody tr:nth-child(even) {
  background: #f9f9ff;
}

tbody tr:nth-child(even) td:first-child {
  background: #f9f9ff;
}

.no-sticky-first-col th:first-child {
  left: auto;
  z-index: auto;
  background: #f5f6ff;
}

.no-sticky-first-col td:first-child {
  position: static;
  left: auto;
  z-index: auto;
  background: inherit;
}

.table-large .table-scroll {
  max-height: 720px;
}

.table-large table {
  font-size: 14px;
}

.table-compact-first-col th:first-child,
.table-compact-first-col td:first-child {
  min-width: 40px;
  white-space: nowrap;
}

.table-compact-first-col table {
  width: 100%;
}
