/* Site-wide table skin, matching the Insider Activity table.
   Targets Bootstrap .table (the majority of pages) and the custom table classes,
   in both the light and the deep-blue skins. */

/* ---------- Light ---------- */
.table {
  --bs-table-bg: transparent;
  --bs-table-color: #1f2937;
  --bs-table-striped-bg: #fbfcfd;
  --bs-table-hover-bg: #f0f6ff;
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--bs-table-color);
}
.table > :not(caption) > * > * {
  padding: 12px;
  background-color: var(--bs-table-bg);
  border-bottom: 1px solid #eef2f6;
  color: inherit;
  vertical-align: middle;
}
.table thead th {
  background-color: #f8fafc;
  color: #475569;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid #e3e8ee;
}
.table tbody tr:nth-child(even) { background-color: var(--bs-table-striped-bg); }
.table tbody tr:hover { background-color: var(--bs-table-hover-bg); }

.sz-table, .fin-table, .tbl, .details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.sz-table thead th, .fin-table thead th, .tbl thead th, .details-table thead th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid #e3e8ee;
  white-space: nowrap;
}
.sz-table tbody td, .fin-table tbody td, .tbl tbody td, .details-table tbody td {
  padding: 12px;
  border-bottom: 1px solid #eef2f6;
  vertical-align: middle;
}
.sz-table tbody tr:nth-child(even), .fin-table tbody tr:nth-child(even),
.tbl tbody tr:nth-child(even), .details-table tbody tr:nth-child(even) { background: #fbfcfd; }
.sz-table tbody tr:hover, .fin-table tbody tr:hover,
.tbl tbody tr:hover, .details-table tbody tr:hover { background: #f0f6ff; }

/* ---------- Deep blue ---------- */
[data-theme="dark"] .table {
  --bs-table-bg: transparent;
  --bs-table-color: #e6edf7;
  --bs-table-striped-bg: #0d1a30;
  --bs-table-hover-bg: #14294a;
  color: #e6edf7;
}
[data-theme="dark"] .table > :not(caption) > * > * { border-bottom-color: #1a2c47; }
[data-theme="dark"] .table thead th {
  background-color: #0f1e36;
  color: #a9bcd8;
  border-bottom-color: #1d3454;
}
[data-theme="dark"] .sz-table,
[data-theme="dark"] .fin-table,
[data-theme="dark"] .tbl,
[data-theme="dark"] .details-table { color: #e6edf7; }
[data-theme="dark"] .sz-table thead th,
[data-theme="dark"] .fin-table thead th,
[data-theme="dark"] .tbl thead th,
[data-theme="dark"] .details-table thead th {
  background: #0f1e36;
  color: #a9bcd8;
  border-bottom-color: #1d3454;
}
[data-theme="dark"] .sz-table tbody td,
[data-theme="dark"] .fin-table tbody td,
[data-theme="dark"] .tbl tbody td,
[data-theme="dark"] .details-table tbody td { border-bottom-color: #1a2c47; }
[data-theme="dark"] .sz-table tbody tr:nth-child(even),
[data-theme="dark"] .fin-table tbody tr:nth-child(even),
[data-theme="dark"] .tbl tbody tr:nth-child(even),
[data-theme="dark"] .details-table tbody tr:nth-child(even) { background: #0d1a30; }
[data-theme="dark"] .sz-table tbody tr:hover,
[data-theme="dark"] .fin-table tbody tr:hover,
[data-theme="dark"] .tbl tbody tr:hover,
[data-theme="dark"] .details-table tbody tr:hover { background: #14294a; }
