/* ---------- Desktop base layout ---------- */

.docs-layout {
  flex: 1;                 /* take remaining space */
  display: flex;
  height: 100%;
  overflow: hidden;        /* 🔑 prevent page scroll */
}


/* Sidebar container */
#docs-sidebar {
  width: 260px;
  border-right: 1px solid #333;
  background: #111;
}

/* Sidebar nav */
.docs-nav {
  padding: 1.5rem;
}

.docs-nav h3 {
  margin-top: 0;
  font-size: 1rem;
  color: #aaa;
}

.docs-nav a {
  display: block;
  padding: 0.4rem 0;
  color: #ddd;
}

.docs-nav a:hover {
  color: #4ea1ff;
}

.docs-nav a.active {
  color: #4ea1ff;
  font-weight: 600;
}

/* Main content */
#docs-content {
  flex: 1;
  overflow-y: auto;        /* 🔑 only this scrolls */
  padding: 2rem 2.5rem;
}


/* Hamburger button (hidden on desktop) */
.docs-toggle {
  display: none;
  background: #111;
  color: #fff;
  border: none;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
}
/* Hide scrollbar inside documentation content */
#docs-content {
  scrollbar-width: none; /* Firefox */
}

#docs-content::-webkit-scrollbar {
  width: 0;
  height: 0;
}


/* ---------- Mobile behavior ---------- */

@media (max-width: 900px) {

  .docs-layout {
    position: relative;
    flex-direction: column;
  }

  /* Show hamburger */
  .docs-toggle {
    display: block;
    position: sticky;
    top: 0;
    z-index: 2000;
    width: 100%;
    background: #111;
    border-bottom: 1px solid #333;
  }

  /* Sidebar becomes overlay */
  #docs-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 100vh;
    border-right: none;
    border-bottom: 1px solid #333;
    display: none;
    z-index: 1111;
  }

  /* Sidebar visible when open */
  #docs-sidebar.open {
    display: block;
  }

  /* Content always visible */
  #docs-content {
    padding: 1.5rem;
  }
}
/* ---------- Documentation Page ---------- */

.docs-page h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.docs-page h2 {
  margin-top: 2.4rem;
  margin-bottom: 0.6rem;
  color: rgba(87, 235, 255, 0.85);
}

.docs-page h3 {
  margin-top: 1.6rem;
  font-size: 1.05rem;
  color: #fff;
}

.docs-page p {
  max-width: 900px;
  color: #ccc;
  line-height: 1.7;
}

.docs-page ul {
  margin-left: 1.2rem;
}

.docs-page li {
  margin-bottom: 0.35rem;
}
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 2rem auto;
  padding-bottom: 56.25%;
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
