body {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
[data-bs-theme="light"] body {
  background-color: #fefefe; /* Light gray background */
}
.bd-mode-toggle {
  z-index: 1500;
}
.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}
.custom-anchor {
  text-decoration: none !important; /* Remove underline */
}
.bi {
  fill: currentColor;
  margin-right: 10px;
}
.navbar {
  z-index: 1030;
  overflow: visible; /* Allow dropdowns to extend outside */
}
.navbar .dropdown-menu {
  position: absolute; /* Allow the menu to render outside the navbar */
  top: 100%; /* Position below the toggle button */
  left: auto; /* Keep aligned to the right */
  z-index: 1050; /* Ensure it appears above other elements */
}
.content {
  display: flex;
  flex: 1;
  overflow: hidden;
}
.nav-link {
  text-overflow: ellipsis;
}
.sidebar {
  flex: 0 0 225px;
  overflow-y: auto;
  padding-top: 70px;
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  border-color: var(--bs-border-color);
}
.sidebar a {
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s, color 0.3s;
}
.sidebar a:hover {
  background-color: var(--bs-secondary-bg);
  text-decoration: none;
}
.sidebar a span {
  font-size: 1rem; /* Adjust font size */
  font-weight: 500;
}
.sidebar .bi {
  font-size: calc(1rem + 1vw);
}
.content-area {
  flex: 1;
  overflow-wrap:anywhere;
  overflow-y: auto;
  padding: 20px;
  padding-top: 70px; /* Adjust to match the navbar height */
}
.footer {
  padding: 2px;
}
.offcanvas {
  transition: transform 0.3s ease-in-out; /* Adjust timing as needed */
}
.page-header-text {
  font-size: 1.52em;    
  padding-bottom: 5px;
  margin-bottom: 15px;
  border-bottom: 1px solid;
  paint-order: stroke;
}

@media (max-width: 768px) {
  .sidebar {
      display: none;
  }
  .content-area {
      margin-left: 0;
  }
  .navbar-toggler {
      display: inline-block;
  }
  .navbar .dropdown {
    display: none !important;
  }
}
@media (min-width: 769px) {
  .navbar-toggler {
      display: none;
  }
}
.z-hidden {
  display: none !important;
}






















/* .gray-bg,
.bg-muted {
  background-color: #f3f3f4;
} */