/* ===== Documentation Layout ===== */
.doc-layout {
  display: flex;
  min-height: 100vh;
}

.doc-sidebar {
  width: 180px;
  background: #1b1e24;
  padding: 16px;
  overflow-y: auto;
  border-right: 1px solid #128fb5;
}

.doc-content {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

/* Group */
.doc-group {
  margin-bottom: 12px;
}

.doc-main-title {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #128fb5;
  font-weight: 700;
  padding: 8px 6px;
  cursor: pointer;
}

.doc-section-title {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #128fb5;
  font-weight: 700;
  padding: 8px 6px;
  cursor: pointer;
  font-size: 0.8rem;
}


.doc-section-title:hover {
  color: #5cd9d5;
}

/* Links container collapsible */
.doc-links {
  margin-left: 10px;
  padding-left: 8px;
  border-left: 1px solid rgba(18, 143, 181, 0.35);
  display: none;
}

.doc-group.is-open .doc-links {
  display: block;
}

.doc-link {
  display: block;
  color: #888;
  text-decoration: none;
  padding: 5px 6px;
  border-radius: 6px;
  font-size: 0.7rem;
}

.doc-link:hover {
  color: #5cd9d5;
  background: rgba(18, 143, 181, 0.10);
}

.doc-link.active {
  color: #ffffff;
  background: rgba(18, 143, 181, 0.20);
  border: 1px solid rgba(18, 143, 181, 0.35);
}

/* Responsive */
@media (max-width: 900px) {
  .doc-layout { flex-direction: column; }
  .doc-sidebar { width: auto; border-right: none; border-bottom: 1px solid #128fb5; }
}
