/* Waiver modal (Volt/Bootstrap friendly) */
.bw-modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 9999;
}
.bw-modal{
  width: min(820px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  border: 1px solid rgba(0,0,0,.08);
}
.bw-modal-header{
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.bw-modal-body{
  padding: 1rem 1.25rem;
  overflow: auto;
  max-height: calc(92vh - 160px);
}
.bw-modal-footer{
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.02);
}
.bw-waiver-text p{ margin-bottom: .85rem; }

/* Ensure sidebar is scrollable on mobile (collapsed/offcanvas style) */
@media (max-width: 991.98px) {
  #sidebarMenu {
    height: 100vh;          /* full screen */
    max-height: 100vh;
    overflow: hidden;       /* sidebar container doesn't scroll */
  }

  #sidebarMenu .sidebar-inner {
    height: 100%;
    max-height: 100%;
    overflow-y: auto;       /* THIS enables scrolling */
    -webkit-overflow-scrolling: touch;
    padding-bottom: 90px;   /* space for last menu items */
  }
}

/* If Simplebar is active, make sure its wrapper also stretches */
#sidebarMenu [data-simplebar],
#sidebarMenu .simplebar-wrapper,
#sidebarMenu .simplebar-mask,
#sidebarMenu .simplebar-offset,
#sidebarMenu .simplebar-content-wrapper {
  height: 100%;
  max-height: 100%;
}