/* Reset and base styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  background: #1e1f29;
  color: #f4f4f4;
  height: 100vh;
  margin: 0;
}

/* Sidebar layout */
.sidebar {
  width: 280px;
  background: #3d3e4f;
  padding: 1.5rem;
  overflow-y: auto;
  border-right: 1px solid #444;
  height: 100vh;
  flex-shrink: 0;
}

.sidebar h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #ffd86b;
}

.sidebar h2 a:visited {
  text-decoration: none;
  color: #ffd86b;
}

ul.menu,
.submenu {
  list-style: none;
}

.menu-title {
  cursor: pointer;
  display: block;
  padding: 0.5rem 0;
  font-weight: bold;
  transition: background 0.2s;
}

.menu-title:hover {
  color: #ffd86b;
}

.submenu {
  display: none;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

.submenu.nested {
  background: #2c2e3a;
  padding-left: 1rem;
  margin: 0.25rem 0 0.5rem 1rem;
  border-left: 2px solid #ffd86b;
  border-radius: 4px;
}

input:checked + label + .submenu {
  display: block;
}

.submenu li a {
  text-decoration: none;
  color: #ccc;
  display: block;
  padding: 0.3rem 0;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.submenu li a:hover {
  color: #ffd86b;
}

/* Content area */
.content {
  flex: 1;
  padding: 2rem;
  background: #2d2e3c;
  overflow-y: auto;
}

/* Image map styling */
.map-container {
  max-width: 100%;
  overflow-x: auto;
}

.map-container img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 3px solid #ffd86b;
  border-radius: 6px;
}

/* Footer */
.footer {
  width: 100%;
  text-align: center;
  padding: 1px;
  background: #3d3e4f;
  color: #aaa;
  font-size: 9pt;
  border-top: 1px solid #444;
  position: fixed;
  bottom: 0;
  left: 0;
}