.table-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.table-wrapper .table {
  position: relative;
  width: 100%;
  min-height: 184px;
  padding-bottom: var(--space-2);
  overflow-x: auto;
  background-color: var(--color-light-0);
  border: 1px solid var(--color-light-2);
  border-radius: 5px;
}
.table-wrapper .table .container {
  width: 100%;
  border-collapse: collapse;
}
.table-wrapper .table .container thead {
  border-bottom: 1px solid var(--color-light-2);
}
.table-wrapper .table .container th {
  padding: calc(var(--space-1) + var(--space-2)) var(--space-3);
  background-color: var(--color-dark-2);
  color: var(--color-light-0);
  text-align: left;
  font-size: var(--fontsize-1);
  font-weight: normal;
  white-space: nowrap;
}
.table-wrapper .table .container tr.even {
  background-color: var(--color-light-1);
}
.table-wrapper .table .container td {
  padding: var(--space-2) var(--space-3);
  text-align: left;
  font-size: var(--fontsize-1);
}
.table-wrapper .table .container .right {
  text-align: right;
}
.table-wrapper .table .container .nowrap {
  white-space: nowrap;
}
.table-wrapper .table .container .freeze {
  position: sticky;
  right: 0;
  z-index: 1;
}
.table-wrapper .table .container .value {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  line-height: 1;
}
.table-wrapper .table .container .action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-2);
}
.table-wrapper .table .container .action .table__link,
.table-wrapper .table .container .action .table__button {
  color: var(--color-dark-1);
  font-size: var(--fontsize-1);
}
.table-wrapper .table .container .action .table__link:hover,
.table-wrapper .table .container .action .table__button:hover {
  color: var(--color-primary-1);
}
.table-wrapper .table .container .indicator {
  display: inline-block;
  height: 0.8em;
  width: 0.8em;
  border-radius: 50%;
}
.table-wrapper .table .container .indicator.ACTIVE {
  background-color: var(--color-success-1);
}
.table-wrapper .table .container .indicator.INACTIVE {
  background-color: var(--color-dark-0);
}
.table-wrapper .table .container .indicator.PENDING {
  background-color: var(--color-warning-1);
}
.table-wrapper .table .container .table__link {
  color: var(--color-primary-1);
  font-size: var(--fontsize-1);
}
.table-wrapper .filter {
  display: flex;
  gap: var(--space-2);
}
.table-wrapper .filter .select-wrap {
  flex: 1;
}
.table-wrapper .filter .input-wrap {
  flex: 3;
  position: relative;
  width: 100%;
  height: var(--input-height);
}
.table-wrapper .filter .action-wrap {
  width: auto;
  height: var(--input-height);
  padding: var(--space-2);
  border: 1px solid var(--color-light-2);
  border-radius: 3px;
  background-color: var(--color-light-0);
}
.table-wrapper .filter .action-btn:hover,
.table-wrapper .filter .action-btn:focus {
  color: var(--color-accent-1);
}
.table-wrapper .filter .input-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  visibility: hidden;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: var(--space-2);
}
.table-wrapper .filter .input-content.active {
  z-index: 2;
  visibility: visible;
}
.table-wrapper .filter-value {
  flex-wrap: wrap;
  gap: var(--space-2);
}
