/* ============================================================================
   AXON — noir documentation theme (Honkit / GitBook website)
   Brand: page #0A0A0A · card #1A1A1A · inset #242424 · green #00D999 · Outfit
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root{
  --ax-bg:#0A0A0A; --ax-panel:#121212; --ax-card:#1A1A1A; --ax-inset:#242424;
  --ax-hair:#262626; --ax-hair2:#343434;
  --ax-txt:#ECEDED; --ax-t2:#9aa6b2; --ax-t3:#6f7780;
  --ax-green:#00D999; --ax-green-dim:#0e9c6f;
}

/* ---- base ---- */
.book, body{ background:var(--ax-bg)!important; color:var(--ax-txt)!important;
  font-family:'Outfit',-apple-system,'Segoe UI',Helvetica,Arial,sans-serif!important; }
.book-body, .book-body .body-inner, .page-wrapper{ background:var(--ax-bg)!important; }
.page-inner{ max-width:920px!important; }

/* ---- sidebar (summary) ---- */
.book-summary{ background:#0d0d0d!important; border-right:1px solid var(--ax-hair)!important; color:var(--ax-t2)!important; }
.book-summary ul.summary li a,
.book-summary ul.summary li span{ color:var(--ax-t2)!important; font-weight:500; border-bottom:none!important; }
.book-summary ul.summary li a:hover{ color:var(--ax-txt)!important; background:#141414!important; }
.book-summary ul.summary li.active>a{ color:var(--ax-green)!important; background:#101512!important;
  border-left:2px solid var(--ax-green)!important; font-weight:600; }
.book-summary ul.summary li.header{ color:var(--ax-t3)!important; text-transform:uppercase; letter-spacing:.08em;
  font-size:11px; font-weight:700; }
.book-summary ul.summary li.divider{ background:var(--ax-hair)!important; }
/* sidebar search box */
#book-search-input{ background:#0d0d0d!important; border-bottom:1px solid var(--ax-hair)!important; }
#book-search-input input{ background:var(--ax-inset)!important; color:var(--ax-txt)!important;
  border:1px solid var(--ax-hair2)!important; border-radius:8px; }
#book-search-input input::placeholder{ color:var(--ax-t3)!important; }

/* ---- top header bar ---- */
.book-header{ background:#0d0d0d!important; color:var(--ax-t2)!important; border-bottom:1px solid var(--ax-hair)!important; }
.book-header h1{ color:var(--ax-t2)!important; font-weight:600; }
.book-header a, .book-header a:hover{ color:var(--ax-txt)!important; }

/* ---- typography ---- */
.markdown-section{ color:#dfe1e1!important; font-size:15.5px; line-height:1.72; }
.markdown-section h1,.markdown-section h2,.markdown-section h3,
.markdown-section h4,.markdown-section h5,.markdown-section h6{
  color:#FFFFFF!important; font-weight:700; }
.markdown-section h1{ font-size:2em; }
.markdown-section h1, .markdown-section h2{
  border-bottom:1px solid var(--ax-hair)!important; padding-bottom:.3em; }
/* green accent tick before h2 */
.markdown-section h2{ position:relative; padding-left:14px; }
.markdown-section h2::before{ content:""; position:absolute; left:0; top:.18em; bottom:.34em; width:3px;
  background:var(--ax-green); border-radius:2px; }
.markdown-section a{ color:var(--ax-green)!important; text-decoration:none; }
.markdown-section a:hover{ text-decoration:underline; }
.markdown-section strong{ color:#FFFFFF!important; }
.markdown-section hr{ border:none; border-top:1px solid var(--ax-hair)!important; }

/* ---- code ---- */
.markdown-section code{ background:var(--ax-inset)!important; color:#7df0c6!important;
  border:1px solid var(--ax-hair2); border-radius:5px; padding:.12em .4em; }
.markdown-section pre{ background:#0f1110!important; border:1px solid var(--ax-hair2)!important;
  border-radius:10px; }
.markdown-section pre code{ background:transparent!important; border:none; color:#e6e7e7!important; }

/* ---- blockquote / callout ---- */
.markdown-section blockquote{ background:var(--ax-panel)!important; color:#cfd2d2!important;
  border-left:3px solid var(--ax-green)!important; border-radius:0 10px 10px 0; }

/* ---- tables ---- */
.markdown-section table{ border:1px solid var(--ax-hair2)!important; border-radius:8px; overflow:hidden; }
.markdown-section table th{ background:#161616!important; color:#FFFFFF!important; border:1px solid var(--ax-hair2)!important; }
.markdown-section table td{ background:var(--ax-card)!important; color:#dfe1e1!important; border:1px solid var(--ax-hair)!important; }
.markdown-section table tr:nth-child(2n) td{ background:#161616!important; }

/* ---- diagram images (already dark SVGs) ---- */
.markdown-section img{ border:1px solid var(--ax-hair)!important; border-radius:14px; background:var(--ax-bg); }

/* ---- prev/next navigation ---- */
.navigation{ color:var(--ax-t2)!important; }
.navigation:hover{ color:var(--ax-green)!important; }

/* ---- scrollbars ---- */
*::-webkit-scrollbar{ width:10px; height:10px; }
*::-webkit-scrollbar-thumb{ background:#2a2a2a; border-radius:6px; }
*::-webkit-scrollbar-track{ background:#0d0d0d; }
