 /* sidebar.css */
#sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #222239;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
  padding-top: 60px;
  transition: left 0.3s ease;
  z-index: 1050;
  
  display: flex;           
  flex-direction: column;  
  justify-content: flex-start; /* Eller fjern space-between */
  padding-bottom: 9px;         /* Plads i bunden af sidebar */
  box-sizing: border-box;
}

#sidebar.active {
  left: 0;
}

#sidebar a {
  display: block;
  padding: 1rem;
  color: #ffcc00;
  text-decoration: none;
}

#sidebar a:hover {
  border-style: solid;
  border-width: 2px;
  border-radius: 10px;
  border-color:#ffcc00;
  box-shadow: 0 0 5px #ffcc00;
  margin: -2px;
  margin-left: 10px;
}

#menu-toggle {
  position: fixed;
  top: 10px;
  left: -4px;
  z-index: 1100;
  background: #2a2a40;
  color: #ffcc00;
  padding: 2rem 0.9rem;
  border: 0px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  cursor: pointer;
  transition: padding 0.3s ease;
}

#menu-toggle:hover {
  border-style: solid;
  border-width: 2px;
  border-radius: 5px;
  border-color:#ffcc00;
  box-shadow: 0 0 5px #ffcc00;
  margin: 2px;
}

#menu-toggle.active {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1100;
  background: #2a2a40;
  color: #ffcc00;
  padding: 0.9rem 7rem;
  border: 0px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  cursor: pointer;
  transition: padding 0.3s ease;
}

#menu-toggle.active:hover {
  border-style: solid;
  border-width: 2px;
  border-radius: 5px;
  border-color:#ffcc00;
  box-shadow: 0 0 5px #ffcc00;
  margin: 2px;
  }

body.sidebar-open {
  margin-left: 250px;
  transition: margin-left 0.3s ease;
}
/* sørg for version er i bunden med margin-top auto */
.sidebar-version {
  border-top: 1px solid #444;
  margin-top: auto;
  padding: 10px 0 0 0;
  color: #aaa;
  font-size: 0.8rem;
  text-align: center;
  width: 100%;
}
