#osm-subscription-history .table {
  --bs-table-color: #eaf0ef;
  --bs-table-bg: #0c1724;
  --bs-table-striped-color: #eaf0ef;
  --bs-table-striped-bg: #142536;
  --bs-table-border-color: #304254;
}

#osm-subscription-history .table thead th {
  --bs-table-color: #f0f5f6;
  --bs-table-bg: #142536;
}
/* User Profile tabs and mobile accordion */
joomla-tab:has(#my-subscriptions-page) [role="tabpanel"] {
  background: #0c1724;
  color: #eaf0ef;
  border-color: #304254;
}

joomla-tab:has(#my-subscriptions-page)
button[aria-controls]:is([role="tab"], [aria-expanded]) {
  background: #142536;
  color: #eaf0ef;
  border-color: #304254;
}

joomla-tab:has(#my-subscriptions-page)
button[aria-controls]:is([aria-selected="true"], [aria-expanded="true"]) {
  background: #20403f;
  color: #f0f5f6;
  border-color: #8aebc6;
}

/* The two subscription tables inside User Profile */
:is(#my-subscriptions-page, #subscription-history-page) .table {
  --bs-table-color: #eaf0ef;
  --bs-table-bg: #0c1724;
  --bs-table-striped-color: #eaf0ef;
  --bs-table-striped-bg: #142536;
  --bs-table-border-color: #304254;
}

:is(#my-subscriptions-page, #subscription-history-page) .table thead th {
  --bs-table-color: #f0f5f6;
  --bs-table-bg: #142536;
}
joomla-tab:has(#my-subscriptions-page) > [role="tablist"] {
  background: #142536;
  border-color: #304254;
}
joomla-tab:has(#my-subscriptions-page) > [role="tablist"] {
  background: #142536;
  border-color: #304254;
  box-shadow: none;
}