
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 300px;
  padding: 20px;
  height: 100vh;
  overflow-y: auto;
  position: sticky;
  top: 0;
  border-right: 1px solid #eee;
}

.content {
  flex: 1;
  padding: 20px;
  overflow-wrap: break-word;
}

.sidebar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 5px;
}

.sidebar a {
  display: block;
  padding: 5px;
  color: #333;
  text-decoration: none;
  border-radius: 3px;
}

.sidebar a:hover {
  background-color: #f0f0f0;
}

.sidebar li > ul {
  padding-left: 20px;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

a {
  color: #0366d6;
}

code {
  font-family: Consolas, Monaco, 'Andale Mono', monospace;
  background-color: #f6f8fa;
  padding: 2px 4px;
  border-radius: 3px;
}

pre {
  background-color: #f6f8fa;
  padding: 16px;
  border-radius: 3px;
  overflow: auto;
}

pre code {
  background-color: transparent;
  padding: 0;
}

blockquote {
  margin: 0;
  padding: 0 1em;
  color: #6a737d;
  border-left: 0.25em solid #dfe2e5;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 16px;
}

table, th, td {
  border: 1px solid #dfe2e5;
}

th, td {
  padding: 8px 12px;
}

@media (max-width: 768px) {
  body {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .sidebar-content {
    display: none;
  }
  
  .sidebar-content.active {
    display: block;
  }
}

.mobile-nav-toggle {
  display: none;
  width: 100%;
  padding: 10px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  cursor: pointer;
}

.current-page {
  font-weight: bold;
  background-color: #f0f0f0;
}
