/* ═══════════════════════════════════════════════
   OddsForge Docs — Polymarket / Mintlify Style
   Clean, modern documentation theme
   ═══════════════════════════════════════════════ */

:root {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-sidebar: #0d1117;
  --bg-card: #161b22;
  --bg-card-hover: #1c2333;
  --bg-hover: #1c2333;
  --bg-code: #161b22;
  --bg-input: #0d1117;
  --border: #21262d;
  --border-light: #30363d;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --accent-subtle: rgba(99, 102, 241, 0.15);
  --accent-border: rgba(99, 102, 241, 0.4);
  --green: #3fb950;
  --green-subtle: rgba(63, 185, 80, 0.15);
  --yellow: #d29922;
  --yellow-subtle: rgba(210, 153, 34, 0.15);
  --red: #f85149;
  --blue: #58a6ff;
  --blue-subtle: rgba(88, 166, 255, 0.15);
  --sidebar-width: 260px;
  --header-height: 60px;
  --toc-width: 220px;
  --content-max-width: 768px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 150ms ease;
}

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent-subtle);
  color: var(--accent-hover);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

img { max-width: 100%; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

/* ════════════════════════════════════════════════
   HEADER — Polymarket style top bar
   ════════════════════════════════════════════════ */
.docs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  z-index: 100;
  gap: 0;
}

/* Logo */
.docs-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.docs-header .logo:hover { color: var(--text-primary); }

.docs-header .logo-img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.docs-header .logo-divider {
  width: 1px;
  height: 24px;
  background: var(--border-light);
  margin: 0 4px;
}

.docs-header .logo-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

/* Header Nav — Polymarket-style tabs */
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 24px;
}

.header-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
}
.header-nav a:hover { 
  color: var(--text-primary); 
  background: var(--bg-hover);
}

.header-nav a.header-tab.active {
  color: var(--accent);
  font-weight: 600;
}

.header-nav a.header-tab.active::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Search */
.header-search {
  margin-left: auto;
  position: relative;
}

.header-search input {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 8px 16px 8px 36px;
  border-radius: var(--radius-md);
  font-size: 13px;
  width: 240px;
  outline: none;
  font-family: var(--font-sans);
  transition: all var(--transition);
}

.header-search input::placeholder {
  color: var(--text-muted);
}

.header-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
  width: 300px;
}

.header-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.header-search .search-icon svg {
  width: 15px;
  height: 15px;
}

.header-search .search-shortcut {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  pointer-events: none;
  font-family: var(--font-sans);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  margin-left: 12px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.mobile-menu-btn:hover { background: var(--bg-hover); }

.mobile-menu-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* ════════════════════════════════════════════════
   SIDEBAR — Mintlify-style nav
   ════════════════════════════════════════════════ */
.docs-sidebar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 0 40px;
  z-index: 50;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-section {
  margin-bottom: 2px;
}

.sidebar-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: color var(--transition);
  border-radius: 0;
}

.sidebar-section-title:hover { color: var(--text-primary); }

.sidebar-section-title .section-icon {
  font-size: 15px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-section-title .chevron {
  font-size: 10px;
  margin-left: auto;
  transition: transform 0.2s ease;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.sidebar-section-title .chevron svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.sidebar-section.collapsed .chevron svg {
  transform: rotate(-90deg);
}

.sidebar-section.collapsed .sidebar-links {
  display: none;
}

.sidebar-links {
  list-style: none;
  padding: 0 0 8px;
}

.sidebar-links li { margin: 0; }

.sidebar-links a {
  display: block;
  padding: 6px 16px 6px 48px;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: 0;
  transition: all var(--transition);
  position: relative;
  line-height: 1.5;
}

.sidebar-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  transition: background var(--transition);
}

.sidebar-links a:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.sidebar-links a.active {
  color: var(--accent);
  background: var(--accent-subtle);
  font-weight: 500;
}

.sidebar-links a.active::before {
  background: var(--accent);
}

/* ════════════════════════════════════════════════
   MAIN CONTENT — Clean Polymarket style
   ════════════════════════════════════════════════ */
.docs-main {
  margin-left: var(--sidebar-width);
  margin-top: var(--header-height);
  padding: 40px 48px 80px;
  max-width: calc(var(--content-max-width) + var(--sidebar-width) + 96px);
}

/* Breadcrumb */
.docs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.docs-breadcrumb a { 
  color: var(--text-muted); 
  transition: color var(--transition);
}
.docs-breadcrumb a:hover { color: var(--accent); }

.docs-breadcrumb .sep { 
  color: var(--border-light); 
  font-size: 10px;
}

.docs-breadcrumb .current {
  color: var(--text-secondary);
}

/* Section Label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.section-label .section-icon {
  font-size: 14px;
}

/* ─── Typography ─── */
.docs-main h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #fff;
  letter-spacing: -0.02em;
}

.docs-main .page-desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.65;
  max-width: 640px;
}

.docs-main h2 {
  font-size: 24px;
  font-weight: 650;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: #fff;
  letter-spacing: -0.01em;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.docs-main h2 .heading-anchor {
  opacity: 0;
  color: var(--text-muted);
  margin-left: 8px;
  font-weight: 400;
  transition: opacity var(--transition);
}
.docs-main h2:hover .heading-anchor { opacity: 1; }

.docs-main h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-primary);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.docs-main h3 .heading-anchor {
  opacity: 0;
  color: var(--text-muted);
  margin-left: 6px;
  font-weight: 400;
  transition: opacity var(--transition);
}
.docs-main h3:hover .heading-anchor { opacity: 1; }

.docs-main h4 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.docs-main p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.docs-main ul, .docs-main ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.docs-main li {
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.docs-main li::marker {
  color: var(--text-muted);
}

.docs-main strong { color: var(--text-primary); font-weight: 600; }
.docs-main em { color: var(--text-secondary); }

.docs-main hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* ─── Callout Boxes — Polymarket / Mintlify style ─── */
.callout {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-left: 3px solid;
}

.callout .icon { 
  font-size: 16px; 
  flex-shrink: 0; 
  margin-top: 1px; 
  line-height: 1;
}

.callout p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.callout.info {
  background: var(--blue-subtle);
  border-left-color: var(--blue);
  color: #a5d6ff;
}

.callout.tip {
  background: var(--green-subtle);
  border-left-color: var(--green);
  color: #7ee787;
}

.callout.warning {
  background: var(--yellow-subtle);
  border-left-color: var(--yellow);
  color: #e3b341;
}

.callout.danger {
  background: rgba(248, 81, 73, 0.1);
  border-left-color: var(--red);
  color: #ffa198;
}

.callout a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Code ─── */
code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-code);
  color: #f0abfc;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

pre {
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 20px 0;
  overflow-x: auto;
}

pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-primary);
  font-size: 13px;
  line-height: 1.7;
}

/* ─── Tables — Clean Polymarket style ─── */
.docs-main table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.docs-main thead { background: var(--bg-card); }

.docs-main th {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13px;
}

.docs-main td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
}

.docs-main tr:last-child td { border-bottom: none; }

.docs-main tbody tr {
  transition: background var(--transition);
}
.docs-main tbody tr:hover {
  background: var(--bg-hover);
}

/* ─── Cards Grid (Home page) ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.doc-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition);
}

.doc-card:hover {
  border-color: var(--accent-border);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.doc-card .card-icon {
  font-size: 28px;
  margin-bottom: 12px;
  line-height: 1;
}

.doc-card .card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.doc-card .card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.doc-card .card-arrow {
  margin-top: auto;
  padding-top: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ─── Page Navigation — Polymarket next/prev cards ─── */
.page-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.page-nav a {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  text-decoration: none;
}

.page-nav a:hover {
  border-color: var(--accent-border);
  background: var(--bg-card-hover);
}

.page-nav a .nav-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-nav a .nav-title {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-nav a.next { 
  text-align: right; 
  grid-column: 2;
}

.page-nav a.prev {
  grid-column: 1;
}

.page-nav a.next .nav-title {  
  justify-content: flex-end;
}

.page-nav a:only-child.next { grid-column: 2; }
.page-nav a:only-child.prev { grid-column: 1; }

/* ─── Footer ─── */
.docs-footer {
  margin-left: var(--sidebar-width);
  padding: 32px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.docs-footer .footer-links {
  display: flex;
  gap: 20px;
}

.docs-footer .footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color var(--transition);
}

.docs-footer .footer-links a:hover { color: var(--text-primary); }

/* ─── TOC (Table of Contents) — right side ─── */
.docs-toc {
  position: fixed;
  top: calc(var(--header-height) + 48px);
  right: 24px;
  width: var(--toc-width);
  font-size: 12px;
  max-height: calc(100vh - var(--header-height) - 100px);
  overflow-y: auto;
}

.docs-toc .toc-title {
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  margin-bottom: 12px;
  padding-left: 12px;
}

.docs-toc a {
  display: block;
  padding: 5px 0 5px 12px;
  color: var(--text-muted);
  border-left: 1px solid var(--border);
  transition: all var(--transition);
  font-size: 12px;
  line-height: 1.5;
}

.docs-toc a:hover { 
  color: var(--text-primary); 
  border-left-color: var(--text-muted); 
}

.docs-toc a.active { 
  color: var(--accent); 
  border-left-color: var(--accent);
  font-weight: 500;
}

.docs-toc a.h3 { padding-left: 24px; }

/* ─── Search Dropdown ─── */
.search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  max-height: 360px;
  overflow-y: auto;
  z-index: 200;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.search-dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.search-dropdown a:last-child { border-bottom: none; }

.search-dropdown a:hover {
  background: var(--bg-hover);
}

.search-dropdown .search-section {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.search-dropdown .search-title {
  font-weight: 500;
  color: var(--text-primary);
}

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 1280px) {
  .docs-toc { display: none; }
}

@media (max-width: 1024px) {
  .docs-main {
    padding: 32px 36px 60px;
  }
}

@media (max-width: 768px) {
  .docs-sidebar {
    transform: translateX(-100%);
    width: 280px;
    z-index: 90;
    background: var(--bg-primary);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
  }
  
  .docs-sidebar.open {
    transform: translateX(0);
  }
  
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--header-height);
    background: rgba(0, 0, 0, 0.5);
    z-index: 80;
  }
  
  .sidebar-overlay.active {
    display: block;
  }
  
  .docs-main {
    margin-left: 0;
    padding: 24px 20px 60px;
  }
  
  .docs-main h1 { font-size: 28px; }
  .docs-main .page-desc { font-size: 15px; }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .docs-footer {
    margin-left: 0;
    padding: 24px 20px;
    flex-direction: column;
    gap: 12px;
  }
  
  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
  
  .header-search input { width: 160px; }
  .header-search input:focus { width: 200px; }
  .header-search .search-shortcut { display: none; }
  .header-nav { display: none; }
  
  .page-nav { 
    grid-template-columns: 1fr; 
  }
  .page-nav a.next { 
    grid-column: 1; 
    text-align: left; 
  }
  .page-nav a.next .nav-title { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .docs-header { padding: 0 16px; }
  .docs-main { padding: 20px 16px 48px; }
  .docs-main h1 { font-size: 24px; }
  .header-search { display: none; }
  .cards-grid { gap: 12px; }
  .doc-card { padding: 18px; }
}

/* ════════════════════════════════════════════════
   API REFERENCE — Polymarket-style endpoint docs
   ════════════════════════════════════════════════ */

/* Method Badges */
.method-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.method-badge.get { background: var(--green-subtle); color: var(--green); border: 1px solid rgba(63,185,80,0.3); }
.method-badge.post { background: var(--blue-subtle); color: var(--blue); border: 1px solid rgba(88,166,255,0.3); }
.method-badge.put { background: var(--yellow-subtle); color: var(--yellow); border: 1px solid rgba(210,153,34,0.3); }
.method-badge.delete { background: rgba(248,81,73,0.1); color: var(--red); border: 1px solid rgba(248,81,73,0.3); }

/* Endpoint URL */
.endpoint-url {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin: 16px 0 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-primary);
  width: 100%;
  overflow-x: auto;
}

.endpoint-url .method {
  font-weight: 700;
}

.endpoint-url .path {
  color: var(--text-secondary);
}

.endpoint-url .path .param {
  color: var(--accent);
}

/* Parameter Tables — API style */
.param-table {
  width: 100%;
  margin: 16px 0 24px;
  border-collapse: collapse;
}

.param-table th {
  text-align: left;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}

.param-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  vertical-align: top;
}

.param-table tr:last-child td { border-bottom: none; }

.param-name {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

.param-type {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-code);
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

.param-required {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.param-optional {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Response Example */
.response-example {
  margin: 16px 0 32px;
}

.response-example .response-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.response-example .response-header .status-code {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--green);
}

.response-example pre {
  margin: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-top: none;
}

/* API sidebar active states for method indicator dots */
.sidebar-links .api-method {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
}
.sidebar-links .api-method.get { background: var(--green); }
.sidebar-links .api-method.post { background: var(--blue); }
.sidebar-links .api-method.put { background: var(--yellow); }
.sidebar-links .api-method.delete { background: var(--red); }

/* API endpoint list on landing page */
.api-endpoint-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.api-endpoint-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.api-endpoint-list li:last-child { border-bottom: none; }

.api-endpoint-list .ep-path {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
}

.api-endpoint-list .ep-desc {
  color: var(--text-muted);
  font-size: 13px;
  margin-left: auto;
}

/* API Cards */
.api-card {
  display: block;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition);
  margin-bottom: 12px;
}

.api-card:hover {
  border-color: var(--accent-border);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.api-card .api-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.api-card .api-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.api-card .api-card-endpoints {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
