/* ==== TOC Styling ==== */
.markdown-preview-view .toc ul {
  list-style: none;
  padding-left: 0.5em;
  margin: 0;
}

.markdown-preview-view .toc li {
  margin: 4px 0;
  padding: 3px 6px;
  border-left: 2px solid var(--background-modifier-border);
  font-size: 0.9em;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.markdown-preview-view .toc li:hover {
  background: var(--background-secondary);
  border-left-color: var(--text-accent);
  color: var(--text-normal);
}

.markdown-preview-view .toc a {
  color: var(--text-normal) !important;
  text-decoration: none;
}

.markdown-preview-view .toc a:hover {
  text-decoration: underline;
}

img[alt*="center"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
