/* assets/css/style.css */
/* Dark theme with purple accent similar to the screenshot */
:root{
  --bg:#050505;           /* almost black */
  --panel:#0b0b0b;        /* slightly lighter for panels */
  --text:#e8e8ee;         /* off-white text */
  --muted:#9aa0a6;
  --accent:#7c3aed;       /* purple accent (close to screenshot) */
  --accent-2:#5b21b6;
  --container:1100px;
  font-family: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
}
*{box-sizing:border-box}
body.bs-docs{
  margin:0;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:18px;
}
.bs-header{
  background:transparent;
  border-bottom:1px solid rgba(255,255,255,0.04);
  padding:18px 0;
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--text); }
.brand img{ height:36px;  }
.brand span{ font-weight:700; color:var(--text); letter-spacing:0.6px; font-size:18px; }
.nav{ display:flex; gap:20px; }
.nav a{ color:var(--text); text-decoration:none; font-weight:600; font-size:13px; opacity:0.9; }

/* layout: sidebar left, content right */
.docs-grid{ display:grid; grid-template-columns: 300px 1fr; gap:28px; align-items:start; padding-top:20px; }
.doc-sidebar{ background:transparent; padding:12px; position:sticky; top:20px; height:calc(100vh - 40px); overflow:auto; }
.sidebar-inner{ border:1px solid rgba(255,255,255,0.03); padding:18px; border-radius:8px; background:rgba(255,255,255,0.02); }
.sidebar-inner h4{ color:var(--muted); margin:0 0 12px 0; font-size:12px; letter-spacing:1px; text-transform:uppercase; }
.sidebar-nav ul{ list-style:none; padding:0; margin:0; }
.sidebar-nav li{ margin:8px 0; }
.sidebar-nav a{ color:var(--text); text-decoration:none; display:block; padding:8px 10px; border-radius:6px; font-weight:600; font-size:14px; }
.sidebar-nav li.active a, .sidebar-nav a:hover{ background: linear-gradient(90deg, rgba(124,58,237,0.14), rgba(91,33,182,0.06)); color:var(--accent); box-shadow:0 6px 18px rgba(0,0,0,0.4); }

/* article */
.doc-article{ background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent); padding:26px; border-radius:10px; border:1px solid rgba(255,255,255,0.03); }
.doc-article h1{ margin-top:0; color:var(--text); font-size:28px; }
.doc-content p{ color:#cbd5e1; line-height:1.8; font-size:15px; }
.doc-content h3, .doc-content h4{ color:var(--text); margin-top:18px; }

/* hero */
.hero{ padding:36px; border-radius:8px; background:linear-gradient(180deg, rgba(124,58,237,0.06), rgba(0,0,0,0)); margin-bottom:20px; }
.hero h1{ font-size:34px; margin:0 0 10px 0; color:var(--text); }
.hero .lead{ color:var(--muted); margin-bottom:16px; }
.btn{ display:inline-block; padding:10px 16px; background:var(--accent); color:#fff; border-radius:8px; text-decoration:none; font-weight:700; }

/* responsive */
@media(max-width:900px){
  .docs-grid{ grid-template-columns: 1fr; }
  .doc-sidebar{ position:relative; height:auto; order:2; margin-top:18px; }
  .nav{ display:none; }
}

