/* ---- General ---- */
.white {
  color: #ffffff !important;
}
.bg-fr-blue,
.bg-dark {
  background-color: #141f2f !important;
}
.btn-sm {
  border-radius: 5px !important;
}
.subnavigation {
  border-bottom: 1px solid #0000002d;
}
/* Align page header and subnavigation with the top navigation (.topbar-navbar)
   Topbar is always full-width with px-5 (3rem) on desktop and 1rem on mobile (<md).
   We force the inner .container-fluid to full width (overriding the >=1440px
   95%-width rule) and apply matching padding so edges line up at every viewport. */
.header > .container-fluid,
.subnavigation > .container-fluid {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 3rem;
  padding-right: 3rem;
}
@media (max-width: 767.98px) {
  .header > .container-fluid,
  .subnavigation > .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
strong,
.strong {
  font-family: "f37_beckettbold";
  font-weight: 700;
}
.demi {
  font-family: "f37_beckettdemi";
  font-weight: 500;
}
.material-symbols-outlined {
  font-size: 18px !important;
}
/* ---- Calendar ---- */
.flatpickr-calendar.inline {
  margin-right: auto;
  margin-left: auto;
}
.fc .fc-timegrid-col.fc-day-today {
  background-color: rgba(90, 197, 206, 0.3);
}
.fc-toolbar-title {
  font-family: "f37_beckettbold";
  font-weight: 700;
  font-size: 14px !important;
}
.fc-timegrid-now-indicator-line {
  border-color: #141f2f !important;
}
.fc-timegrid-now-indicator-arrow {
  border-color: #141f2f !important;
}

.flatpickr-calendar {
  width: 325px !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  background: none !important;
  position: relative !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 25px;
}
.flatpickr-months {
  margin-bottom: 20px;
}

.flatpickr-days {
  width: 325px !important;
}

.dayContainer {
  width: 325px !important;
  min-width: 325px !important;
  max-width: 325px !important;
}
@media (min-width: 576px) {
  .flatpickr-calendar {
    width: 360px !important;
  }
  .flatpickr-days {
    width: 360px !important;
  }
  .dayContainer {
    width: 360px !important;
    min-width: 360px !important;
    max-width: 360px !important;
  }
}
.flatpickr-day {
  height: 50px !important;
  line-height: 50px !important;
  max-width: 14.2857143% !important;
  font-weight: 700 !important;
  font-size: 24px !important;
  color: rgba(25, 60, 106, 1) !important;
  border-radius: 6px !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
  background: rgba(25, 60, 106, 1) !important;
  color: #ffffff !important;
  border-color: rgba(25, 60, 106, 1) !important;
}

span.flatpickr-weekday {
  color: rgba(25, 60, 106, 0.2) !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.notAllowed.nextMonthDay {
  color: rgba(25, 60, 106, 0.2) !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  color: rgba(25, 60, 106, 1) !important;
  fill: rgba(25, 60, 106, 1) !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  color: rgba(245, 155, 36, 1) !important;
  fill: rgba(245, 155, 36, 1) !important;
}

.flatpickr-months .flatpickr-month {
  color: rgba(25, 60, 106, 1) !important;
  fill: rgba(25, 60, 106, 1) !important;
}

.flatpickr-current-month .numInputWrapper span.arrowUp:after {
  border-bottom-color: rgba(25, 60, 106, 1) !important;
}

.flatpickr-current-month .numInputWrapper span.arrowDown:after {
  border-top-color: rgba(25, 60, 106, 1) !important;
}

.flatpickr-current-month input.cur-year[disabled],
.flatpickr-current-month input.cur-year[disabled]:hover {
  color: rgba(25, 60, 106, 0.5) !important;
}
/* ---- Widgets ---- */
.widget i {
  font-size: 18px;
}
/* ---- Modal ---- */
.modal-body a {
  word-wrap: break-word;
}
/* ---- Checktags ---- */
ul.checktags {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

ul.checktags li {
  display: inline;
}

ul.checktags li label {
  display: inline-block;
  background-color: #ffffff;
  color: #141f2f;
  border: #141f2f 1px solid;
  border-radius: 0;
  white-space: nowrap;
  margin: 3px 0px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s;
}

ul.checktags li label {
  padding: 8px 12px;
  cursor: pointer;
}

ul.checktags li input[type="radio"]:checked + label {
  background-color: #141f2f;
  color: #fff;
  border: #141f2f 1px solid;
}

ul.checktags li input[type="radio"]:disabled + label {
  background-color: #cccccc;
  border: #141f2f 1px solid;
  color: #fff;
  cursor: inherit;
}

ul.checktags li input[type="radio"] {
  display: absolute;
}

ul.checktags li input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.btn-wr {
  background-color: rgba(245, 155, 36, 1) !important;
  color: rgba(25, 60, 106, 1) !important;
}
.starrating > input {
  display: none;
}

.starrating > label:before {
  content: "star";
  margin: 2px;
  font-size: 4em;
  font-family: "Material Symbols Outlined" !important;
  display: inline-block;
}

.starrating > label {
  color: #222222;
}

.starrating > input:checked ~ label {
  color: #ffca08;
}

.starrating > input:hover ~ label {
  color: #ffca08;
}
.btn-wr-green {
  background-color: #6ec1c9 !important;
  color: rgba(25, 60, 106, 1) !important;
}

.carousel-caption {
  top: 20% !important;
  left: 5% !important;
  text-align: left;
}
.carousel-caption h5 {
  font-size: 40px;
  color: #ffffff;
}
@media (max-width: 576px) {
  .carousel-caption {
    top: 0% !important;
    left: 5% !important;
    text-align: left;
    padding-top: 10px !important;
  }
  .carousel-caption h5 {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 0px;
  }
  .carousel-caption p {
    font-size: 12px;
  }
}
.mobile-nav span {
  font-size: 12px;
}
.menu-highlight {
  color: #ffffff;
  background-color: #141f2f;
  padding: 8px 15px;
  border-radius: 3px;
}
.menu-highlight:before {
  position: relative;
  left: -6px;
}
.bg-dark > a {
  color: #fff !important;
}
.data-list tbody tr {
  cursor: pointer;
}
.navbar {
  border-bottom: 1px solid #0000002d;
  background-color: #ffffff;
}
.nav-link {
  padding-bottom: 0px;
}
#company_switcher,
.company_switcher {
  max-width: 250px;
  border-radius: 0px;
  border-bottom: 0px;
}
.input-group-lite .input-group-text {
  border: none;
  background-color: transparent;
  color: #cccccc;
}
div.dataTables_processing > div:last-child > div {
  background: #141f2f !important;
}
.fc-header-toolbar {
  margin-left: 1.5em !important;
  margin-right: 1.5em !important;
}
.pac-container {
  z-index: 1060 !important;
}

.offcanvas .pac-container {
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  right: 10px !important;
  width: calc(100% - 20px) !important;
  max-width: 350px;
}
.eva-scale {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background-image: linear-gradient(to right, #97bf04, #d90416);
  outline: none;
  border-radius: 5px;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.eva-scale::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #ddd;
  border: 3px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  background-image:
    linear-gradient(white, white), linear-gradient(to right, #97bf04, #d90416);
  background-attachment: fixed, fixed;
  background-clip: padding-box, border-box;
}

.eva-scale::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #ddd;
  border: 3px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  background-image:
    linear-gradient(white, white), linear-gradient(to right, #97bf04, #d90416);
  background-attachment: fixed, fixed;
  background-clip: padding-box, border-box;
}

/* ---- Horizontal scroll for underline sub-navigations on mobile ---- */
.nav-underline {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-underline::-webkit-scrollbar {
  display: none;
}
.nav-underline .nav-item {
  flex-shrink: 0;
}
.nav-underline .nav-link {
  white-space: nowrap;
}

/* Scroll affordance: fading edge + chevron hinting more options */
.nav-underline-scroll {
  position: relative;
}
.nav-underline-scroll::after {
  content: "chevron_right";
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  color: #141f2f;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.85) 45%,
    #ffffff 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.nav-underline-scroll.is-scrollable::after {
  opacity: 1;
}
.nav-underline-scroll.is-scrollable.at-end::after {
  opacity: 0;
}
@media (min-width: 992px) {
  .nav-underline-scroll::after {
    display: none;
  }
}

/* ---- DataTables responsive mobile layout (global) ---- */
table.dataTable > tbody > tr > td .badge,
table.dataTable > tbody > tr > th .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

table.dataTable > tbody > tr > td .btn-group .btn,
table.dataTable > tbody > tr > th .btn-group .btn {
  white-space: nowrap;
}

.dtr-details-cards {
  display: grid;
  gap: 0.75rem;
}

.dtr-details-cards .dtr-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e9ecef;
  border-radius: 0.85rem;
  background: #f8fafc;
}

.dtr-details-cards .dtr-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #64748b;
}

.dtr-details-cards .dtr-card-value {
  color: #0f172a;
}

.dtr-details-cards .dtr-card-value .btn-group {
  display: flex;
  width: 100%;
}

.dtr-details-cards .dtr-card-value .btn-group .btn {
  flex: 1 1 auto;
}

/* Chevron-styled responsive control (applies at any viewport where columns collapse,
   not just mobile) */
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control {
  padding-left: 2.5rem;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
  top: 50%;
  left: 0.85rem;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: -0.675rem;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  background: var(--company-color);
  color: #fff;
  font-family: "Material Symbols Outlined";
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.35rem;
  text-align: center;
  content: "\e5cc";
}

table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.parent
  > td.dtr-control::before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.parent
  > th.dtr-control::before {
  background: #0f172a;
  content: "\e5cf";
}

table.dataTable > tbody > tr.child td {
  padding: 0.5rem 1rem 1rem;
  background: #fff;
}

/* ---- Sidebar Navigation (desktop persistent + responsive offcanvas) ---- */
:root {
  --sidebar-fr-width: 240px;
  --sidebar-fr-width-collapsed: 72px;
  --sidebar-fr-bg: #ffffff;
  --sidebar-fr-border: #e9ecef;
  --sidebar-fr-section-color: #94a3b8;
  --sidebar-fr-link-color: #475569;
  --sidebar-fr-link-hover-bg: #f1f5f9;
  --sidebar-fr-link-active-bg: rgba(20, 31, 47, 0.08);
}

/* Desktop: persistent fixed sidebar; .main is pushed right by an equal margin.
   Using position:fixed (not sticky) because .wrapper has overflow:hidden which
   can interfere with sticky positioning. The sidebar itself is a flex column so
   the offcanvas-body can fill remaining height and its inner nav can scroll. */
@media (min-width: 992px) {
  .sidebar-fr {
    position: fixed !important;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-fr-width);
    z-index: 1030;
    background-color: var(--sidebar-fr-bg) !important;
    border-right: 1px solid var(--sidebar-fr-border);
    overflow: hidden;
    visibility: visible !important;
    transform: none !important;
    transition: width 0.2s ease;
    display: flex !important;
    flex-direction: column !important;
  }
  .sidebar-fr .offcanvas-body {
    background-color: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0.5rem 0 !important;
  }
  /* Compensate .main for the fixed sidebar */
  .wrapper > .main {
    margin-left: var(--sidebar-fr-width);
    transition: margin-left 0.2s ease;
  }
  html.fr-sidebar-collapsed .sidebar-fr {
    width: var(--sidebar-fr-width-collapsed);
  }
  html.fr-sidebar-collapsed .wrapper > .main {
    margin-left: var(--sidebar-fr-width-collapsed);
  }
}

.sidebar-fr-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-height: 0;
}
@media (min-width: 992px) {
  .sidebar-fr-nav {
    overflow-y: auto;
    overflow-x: hidden;
  }
}

.sidebar-fr-section {
  padding: 0.85rem 1rem 0.25rem;
  margin-top: 0.25rem;
}
.sidebar-fr-section:first-child {
  padding-top: 0.5rem;
  margin-top: 0;
}
.sidebar-fr-section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--sidebar-fr-section-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-fr-item {
  list-style: none;
}

.sidebar-fr-module-row {
  display: flex;
  align-items: center;
  margin: 0.05rem 0.5rem;
  border-radius: 0.5rem;
}

.sidebar-fr-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.65rem;
  margin: 0.05rem 0.5rem;
  color: var(--sidebar-fr-link-color);
  text-decoration: none !important;
  border-radius: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
.sidebar-fr-link:hover,
.sidebar-fr-link:focus,
.sidebar-fr-link:focus-visible,
.sidebar-fr-link:active {
  background-color: var(--sidebar-fr-link-hover-bg);
  color: #0f172a;
  text-decoration: none !important;
  outline: none;
}
.sidebar-fr-link:hover .sidebar-fr-icon,
.sidebar-fr-link:hover .sidebar-fr-label {
  text-decoration: none !important;
}
.sidebar-fr-item.active > .sidebar-fr-link,
.sidebar-fr-item.active .sidebar-fr-module-link,
.sidebar-fr-link.active {
  background-color: var(--sidebar-fr-link-active-bg);
  color: #0f172a;
  font-weight: 600;
}
.sidebar-fr-icon {
  font-size: 22px !important;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  line-height: 1;
}
.sidebar-fr-label {
  font-size: 0.9rem;
  line-height: 1.2;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-fr-module-row .sidebar-fr-link {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.sidebar-fr-favorite-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-right: 0.25rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  flex: 0 0 auto;
}

.sidebar-fr-favorite-toggle .material-symbols-outlined {
  font-size: 20px !important;
  line-height: 1;
}

.sidebar-fr-favorite-toggle.is-favorite {
  color: #b7791f;
}

.sidebar-fr-favorite-toggle:hover,
.sidebar-fr-favorite-toggle:focus-visible {
  background: #f8fafc;
  color: #0f172a;
  outline: 2px solid #94a3b8;
  outline-offset: 1px;
}

html.fr-sidebar-customizing .sidebar-fr-favorite-toggle {
  display: inline-flex;
}

html.fr-sidebar-customizing .sidebar-fr-module-link {
  cursor: default;
}

.sidebar-fr-customize-controls {
  padding: 0.15rem 0 0.35rem;
}

.sidebar-fr-customize-controls.is-compact-scope .sidebar-fr-customize-open {
  opacity: 0.72;
}

.sidebar-fr-customize-open {
  border: 0;
  background: transparent;
  width: calc(100% - 1rem);
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

.sidebar-fr-customize-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem 0.2rem;
  margin: 0 0.5rem;
}

.sidebar-fr-save-error {
  margin: 0.35rem 0.65rem 0;
  padding: 0.45rem 0.55rem;
  border: 1px solid #fecaca;
  border-radius: 0.375rem;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.78rem;
  line-height: 1.3;
}

.sidebar-fr-empty-state {
  display: flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 1.15rem;
  color: #94a3b8;
}

.sidebar-fr-overflow-wrapper {
  list-style: none;
}

.sidebar-fr-overflow-toggle {
  width: calc(100% - 1rem);
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  text-align: left;
}

.sidebar-fr-overflow-chevron {
  margin-left: auto;
  color: #94a3b8;
  font-size: 18px !important;
  transition: transform 0.15s ease;
}

.sidebar-fr-overflow-toggle[aria-expanded="true"] .sidebar-fr-overflow-chevron {
  transform: rotate(180deg);
}

.sidebar-fr-overflow-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-fr-customize-open:focus-visible,
.sidebar-fr-overflow-toggle:focus-visible,
.sidebar-fr-module-link:focus-visible {
  outline: 2px solid #94a3b8;
  outline-offset: 1px;
}

.sidebar-fr-cta {
  padding: 0.75rem 1rem;
}
.sidebar-fr-promo {
  padding: 0 0.75rem 0.75rem;
}

/* Top-of-sidebar collapse/expand toggle (desktop only). The toggle button
   reuses .sidebar-fr-link layout so its icon is pixel-aligned with the
   navigation icons in both collapsed and expanded states. */
.sidebar-fr-head {
  padding-top: 0.25rem;
  flex: 0 0 auto;
}
button.sidebar-fr-toggle {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  width: auto;
  text-align: left;
}
/* Show "close panel" icon when expanded, "open panel" when collapsed.
   !important is required because the Material Symbols stylesheet (loaded after
   wellnessreact.css) sets display: inline-block on .material-symbols-outlined. */
.sidebar-fr-toggle-icon-collapse {
  display: none !important;
}
html.fr-sidebar-collapsed .sidebar-fr-toggle-icon-expand {
  display: none !important;
}
html.fr-sidebar-collapsed .sidebar-fr-toggle-icon-collapse {
  display: inline-block !important;
}

/* Tooltip shown next to a collapsed sidebar link (Bootstrap Tooltip output).
   We render it from the body so the sidebar's overflow:hidden does not clip it. */
.sidebar-fr-tooltip {
  --bs-tooltip-bg: #1e293b;
  --bs-tooltip-color: #ffffff;
  --bs-tooltip-padding-x: 0.6rem;
  --bs-tooltip-padding-y: 0.35rem;
  --bs-tooltip-font-size: 0.8rem;
  --bs-tooltip-border-radius: 0.375rem;
  --bs-tooltip-opacity: 1;
  z-index: 1080;
}
.sidebar-fr-tooltip .tooltip-inner {
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

/* Desktop collapsed state */
@media (min-width: 992px) {
  html.fr-sidebar-collapsed .sidebar-fr-section,
  html.fr-sidebar-collapsed .sidebar-fr-cta,
  html.fr-sidebar-collapsed .sidebar-fr-promo,
  html.fr-sidebar-collapsed .sidebar-fr-empty-state,
  html.fr-sidebar-collapsed .sidebar-fr-customize-actions,
  html.fr-sidebar-collapsed .sidebar-fr-save-error {
    display: none !important;
  }
  html.fr-sidebar-collapsed .sidebar-fr-label {
    opacity: 0;
    width: 0;
    margin: 0;
    padding: 0;
    visibility: hidden;
  }
  html.fr-sidebar-collapsed .sidebar-fr-link {
    justify-content: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    gap: 0;
  }
  html.fr-sidebar-collapsed .sidebar-fr-module-row {
    justify-content: center;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  html.fr-sidebar-collapsed .sidebar-fr-module-row .sidebar-fr-link {
    justify-content: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    gap: 0;
  }
  html.fr-sidebar-collapsed .sidebar-fr-favorite-toggle,
  html.fr-sidebar-collapsed.fr-sidebar-customizing .sidebar-fr-favorite-toggle,
  html.fr-sidebar-collapsed .sidebar-fr-overflow-chevron {
    display: none;
  }
  html.fr-sidebar-collapsed .sidebar-fr-customize-open,
  html.fr-sidebar-collapsed .sidebar-fr-overflow-toggle {
    width: auto;
  }
}

/* Mobile: act as a regular offcanvas (Bootstrap drives transform/visibility) */
@media (max-width: 991.98px) {
  .sidebar-fr {
    --bs-offcanvas-width: 280px;
  }
  .sidebar-fr .offcanvas-body {
    padding: 0.5rem 0;
  }
  .sidebar-fr-customize-actions {
    padding-right: 0.75rem;
  }
}

/* Keep the initial-load splash above the FRDS sidebar (1100) and mobile panel (1101). */
.splash .splash-icon {
  z-index: 1200 !important;
}

@media (max-width: 991.98px) {
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_info,
  .dataTables_wrapper .dataTables_paginate {
    float: none;
    text-align: left;
  }

  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter {
    margin-bottom: 0.75rem;
  }

  .dataTables_wrapper .dataTables_length label {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: auto;
    max-width: 100%;
    font-size: 0.875rem;
    line-height: 1.3;
  }

  .dataTables_wrapper .dataTables_filter label {
    display: grid;
    gap: 0.35rem;
    width: auto;
    max-width: 100%;
    font-size: 0.875rem;
  }

  .dataTables_wrapper .dataTables_filter input {
    width: 14rem;
    max-width: 100%;
    margin-left: 0;
    padding: 0.5rem 0.75rem;
    border-radius: 0.65rem;
  }

  .dataTables_wrapper .dataTables_length select {
    width: auto;
    min-width: 5rem;
    margin-left: 0;
    padding-right: 2rem;
    border-radius: 0.65rem;
  }

  .dataTables_wrapper .dataTables_paginate .pagination {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
