/* DOCUMENTATION LAYOUT */
.docs-layout { 
  display: flex; 
  gap: 4rem; 
  align-items: start;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.docs-sidebar { 
  position: sticky; 
  top: 105px; 
  width: 280px;
  flex-shrink: 0;
  height: calc(100vh - 125px); 
  overflow-y: auto; 
  padding-right: 20px; 
  border-right: 1px solid rgba(0,0,0,0.05);
}

.docs-sidebar::-webkit-scrollbar { width: 4px; }
.docs-sidebar::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 10px; }

.docs-sidebar-category {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #333;
  margin: 2rem 0 0.75rem;
  padding-left: 1rem;
}

.docs-sidebar-link { 
  display: block;
  padding: 0.65rem 1rem; 
  border-radius: 0 6px 6px 0; 
  color: #666666; 
  font-size: 0.95rem; 
  text-decoration: none; 
  transition: all 0.2s ease; 
  border-left: 2px solid transparent; 
}

.docs-sidebar-link:hover { 
  background: #f8f9fa; 
  color: #333;
}

.docs-sidebar-link.active { 
  color: #0056d2; 
  background: #f0f7ff; 
  border-left-color: #0056d2; 
  font-weight: 600; 
}

.docs-content {
  flex-grow: 1;
  min-width: 0;
  padding-bottom: 6rem;
}

/* BREADCRUMBS */
.breadcrumbs {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
}

.breadcrumbs span {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* TYPOGRAPHY */
.docs-content section { margin-bottom: 5rem; scroll-margin-top: 100px; }
.docs-content h1 { font-size: 2.75rem; line-height: 1.2; margin-bottom: 1.5rem; letter-spacing: -0.02em; font-weight: 800; }
.docs-content h3 { font-size: 1.85rem; margin-bottom: 1.25rem; font-weight: 700; color: var(--text-primary); }
.docs-content p { color: #555; font-size: 1.1rem; line-height: 1.6; margin-bottom: 2rem; }

/* ALERTS (REFINED) */
.alert { 
  display: flex; 
  gap: 1.25rem; 
  padding: 1.25rem 1.5rem; 
  border-radius: 12px; 
  margin-bottom: 2.5rem; 
  border: 1px solid; 
  align-items: flex-start;
}

.alert-info { 
  background: #f0f7ff; 
  border-color: #d1e9ff; 
}

.alert-icon { 
  color: #0056d2; 
  flex-shrink: 0;
}

.alert-content p { 
  color: #444; 
  margin: 0; 
  font-size: 0.95rem; 
  line-height: 1.5;
}

.alert-content strong {
  margin-right: 0.25rem;
  color: #333;
}

/* OVERRIDE NAVBAR FOR MINIMAL LOOK */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: none;
  height: 60px;
}

.nav-container {
  height: 100%;
}

.logo {
  font-weight: 600;
  font-size: 1.1rem;
  color: #000;
}

.logo svg {
  color: #000 !important;
  width: 20px;
  height: 20px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: #555;
}

.nav-links a:hover {
  color: #000;
}

.btn-primary {
  padding: 6px 16px;
  font-size: 0.8rem;
  border-radius: 6px;
}

/* ADJUST PAGE CONTENT FOR FIXED HEADER */
body {
  padding-top: 110px !important;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .docs-layout { gap: 2rem; }
  .docs-sidebar { width: 220px; }
}

@media (max-width: 900px) {
  .docs-layout { flex-direction: column; }
  .docs-sidebar { display: none; }
}


