/* Pure black dark mode - matching Tinker style */
[data-md-color-scheme="slate"] {
 /* Main backgrounds - pure black */
 --md-default-bg-color: #000000;
 --md-default-fg-color: #ffffff;
  /* All background variations to black/dark gray */
 --md-default-bg-color--light: #0a0a0a;
 --md-default-bg-color--lighter: #121212;
 --md-default-bg-color--lightest: #1a1a1a;
  /* Code blocks - dark background */
 --md-code-bg-color: #1a1a1a;
 --md-code-fg-color: #e0e0e0;
 --md-code-hl-color: rgba(255, 255, 255, 0.1);
  /* Code syntax highlighting colors */
 --md-code-hl-number-color: #a5d6ff;
 --md-code-hl-special-color: #ff7b72;
 --md-code-hl-function-color: #d2a8ff;
 --md-code-hl-constant-color: #79c0ff;
 --md-code-hl-keyword-color: #ff7b72;
 --md-code-hl-string-color: #a5d6a5;
 --md-code-hl-name-color: #ffa657;
 --md-code-hl-operator-color: #ff7b72;
 --md-code-hl-punctuation-color: #c9d1d9;
 --md-code-hl-comment-color: #8b949e;
 --md-code-hl-generic-color: #d2a8ff;
 --md-code-hl-variable-color: #ffa657;
  /* Sidebar/navigation */
 --md-typeset-color: #e0e0e0;
 --md-typeset-a-color: #5b9dd9;
  /* Header */
 --md-primary-fg-color: #000000;
 --md-primary-fg-color--light: #1a1a1a;
 --md-primary-fg-color--dark: #000000;
 --md-primary-bg-color: #ffffff;
 --md-primary-bg-color--light: #e0e0e0;
  /* Accent (links, buttons) */
 --md-accent-fg-color: #5b9dd9;
 --md-accent-fg-color--transparent: rgba(91, 157, 217, 0.1);
 --md-accent-bg-color: #000000;
 --md-accent-bg-color--light: #0a0a0a;
  /* Remove all blue tints from backgrounds */
 --md-hue: 0;
  /* Tables */
 --md-typeset-table-color: rgba(255, 255, 255, 0.05);
  /* Shadows - make them darker/black based */
 --md-shadow-z1: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.5);
 --md-shadow-z2: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.7);
 --md-shadow-z3: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.9);
  /* Footer */
 --md-footer-bg-color: #0a0a0a;
 --md-footer-bg-color--dark: #000000;
 --md-footer-fg-color: #e0e0e0;
  /* Admonitions */
 --md-admonition-bg-color: #0a0a0a;
}



/* Ensure body and all major containers are pure black */
[data-md-color-scheme="slate"] body {
 background-color: #000000;
}



[data-md-color-scheme="slate"] .md-main {
 background-color: #000000;
}



[data-md-color-scheme="slate"] .md-sidebar {
 background-color: #000000;
}



/* Header with white line separator in dark mode */
[data-md-color-scheme="slate"] .md-header {
 background-color: #000000;
 border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}



[data-md-color-scheme="slate"] .md-tabs {
 background-color: #000000;
}



/* Light mode header border */
[data-md-color-scheme="default"] .md-header {
 border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}



/* ============================
   CLICKABLE HEADER TITLE
   ============================ */

/* Make the header title clickable and styled */
.md-header__title {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.md-header__title:hover {
  opacity: 0.7;
}

/* Ensure the title text itself is clickable */
.md-header__ellipsis {
  pointer-events: auto;
}

/* Make sure the title link works */
.md-header__title .md-header__button {
  pointer-events: none;
}

/* Style for the clickable title text */
[data-md-color-scheme="slate"] .md-header__title {
  color: #ffffff;
}

[data-md-color-scheme="default"] .md-header__title {
  color: #000000;
}



/* Navigation items */
[data-md-color-scheme="slate"] .md-nav {
 background-color: #000000;
}



/* Regular navigation links - gray color */
[data-md-color-scheme="slate"] .md-nav__link {
 color: #9ca3af !important;
 border-radius: 0.3rem;
 transition: background-color 0.2s ease;
}



/* Hover effect - light gray box */
[data-md-color-scheme="slate"] .md-nav__link:hover {
 background-color: rgba(255, 255, 255, 0.05);
}



/* Active/current page - blue text */
[data-md-color-scheme="slate"] .md-nav__link--active {
 color: #5b9dd9 !important;
 font-weight: 500;
}



/* Active navigation item */
[data-md-color-scheme="slate"] .md-nav__item--active > .md-nav__link {
 color: #5b9dd9 !important;
 font-weight: 500;
}



/* Section headers - white and bold */
[data-md-color-scheme="slate"] .md-nav__item--section > .md-nav__link {
 color: #ffffff !important;
 font-weight: 700 !important;
}



/* Remove hover effect from section headers */
[data-md-color-scheme="slate"] .md-nav__item--section > .md-nav__link:hover {
 background-color: transparent !important;
}



/* Title/logo at top - white and bold */
[data-md-color-scheme="slate"] .md-nav__title {
 color: #ffffff !important;
 font-weight: 700 !important;
}



/* Content area */
[data-md-color-scheme="slate"] .md-content {
 background-color: #000000;
}



/* Make all headings bold and white for dark mode */
.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
.md-typeset h5,
.md-typeset h6 {
 font-weight: 700 !important;
}



[data-md-color-scheme="slate"] .md-typeset h1,
[data-md-color-scheme="slate"] .md-typeset h2,
[data-md-color-scheme="slate"] .md-typeset h3,
[data-md-color-scheme="slate"] .md-typeset h4,
[data-md-color-scheme="slate"] .md-typeset h5,
[data-md-color-scheme="slate"] .md-typeset h6 {
 color: #ffffff !important;
}



/* Code blocks - reduced padding for both light and dark modes */
.md-typeset pre {
 padding: 0.6rem 1rem !important;
 margin: 1em 0 !important;
 border-radius: 0.5rem;
 line-height: 1.5;
 position: relative;
}



.md-typeset pre > code {
 padding: 0 !important;
 margin: 0 !important;
}



/* Dark mode code blocks */
[data-md-color-scheme="slate"] .highlight pre,
[data-md-color-scheme="slate"] .highlight code {
 background-color: #1a1a1a !important;
 color: #e0e0e0;
}



[data-md-color-scheme="slate"] pre code.hljs {
 background-color: #1a1a1a !important;
}



[data-md-color-scheme="slate"] .md-typeset pre {
 background-color: #1a1a1a;
}



[data-md-color-scheme="slate"] .md-typeset code {
 background-color: #1a1a1a;
 color: #e0e0e0;
}



/* Light mode code blocks */
[data-md-color-scheme="default"] .md-typeset pre {
 background-color: #f6f8fa;
}



[data-md-color-scheme="default"] .md-typeset code {
 background-color: #f6f8fa;
 color: #24292e;
}



/* Inline code - gray background with white/light gray text */
[data-md-color-scheme="slate"] .md-typeset :not(pre) > code {
 background-color: #2a2a2a !important;
 color: #e0e0e0 !important;
 padding: 0.15rem 0.4rem;
 border-radius: 0.3rem;
 font-size: 0.85em;
}



/* Inline code for light mode */
[data-md-color-scheme="default"] .md-typeset :not(pre) > code {
 background-color: #f6f8fa !important;
 color: #24292e !important;
 padding: 0.15rem 0.4rem;
 border-radius: 0.3rem;
 font-size: 0.85em;
}



/* Code block syntax highlighting */
[data-md-color-scheme="slate"] .highlight .k,
[data-md-color-scheme="slate"] .highlight .kn {
 color: #ff7b72 !important;
 font-weight: normal;
}



[data-md-color-scheme="slate"] .highlight .n,
[data-md-color-scheme="slate"] .highlight .nb {
 color: #d2a8ff !important;
}



[data-md-color-scheme="slate"] .highlight .s,
[data-md-color-scheme="slate"] .highlight .s1,
[data-md-color-scheme="slate"] .highlight .s2 {
 color: #a5d6a5 !important;
}



[data-md-color-scheme="slate"] .highlight .o {
 color: #ff7b72 !important;
}



[data-md-color-scheme="slate"] .highlight .p {
 color: #c9d1d9 !important;
}



[data-md-color-scheme="slate"] .highlight .nc {
 color: #ffa657 !important;
}



[data-md-color-scheme="slate"] .highlight .nf {
 color: #d2a8ff !important;
}



[data-md-color-scheme="slate"] .highlight .c,
[data-md-color-scheme="slate"] .highlight .c1 {
 color: #8b949e !important;
 font-style: italic;
}



[data-md-color-scheme="slate"] .highlight .m,
[data-md-color-scheme="slate"] .highlight .mi,
[data-md-color-scheme="slate"] .highlight .mf {
 color: #a5d6ff !important;
}



[data-md-color-scheme="slate"] .highlight .na {
 color: #79c0ff !important;
}



[data-md-color-scheme="slate"] .highlight .bp {
 color: #ffa657 !important;
}



/* Hide copy button by default, show only on hover */
.md-clipboard {
  opacity: 0 !important;
  transition: opacity 0.2s ease !important;
}



.md-typeset pre:hover .md-clipboard,
.md-typeset div.highlight:hover .md-clipboard {
  opacity: 1 !important;
}



/* Ensure the code block itself has no extra borders/backgrounds */
[data-md-color-scheme="slate"] .md-typeset .highlight {
 background-color: transparent !important;
}



[data-md-color-scheme="slate"] .md-typeset div.highlight {
 background-color: transparent !important;
 border: none !important;
}



/* Style the copy button for dark mode */
[data-md-color-scheme="slate"] .md-clipboard {
  background-color: #2a2a2a !important;
  border-radius: 0.5rem !important;
  color: #e0e0e0 !important;
}



[data-md-color-scheme="slate"] .md-clipboard:hover {
  background-color: #3a3a3a !important;
  border-radius: 0.5rem !important;

}



/* Reorder header elements: Search | Theme toggle | GitHub */
.md-header__inner {
 display: flex;
 flex-direction: row;
}



/* Move search to before theme toggle and GitHub */
.md-header__option {
 order: 2;
}



.md-header__source {
 order: 3;
}



[data-md-component="search"] {
 order: 1;
}



/* Adjust spacing */
.md-header [data-md-component="search"] {
 margin-right: 1rem;
}



/* LIGHT MODE STYLES */



/* Light mode - Section headers black and bold */
[data-md-color-scheme="default"] .md-nav__item--section > .md-nav__link {
 color: #000000 !important;
 font-weight: 700 !important;
}



/* Light mode - title at top - black and bold */
[data-md-color-scheme="default"] .md-nav__title {
 color: #000000 !important;
 font-weight: 700 !important;
}



/* Light mode - Regular navigation links (subsections) - gray */
[data-md-color-scheme="default"] .md-nav__link {
 color: #5f6368 !important;
 border-radius: 0.3rem;
 transition: background-color 0.2s ease;
}



/* Light mode - Hover effect */
[data-md-color-scheme="default"] .md-nav__link:hover {
 background-color: rgba(0, 0, 0, 0.05);
}



/* Light mode - Remove hover effect from section headers */
[data-md-color-scheme="default"] .md-nav__item--section > .md-nav__link:hover {
 background-color: transparent !important;
}



/* Light mode - Active/current page - blue text */
[data-md-color-scheme="default"] .md-nav__link--active {
 color: #1a73e8 !important;
 font-weight: 500;
}



/* Light mode - Active navigation item */
[data-md-color-scheme="default"] .md-nav__item--active > .md-nav__link {
 color: #1a73e8 !important;
 font-weight: 500;
}



/* Light mode - Page title ) - black and bold */
[data-md-color-scheme="default"] .md-typeset h1 {
 color: #000000 !important;
 font-weight: 700 !important;
}



/* Table styling - Tinker style */
[data-md-color-scheme="slate"] .md-typeset table:not([class]) {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0.3rem;
  overflow: hidden;
  background-color: transparent;
  font-size: 0.8rem;
}



/* Table headers - dark gray background */
[data-md-color-scheme="slate"] .md-typeset table:not([class]) thead {
  background-color: #1a1a1a;
}



[data-md-color-scheme="slate"] .md-typeset table:not([class]) th {
  background-color: #1a1a1a;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}



[data-md-color-scheme="slate"] .md-typeset table:not([class]) th:last-child {
  border-right: none;
}



/* Table body cells */
[data-md-color-scheme="slate"] .md-typeset table:not([class]) td {
  background-color: #000000;
  color: #e0e0e0;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  vertical-align: top;
  line-height: 1.5;
}



[data-md-color-scheme="slate"] .md-typeset table:not([class]) td:last-child {
  border-right: none;
}



[data-md-color-scheme="slate"] .md-typeset table:not([class]) tbody tr:last-child td {
  border-bottom: none;
}



/* Style for section titles within table cells */
[data-md-color-scheme="slate"] .md-typeset table:not([class]) td strong:first-child {
  color: #ffffff;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}



/* Regular text within cells - smaller font */
[data-md-color-scheme="slate"] .md-typeset table:not([class]) td p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}



/* Code snippets within table cells */
[data-md-color-scheme="slate"] .md-typeset table:not([class]) td code {
  background-color: #2a2a2a;
  color: #e0e0e0;
  padding: 0.1rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  display: block;
  margin: 0.15rem 0;
  font-family: 'Roboto Mono', monospace;
  line-height: 1.4;
}



/* Light mode table styling */
[data-md-color-scheme="default"] .md-typeset table:not([class]) {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0.3rem;
  overflow: hidden;
  background-color: transparent;
  font-size: 0.8rem;
}



[data-md-color-scheme="default"] .md-typeset table:not([class]) thead {
  background-color: #f6f8fa;
}



[data-md-color-scheme="default"] .md-typeset table:not([class]) th {
  background-color: #f6f8fa;
  color: #000000;
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.85rem;
}



[data-md-color-scheme="default"] .md-typeset table:not([class]) th:last-child {
  border-right: none;
}



[data-md-color-scheme="default"] .md-typeset table:not([class]) td {
  background-color: #ffffff;
  color: #24292e;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  vertical-align: top;
  line-height: 1.5;
}



[data-md-color-scheme="default"] .md-typeset table:not([class]) td:last-child {
  border-right: none;
}



[data-md-color-scheme="default"] .md-typeset table:not([class]) tbody tr:last-child td {
  border-bottom: none;
}



[data-md-color-scheme="default"] .md-typeset table:not([class]) td strong:first-child {
  color: #000000;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}



[data-md-color-scheme="default"] .md-typeset table:not([class]) td p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}



[data-md-color-scheme="default"] .md-typeset table:not([class]) td code {
  background-color: #f6f8fa;
  color: #24292e;
  padding: 0.1rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  display: block;
  margin: 0.15rem 0;
  font-family: 'Roboto Mono', monospace;
  line-height: 1.4;
}



/* ============================
   FOOTER NAVIGATION STYLING
   ============================ */


/* Footer - consistent styling for both modes */
.md-footer {
  border-top: none;
}


[data-md-color-scheme="slate"] .md-footer {
  background-color: #000000;
}


[data-md-color-scheme="default"] .md-footer {
  background-color: #ffffff;
}


/* Standardize footer inner padding for both modes */
.md-footer__inner {
  padding: 0.4rem 0 !important;
  margin: 0 auto;
  max-width: 61rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}


/* Footer navigation container */
.md-footer-nav {
  display: flex;
  justify-content: space-between;
  padding: 0;
}


/* Footer navigation links (Previous/Next) - standardized for both modes */
.md-footer__link {
  padding: 1rem 0 !important;
  font-size: 0.75rem;
  transition: color 0.2s ease;
  text-decoration: none;
  flex: 1;
}


[data-md-color-scheme="slate"] .md-footer__link {
  color: #e0e0e0;
}


[data-md-color-scheme="default"] .md-footer__link {
  color: #5f6368;
}


[data-md-color-scheme="slate"] .md-footer__link:hover {
  color: #5b9dd9;
}


[data-md-color-scheme="default"] .md-footer__link:hover {
  color: #1a73e8;
}


/* Page title in footer links */
.md-footer__title {
  font-size: 0.75rem;
  font-weight: 400;
}


[data-md-color-scheme="slate"] .md-footer__title {
  color: #e0e0e0;
}


[data-md-color-scheme="default"] .md-footer__title {
  color: #5f6368;
}


/* Previous/Next direction labels */
.md-footer__direction {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 400;
}


[data-md-color-scheme="slate"] .md-footer__direction {
  color: #9ca3af;
}


[data-md-color-scheme="default"] .md-footer__direction {
  color: #5f6368;
}


/* Copyright footer section - standardized spacing */
.md-footer-meta {
  border-top: none !important;
}


[data-md-color-scheme="slate"] .md-footer-meta {
  background-color: #000000 !important;
}


[data-md-color-scheme="default"] .md-footer-meta {
  background-color: #ffffff !important;
}


/* Standardize footer-meta content width */
.md-footer-meta__inner {
  max-width: 61rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}


/* Copyright text styling - comprehensive selectors */
[data-md-color-scheme="slate"] .md-footer-meta,
[data-md-color-scheme="slate"] .md-footer-meta *,
[data-md-color-scheme="slate"] .md-footer-copyright,
[data-md-color-scheme="slate"] .md-footer-copyright *,
[data-md-color-scheme="slate"] .md-footer-copyright__highlight,
[data-md-color-scheme="slate"] .md-typeset .md-footer-copyright {
  color: #9ca3af !important;
}


[data-md-color-scheme="default"] .md-footer-meta,
[data-md-color-scheme="default"] .md-footer-meta *,
[data-md-color-scheme="default"] .md-footer-copyright,
[data-md-color-scheme="default"] .md-footer-copyright *,
[data-md-color-scheme="default"] .md-footer-copyright__highlight,
[data-md-color-scheme="default"] .md-typeset .md-footer-copyright {
  color: #5f6368 !important;
}


/* Last updated timestamp styling */
[data-md-color-scheme="slate"] .md-source-file__fact {
  color: #9ca3af !important;
  font-size: 0.65rem;
}


[data-md-color-scheme="default"] .md-source-file__fact {
  color: #5f6368 !important;
  font-size: 0.65rem;
}


/* ============================
   ENHANCED SEARCH BAR STYLING
   ============================ */


/* Search form container */
.md-search__form {
  position: relative;
  border-radius: 0.5rem !important;
}


/* Dark mode search input - MCP-inspired styling */
[data-md-color-scheme="slate"] .md-search__input {
  background-color: #1a1a1a !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 0.5rem !important;
  padding: 0.35rem 2.5rem 0.35rem 2.5rem !important;
  color: #e0e0e0 !important;
  font-size: 0.875rem !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  line-height: 1.5 !important;
}


[data-md-color-scheme="slate"] .md-search__input:hover {
  border-color: rgba(255, 255, 255, 0.25) !important;
  background-color: #222222 !important;
}


[data-md-color-scheme="slate"] .md-search__input:focus {
  border-color: rgba(91, 157, 217, 0.6) !important;
  background-color: #222222 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(91, 157, 217, 0.1) !important;
}


[data-md-color-scheme="slate"] .md-search__input::placeholder {
  color: #808080 !important;
  opacity: 1 !important;
}


/* Light mode search input - MCP-inspired styling */
[data-md-color-scheme="default"] .md-search__input {
  background-color: #f5f5f5 !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 0.5rem !important;
  padding: 0.35rem 2.5rem 0.35rem 2.5rem !important;
  color: #24292e !important;
  font-size: 0.875rem !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  line-height: 1.5 !important;
}


[data-md-color-scheme="default"] .md-search__input:hover {
  border-color: rgba(0, 0, 0, 0.2) !important;
  background-color: #ffffff !important;
}


[data-md-color-scheme="default"] .md-search__input:focus {
  border-color: rgba(26, 115, 232, 0.6) !important;
  background-color: #ffffff !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1) !important;
}


[data-md-color-scheme="default"] .md-search__input::placeholder {
  color: #5f6368 !important;
  opacity: 1 !important;
}


/* Search icon styling */
[data-md-color-scheme="slate"] .md-search__icon {
  color: #808080 !important;
  left: 0.75rem !important;
}


[data-md-color-scheme="default"] .md-search__icon {
  color: #5f6368 !important;
  left: 0.75rem !important;
}


/* Search icon on focus */
[data-md-color-scheme="slate"] .md-search__form:focus-within .md-search__icon {
  color: #5b9dd9 !important;
}


[data-md-color-scheme="default"] .md-search__form:focus-within .md-search__icon {
  color: #1a73e8 !important;
}


/* Search options (clear button) */
[data-md-color-scheme="slate"] .md-search__options {
  right: 0.5rem !important;
}


[data-md-color-scheme="default"] .md-search__options {
  right: 0.5rem !important;
}


/* Wider search bar */
.md-search {
  width: 100%;
  max-width: 25rem;
}


/* Search overlay adjustments */
[data-md-color-scheme="slate"] .md-search__output {
  background-color: #1a1a1a !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}


[data-md-color-scheme="default"] .md-search__output {
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}


/* Search results styling */
[data-md-color-scheme="slate"] .md-search-result__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}


[data-md-color-scheme="default"] .md-search-result__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}


[data-md-color-scheme="slate"] .md-search-result__item:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}


[data-md-color-scheme="default"] .md-search-result__item:hover {
  background-color: rgba(0, 0, 0, 0.03) !important;
}


/* Fix for the search overlay container - ensure rounded corners */
[data-md-color-scheme="slate"] .md-search__inner {
  border-radius: 0.5rem !important;
}


[data-md-color-scheme="default"] .md-search__inner {
  border-radius: 0.5rem !important;
}


/* Scrollable container within search */
[data-md-color-scheme="slate"] .md-search__scrollwrap {
  border-radius: 0.5rem !important;
}


[data-md-color-scheme="default"] .md-search__scrollwrap {
  border-radius: 0.5rem !important;
}


/* ============================
   OVERLAY SOLUTION FOR CLICKABLE LOGO + TITLE AREA
   ============================ */

/* Position container for logo and title */
.md-header__inner {
  position: relative;
}

/* Create clickable overlay area */
.header-brand-overlay {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3rem;
  cursor: pointer !important;
  width: 40rem;
  /* Width will be set by JavaScript based on logo + title width */
}

/* Hover effect changes opacity of logo and title */
.header-brand-overlay:hover ~ .md-header__button.md-logo,
.header-brand-overlay:hover ~ .md-header__title {
  opacity: 0.6;
}

/* Base styles */
.md-header__button.md-logo,
.md-header__title {
  transition: opacity 0.15s ease;
}

/* Reduce gap between logo and title */
.md-header__button.md-logo {
  margin-right: 0.4rem !important;
}

.md-header__title {
  margin-left: 0 !important;
  cursor: pointer !important;
}

[data-md-color-scheme="slate"] .md-header__title {
  color: #ffffff !important;
  font-weight: 700;
}

[data-md-color-scheme="default"] .md-header__title {
  color: #000000 !important;
  font-weight: 700;
}

/* Mobile/Tablet - Add horizontal margins */
@media screen and (max-width: 76.1875em) {
  .md-typeset pre {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
  }
}

/* Desktop - Full width, no horizontal margins */
@media screen and (min-width: 76.25em) {
  .md-typeset pre {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* ============================
   SECTION BREADCRUMB ABOVE PAGE TITLE - MCP STYLE
   ============================ */

/* Add section name above page title */
.md-content__inner::before {
  content: attr(data-md-section);
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0.9rem;
  margin-top: 0;
  text-transform: none;
}

/* Dark mode breadcrumb styling */
[data-md-color-scheme="slate"] .md-content__inner::before {
  color: #9ca3af;
}

/* Light mode breadcrumb styling */
[data-md-color-scheme="default"] .md-content__inner::before {
  color: #5f6368;
}

/* Reduce spacing between breadcrumb and title */
.md-content__inner > h1:first-of-type {
  margin-top: 0.25rem !important;
}

/* ============================
   KEYBOARD SHORTCUT INDICATOR (⌘K)
   ============================ */

/* Add keyboard shortcut badge inside search input */
/* Add keyboard shortcut badge */
.md-search__form::after {
  content: '⌘K';
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  font-family: 'Roboto Mono', monospace;
  font-weight: 500;
  pointer-events: none;
  border-radius: 0.25rem;
  padding: 0.2rem 0.4rem;
  line-height: 1;
  z-index: 10;
}

/* Dark mode indicator */
[data-md-color-scheme="slate"] .md-search__form::after {
  background-color: rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Light mode indicator */
[data-md-color-scheme="default"] .md-search__form::after {
  background-color: rgba(0, 0, 0, 0.04);
  color: #5f6368;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Hide indicator when search is focused or has text */
.md-search__input:focus + .md-search__form::after,
.md-search__input:not(:placeholder-shown) + .md-search__form::after {
  display: none;
}
