@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,700&display=swap');

:root {
  --docs-bg: #f6f8fb;
  --docs-panel: #ffffff;
  --docs-text: #1f2937;
  --docs-muted: #6b7280;
  --docs-border: #e5e7eb;
  --docs-brand: #0f766e;
  --docs-brand-soft: #ccfbf1;
  --docs-accent: #0ea5e9;
}

html,
body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--docs-text);
  background: radial-gradient(circle at 10% 10%, #e6fffb 0, rgba(230, 255, 251, 0) 35%),
    radial-gradient(circle at 90% 90%, #dbeafe 0, rgba(219, 234, 254, 0) 40%),
    var(--docs-bg);
}

.docs-title,
h1,
h2,
h3 {
  font-family: 'Source Serif 4', serif;
}

.docs-shell {
  min-height: 100vh;
}

.docs-sidebar {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-right: 1px solid var(--docs-border);
}

.docs-card {
  background: var(--docs-panel);
  border: 1px solid var(--docs-border);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.docs-nav-link {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.6rem;
  font-size: 0.95rem;
  color: #374151;
  transition: all 160ms ease-in-out;
}

.docs-nav-link:hover {
  background-color: #eef2ff;
  color: #1d4ed8;
}

.docs-nav-link.active {
  background: linear-gradient(90deg, #0f766e 0%, #0ea5e9 100%);
  color: #ffffff;
  font-weight: 600;
}

.docs-mark {
  color: var(--docs-brand);
  font-weight: 600;
}

.docs-kbd {
  border: 1px solid #d1d5db;
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 0.1rem 0.35rem;
  font-size: 0.75rem;
  background: #fff;
}

@media (max-width: 1023px) {
  .docs-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 18rem;
    z-index: 40;
    transform: translateX(-100%);
    transition: transform 180ms ease-in-out;
  }

  .docs-sidebar.open {
    transform: translateX(0);
  }
}
