/**
 * Table Styling Module
 * --------------------
 * Standalone shared table style for the next admin/data table refresh.
 */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: var(--table-section-gap, 0.5rem);
  box-sizing: border-box;
}

.table {
  --table-header-bg: #000;
  --table-header-color: #fff;
  --table-body-bg: #CFD3FD;
  --table-body-color: #000;
  --table-row-line: #000;
  --table-section-gap: 0.5rem;
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
}

.table th,
.table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
}

.table thead th {
  background: #000;
  color: #fff;
}

.table thead th:first-child {
  border-radius: 1rem 0 0 1rem;
}

.table thead th:last-child {
  border-radius: 0 1rem 1rem 0;
}

.table thead th:first-child:last-child {
  border-radius: 1rem;
}

.table tbody {
  position: relative;
  top: var(--table-section-gap);
}

.table tbody td {
  background: var(--table-body-bg);
  color: var(--table-body-color);
  box-shadow: inset 0 -1px 0 var(--table-row-line);
}

.table tbody a {
  color: inherit;
  text-decoration: none;
}

.table tbody tr:first-child td:first-child {
  border-top-left-radius: 1rem;
}

.table tbody tr:first-child td:last-child {
  border-top-right-radius: 1rem;
}

.table tbody tr:last-child td {
  box-shadow: none;
}

.table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 1rem;
}

.table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 1rem;
}
