.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

.mobile-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1200;
}

.mobile-sidebar-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(82vw, 320px);
  background: #ffffff;
  box-shadow: 18px 0 40px rgba(15, 23, 42, 0.16);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 1201;
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  gap: 16px;
}

.mobile-sidebar.is-open {
  transform: translateX(0);
}

.mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-weight: 800;
}

.mobile-sidebar-brand img {
  width: 30px;
  height: 30px;
}

.mobile-sidebar-close {
  width: 38px;
  height: 38px;
  border: none;
  background: #f3f4f6;
  color: #111827;
  font-size: 1rem;
  cursor: pointer;
}

.mobile-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.mobile-sidebar-link {
  display: block;
  padding: 12px 14px;
  color: #374151;
  font-weight: 700;
  border-radius: 10px;
}

.mobile-sidebar-link:hover,
.mobile-sidebar-link.active {
  background: #dbeafe;
  color: #1d4ed8;
}

body.mobile-nav-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: inline-flex;
  }

  .mobile-sidebar-backdrop {
    display: block;
  }

  .mobile-sidebar {
    display: flex;
  }
}
