/* Hamburger Menu Styles */
.nav-container {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 100;
}

.hamburger-btn {
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 101;
}

.hamburger-btn .line {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #333;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
}

.hamburger-btn.active .line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.hamburger-btn.active .line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.dropdown-menu {
  position: absolute;
  top: 40px;
  left: 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  padding: 10px 0;
  display: none;
  min-width: 150px;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 8px 15px;
  text-decoration: none;
  color: #333;
  font-size: 1em;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0;
}

.dropdown-menu a.active {
  background-color: #0381ff;
  color: white;
}

/* Ensure the app title is centered regardless of the hamburger menu */
#app h1, #app .top-bar {
  text-align: center;
  position: relative;
}

/* Make sure there's space for the menu on smaller screens */
@media (max-width: 768px) {
  #app {
    padding-top: 80px;
  }
  
  .nav-container {
    top: 15px;
  }
}