/* 
 * IdleBuster Next — Documentation Page Styles
 * Premium dark-mode documentation with glassmorphism,
 * animated SVG graphics, and micro-interactions.
 * v2.0
 */

/* ── Google Fonts import ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Design Tokens ── */
:root {
  --ib-primary: #3b9eff;
  --ib-primary-rgb: 59,158,255;
  --ib-primary-hover: #2563eb;
  --ib-accent: #a855f7;
  --ib-accent-rgb: 168,85,247;
  --ib-bg: #0b1120;
  --ib-bg-alt: #0f172a;
  --ib-surface: #1e293b;
  --ib-surface-hover: #263548;
  --ib-surface-border: #334155;
  --ib-text: #f8fafc;
  --ib-text-muted: #94a3b8;
  --ib-text-dim: #64748b;
  --ib-radius: 14px;
  --ib-radius-sm: 8px;
  --ib-success: #10b981;
  --ib-success-rgb: 16,185,129;
  --ib-warning: #f59e0b;
  --ib-warning-rgb: 245,158,11;
  --ib-danger: #ef4444;
  --ib-danger-rgb: 239,68,68;
  --ib-glass: rgba(30, 41, 59, 0.6);
  --ib-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --ib-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset inside wrapper ── */
.ib-docs-wrapper *,
.ib-docs-wrapper *::before,
.ib-docs-wrapper *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ib-docs-wrapper ul { list-style: none; }

/* ── Wrapper ── */
.ib-docs-wrapper {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ib-text);
  background: var(--ib-bg);
  display: flex;
  flex-direction: column;
  min-height: 90vh;
  border-radius: var(--ib-radius);
  overflow: hidden;
  box-shadow: var(--ib-shadow);
  line-height: 1.7;
  position: relative;
}

@media (min-width: 900px) {
  .ib-docs-wrapper {
    flex-direction: row;
  }
}

/* ── Sidebar ── */
.ib-docs-sidebar {
  width: 100%;
  background: linear-gradient(180deg, #131c31 0%, #0f172a 100%);
  border-right: 1px solid var(--ib-surface-border);
  padding: 2rem 1.25rem 2rem 1.25rem;
  flex-shrink: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .ib-docs-sidebar {
    width: 290px;
    position: sticky;
    top: 0;
    height: 90vh;
  }
}

.ib-docs-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}

.ib-docs-brand span {
  background: linear-gradient(135deg, var(--ib-primary), var(--ib-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ib-docs-version {
  font-size: 0.75rem;
  color: var(--ib-text-dim);
  margin-bottom: 2rem;
  padding-left: 2px;
}

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

.ib-docs-nav-group-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ib-text-dim);
  padding: 0 12px;
  margin-bottom: 8px;
}

.ib-docs-nav li {
  margin-bottom: 2px;
}

.ib-docs-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ib-text-muted);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: var(--ib-radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--ib-transition);
  position: relative;
}

.ib-docs-nav a .ib-nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity var(--ib-transition);
}

.ib-docs-nav a:hover {
  background: rgba(var(--ib-primary-rgb), 0.08);
  color: var(--ib-text);
}

.ib-docs-nav a:hover .ib-nav-icon {
  opacity: 1;
}

.ib-docs-nav a.active {
  background: rgba(var(--ib-primary-rgb), 0.12);
  color: var(--ib-primary);
  font-weight: 600;
}

.ib-docs-nav a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--ib-primary);
}

.ib-docs-nav a.active .ib-nav-icon {
  opacity: 1;
}

.ib-sidebar-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ib-surface-border);
}

.ib-sidebar-cta {
  display: block;
  padding: 12px 16px;
  border-radius: var(--ib-radius-sm);
  background: linear-gradient(135deg, rgba(var(--ib-primary-rgb),0.15), rgba(var(--ib-accent-rgb),0.15));
  border: 1px solid rgba(var(--ib-primary-rgb), 0.2);
  color: var(--ib-text);
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--ib-transition);
}

.ib-sidebar-cta:hover {
  background: linear-gradient(135deg, rgba(var(--ib-primary-rgb),0.25), rgba(var(--ib-accent-rgb),0.25));
  transform: translateY(-1px);
}

/* ── Mobile toggle ── */
.ib-mobile-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ib-primary);
  color: #fff;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(var(--ib-primary-rgb), 0.4);
}

@media (max-width: 899px) {
  .ib-mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .ib-docs-sidebar { display: none; }
  .ib-docs-sidebar.open { display: flex; position: fixed; z-index: 999; top: 0; left: 0; width: 290px; height: 100vh; }
}

/* ── Main Content ── */
.ib-docs-content {
  flex: 1;
  padding: 3rem 3.5rem;
  overflow-y: auto;
  scroll-behavior: smooth;
  max-height: 90vh;
}

@media (max-width: 899px) {
  .ib-docs-content {
    padding: 2rem 1.25rem;
    max-height: none;
  }
}

/* ── Sections ── */
.ib-docs-section {
  margin-bottom: 5rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ib-docs-section.ib-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Typography ── */
.ib-docs-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-top: 0;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.ib-section-subtitle {
  color: var(--ib-text-dim);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.ib-docs-section h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-top: 3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ib-docs-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.ib-docs-section p,
.ib-docs-section li {
  color: var(--ib-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.ib-docs-section ul.ib-list {
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.ib-docs-section ul.ib-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 0.6rem;
}

.ib-docs-section ul.ib-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ib-primary);
}

.ib-docs-section ol.ib-olist {
  padding-left: 0;
  counter-reset: ib-step;
  margin-bottom: 1.5rem;
}

.ib-docs-section ol.ib-olist li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 1.25rem;
  counter-increment: ib-step;
}

.ib-docs-section ol.ib-olist li::before {
  content: counter(ib-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(var(--ib-primary-rgb), 0.15);
  color: var(--ib-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ── Hero Section ── */
.ib-hero {
  background: linear-gradient(135deg, rgba(var(--ib-primary-rgb),0.08) 0%, rgba(var(--ib-accent-rgb),0.06) 100%);
  border: 1px solid rgba(var(--ib-primary-rgb), 0.15);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  overflow: hidden;
  position: relative;
}

.ib-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--ib-primary-rgb),0.12), transparent 70%);
  pointer-events: none;
}

.ib-hero-text { flex: 1; position: relative; z-index: 1; }

.ib-hero-text h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ib-hero-text p {
  font-size: 1.05rem;
  color: var(--ib-text-muted);
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.ib-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ib-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--ib-text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.ib-hero-graphic {
  width: 200px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .ib-hero { flex-direction: column; text-align: center; }
  .ib-hero-text p { margin-left: auto; margin-right: auto; }
  .ib-hero-badges { justify-content: center; }
  .ib-hero-graphic { width: 150px; }
}

/* ── Feature Cards & Grid ── */
.ib-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
}

.ib-card {
  background: var(--ib-surface);
  border: 1px solid var(--ib-surface-border);
  padding: 1.75rem;
  border-radius: var(--ib-radius);
  transition: all var(--ib-transition);
  position: relative;
  overflow: hidden;
}

.ib-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ib-primary), var(--ib-accent));
  opacity: 0;
  transition: opacity var(--ib-transition);
}

.ib-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border-color: rgba(var(--ib-primary-rgb), 0.25);
}

.ib-card:hover::before { opacity: 1; }

.ib-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  background: rgba(var(--ib-primary-rgb), 0.1);
}

.ib-card h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ib-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.ib-card ul {
  margin-top: 10px;
  padding-left: 0;
}

.ib-card ul li {
  padding-left: 18px;
  position: relative;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.ib-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--ib-primary);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Wide card variant */
.ib-card-wide {
  grid-column: 1 / -1;
}

/* ── Badges ── */
.ib-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  vertical-align: middle;
}

.ib-badge.pro {
  background: linear-gradient(135deg, rgba(var(--ib-accent-rgb),0.2), rgba(var(--ib-accent-rgb),0.1));
  color: #c084fc;
  border: 1px solid rgba(var(--ib-accent-rgb), 0.35);
}

.ib-badge.free {
  background: rgba(var(--ib-success-rgb), 0.12);
  color: #34d399;
  border: 1px solid rgba(var(--ib-success-rgb), 0.3);
}

.ib-badge.new {
  background: rgba(var(--ib-primary-rgb), 0.12);
  color: var(--ib-primary);
  border: 1px solid rgba(var(--ib-primary-rgb), 0.3);
}

/* ── Hotkey Table ── */
.ib-table-wrapper {
  overflow-x: auto;
  border-radius: var(--ib-radius);
  border: 1px solid var(--ib-surface-border);
  margin-top: 1.5rem;
}

.ib-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ib-surface);
}

.ib-table th, .ib-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem;
}

.ib-table th {
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ib-table tr:last-child td { border-bottom: none; }

.ib-table tr:hover td { background: rgba(var(--ib-primary-rgb), 0.03); }

.ib-key {
  display: inline-block;
  background: var(--ib-bg);
  border: 1px solid #334155;
  padding: 5px 12px;
  border-radius: 7px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ib-primary);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 2px 0 rgba(0,0,0,0.4);
  white-space: nowrap;
}

/* ── Alert Boxes ── */
.ib-alert {
  padding: 1.25rem 1.5rem;
  border-radius: var(--ib-radius-sm);
  margin-bottom: 1.75rem;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.6;
}

.ib-alert strong { display: block; margin-bottom: 4px; color: #fff; }

.ib-alert-info {
  background: rgba(var(--ib-primary-rgb), 0.08);
  border: 1px solid rgba(var(--ib-primary-rgb), 0.2);
  border-left: 4px solid var(--ib-primary);
  color: #bfdbfe;
}

.ib-alert-success {
  background: rgba(var(--ib-success-rgb), 0.08);
  border: 1px solid rgba(var(--ib-success-rgb), 0.2);
  border-left: 4px solid var(--ib-success);
  color: #a7f3d0;
}

.ib-alert-warning {
  background: rgba(var(--ib-warning-rgb), 0.08);
  border: 1px solid rgba(var(--ib-warning-rgb), 0.2);
  border-left: 4px solid var(--ib-warning);
  color: #fde68a;
}

.ib-alert-danger {
  background: rgba(var(--ib-danger-rgb), 0.08);
  border: 1px solid rgba(var(--ib-danger-rgb), 0.2);
  border-left: 4px solid var(--ib-danger);
  color: #fca5a5;
}

.ib-alert-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Code & inline ── */
.ib-code {
  background: rgba(0,0,0,0.35);
  padding: 3px 8px;
  border-radius: 5px;
  font-family: 'JetBrains Mono', monospace;
  color: #38bdf8;
  font-size: 0.85em;
  border: 1px solid rgba(255,255,255,0.06);
}

/* ── Step-by-Step Tutorials ── */
.ib-steps {
  margin-top: 2rem;
  position: relative;
}

.ib-step {
  display: flex;
  gap: 20px;
  margin-bottom: 2.5rem;
  position: relative;
}

.ib-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ib-primary), #60a5fa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(var(--ib-primary-rgb), 0.3);
}

.ib-step-body {
  flex: 1;
  padding-top: 6px;
}

.ib-step-body h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #fff;
  font-weight: 600;
}

.ib-step-body p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Connecting line between steps */
.ib-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  width: 2px;
  bottom: -10px;
  background: rgba(var(--ib-primary-rgb), 0.2);
}

/* ── Visual diagram boxes ── */
.ib-diagram {
  background: var(--ib-surface);
  border: 1px solid var(--ib-surface-border);
  border-radius: var(--ib-radius);
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.ib-diagram svg {
  max-width: 100%;
  height: auto;
}

.ib-diagram-caption {
  font-size: 0.8rem;
  color: var(--ib-text-dim);
  margin-top: 1rem;
}

/* ── Comparison Table ── */
.ib-compare {
  margin-top: 1.5rem;
  border-radius: var(--ib-radius);
  border: 1px solid var(--ib-surface-border);
  overflow: hidden;
}

.ib-compare table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ib-surface);
}

.ib-compare th, .ib-compare td {
  padding: 14px 18px;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.ib-compare th {
  background: rgba(0,0,0,0.25);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  color: #fff;
}

.ib-compare tr:last-child td { border-bottom: none; }

.ib-check { color: var(--ib-success); font-weight: 700; }
.ib-cross { color: var(--ib-danger); opacity: 0.5; }

/* ── Accordion / FAQ ── */
.ib-accordion {
  margin-top: 1.5rem;
}

.ib-accordion-item {
  background: var(--ib-surface);
  border: 1px solid var(--ib-surface-border);
  border-radius: var(--ib-radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color var(--ib-transition);
}

.ib-accordion-item:hover {
  border-color: rgba(var(--ib-primary-rgb), 0.25);
}

.ib-accordion-trigger {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  color: var(--ib-text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color var(--ib-transition);
}

.ib-accordion-trigger:hover { color: var(--ib-primary); }

.ib-accordion-icon {
  font-size: 1.1rem;
  transition: transform var(--ib-transition);
  flex-shrink: 0;
  color: var(--ib-text-dim);
}

.ib-accordion-item.open .ib-accordion-icon {
  transform: rotate(180deg);
}

.ib-accordion-body {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

.ib-accordion-item.open .ib-accordion-body {
  max-height: 1200px;
  padding: 0 20px 20px 20px;
}

.ib-accordion-body p {
  font-size: 0.9rem;
  color: var(--ib-text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.ib-accordion-body p:last-child { margin-bottom: 0; }

/* ── Section Divider ── */
.ib-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ib-surface-border), transparent);
  margin: 3rem 0;
}

/* ── Inline SVG animation for hero ── */
@keyframes ibPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes ibFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.ib-hero-graphic svg {
  animation: ibFloat 4s ease-in-out infinite;
}

.ib-pulse-dot {
  animation: ibPulse 2s ease-in-out infinite;
}

/* ── Tabs (for settings reference) ── */
.ib-tabs {
  display: flex;
  gap: 4px;
  margin-top: 1.5rem;
  margin-bottom: 0;
  background: var(--ib-surface);
  padding: 4px;
  border-radius: var(--ib-radius-sm) var(--ib-radius-sm) 0 0;
  border: 1px solid var(--ib-surface-border);
  border-bottom: none;
  overflow-x: auto;
}

.ib-tab-btn {
  padding: 10px 18px;
  border: none;
  background: none;
  color: var(--ib-text-muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all var(--ib-transition);
  white-space: nowrap;
}

.ib-tab-btn:hover { color: var(--ib-text); background: rgba(255,255,255,0.04); }

.ib-tab-btn.active {
  color: var(--ib-primary);
  background: rgba(var(--ib-primary-rgb), 0.1);
  font-weight: 600;
}

.ib-tab-panel {
  display: none;
  padding: 1.75rem;
  background: var(--ib-surface);
  border: 1px solid var(--ib-surface-border);
  border-top: none;
  border-radius: 0 0 var(--ib-radius-sm) var(--ib-radius-sm);
}

.ib-tab-panel.active { display: block; }

.ib-tab-panel h4 { margin-top: 0; }

/* ── Slider reference graphic ── */
.ib-slider-ref {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.2);
  border-radius: var(--ib-radius-sm);
  margin-bottom: 10px;
}

.ib-slider-label {
  font-size: 0.85rem;
  color: var(--ib-text-muted);
  min-width: 160px;
}

.ib-slider-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.ib-slider-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--ib-primary), #60a5fa);
}

.ib-slider-val {
  font-size: 0.8rem;
  color: var(--ib-primary);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  min-width: 50px;
  text-align: right;
}

/* ── Scrollbar ── */
.ib-docs-content::-webkit-scrollbar { width: 6px; }
.ib-docs-content::-webkit-scrollbar-track { background: transparent; }
.ib-docs-content::-webkit-scrollbar-thumb { background: var(--ib-surface-border); border-radius: 3px; }
.ib-docs-content::-webkit-scrollbar-thumb:hover { background: var(--ib-text-dim); }

.ib-docs-sidebar::-webkit-scrollbar { width: 4px; }
.ib-docs-sidebar::-webkit-scrollbar-track { background: transparent; }
.ib-docs-sidebar::-webkit-scrollbar-thumb { background: var(--ib-surface-border); border-radius: 2px; }
