body > div {
  font-family: Mulish;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

div.header-row {
  background-color: #486CA8;
  color: white;
  position: sticky;
  top: 0px;
}
.header-logo {
  padding: 12px 0px;
}
.header-logo img {
  height: 26px;
}
#header-buttons {
  text-align: right;
  padding-right: 40px;
  font-size: 11pt;
}
.header-item a {
  color: white;
  text-decoration: none;
}
#header-buttons a:hover {
  color: rgb(129, 163, 190);
  text-decoration: none;
}
#header-buttons ul li.header-item div {
  padding: 16px 14px;
}
#header-buttons ul li.list-inline-item.header-item {
  margin-right: 0px;
}
#header-buttons ul li.header-green-button-item,
#header-buttons ul li.header-green-outline-item {
  padding: 8px 0px;
  border-radius: 8px;
}
#header-buttons ul li.header-green-button-item > a {
  padding: 8px 20px;
  color: white;
  margin-left: 10px;
  border-radius: 4px;
  background: #09BC8A;
}
#header-buttons ul li.header-green-outline-item > a {
  padding: 8px 20px;
  color: white;
  margin-left: 10px;
  border-radius: 4px;
  border: 1px solid #09BC8A;
}
.header-item-mobile div {
  padding: 10px 16px;
  font-weight: 600;
}
#header-buttons ul.dropdown-menu a.dropdown-item {
  color: #002658;
}
#header-buttons ul.dropdown-menu a.dropdown-item div {
  padding: 5px;
  font-size: 11pt;
}


.green-button {
  padding: 12px 32px;
  color: white;
  border-radius: 4px;
  background: #09BC8A;
  text-decoration: none;
}
#header-buttons ul li.header-green-button-item > a:hover,
#header-buttons ul li.header-green-outline-item > a:hover,
.green-button:hover {
  background: #089970;
}
.dark-blue-button {
  padding: 12px 32px;
  color: white;
  border-radius: 4px;
  background: #002658;
  text-decoration: none;
}
.dark-blue-button:hover {
  background: #064699;
}
a.green-button:hover,
a.dark-blue-button:hover {
  color: white;
}

div.footer-privacy-links a {
  color: inherit;
  text-decoration: none;
}
div.footer-privacy-links a:hover,
div.footer-main-links a:hover {
  text-decoration: underline;
}
div.footer-main-links a {
  color: inherit;
  text-decoration: none;
}

a.link-text {
  text-decoration: none;
}
a.link-text:hover,
a.source-account:hover {
  text-decoration: underline;
}


a.nav-link {
  cursor: pointer;
}

li.nav-item > a.nav-link:hover {
  text-decoration: underline;
}
nav.nav > div > a.nav-link:hover,
div.active-sheet-options-container a.active-sheet-option:hover {
  text-decoration: underline;
  color: lightgray;
  cursor: pointer;
}
li.nav-item > a.nav-link.active {
  background: #b2cfff;
}

.docs-container {
  width: 100%;
  height: calc(100vh - 54px); /* Accounting for header */
  margin-top: 0;
}

.docs-layout {
  display: flex;
  height: calc(100vh - 54px);
}

/* Sidebar Navigation */
.docs-sidebar {
  width: 280px;
  background: #f8f9fa;
  border-right: 1px solid #dee2e6;
  overflow-y: auto;
  /* position: fixed; */
  z-index: 10;
  padding-bottom: 100px;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #dee2e6;
}

.sidebar-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}

/* Search Box */
.docs-search-container {
  padding: 15px 20px;
  border-bottom: 1px solid #dee2e6;
  position: relative;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  color: #6c757d;
  font-size: 0.9rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 8px 35px 8px 35px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: #0056b3;
  box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.1);
}

.clear-icon {
  position: absolute;
  right: 12px;
  color: #6c757d;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s;
}

.clear-icon:hover {
  color: #495057;
}

.search-results {
  position: absolute;
  top: 55px;
  left: 20px;
  right: 20px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
}

.search-result-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f1f3f5;
  transition: background-color 0.2s;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background-color: #f8f9fa;
}

.search-result-item.selected {
  background-color: #e3f2fd;
}

.result-section {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 600;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-subsection {
  font-size: 0.9rem;
  color: #252733;
  font-weight: 500;
}

.sidebar-nav {
  padding: 15px 0;
}

.nav-section {
  margin-bottom: 5px;
}

.nav-section-header {
  padding: 10px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}

.nav-section-header:hover {
  background-color: #e9ecef;
}

.nav-section-label {
  font-weight: 600;
  /* color: #495057; */
  font-size: 0.95rem;
  color: rgb(37, 39, 51);
}

.nav-section-caret {
  color: #6c757d;
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.nav-subsections {
  background: white;
}

.nav-subsection-item {
  display: block;
  padding: 8px 20px 8px 40px;
  color: #6c757d;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.nav-subsection-item:hover {
  background-color: #f1f3f5;
  color: #495057;
  text-decoration: none;
}

.nav-subsection-item.active {
  background-color: #d4e5f7;
  color: #0056b3;
  border-left-color: #0056b3;
  font-weight: 500;
}

/* Main Content Area */
.docs-main {
  flex: 1;
  /* margin-left: 280px; */
  overflow-y: auto;
  height: 100%;
}

.docs-content-wrapper {
  max-width: 900px;
  margin-left: 20px;
  padding: 40px;
}

.docs-content-area {
  background: white;
  min-height: 100%;
}

/* Content styles matching original docs */
.docs-content-area h1.section-top-header {
  font-size: 22pt;
  color: #252733;
  font-weight: 700;
}

.docs-content-area h3 {
  margin-top: 40px;
  color: #252733;
  font-size: 16pt;
  font-weight: 600;
}

.docs-content-area h4 {
  margin-top: 40px;
  color: #252733;
  font-size: 14pt;
  font-weight: 500;
}


.docs-content-area p,
.docs-content-area ol,
.docs-content-area ul {
  color: #4B506D;
  font-size: 11pt;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.docs-content-area ul, 
.docs-content-area ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.docs-content-area li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.docs-content-area ul > li > div,
.docs-content-area ol > li > div {
  font-size: 11pt;
  font-weight: 500;
  color: #4B506D;
}

.docs-content-area code {
  background-color: #f8f9fa;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #e83e8c;
}

.docs-content-area pre {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.docs-content-area pre code {
  background-color: transparent;
  padding: 0;
  color: #212529;
}

.docs-content-area .img-box-shadow-parent {
  margin-bottom: calc(40px - 1rem);
}

.docs-content-area .img-box-shadow {
  display: inline-block;
  border-radius: 4px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.docs-content-area .img-box-shadow > img {
  cursor: zoom-in;
  border-radius: 4px;
  /* width: min(600px, 100%); */
  max-width: 100%;
}

.docs-content-area .link-text {
  color: #1971c2;
  text-decoration: none;
  font-weight: 500;
}

.docs-content-area .link-text:hover {
  text-decoration: underline;
}

/* Next section styling */
.docs-content-area .next-section {
  text-align: right;
  margin-top: 150px;
  padding-bottom: 500px;
  font-size: 13pt;
  font-weight: 700;
}

.docs-content-area .next-section-text {
  display: inline-block;
  margin-right: 6px;
  font-weight: 400;
  font-size: 12pt;
}

/* No content state */
.no-content {
  padding: 4rem 2rem;
  text-align: center;
  color: #6c757d;
}

.no-content h2 {
  font-weight: 300;
}

/* Responsive */
@media (max-width: 992px) {
  .docs-container {
    overflow-y: scroll;
  }

  .docs-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid #dee2e6;
    /* overflow-y: visible; */
  }

  .docs-main {
    margin-left: 0;
    /* overflow-y: visible; */
    /* height: auto; */
  }

  .docs-layout {
    flex-direction: column;
    height: auto;
  }

  .docs-content-wrapper {
    padding: 20px;
  }
}

/* Scroll spy indicator */
.nav-anchor {
  /* scroll-margin-top: 80px; */
  scroll-margin-top: 10px;
}

/* Alert boxes */
.docs-content-area .alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 5px;
}

.docs-content-area .alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.docs-content-area .alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.docs-content-area .alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

/* Tables */
.docs-content-area table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}

.docs-content-area th,
.docs-content-area td {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.docs-content-area thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
  background-color: #f8f9fa;
  font-weight: 600;
}

.docs-content-area tbody tr:hover {
  background-color: #f8f9fa;
}

/* Breadcrumb */
.docs-breadcrumb {
  padding: 0.75rem 0;
  margin-bottom: 1rem;
  background-color: #f8f9fa;
  border-radius: 5px;
  padding-left: 1rem;
}

.docs-breadcrumb ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.docs-breadcrumb li {
  margin: 0;
}

.docs-breadcrumb li + li:before {
  padding: 0 0.5rem;
  color: #6c757d;
  content: "/";
}

.docs-breadcrumb a {
  color: #1971c2;
  text-decoration: none;
}

.docs-breadcrumb a:hover {
  text-decoration: underline;
}

.docs-breadcrumb .active {
  color: #6c757d;
}

.hotkey {
  font-weight: bold;
  text-decoration: underline;
}