body {
  height: 100vh;
  margin: 0;
}

#toc-container {
  font-family: Arial, sans-serif;
  padding: 20px;
  background-color: #f9f9f9;
  border-right: 1px solid #ddd;
  height: 100%;
  overflow-y: auto;
}

#toc-container h2 {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 0.5em;
}

#toc-container ul {
  list-style-type: none;
  padding: 0;
}

#toc-container ul li {
  margin-bottom: 0.5em;
}

#toc-container ul li a {
  text-decoration: none;
  color: #007bff;
  padding: 5px;
  display: block;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

#toc-container ul li a:hover {
  background-color: #e7f3ff;
}