body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #c0def3;
  color: #222;
}

/* Toggle button — always visible */
.menu-toggle {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 3;
  background-color: #ffccab;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

/* Sidebar is hidden by default */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background-color: #ffccab;
  padding-top: 60px;
  overflow-y: auto;
  transition: transform 0.3s ease;
  box-shadow: 2px 0 6px rgba(0,0,0,0.1);
  z-index: 2;
  transform: translateX(-100%);
}

/* Sidebar open state */
body.sidebar-open .sidebar {
  transform: translateX(0);
}

/* Main content margin shift */
.main {
  margin-top: 60px;
  padding: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  transition: margin-left 0.3s ease;
}

body.sidebar-open .main {
  margin-left: 250px;
}

/* Top bar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #ffb780;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  z-index: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Sidebar links */
.sidebar a,
.sidebar summary {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  cursor: pointer;
  border-bottom: 1px solid #f4b88b;
}

.sidebar a:hover,
.sidebar summary:hover {
  background-color: #ffe3d1;
}

/* Expandable summary arrow */
details summary::after {
  content: "▼";
  float: right;
}

details[open] summary::after {
  content: "▲";
}

