.table-wrapper {
  width: 100%;
  overflow: auto;
  padding: 16px;
  max-height: 100%;
}
.table-overflow {
  overflow: auto;
  position: relative;
  max-height: 100%;
}
table {
  height: 100%;
  width: 100%;
  border-collapse: collapse;

  thead {
    background-color: var(--vampire-black);
    th {
      background-color: var(--vampire-black);
      border-radius: 8px;
      position: sticky;
      top: 0;
      z-index: 1;
      text-align: left;
      padding: 0.75rem 1rem;
      font-weight: 600;
      font-size: 14px;
      // border-bottom: 1px solid var(--kaspa-10);
      // text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--gray-85);
    }
  }
  tbody {
    tr {
      box-sizing: border-box;
    }
    tr.clickable {
      cursor: pointer;
    }
    tr.hover {
      transition: background-color 0.2s ease;
      &:hover {
        background-color: rgba(var(--primary-rgb), 0.1);
      }
    }
    td {
      padding: 0.75rem 1rem;
      border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
      font-size: 0.875rem;
      transition: background-color 0.2s ease;
      &:last-child {
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
      }
      &:first-child {
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
      }
    }
  }
}

.left-sticky {
  background-color: var(--vampire-black);
  position: sticky;
  left: 0;
  top: 0;
  z-index: 2;
}
.right-sticky {
  background-color: var(--vampire-black);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 2;
}
th.left-sticky {
  z-index: 3;
}
th.right-sticky {
  z-index: 3;
}

.header-cell {
  display: flex;
  gap: 8px;
  &__sort {
    color: white;
  }
  &__value {
  }
}
