* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  display: flex;
  height: 100vh;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

.sidebar {
  flex: 0 0 30%;
  background: #f5f7fa;
  border-right: 2px solid #d2e3fa;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  z-index: 2;
}

.sidebar h2 {
  font-weight: 700;
  color: #1e5bce;
  margin-bottom: 1rem;
  font-family: "Jersey 10", sans-serif;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  padding: 0.8rem 1rem;
  cursor: pointer;
  border-right: 3px rgb(43, 173, 216);
  transition: background 0.3s ease, color 0.3s ease;
  font-family: "Jersey 10", sans-serif;
  font-size: 1.3rem;
}

.sidebar li:hover {
  background: #e6edfb;
}

.sidebar li.active {
  background: #1e5bce;
  color: white;
}

.content {
  flex: 1;
  overflow-y: auto;
  position: relative;
  background: rgba(230, 240, 255, 0.35);
  backdrop-filter: blur(4px);
  z-index: 1;
  color: #111;
  transition: opacity 0.5s ease-in-out;
}

.content.fade {
  opacity: 0;
}

.content.show {
  opacity: 1;
}

.content h1, .content h2, .content h3 {
  color: #1e5bce;
  margin-top: 1.5rem;
}

.content h1 {
  font-family: "Jersey 10", sans-serif;
  font-size: 2.2rem;
}

.content p {
  line-height: 1.7;
  margin: 1rem 0;
}
.content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
  display: block;
}
pre, code {
  background: #eef3ff;
  color: #111;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  display: block;
  overflow-x: auto;
  font-family: monospace;
}

/* Responsive layout for mobile */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    height: auto;
  }
  .sidebar {
    flex: none;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 2px solid #d2e3fa;
    padding: 1rem 1.5rem;
    margin: 0.5rem 0;
    border-radius: 8px;
  }
  .sidebar ul {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
  }
  .sidebar li {
    white-space: nowrap;
    margin: 0;
  }
  .content {
    width: 100%;
    min-height: 70vh;
    padding: 2rem 1rem;
  }
}

.header-note {
  background: rgba(100, 150, 255, 1) !important;
  border-left: 4px solid #1e5bce;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  margin-top: 1rem;
  color: #111;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: italic;
}


#docContent {
  position: relative !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 100vh !important;
  background: #fff !important;
  color: #111 !important;
  z-index: 10 !important;
  padding: 2rem !important;
  overflow-y: auto !important;
  text-align: left !important;
}
#docContent * {
  color: inherit !important;
  background: transparent !important;
}
