body,
html {
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family: "General Sans", sans-serif;
}

#sidebar-container {
  background: rgba(255, 255, 255, 0.27);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(1.2px);
  -webkit-backdrop-filter: blur(1.2px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile-specific styles */
@media (max-width: 1300px) {
  #sidebar-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100vh !important;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }

  #sidebar-container.open {
    transform: translateX(0);
  }

  #menu-items ul {
    flex-direction: column;
    height: auto;
    gap: 2rem;
    padding: 2rem;
  }

  #menu-items li {
    font-size: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  #branding {
    padding: 2rem 1.5rem;
    justify-content: center;
  }

  #branding img {
    width: 2rem;
    height: 2rem;
  }

  #branding p {
    font-size: 1.5rem;
  }

  #profile {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    justify-content: left;
    padding: 1.5rem;
  }

  #profile img {
    width: 3rem;
    height: 3rem;
  }

  #profile p {
    margin-left: 10px;
    font-size: 1.25rem;
  }
}

/* Hamburger menu styles */
.hamburger {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1001;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hamburger span {
  width: 1.5rem;
  height: 2px;
  background: #333;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(2px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -7px);
}

@media (max-width: 1300px) {
  .hamburger {
    display: flex;
  }

  #main-container {
    padding: 0 !important;
  }
}

/* Overlay for mobile */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

@media (max-width: 768px) {
  .overlay.active {
    display: block;
  }
}
