/* Change RTD blue to your preferred color */
.wy-side-nav-search, .wy-nav-top {
    background: #001F33 !important; /* Replace with your color */
}

/* Controls the Sidebar Search Name */
.wy-side-nav-search > a {
    font-size: 1.8em !important; /* Adjust as needed */
    font-weight: bold;
}

.wy-menu-vertical a {
    font-size: 120% !important; /* Increase as needed, e.g., 120%, 1.1em, 18px */
}
.wy-menu-vertical a {
    color: #9a86d5 !important; /* Muted dark purple for readability */
}
/* Sidebar menu links: default, hover, active, and submenu states */
.wy-menu-vertical a,
.wy-menu-vertical li.toctree-l2 > a,
.wy-menu-vertical li.toctree-l3 > a,
.wy-menu-vertical li.toctree-l4 > a {
    color: #927bd8 !important; /* Muted dark purple for readability */
}

.wy-menu-vertical a:hover,
.wy-menu-vertical a:focus,
.wy-menu-vertical li.current > a,
.wy-menu-vertical li.toctree-l2.current > a,
.wy-menu-vertical li.toctree-l3.current > a {
    color: #1a1833 !important; /* Even darker for active/hovered links */
    background: #e0dff6 !important; /* Optional: subtle background for active */
}
.wy-menu-vertical a:hover,
.wy-menu-vertical a:focus,
.wy-menu-vertical li.current > a {
    color: #1a1833 !important; /* Even darker for active/hovered links */
    background: #e0dff6 !important; /* Optional: subtle background for active */
}

/* Optional: make sure submenu links are also styled */
.wy-menu-vertical li.toctree-l2 > a {
    color: #3d2c70 !important;
}
/* Make link text less bright in the main content */
.rst-content a,
.rst-content a:visited {
    color: #6a4fa3 !important; /* Softer purple, adjust as needed */
    text-decoration: underline;
}

/* Optional: Change link color on hover for better accessibility */
.rst-content a:hover {
    color: #3d2c70 !important; /* Even darker on hover */
}

/* custom.css - ensure center placeholder visibility */
[data-center-var] {
  color: inherit !important;
  display: inline !important;
  font-size: inherit !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* code inside pre should preserve formatting */
pre > code[data-center-var] {
  white-space: pre !important;
}

/* make the floating select obviously visible while debugging */
#center-select-container { z-index: 99999 !important; }
#center-select { font-size: 0.9rem !important; }
#center-select-wrapper {
  margin: 6px 0;
}

#center-select-wrapper label {
  color: #ffffff;  /* matches RTD text */
}

#center-select {
  font-size: 0.85rem;
}
/* Make footnote references inline (not superscript) */
a.footnote-reference {
  vertical-align: baseline;
  font-size: 1em;
}

/* Some themes use <sup> around them */
sup.footnote-reference {
  vertical-align: baseline;
  font-size: 1em;
}

a.footnote-reference::before { content: "["; }
a.footnote-reference::after  { content: "]"; }