/* ================================================================
   JarvisUI Docs — App Specific Styles
   Extends jarvis-ui.css for the documentation site.
================================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--j-bg, #020d18);
  color: #94a3b8;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.6;
  height: 100%;
}

/* Scrollbar styling */
::-webkit-scrollbar       { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: #020d18; }
::-webkit-scrollbar-thumb { background: rgba(0,229,255,0.2); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,229,255,0.4); }

/* Page section title h1 baseline override */
h1, h2, h3 { font-weight: 600; }

/* Prose paragraph in docs */
p { font-size: 12px; color: #475569; line-height: 1.6; }

/* Code inline */
code {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  background: rgba(0,229,255,0.06);
  color: #22d3ee;
  padding: 1px 5px;
}

/* Pre blocks */
pre {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.7;
}

/* Sidebar nav scrollbar */
nav::-webkit-scrollbar { width: 2px; }

/* Remove default link decoration inside nav */
a { text-decoration: none; }

/* Blazor error overlay override */
#blazor-error-ui {
  background: #0a030f;
  border-top: 2px solid #ef4444;
  color: #f87171;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  padding: 12px 16px;
}
#blazor-error-ui .dismiss { color: #ef4444; cursor: pointer; }
