html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
}

/* .docs-container {
  display: flex;
  align-items: stretch;
  min-height: 100vh;
  padding-bottom: 2rem; 
  box-sizing: border-box;
} */

.doc-container.container {
  max-width: none;
  width: 100%;
  margin: 0 !important;
  /* padding: 0 !important; */
  padding: 1.5rem !important;
}

.docs-container {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 100vh;
  gap: 0;
  padding-bottom: 10rem; 

}

/* OUTER = background column */
.docs-sidebar {
  flex: 0 0 300px;
  background: none !important;
  border-right: 0 !important;
  box-sizing: border-box;
}

/* INNER = sticky content */
.docs-sidebar-inner {
  position: sticky;
  top: 0;
  padding: 0.5rem;
  /* box-sizing: border-box; */
  background: #f8f9fa;
  /* border-right: 1px solid #ddd; */
  padding-bottom: 1rem; 
}

.docs-content {
  flex: 1 1 0;
  min-width: 0;
  padding: 1rem 2rem 0 1.5rem;
  box-sizing: border-box;
  padding-left: 0 !important;
  /* justify-content: left !important; */
}

.docs-content::after {
  content: "";
  display: block;
  height: 60vh;
}

@media (max-width: 800px) {
  .docs-container {
    flex-direction: column;
  }

  .docs-sidebar {
    width: 100%;
    flex: none;
    border-right: 0;
    border-bottom: 1px solid #ddd;
  }
}

/* html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
}

#page-header,
#page-footer {
  flex: 0 0 auto;
}

.docs-container {
  display: flex;
  min-height: 100vh;
  align-items: flex-start;
}

.docs-sidebar {
  flex: 0 0 300px;
  min-width: 200px;
  max-width: 320px;
  background: #f8f9fa;
  padding: 1.5rem;
  border-right: 1px solid #ddd;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
  */

.docs-sidebar a {
  display: block;
  padding: 0.25rem 0;
  color: #366599;
  text-decoration: none;
}

.docs-sidebar a.active {
  font-weight: bold;
}

/*
.docs-section {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #666;
}

.docs-content {
  flex: 1 1 auto;
  min-width: 0;
  padding: 2rem;
  overflow-x: auto;
  padding-top: 0;
}

.docs-content::after {
  content: "";
  display: block;
  height: 60vh;
} */



/* @media (max-width: 800px) {
  .docs-container {
    flex-direction: column;
  }
  .docs-sidebar {
    position: relative;
    height: auto;
    max-width: 100%;
  }
} */


/* subsection styling */
.docs-sub {
  /* margin-left: 0.5rem; */
  margin-top: 0.2rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}
.docs-sub a {
  display:block;
  padding: 0.18rem 0;
  color: #555;
  text-decoration: none;
}
.docs-sub a.active-sub {
  color: #366599;
  font-weight: 600;
}

/* Subsection indentation */
.sub-level-1 {
  margin-left: 0.5rem;
  font-size: 0.95rem;
}

.sub-level-2 {
  margin-left: 1rem;
  font-size: 0.9rem;
}

/* Help doc css */
.doc-container {
    --brand:#366599;
    /* --ink:#061e50; */
    --ink:#323A6A;
    --light:#f8fafc;
    margin: 0 !important;
    padding: 1.5rem !important;
  }

  .doc-section {
  margin-top: 2rem;
  padding: 1rem;
  /* border-left: 1px solid #366599; */
  background: #f8fafc;
}

  .doc-section h4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--ink);
  }

  .doc-section h5 {
    margin-top: 2.5rem;
    color: var(--ink);
  }

  .doc-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .doc-image {
    display: block;
    max-width: 100%;
    height: auto;
    border: 3px solid var(--brand);
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    /* cursor: zoom-in; */
  }

  .doc-callout {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #77bb88;
    color: #fff;
    font: 700 13px/26px Arial, sans-serif;
    text-align: center;
    text-decoration: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 2px #fff;
    transition: transform 0.15s ease;
  }

  .doc-callout:hover {
    transform: translate(-50%, -50%) scale(1.1);
  }

  .doc-callout:hover::after {
    content: attr(data-label);
    position: absolute;
    left: 32px;
    top: -5px;
    background: #222;
    color: #fff;
    padding: 5px 8px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 4px;
  }

  .doc-description-list {
    margin-top: 1rem;
  }

  .doc-description-list .list-group-item {
    font-size: 1rem;
  }

  .doc-description-list .fw-bold {
    color: var(--ink);
  }

  