:root {
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-dark-grey: #333333;
  --color-light-grey: #E2E6E9;
  --color-dark-blue: #072589;
  --color-light-blue: #6DF8FF;
  --font-sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --button-base: var(--color-dark-blue);
  --button-hover: var(--color-white);
  --background: var(--color-dark-blue);
  --background-body: white;
  --links: var(--color-dark-blue);
}

* {
  font-family: var(--font-sans);
  box-sizing: border-box;
}

html {
  max-width: none;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  max-width: none;
  padding: 0;
  color: var(--color-dark-grey);
  background: var(--background-body);
}

main.main-content {
  flex: 1 1 auto;
  width: 100%;
}

.header {
  background: var(--color-dark-blue);
  max-height: none;
}

.header .header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.header .logo {
  display: inline-block;
  width: 189px;
  height: 36px;
  background-image: url('/images/logo.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

.header .main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0;
}

.header .main-nav ul li {
  padding: 8px 0 8px 20px;
}

.header .main-nav ul a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.header .main-nav ul a.selected,
.header .main-nav ul a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.container {
  padding: 10px 20px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.content-block {
  padding: 1.5rem 0 2rem;
}

.content-block.white {
  background: #fff;
  color: #000;
}

.content-block.light-blue,
.infobox {
  background: var(--color-light-grey);
  color: #000;
  padding: 1.5rem;
  margin: 1rem 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumbs li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumb-sep {
  color: #667;
}

.breadcrumb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.breadcrumb-actions a {
  white-space: nowrap;
}

.page-title h1,
.content-block h1 {
  color: var(--color-dark-blue);
  font-weight: 700;
  font-size: 2rem;
  margin: 0 0 1rem;
}

.content-block h2,
.content-block h3,
.content-block h4,
.content-block strong,
.page-panel h2,
.page-panel h3,
.page-panel h4,
.page-panel strong {
  color: var(--color-dark-blue);
}

.login-google {
  margin: 1rem 0;
}

.login-google img {
  display: block;
  max-width: 250px;
  height: auto;
}

.login-divider {
  margin: 1.25rem 0;
  color: #667;
  font-weight: 600;
}

.tenant-home {
  min-height: calc(100vh - 10rem);
  display: flex;
  flex-direction: column;
}

.tenant-home .page-title.home-title-row,
.tenant-home .home-title-row {
  margin: 0 0 0.35rem;
}

.tenant-home .page-title.home-title-row h1,
.tenant-home .home-title-row h1 {
  margin: 0;
  font-size: 1.75rem;
}

.tenant-home .breadcrumbs {
  margin-bottom: 0.5rem;
}

.tenant-home #home-message:empty {
  display: none;
  margin: 0;
}

.tenant-home #home-message:not(:empty) {
  margin: 0 0 0.5rem;
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0.35rem 0 0.75rem;
  flex: 1 1 auto;
  align-content: start;
}

.content-block.white:has(.tenant-home) {
  padding-top: 0.75rem;
  padding-bottom: 1rem;
}

.home-panel {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.15rem 0.85rem;
  background: var(--color-light-grey);
  min-height: 0;
}

.home-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.home-panel-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.home-panel-head .btn,
.home-panel-head button {
  margin: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
}

.home-pending h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.home-org-details {
  margin: 0 0 0.85rem;
}

.home-panel .home-pending {
  margin-top: 0.25rem;
}

.home-table-wrap {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
}

.sessions-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  margin: 0 0 0.75rem;
}

.sessions-toolbar label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  font-size: 0.9rem;
}

.sessions-toolbar select {
  min-width: 14rem;
}

.home-panel table.admin-table.home-static-table {
  width: 100%;
  margin: 0;
  font-size: 0.9rem;
}

.home-panel table.home-static-table th,
.home-panel table.home-static-table td {
  padding: 0.4rem 0.55rem;
  vertical-align: middle;
}

.home-panel table.home-static-table td button {
  margin: 0 0.15rem 0 0;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
}

.home-panel table.home-static-table a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-empty {
  margin: 0.25rem 0 0.75rem;
  color: #667;
}

.home-panel-foot {
  margin: 0.75rem 0 0;
  padding-top: 0.5rem;
  border-top: 1px solid #c8d0d8;
  font-size: 0.9rem;
}

.home-panel-foot a {
  color: var(--color-dark-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 700px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
}

.page-panel {
  margin: 1.25rem 0;
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--color-light-grey);
}

.panel-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.panel-split > .page-panel {
  margin: 1.25rem 0;
  min-width: 0;
}

.page-panel.danger-zone {
  border: 2px solid #a11;
}

.page-panel.danger-zone h2 {
  color: #a11;
}

@media (max-width: 800px) {
  .panel-split {
    grid-template-columns: 1fr;
  }
}

.page-panel h2 {
  margin-top: 0;
}

.page-panel table.admin-table,
.page-panel table.dataTable.admin-table,
table.admin-table {
  background: #fff;
  border: 1px solid #c8d0d8;
  color: var(--color-dark-grey);
}

.page-panel table.admin-table thead th,
table.admin-table thead th {
  background: #eef1f4;
  border-bottom: 1px solid #c8d0d8;
  color: var(--color-dark-blue);
}

.page-panel table.admin-table tbody tr:nth-child(even),
table.admin-table tbody tr:nth-child(even) {
  background: #f8f9fb;
}

.page-panel table.admin-table tbody tr:nth-child(even) button,
table.admin-table tbody tr:nth-child(even) button {
  background: var(--color-dark-blue);
  color: #fff;
}

.page-panel table.admin-table tbody tr.clickable-row:hover,
.page-panel table.admin-table tbody tr:hover,
table.admin-table tbody tr.clickable-row:hover,
table.admin-table tbody tr:hover {
  background: #e8eef8;
}

.page-panel .dataTables_wrapper {
  background: transparent;
}

.page-panel .dataTables_wrapper .dataTables_filter input,
.page-panel .dataTables_wrapper .dataTables_length select {
  background: #fff;
}

.section-actions {
  margin-top: 1rem;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.table-actions button,
table.admin-table td button {
  margin: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
}

.admin-modal {
  border: none;
  padding: 0;
  max-width: 32rem;
  width: calc(100% - 2rem);
  background: transparent;
}

.admin-modal:has(.group-sheet-card) {
  max-width: 44rem;
}

.admin-modal.admin-modal-wide,
.admin-modal:has(.group-tree-card) {
  max-width: min(1100px, calc(100% - 1.5rem));
  width: calc(100% - 1.5rem);
}

.group-tree-card {
  max-height: calc(100vh - 2rem);
  overflow: auto;
}

.group-tree-card > h2 {
  margin-bottom: 0.75rem;
}

.admin-tree-scroll {
  overflow-x: auto;
  padding: 0.25rem 0.25rem 1rem;
  border: none;
  margin: 0 0 0.75rem;
  min-width: 0;
  position: relative;
}

.group-team-rail {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 9.5rem;
  max-width: 11.5rem;
  text-align: left;
}

.group-team-rail label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-dark-blue);
  font-weight: 600;
}

.group-team-rail input {
  width: 100%;
  margin: 0 0 0.35rem;
  padding: 0.35rem 0.45rem;
  font-size: 0.9rem;
}

.group-team-rail input[type='number'] {
  -moz-appearance: textfield;
  appearance: textfield;
  max-width: 5.5rem;
}

.group-team-rail input[type='number']::-webkit-outer-spin-button,
.group-team-rail input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  display: none;
}

.flow-root-head {
  display: grid;
  grid-template-columns: minmax(9.5rem, 1fr) auto minmax(9.5rem, 1fr);
  align-items: center;
  width: 100%;
  margin-bottom: 0;
}

.flow-root-side--left {
  justify-self: start;
  padding-left: 0.25rem;
  padding-right: 0;
}

.flow-root-side--right {
  min-height: 1px;
}

.flow-root-head .flow-decision-wrap {
  margin-top: 0.2rem;
}

.admin-decision-tree {
  min-width: 720px;
  padding: 0.5rem;
}

.flow-tree {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.flow-node.flow-decision {
  align-items: stretch;
}

.flow-decision-wrap {
  position: relative;
  width: 11rem;
  min-height: 6.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.2rem auto 0;
  cursor: pointer;
  flex: 0 0 auto;
}

.flow-decision-diamond {
  position: absolute;
  width: 5.9rem;
  height: 5.9rem;
  background: #d9ecfb;
  border: 2px solid var(--color-dark-blue);
  transform: rotate(45deg);
  z-index: 0;
  pointer-events: none;
}

.flow-decision-card {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.flow-decision-card .flow-field--feature,
.admin-decision-tree .flow-decision-card .flow-field--feature select,
.flow-decision-card .flow-trash {
  pointer-events: auto;
}

.flow-decision-card .flow-field--feature {
  width: 68%;
  max-width: 7.1rem;
  margin: 0;
  z-index: 1;
}

.admin-decision-tree .flow-decision-card .flow-field--feature select {
  width: 100% !important;
  max-width: 100% !important;
}

.flow-decision-card .flow-trash {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  z-index: 2;
}

.flow-leaf-card {
  min-width: 10.5rem;
  padding: 0.65rem 0.7rem;
  background: #fff;
  border: 2px solid #222;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.flow-leaf-card:has(.flow-city-row) {
  min-width: 0;
  width: auto;
  padding: 0;
  border: none;
  background: transparent;
}

.flow-city-row {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.16rem 0.3rem;
  background: #fff;
  border: 1px solid var(--color-dark-blue);
}

.admin-decision-tree .flow-field--city {
  margin: 0;
}

.admin-decision-tree .flow-field--city select {
  width: 3.4rem !important;
  max-width: 3.4rem !important;
  min-width: 3.4rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-dark-blue);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.admin-decision-tree .flow-field--city select:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.flow-trash,
.flow-eye {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-dark-blue);
  cursor: pointer;
  line-height: 1;
  opacity: 0.85;
}

.flow-trash:hover,
.flow-eye:hover {
  color: var(--color-dark-blue);
  background: transparent;
  opacity: 1;
}

.flow-trash svg,
.flow-eye svg {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

.flow-leaf-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: stretch;
}

.flow-leaf-btn {
  margin: 0;
  padding: 0.4rem 0.55rem;
  font-size: 0.85rem;
  line-height: 1.2;
  background: var(--color-dark-blue);
  color: #fff;
  border: 2px solid var(--color-dark-blue);
}

.flow-leaf-btn:hover {
  background: var(--color-dark-blue);
  color: #fff;
}

.flow-field {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-dark-blue);
  font-weight: 600;
}

.flow-field select,
.flow-field input {
  width: 9.5rem;
  max-width: 9.5rem;
  margin: 0;
  padding: 0.25rem 0.35rem;
  font-size: 0.85rem;
  text-align: center;
}

.admin-decision-tree .flow-field--feature select {
  width: 7.1rem;
  max-width: 7.1rem;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: var(--color-dark-blue);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.admin-decision-tree .flow-field--feature select:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.admin-decision-tree input[type='number'] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.admin-decision-tree input[type='number']::-webkit-outer-spin-button,
.admin-decision-tree input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  display: none;
}

.flow-fork {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  align-self: stretch;
}

.flow-fork-stem {
  width: 2px;
  height: 1rem;
  background: #222;
  margin: 0 auto;
}

.flow-branches {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  min-width: 28rem;
  gap: 0;
  position: relative;
}

/* Equal columns keep this bar centred under the stem (25% → 75%). */
.flow-branches::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  width: 50%;
  height: 2px;
  background: #222;
  z-index: 1;
  pointer-events: none;
}

.flow-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  width: 100%;
  padding: 0 0.75rem;
  box-sizing: border-box;
  position: relative;
}

.flow-edge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 1;
}

.flow-edge-drop {
  display: block;
  width: 2px;
  height: 0.9rem;
  background: #222;
  margin-top: -1px; /* overlap bar so Firefox doesn't leave a hairline gap */
}

.flow-edge-threshold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin: 0.1rem 0;
  padding: 0.16rem 0.39rem;
  background: #fff;
  border: 1px solid var(--color-dark-blue);
  color: var(--color-dark-blue);
  font-weight: 700;
}

.flow-edge-sign {
  font-size: 1.1rem;
  line-height: 1;
}

.admin-decision-tree .flow-edge-threshold input {
  width: 3.4rem !important;
  max-width: 3.4rem !important;
  min-width: 3.4rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  text-align: center;
  font-size: 0.94rem;
  line-height: 1.1;
  color: var(--color-dark-blue);
  font-weight: 600;
}

.admin-decision-tree .flow-edge-threshold input:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.flow-threshold-mirror {
  background: transparent;
  color: #667;
}

.flow-edge-arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #222;
}

.flow-child {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.flow-child .flow-branches {
  min-width: 16rem;
  width: 100%;
}

.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 700px) {
  .flow-root-head {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.75rem;
  }

  .flow-root-side--left {
    justify-self: center;
    padding-right: 0;
  }

  .flow-root-side--right {
    display: none;
  }
}

#share-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#share-section h2 {
  align-self: stretch;
  text-align: left;
}

.share-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem auto;
  padding: 1.25rem;
  background: #fff;
  border: 2px solid var(--color-light-grey);
  max-width: 100%;
}

.game-qr {
  display: block;
  padding: 0;
  background: #fff;
  border: none;
}

.game-qr img,
.game-qr canvas {
  display: block;
  width: 220px !important;
  height: 220px !important;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.share-actions .btn,
.share-actions button {
  margin: 0;
}

.game-link {
  display: block;
  width: 100%;
  max-width: 22rem;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-dark-blue);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
  word-break: break-all;
  cursor: pointer;
  text-decoration: underline;
}

.game-link:hover {
  background: transparent;
  color: var(--color-mid-blue);
}

.hidden {
  display: none !important;
}

.tree-builder {
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
}

.tree-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.tree-node-card {
  background: #fff;
  border: 2px solid var(--color-dark-blue);
  padding: 0.85rem 1rem;
  min-width: 14rem;
  max-width: 18rem;
}

.tree-node-title {
  color: var(--color-dark-blue);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tree-node-card label {
  margin-top: 0.35rem;
}

.tree-children {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  align-items: start;
}

.tree-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid #c5ccd6;
  min-width: 12rem;
}

.tree-side-label {
  color: var(--color-dark-blue);
  font-size: 0.85rem;
  font-weight: 600;
}

.tree-side .tree-node {
  width: 100%;
}

.tree-side .tree-node-card {
  border-color: #9aa3ad;
}

@media (max-width: 900px) {
  .tree-children {
    grid-template-columns: 1fr;
  }
}

.admin-modal::backdrop {
  background: rgba(7, 37, 137, 0.45);
}

.admin-modal-card {
  background: #fff;
  padding: 1.5rem;
  border: 2px solid var(--color-dark-blue);
  color: var(--color-dark-grey);
}

.admin-modal-card h2,
.admin-modal-card p,
.admin-modal-card label {
  color: var(--color-dark-blue);
}

.admin-modal-card h2 {
  margin-top: 0;
}

.btn-secondary {
  background: #fff;
  color: var(--color-dark-blue);
}

.detail-form label {
  display: block;
}

.detail-form input[type="checkbox"] {
  width: auto;
  margin-right: 0.4rem;
}

.detail-list {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.5rem 1rem;
  margin: 0;
}

.detail-list dt {
  color: var(--color-dark-blue);
  font-weight: 600;
  margin: 0;
}

.detail-list dd {
  margin: 0;
}

.form-actions {
  margin-top: 1rem;
}

.content-block h2 {
  color: var(--color-dark-blue);
  font-size: 1.25rem;
}

label {
  color: var(--color-dark-blue);
  display: block;
  margin: 0.75rem 0 0.25rem;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea,
button {
  border-radius: 0;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  max-width: 32rem;
  color: var(--color-dark-blue);
  border: 2px solid #9aa3ad;
  padding: 0.5rem 0.6rem;
  background: #f7f8fa;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-dark-blue);
  background: #fff;
  box-shadow: 0 0 0 1px var(--color-dark-blue);
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  background: #f7f8fa;
  border: 2px solid #9aa3ad;
  color: var(--color-dark-blue);
}

button,
.btn,
input[type="submit"] {
  background: var(--color-dark-blue);
  color: #fff;
  border: 2px solid var(--color-dark-blue);
  padding: 0.55rem 1rem;
  cursor: pointer;
  margin: 0.75rem 0.5rem 0.75rem 0;
  display: inline-block;
  text-decoration: none;
}

button:hover,
.btn:hover,
input[type="submit"]:hover {
  background: #fff;
  color: var(--color-dark-blue);
}

a {
  color: var(--color-dark-blue);
}

table.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: #fff;
}

table.admin-table th,
table.admin-table td {
  text-align: left;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--color-light-grey);
  vertical-align: middle;
}

table.admin-table th {
  color: var(--color-dark-blue);
  font-weight: 600;
}

table.admin-table tbody tr.clickable-row {
  cursor: pointer;
}

table.admin-table tbody tr.clickable-row:hover {
  background: var(--color-light-grey);
}

.add-form {
  margin: 1rem 0 1.5rem;
  align-items: flex-end;
}

.add-form label {
  margin: 0;
}

.dataTables_wrapper {
  margin: 1rem 0 2rem;
}

.dataTables_wrapper .dt-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.dataTables_wrapper .dt-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1rem;
  margin-top: 0.75rem;
}

.dataTables_wrapper .dt-length,
.dataTables_wrapper .dt-info,
.dataTables_wrapper .dt-paginate,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  float: none !important;
}

.dataTables_wrapper .dt-length {
  justify-self: start;
}

.dataTables_wrapper .dt-info {
  justify-self: center;
  text-align: center;
}

.dataTables_wrapper .dt-paginate {
  justify-self: end;
  text-align: right;
}

.dataTables_wrapper .dt-info .dataTables_info {
  float: none !important;
  text-align: center;
}

.dataTables_wrapper .dataTables_filter input {
  display: inline-block;
  width: auto;
  max-width: 16rem;
  margin: 0 0 0 0.5rem;
  vertical-align: middle;
}

.dataTables_wrapper .dataTables_length {
  margin: 0;
}

.dataTables_wrapper .dataTables_length label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: var(--color-dark-grey);
  font-weight: 400;
  white-space: nowrap;
}

.dataTables_wrapper .dataTables_length select {
  display: inline-block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0.25rem 1.75rem 0.25rem 0.45rem;
  vertical-align: middle;
}

.dataTables_wrapper .dataTables_info {
  padding: 0;
  color: var(--color-dark-grey);
}

.dataTables_wrapper .dataTables_paginate {
  margin: 0;
  text-align: right;
}

table.dataTable.admin-table.no-footer {
  border-bottom: 1px solid var(--color-light-grey);
}

.message {
  color: var(--color-dark-blue);
  font-weight: 600;
  min-height: 1.25rem;
}

.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.statsBubble {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.statsBubble li {
  width: 220px;
  min-height: 120px;
  margin: 0;
  border: 1px solid var(--color-dark-blue);
  background: #fff;
  padding: 0.75rem;
}

.statsBubble h2 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.statsBubble p {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  color: var(--color-dark-blue);
}

.footer {
  background-color: #072589;
  color: #fff;
  padding: 3rem 0;
  margin-top: auto;
  flex-shrink: 0;
}

.footer a {
  color: #fff;
}

.footer .footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer .column {
  flex: 1;
  min-width: 200px;
}

.footer__address {
  margin: 1.5rem 0;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 0.4rem;
}

.footer__section-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #fff;
}

.odi-logo svg {
  fill: #fff;
  height: 42px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 100px;
  }
  .header .header-top {
    padding: 20px 0;
  }
}
