/* rb-2040-notif (ringbd) — notification + profile-menu sidebar fix, 2026-11-23.
   Loaded after rb-2040-layout.css. Do NOT edit rb-2040-layout.css. */

/* Ringbd mobile sidebar (DEFECT: the default theme had NO mobile sidebar at all —
   no hamburger toggle, no slide-in panel, no backdrop; at <=990px the desktop
   .left-sidebar is display:none, so mobile users had no sidebar navigation and
   only the profile dropdown as fallback). Mirrors the sunshine slide-in sidebar:
   .side_slide_menu in header/content.phtml toggles body.side_open; the panel is
   sidebar/left-sidebar-mobile.phtml for real mobile UAs (Wo_IsMobile gate) AND
   the desktop sidebar (left-sidebar.phtml, which carries wo_new_left_side like
   sunshine) for desktop-UA narrow viewports; the backdrop is in container.phtml;
   the data-ajax handler in container.phtml closes it on navigation. Panel rules
   mirror sunshine's @media (max-width:992px) block. */
.side_slide_menu {
  display: none;
  cursor: pointer;
  margin-right: 12px;
  flex: 0 0 auto;
}
.side_brand {
  display: block;
  padding: 12px 15px;
}
@media (max-width: 990px) {
  .side_slide_menu {
    display: block;
  }
  .wo_new_left_side {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 9999;
    border-radius: 0;
    width: 100%;
    max-width: 300px;
    overflow-y: auto;
    max-height: 100%;
    background: #ffffff;
    transition: all 0.25s ease-in-out;
    transform: translateX(-100%);
  }
  body.side_open .wo_new_left_side {
    transform: translateX(0);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
  }
  .slide_menu_backdrop {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9995;
    background: rgb(0 0 0 / 45%);
    backdrop-filter: blur(7.5px);
  }
  body.side_open .slide_menu_backdrop {
    display: block;
  }
  body.side_open {
    overflow: hidden;
  }
  /* The desktop sidebar is display:none at <=990px; the slide-in panel must show. */
  .wo_new_left_side.left-sidebar {
    display: block !important;
  }
}

/* "See all notifications" footer link in the bell dropdown (both themes). */
.notifications-dropdown .notif-see-all {
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.notifications-dropdown .notif-see-all a {
  display: block;
  padding: 12px 10px;
  font-weight: 600;
  text-align: center;
}

/* /notifications page list. Items reuse the header/notifecation template. */
.notif-page-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.notif-page-list > li {
  list-style: none;
}
.notif-page-list .empty_state {
  padding: 30px 15px;
  text-align: center;
}

/* F-R4 — guest dropdown (Login / Register / Night mode) is Bootstrap left:0,
   hangs ~114px past the right edge even while visibility:hidden. Right-anchor it. */
@media (max-width: 767px) {
  .rb-hdr-guest .dropdown-menu,
  #welcomeheader .dropdown-menu,
  .navbar-default .navbar-nav .dropdown-menu {
    left: auto !important;
    right: 0 !important;
    max-width: calc(100vw - 16px);
  }
}
