/* ==========================================
   GlueLetter Docs – Docsify theme overrides
   ========================================== */

   :root {
    --docs-text: #334155;
    --docs-heading: #1e3650;
    --docs-muted: #64748b;
    --docs-border: #e2e8f0;
    --docs-sidebar-bg: #f8fafc;
    --docs-hover-bg: #eef4fb;
    --docs-code-bg: #f6f8fa;
  }
  
  
  /* ------------------------------------------
     Base typography
     ------------------------------------------ */
  
  body {
    color: var(--docs-text);
    font-size: 16px;
    line-height: 1.7;
  }
  
  .markdown-section {
    max-width: 850px;
    padding: 50px 32px 80px;
  }
  
  .markdown-section p,
  .markdown-section ol,
  .markdown-section ul {
    line-height: 1.7;
    word-spacing: normal;
  }
  
  .markdown-section p {
    margin: 1em 0;
  }
  
  
  /* ------------------------------------------
     Headings
     ------------------------------------------ */
  
  .markdown-section h1,
  .markdown-section h2,
  .markdown-section h3,
  .markdown-section h4 {
    color: var(--docs-heading);
    line-height: 1.25;
  }
  
  .markdown-section h1 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
  }
  
  .markdown-section h2 {
    font-size: 1.65rem;
    font-weight: 650;
    margin-top: 3rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--docs-border);
  }
  
  .markdown-section h3 {
    font-size: 1.3rem;
    margin-top: 2.25rem;
  }
  
  .markdown-section h4 {
    font-size: 1.1rem;
    margin-top: 1.75rem;
  }
  
  
  /* ------------------------------------------
     Content links
     ------------------------------------------ */
  
  .markdown-section a {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
  }
  
  .markdown-section a:hover {
    text-decoration-thickness: 2px;
  }
  
  
  /* Don't underline heading anchors */
  .markdown-section .anchor {
    text-decoration: none;
  }
  
  
  /* ------------------------------------------
     Sidebar
     ------------------------------------------ */
  
  .sidebar {
    width: 300px;
    padding-top: 28px;
    background: var(--docs-sidebar-bg);
    border-right: 1px solid var(--docs-border);
  }
  
  .content {
    left: 300px;
  }
  
  .sidebar .sidebar-nav {
    padding: 8px 18px 50px;
    line-height: 1.4;
  }
  
  .sidebar ul {
    margin-left: 0;
  }
  
  .sidebar li {
    margin: 2px 0;
  }
  
  
  /* Section/category names */
  .sidebar li > p {
    color: var(--docs-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    margin: 22px 10px 7px;
  }
  
  
  /* Navigation links */
  .sidebar ul li a {
    color: #526375;
    font-size: 14.5px;
    line-height: 1.35;
    padding: 7px 10px;
    border-radius: 5px;
    white-space: normal;
    transition:
      background-color .15s ease,
      color .15s ease;
  }
  
  .sidebar ul li a:hover {
    background: var(--docs-hover-bg);
    color: var(--docs-heading);
    text-decoration: none;
  }
  
  
  /* Current page/section */
  .sidebar ul li.active > a {
    border-right: none;
    background: var(--docs-hover-bg);
    color: var(--theme-color);
    font-weight: 650;
  }
  
  
  /* Nested page headings */
  .sidebar ul li ul {
    padding-left: 12px;
  }
  
  .app-sub-sidebar li:before {
    display: none;
  }
  
  
  /* ------------------------------------------
     Search
     ------------------------------------------ */
  
  .sidebar .search {
    padding: 0 18px 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--docs-border);
  }
  
  .sidebar .search input {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: var(--docs-text);
    font-size: 14px;
    outline: none;
  }
  
  .sidebar .search input:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 2px color-mix(
      in srgb,
      var(--theme-color) 15%,
      transparent
    );
  }
  
  .sidebar .search input::placeholder {
    color: #94a3b8;
  }
  
  
  /* ------------------------------------------
     Header navigation
     ------------------------------------------ */
  
  .app-nav {
    margin-top: 24px;
    margin-right: 40px;
  }
  
  .app-nav a {
    color: #475569;
    font-size: 15px;
    font-weight: 600;
  }
  
  .app-nav a.active {
    color: var(--theme-color);
  }
  
  
  /* ------------------------------------------
     Lists
     ------------------------------------------ */
  
  .markdown-section li {
    margin: .35em 0;
  }
  
  .markdown-section li::marker {
    color: #94a3b8;
  }
  
  
  /* ------------------------------------------
     Code
     ------------------------------------------ */
  
  .markdown-section code {
    background: var(--docs-code-bg);
    border: 1px solid #e8ebef;
    border-radius: 4px;
    padding: 2px 5px;
  }
  
  .markdown-section pre {
    background: var(--docs-code-bg);
    border: 1px solid var(--docs-border);
    border-radius: 7px;
    padding: 0 1.25rem;
  }
  
  .markdown-section pre > code {
    background: transparent;
    border: 0;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
  }
  
  
  /* ------------------------------------------
     Tables
     ------------------------------------------ */
  
  .markdown-section table {
    border: 1px solid var(--docs-border);
    border-radius: 6px;
    overflow: auto;
  }
  
  .markdown-section td,
  .markdown-section th {
    border-color: var(--docs-border);
    padding: 9px 12px;
  }
  
  .markdown-section th {
    background: #f8fafc;
    color: var(--docs-heading);
  }
  
  .markdown-section tr:nth-child(2n) {
    background: #fafbfc;
  }
  
  
  /* ------------------------------------------
     Blockquotes / notices
     ------------------------------------------ */
  
  .markdown-section blockquote {
    border-left: 4px solid var(--theme-color);
    background: #f8fafc;
    color: #526375;
    margin: 1.75em 0;
    padding: 12px 18px;
  }
  
  .markdown-section blockquote p {
    font-weight: 400;
  }
  
  
  /* ------------------------------------------
     Horizontal rules
     ------------------------------------------ */
  
  .markdown-section hr {
    border-bottom-color: var(--docs-border);
    margin: 2.5em 0;
  }
  
  
  /* ------------------------------------------
     Mobile
     ------------------------------------------ */
  
  @media screen and (max-width: 768px) {
  
    body {
      font-size: 16px;
    }
  
    .markdown-section {
      max-width: none;
      padding: 30px 22px 60px;
    }
  
    .markdown-section h1 {
      font-size: 1.9rem;
    }
  
    .markdown-section h2 {
      font-size: 1.5rem;
    }
  
  }