/* Change font size of ToC entries in the sidebar */
.wy-menu .toctree-l2 a {  /* level 2 links */
    font-size: 16px;      /* Adjust this value as needed */
}

.wy-menu-vertical .toctree-l2 a {
  line-height: 0.6;
}

/* Change font size of ToC entries in the sidebar */
.wy-menu .toctree-l3 a {  /* level 3 links */
    font-size: 16px;      /* Adjust this value as needed */
}

.wy-menu-vertical .toctree-l3 a {
  line-height: 0.6;
}

.index-nav {
  margin: 1em 0;
}

.index-nav a {
  margin-right: 8px;
  font-weight: bold;
  text-decoration: none;
  color: #2980b9;
}

#index-filter {
  width: 100%;
  padding: 8px;
  margin: 1em 0;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.custom-index-list {
  list-style: none;
  padding-left: 0;
}

.custom-index-list li {
  padding: 4px 0;
  font-size: 0.95em;
}

/* Methods / functions (module-level or inside classes) */
.rst-content dl.py.function > dt,
.rst-content dl.py.method > dt {
  background-color: #e0f7fa !important;   /* pick your color */
  /* border-left: 3px solid #00acc1 !important; */
  padding: 6px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

/* Attributes / data (module-level or inside classes) */
.rst-content dl.py.attribute > dt,
.rst-content dl.py.data > dt {
  background-color: #f0f0f0 !important;   /* pick your color */
  /* border-left: 3px solid #e0a800 !important; */
  padding: 6px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

/* (Optional) different colors only when nested under a class */
.rst-content dl.py.class > dd > dl.py.method > dt,
.rst-content dl.py.class > dd > dl.py.function > dt {
  background-color: #e0f7fa !important;
  border-left: 3px solid #6ab0de !important;
  padding: 6px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.rst-content dl.py.class > dd > dl.py.attribute > dt {
   background-color: #f0f0f0 !important;
  /* border-top: 3px solid #e0a800 !important; */
  padding: 6px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}