/* Documentation Site Styles - matches DemonScraper theme */
:root {
  --docs-sidebar-width: 280px;
  --docs-rightbar-width: 280px;
}

/* Layout */
.docs-wrapper {
  display: grid;
  grid-template-columns: var(--docs-sidebar-width) 1fr var(--docs-rightbar-width);
  gap: 24px;
  padding: 24px;
}

.docs-sidebar {
  position: sticky;
  top: 16px;
  height: calc(100vh - 32px);
  overflow-y: auto;
}

.docs-content {
  min-width: 0;
}

.docs-rightbar {
  position: sticky;
  top: 16px;
  height: calc(100vh - 32px);
  overflow-y: auto;
}

/* Cards and surfaces */
.docs-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.docs-hero {
  padding: 32px;
}

.docs-section {
  padding: 24px;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.col-12 { grid-column: span 12; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }

.docs-link {
  display: block;
  padding: 16px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
}

.docs-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--electric-blue);
}

.docs-breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.docs-breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.docs-breadcrumbs a:hover { color: var(--electric-blue); }

.docs-sidebar .section-title {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 16px 0 8px;
}

.docs-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-nav li a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
}

.docs-nav li a.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--electric-blue);
}

.docs-toc {
  list-style: none;
  margin: 0;
  padding: 16px;
}

.docs-toc li a {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.docs-toc li a:hover { color: var(--electric-blue); }

/* Headings */
.docs-content h1 {
  margin: 0 0 8px 0;
  font-size: 40px;
}

.docs-content h2 { margin-top: 32px; font-size: 28px; }
.docs-content h3 { margin-top: 24px; font-size: 20px; color: var(--muted); }

/* Code blocks */
pre, code {
  font-family: 'Source Code Pro', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

pre {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  overflow: auto;
}

.code-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.copy-btn {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

.copy-btn:hover { color: var(--electric-blue); }

/* Search */
.docs-search {
  position: relative;
}

.docs-search input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.docs-search .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1200px) {
  :root { --docs-rightbar-width: 0px; }
  .docs-wrapper { grid-template-columns: var(--docs-sidebar-width) 1fr; }
  .docs-rightbar { display: none; }
}

@media (max-width: 900px) {
  :root { --docs-sidebar-width: 0px; }
  .docs-wrapper { grid-template-columns: 1fr; }
  .docs-sidebar { display: none; }
}



