/* Custom styles for the documentation */

/* Enhance code block contrast */
.highlight {
    background-color: #f8f8f8;
}

[data-md-color-scheme="slate"] .highlight {
    background-color: #1c1c1c;
}

/* Style JSON examples */
pre code {
    border-radius: 4px;
}

/* Improve navigation readability */
.md-nav__link {
    padding: 4px 0;
}

.md-nav__item--active > .md-nav__link {
    font-weight: bold;
}

/* Mermaid diagram improvements */
.mermaid {
    background-color: transparent !important;
}

[data-md-color-scheme="slate"] .mermaid {
    background-color: transparent !important;
}

/* Style admonitions */
.md-typeset .admonition,
.md-typeset details {
    border-width: 0;
    border-left-width: 4px;
}

/* Enhance table readability */
.md-typeset table:not([class]) {
    font-size: .75rem;
}

.md-typeset table:not([class]) td,
.md-typeset table:not([class]) th {
    padding: 0.5em 1em;
}
