/* General Layout */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #0e0e0e;
  color: #fff;
  display: flex;
}

/* Sidebar */
.sidebar {
  width: 250px;
  background-color: #111;
  height: 100vh;
  padding: 20px;
  position: fixed;
  color: white;
}

.sidebar h1 {
  font-size: 1.5em;
  margin-bottom: 30px;
  text-align: left;
  letter-spacing: 1px;
}

.sidebar nav a, 
.dropdown .dropbtn {
  display: block;
  color: #eee;
  text-decoration: none;
  padding: 10px 0;
  text-align: left;
  background: none;
  border: none;
  font-size: 1em;
  cursor: pointer;
  width: 100%;
  transition: color 0.3s ease, background 0.3s ease;
}

/* Subtle hover color change */
.sidebar nav a:hover,
.dropdown .dropbtn:hover {
  color: #00aaff;
}

/* Dropdown styling */
.dropdown {
  margin-top: 5px;
}

.dropdown-content {
  display: none;
  padding-left: 15px;
}

.dropdown-content a {
  font-size: 0.9em;
  color: #bbb;
  display: block;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.dropdown-content a:hover {
  color: #00aaff;
}

/* Arrow rotation */
.dropbtn {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arrow {
  transition: transform 0.3s ease;
}

.dropdown.active .arrow {
  transform: rotate(90deg);
}

/* Show content when active */
.dropdown.active .dropdown-content {
  display: block;
}

/* Main content */
.content {
  margin-left: 270px;
  padding: 40px;
  max-width: 800px;
}

.button {
  background-color: #00aaff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  transition: background 0.3s ease;
}

.button:hover {
  background-color: #008fcc;
}
