
:root{
  --bg: #0b1220;
  --panel: #0e1729;
  --panel2:#0c1426;
  --border:#1b2a45;
  --text:#e7eefc;
  --muted:#a8b4cc;
  --accent:#6d28d9; /* Volendra purple-ish */
  --codebg:#0a1020;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --radius: 12px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(109,40,217,.20), transparent 60%),
              radial-gradient(900px 500px at 75% -20%, rgba(90,167,255,.12), transparent 55%),
              var(--bg);
  color:var(--text);
}
a{color:inherit; text-decoration:none}
small{color:var(--muted)}
.topbar{
  position:fixed; top:0; left:0; right:0;
  height:60px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 18px;
  background: rgba(11,18,32,.75);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
  z-index:50;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-weight:700;
  letter-spacing:.2px;
}
.brand img{height:28px; width:auto; display:block}
.badge{
  font-size:12px;
  padding:4px 8px;
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--muted);
  background: rgba(255,255,255,.03);
}
.layout{height:100%; padding-top:60px; display:flex;}
.sidebar{
  width:340px; min-width:340px;
  border-right:1px solid var(--border);
  background: linear-gradient(180deg, rgba(14,23,41,.96), rgba(12,20,38,.96));
  padding:16px 10px 16px 14px;
  overflow:auto;
}
.search{
  position:sticky; top:8px;
  padding:8px 6px 12px 0;
  background: linear-gradient(180deg, rgba(14,23,41,.96), rgba(14,23,41,.72), rgba(14,23,41,0));
  z-index:5;
}
.search input{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--text);
  outline:none;
}
.search input::placeholder{color:rgba(168,180,204,.7)}
.nav{padding:4px 0 14px;}
.nav-group{margin:10px 0;}
.nav-group > .nav-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 10px;
  border-radius:10px;
  cursor:pointer;
}
.nav-group > .nav-head:hover{background: rgba(255,255,255,.04)}
.chev{width:18px; height:18px; opacity:.8; transition: transform .15s ease;}
.nav-group.collapsed .chev{transform: rotate(-90deg)}
.nav-group.collapsed .nav-specifics{display:none}
.nav-specific{margin:4px 0 8px;}
.nav-specific > .nav-specific-head{
  padding:8px 10px 8px 22px;
  color:var(--muted);
  font-weight:600;
  font-size:13px;
}
.nav-item{
  display:flex; align-items:center; gap:8px;
  padding:7px 10px 7px 34px;
  border-radius:10px;
  cursor:pointer;
  color:rgba(231,238,252,.92);
}
.nav-item:hover{background: rgba(255,255,255,.04)}
.nav-item.active{
  background: rgba(109,40,217,.14);
  border:1px solid rgba(109,40,217,.22);
}
.pill{
  font-family:var(--mono);
  font-size:11px;
  padding:2px 6px;
  border-radius:999px;
  border:1px solid var(--border);
  color:var(--muted);
  background: rgba(255,255,255,.03);
}
.content-wrap{flex:1; padding:18px 18px 18px 22px; overflow:hidden;}
.content{
  height: calc(100vh - 60px - 36px);
  background: rgba(14,23,41,.55);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:auto;
}
.content-inner{padding:22px 22px 30px; max-width: 980px;}
.h1{font-size:26px; margin:0 0 6px;}
.subtitle{color:var(--muted); margin:0 0 18px;}
.hr{height:1px; background: var(--border); margin:18px 0;}
.endpoint-title{display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 0 10px;}
.method{
  font-family:var(--mono); font-size:12px;
  padding:4px 8px; border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
}
.method.GET{border-color: rgba(90,167,255,.35); color: rgba(160,210,255,.95)}
.method.POST{border-color: rgba(34,197,94,.35); color: rgba(147,255,196,.95)}
.method.PUT{border-color: rgba(250,204,21,.35); color: rgba(255,235,150,.95)}
.method.DELETE{border-color: rgba(244,63,94,.35); color: rgba(255,170,184,.95)}
.path{
  font-family:var(--mono);
  font-size:13px;
  background: rgba(0,0,0,.18);
  border:1px solid var(--border);
  border-radius: 10px;
  padding:10px 12px;
  overflow:auto;
}
.section{margin-top:18px;}
.section h2{font-size:16px; margin:0 0 10px;}
.p{line-height:1.55; margin:0 0 10px; color: rgba(231,238,252,.90);}
.codeblock{
  background: var(--codebg);
  border:1px solid var(--border);
  border-radius: 12px;
  padding:12px 14px;
  overflow:auto;
  font-family: var(--mono);
  font-size:12px;
  line-height:1.55;
  white-space:pre;
}
.table{
  width:100%;
  border-collapse: collapse;
  font-size:13px;
  overflow:hidden;
  border-radius:12px;
  border:1px solid var(--border);
}
.table th, .table td{padding:10px 12px; border-bottom:1px solid var(--border); vertical-align:top;}
.table th{text-align:left; color: var(--muted); font-weight:600; background: rgba(255,255,255,.02);}
.table tr:last-child td{border-bottom:none;}
.footer-note{color:var(--muted); margin-top:18px; font-size:12px;}