.hamburger-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.45);
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.hamburger-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hamburger-panel {
  position: fixed;
  top: var(--app-shell-header-height, 78px);
  left: 0;
  width: 280px;
  max-width: calc(100vw - 44px);
  height: calc(100vh - var(--app-shell-header-height, 78px));
  max-height: calc(100vh - var(--app-shell-header-height, 78px));
  transform: translateX(-100%);
  transition: transform 0.24s ease;
  z-index: 1000;
  background: var(--hamburger-bg, #ffffff);
  color: var(--hamburger-text, #111111);
  border-right: 1px solid rgba(17, 24, 39, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.hamburger-overlay.is-open .hamburger-panel {
  transform: translateX(0);
}

body.profile-page .hamburger-panel{
  top:var(--profile-page-header-height, 76px);
  height:calc(100vh - var(--profile-page-header-height, 76px));
  max-height:calc(100vh - var(--profile-page-header-height, 76px));
}

body.no-app-header .hamburger-panel,
body.profile-home-shell .hamburger-panel{
  top:0;
  height:100vh;
  max-height:100vh;
}

body.hamburger-open,
body.menu-open {
  overflow: hidden;
}

.hamburger-nav {
  padding: 10px 0 16px;
}

.hamburger-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hamburger-item {
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.hamburger-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  text-decoration: none;
  color: #111111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.hamburger-icon {
  width: 28px;
  min-width: 28px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #111111;
}

.hamburger-svg{
  width:20px;
  height:20px;
  display:block;
  stroke:currentColor;
  fill:none;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.hamburger-label {
  flex: 1 1 auto;
  min-width: 0;
  color: #111111;
}

.hamburger-count-badge{
  flex:0 0 auto;
  min-width:22px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  background:#ef4444;
  color:#ffffff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:800;
  line-height:1;
}

.hamburger-link:hover {
  background: #f4f5f7;
}

.hamburger-link:active {
  background: #eceff3;
}

.hamburger-link.active,
.hamburger-link.is-active {
  background: #eef2f8;
}

/* Prevent icon strips from fighting the drawer while open */
body.hamburger-open .profile-topnav,
body.menu-open .profile-topnav {
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 992px) {
  .hamburger-overlay {
    right: auto;
    width: 280px;
    background: transparent;
  }

  body.hamburger-open,
  body.menu-open {
    overflow: auto;
  }

  body.no-sidebar .main {
    transition: margin-left 0.24s ease;
  }

  body.no-sidebar.hamburger-open .main,
  body.no-sidebar.menu-open .main {
    margin-left: 280px;
  }
}
