.table__wrapper {
  display: none;
  overflow-x: auto;
}

@media (min-width: 640px) {
  .table__wrapper {
    display: block;
  }
}

.table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
}

.table__thead {
  background-color: light-dark(var(--color-gray-50), var(--color-zinc-800));
  border-top: 1px solid light-dark(var(--color-gray-200), var(--color-zinc-700));
  border-bottom: 1px solid
    light-dark(var(--color-gray-200), var(--color-zinc-700));
}

.table__row--header {
  background-color: inherit;
}

.table__row--header .table__cell {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: light-dark(var(--color-gray-50), var(--color-zinc-950));
  color: light-dark(var(--color-gray-500), var(--color-zinc-400));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  vertical-align: middle;
  border: none;
}

@media (min-width: 640px) {
  .table__row--header .table__cell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.table__row--header .table__cell--right {
  text-align: right;
}

.table__tbody .table__row:nth-child(odd) {
  background-color: light-dark(var(--color-white), var(--color-zinc-800));
}

.table__tbody .table__row:nth-child(even) {
  background-color: light-dark(var(--color-gray-50), var(--color-zinc-900));
}

.table__row > .table__cell {
  padding: 0.5rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid
    light-dark(var(--color-gray-200), var(--color-zinc-700));
}

.table__row:last-child > .table__cell {
  border-bottom: none;
}

@media (min-width: 640px) {
  .table__row > .table__cell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.table__cell--right {
  text-align: right;
}

.table__tbody .table__row:first-child .table__cell {
  border-top: none;
}

.table__tbody .table__row:last-child > .table__cell:first-child {
  border-bottom-left-radius: 0.25rem;
}

.table__tbody .table__row:last-child > .table__cell:last-child {
  border-bottom-right-radius: 0.25rem;
}

.table__date {
  color: light-dark(var(--color-gray-800), var(--color-zinc-100));
  font-size: 0.875rem;
  display: block;
}
