/* IBOToolbox Member Area V2.5.2 - Strict Sidebar Dropdown & Overlay Behavior Fix
   Locks profile/credit menus inside the sidebar, prevents dashboard overlap, and keeps More as the only overlay drawer. */
html body .stage37-member-sidebar,
html body .app-sidebar.stage37-member-sidebar{
  position:relative!important;
  z-index:60!important;
  overflow-y:auto!important;
  overflow-x:visible!important;
}
html body .stage37-main,
html body .member-v2,
html body .member-v2-stats,
html body .member-v2-stat,
html body .member-v2-main{
  position:relative!important;
  z-index:1!important;
}
html body .stage37-member-sidebar .side-user{
  position:relative!important;
  overflow:visible!important;
  z-index:70!important;
}
html body .stage37-member-sidebar .mv2-profile-menu,
html body .stage37-member-sidebar .mv2-credit-menu{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  width:100%!important;
  max-width:100%!important;
  max-height:none!important;
  display:none!important;
  margin:8px 0 12px!important;
  padding:8px!important;
  border-radius:16px!important;
  background:#ffffff!important;
  color:#071633!important;
  -webkit-text-fill-color:#071633!important;
  border:1px solid #dbe7fb!important;
  box-shadow:0 14px 28px rgba(3,13,32,.18)!important;
  overflow:visible!important;
  opacity:1!important;
  transform:none!important;
  z-index:75!important;
}
html body .stage37-member-sidebar .mv2-profile-menu.open,
html body .stage37-member-sidebar .mv2-credit-menu.open{
  display:grid!important;
  gap:7px!important;
}
html body .stage37-member-sidebar .mv2-profile-menu a,
html body .stage37-member-sidebar .mv2-credit-menu a{
  min-height:38px!important;
  padding:9px 11px!important;
  border-radius:12px!important;
  background:#f8fbff!important;
  color:#071633!important;
  -webkit-text-fill-color:#071633!important;
  border:1px solid #dbe7fb!important;
  font-size:13px!important;
  font-weight:950!important;
  line-height:1.2!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  text-decoration:none!important;
}
html body .stage37-member-sidebar .mv2-profile-menu a *,
html body .stage37-member-sidebar .mv2-credit-menu a *{
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
}
html body .stage37-member-sidebar .mv2-profile-menu a:hover,
html body .stage37-member-sidebar .mv2-profile-menu a:focus,
html body .stage37-member-sidebar .mv2-credit-menu a:hover,
html body .stage37-member-sidebar .mv2-credit-menu a:focus{
  background:linear-gradient(135deg,#1769ff,#4c2fff)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  border-color:transparent!important;
}
html body .mv2-more-backdrop{
  position:fixed!important;
  inset:0!important;
  background:rgba(3,13,32,.48)!important;
  z-index:10000!important;
}
html body .mv2-more-drawer{
  position:fixed!important;
  top:0!important;
  right:0!important;
  left:auto!important;
  width:min(390px,92vw)!important;
  height:100dvh!important;
  z-index:10010!important;
  background:#ffffff!important;
  color:#071633!important;
  -webkit-text-fill-color:#071633!important;
  transform:translateX(110%)!important;
  transition:transform .22s ease!important;
  overflow:auto!important;
  box-shadow:-22px 0 54px rgba(3,13,32,.26)!important;
}
html body .mv2-more-drawer.open{transform:translateX(0)!important;}
html body.mv2-lock-member-content .member-v2,
html body.mv2-lock-member-content .stage37-main{pointer-events:none!important;}
html body.mv2-lock-member-content .mv2-more-drawer,
html body.mv2-lock-member-content .mv2-more-backdrop{pointer-events:auto!important;}
@media(max-width:760px){
  html body .stage37-member-sidebar.mobile-open{display:block!important;position:fixed!important;inset:0 auto 0 0!important;width:min(295px,86vw)!important;z-index:10020!important;box-shadow:22px 0 50px rgba(3,13,32,.26)!important;}
  html body .stage37-member-sidebar .mv2-profile-menu,
  html body .stage37-member-sidebar .mv2-credit-menu{position:relative!important;width:100%!important;max-height:42dvh!important;overflow:auto!important;}
  html body .mv2-more-drawer{width:100vw!important;}
}
