/* VoltyNode Anticheat — documentatie (verfijnde layout) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --pg-blue: #4ade80;
  --pg-blue-deep: #22c55e;
  --docs-bg: #eef2f9;
  --docs-bg-2: #f8fafc;
  --docs-sidebar-bg: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  --docs-sidebar-solid: #f4f7fb;
  --docs-border: #e2e8f0;
  --docs-border-soft: rgba(226, 232, 240, 0.85);
  --docs-text: #0f172a;
  --docs-muted: #64748b;
  --docs-link: #16a34a;
  --docs-link-hover: #1d4ed8;
  --docs-accent-line: var(--pg-blue);
  --docs-radius: 12px;
  --docs-radius-lg: 18px;
  --docs-font: "Inter", system-ui, -apple-system, sans-serif;
  --docs-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --docs-shadow-md: 0 4px 24px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(74, 222, 128, 0.06);
  --docs-shadow-nav: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

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

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(74, 222, 128, 0.25);
  color: var(--docs-text);
}

body.docs-body {
  margin: 0;
  font-family: var(--docs-font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--docs-text);
  background: var(--docs-bg);
  background-image: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(74, 222, 128, 0.09), transparent 50%),
    linear-gradient(180deg, var(--docs-bg) 0%,#e8edf5 100%);
  -webkit-font-smoothing: antialiased;
}

.docs-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr) 228px;
  gap: 0;
}

@media (max-width: 1100px) {
  .docs-shell {
    grid-template-columns: 272px minmax(0, 1fr);
  }
  .docs-toc {
    display: none;
  }
}

@media (max-width: 840px) {
  .docs-shell {
    grid-template-columns: 1fr;
  }
  .docs-nav-panel {
    position: sticky;
    top: 0;
    z-index: 20;
    max-height: min(45vh, 320px);
    overflow-y: auto;
    border-bottom: 1px solid var(--docs-border);
  }
}

/* --- Linker sidebar --- */
.docs-nav-panel {
  background: var(--docs-sidebar-solid);
  background-image: var(--docs-sidebar-bg);
  border-right: 1px solid var(--docs-border);
  padding: 1.35rem 0 2rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-shadow: var(--docs-shadow-nav);
}

@media (max-width: 840px) {
  .docs-nav-panel {
    min-height: unset;
  }
}

.docs-brand {
  padding: 0 1.2rem 1.1rem;
  margin: 0 0.75rem 1rem;
  border-bottom: 1px solid var(--docs-border);
  border-left: 3px solid var(--pg-blue);
  padding-left: 1rem;
  border-radius: 0 var(--docs-radius) var(--docs-radius) 0;
  background: rgba(255, 255, 255, 0.5);
}

.docs-brand a {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--docs-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.docs-brand a:hover {
  color: var(--pg-blue-deep);
}

.docs-brand-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--docs-muted);
  margin-top: 0.35rem;
}

.docs-search {
  margin: 0 1rem 1.1rem;
}

.docs-search-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  background: #fff;
  border: 1px solid var(--docs-border);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--docs-muted);
  box-shadow: var(--docs-shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.docs-search-inner:focus-within {
  border-color: rgba(74, 222, 128, 0.55);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}

.docs-search-inner input[type="search"] {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  color: var(--docs-text);
  outline: none;
}

.docs-search-inner input[type="search"]::placeholder {
  color: var(--docs-muted);
}

.docs-search-inner .kbd-hint {
  display: flex;
  gap: 0.2rem;
  flex-shrink: 0;
}

.docs-search-inner kbd {
  font-size: 0.62rem;
  padding: 0.12rem 0.38rem;
  border: 1px solid var(--docs-border);
  border-radius: 5px;
  background: linear-gradient(180deg, #fff, #f1f5f9);
  font-family: inherit;
}

.docs-nav-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 0.65rem;
  scrollbar-width: thin;
  scrollbar-color: var(--docs-border) transparent;
}

.docs-nav-group {
  margin-bottom: 1.45rem;
}

.docs-nav-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  padding: 0 0.55rem 0.5rem;
}

.docs-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-nav-list li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.55rem;
  margin-bottom: 2px;
  border-radius: 8px;
  font-size: 0.87rem;
  color: #334155;
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease;
}

.docs-nav-list li a:hover {
  background: rgba(74, 222, 128, 0.1);
  color: var(--pg-blue-deep);
}

.docs-nav-list li a:active {
  transform: scale(0.99);
}

.docs-nav-list li a .fa-fw {
  width: 1.15em;
  opacity: 0.45;
  font-size: 0.78rem;
  color: var(--pg-blue-deep);
}

.docs-nav-list li a:hover .fa-fw {
  opacity: 0.85;
}

.docs-nav-footer {
  padding: 1rem 1.2rem 0;
  margin-top: auto;
  border-top: 1px solid var(--docs-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--docs-muted);
}

.theme-toggle {
  display: flex;
  gap: 0.35rem;
}

.theme-toggle span {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--docs-border);
  background: #fff;
  cursor: default;
  opacity: 0.75;
}

/* --- Main content (kaart) --- */
.docs-main-panel {
  padding: 1.5rem 0 3.5rem;
  max-width: 760px;
  margin: 1.25rem 1.25rem 2rem 1rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  padding-top: 2.35rem;
  padding-bottom: 3rem;
  background: #fff;
  border-radius: var(--docs-radius-lg);
  border: 1px solid var(--docs-border-soft);
  box-shadow: var(--docs-shadow-md);
}

@media (max-width: 840px) {
  .docs-main-panel {
    margin: 0.75rem;
    padding: 1.35rem 1.25rem 2.5rem;
    border-radius: var(--docs-radius);
  }
}

.docs-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.78rem;
  margin-bottom: 1.25rem;
}

.docs-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--docs-muted);
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #f1f5f9;
  transition: background 0.15s ease, color 0.15s ease;
}

.docs-breadcrumb a:hover {
  background: rgba(74, 222, 128, 0.14);
  color: var(--pg-blue-deep);
}

.docs-bc-sep {
  color: #cbd5e1;
  font-size: 0.55rem;
  display: flex;
  align-items: center;
}

.docs-bc-current {
  font-weight: 600;
  color: var(--docs-text);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(101, 187, 255, 0.18), rgba(34, 197, 94, 0.1));
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.docs-main-panel h1 {
  font-size: clamp(2rem, 3.5vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 0.65rem;
  line-height: 1.12;
  background: linear-gradient(135deg, #0f172a 0%, #334155 55%, var(--pg-blue-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.docs-lead {
  font-size: 1.06rem;
  color: var(--docs-muted);
  margin: 0 0 2rem;
  max-width: 54ch;
  line-height: 1.6;
}

.docs-lead strong {
  color: var(--docs-text);
}

.docs-main-panel h2 {
  font-size: 1.28rem;
  font-weight: 800;
  margin: 2.25rem 0 0.85rem;
  padding: 0 0 0 0.85rem;
  border: none;
  border-left: 4px solid var(--pg-blue);
  border-bottom: none;
  scroll-margin-top: 5.75rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.docs-main-panel > h2:first-of-type {
  margin-top: 1.5rem;
}

.docs-main-panel p {
  margin: 0 0 1rem;
  color: #334155;
}

.docs-main-panel code {
  font-size: 0.86em;
  padding: 0.14rem 0.42rem;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  color: #0f172a;
}

.docs-main-panel a:not(.docs-orig) {
  color: var(--docs-link);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.docs-main-panel a:not(.docs-orig):hover {
  color: var(--pg-blue-deep);
  border-bottom-color: rgba(74, 222, 128, 0.45);
}

.docs-main-panel ul {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
}

.docs-main-panel li {
  margin-bottom: 0.4rem;
}

.docs-main-panel li::marker {
  color: var(--pg-blue);
}

.docs-hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--docs-border), transparent);
  margin: 2.25rem 0;
}

.docs-signoff {
  font-size: 0.95rem;
  color: var(--docs-muted);
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--docs-border);
}

.docs-signoff strong {
  color: var(--docs-text);
}

.docs-note {
  margin-top: 2.5rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.95), rgba(226, 242, 255, 0.6));
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: var(--docs-radius);
  font-size: 0.88rem;
  color: #0c4a6e;
  box-shadow: 0 2px 12px rgba(74, 222, 128, 0.08);
}

.docs-note a {
  font-weight: 600;
  color: var(--docs-link);
}

/* --- Rechter TOC --- */
.docs-toc {
  padding: 1.5rem 1rem 2rem 0.5rem;
  position: sticky;
  top: 5.75rem;
  align-self: start;
}

.docs-toc-scroll {
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
  padding: 1rem 0.6rem 1rem 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--docs-radius);
  border: 1px solid var(--docs-border-soft);
  box-shadow: var(--docs-shadow-sm);
  backdrop-filter: blur(8px);
}

.docs-toc-title {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
  margin: 0 0 0.9rem;
  padding-left: 0.35rem;
}

.docs-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-toc-list a {
  display: block;
  padding: 0.38rem 0.6rem;
  margin-bottom: 2px;
  margin-left: 0;
  font-size: 0.8rem;
  color: var(--docs-muted);
  text-decoration: none;
  border-radius: 6px;
  border-left: 3px solid transparent;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.docs-toc-list a:hover {
  background: rgba(74, 222, 128, 0.08);
  color: var(--docs-text);
}

.docs-toc-list a.active {
  color: var(--pg-blue-deep);
  background: rgba(74, 222, 128, 0.12);
  border-left-color: var(--pg-blue);
  font-weight: 600;
}

body.docs-body.has-site-nav .docs-shell {
  min-height: calc(100vh - 5.5rem);
}
