[data-md-color-scheme="slate"] {
    .md-typeset a, 
    abbr {
        color: #ebebeb;
    }

    .md-typeset a:hover {
        color: #ebebeb;
    }

    .md-typeset table:not([class]) {
        background-color: #0b0c0fab;
    }
}

[data-md-color-scheme="default"] {
    .md-typeset a,
    abbr {
        color: #141414;
    }

    .md-typeset a:hover {
        color: #141414;
    }

    .md-typeset table:not([class]) {
        background-color: #d4d4d4b0;
    }
}

.md-typeset abbr {
    border-bottom: solid 1px;
    text-decoration: none;
}

/* Core styles */
hr {
  height: 4px;
  border-radius: 2px;
  border: none !important;
  border-bottom: none;
  background-color: #1b1d24; /* Set the line color */
  color: #1b1d24;
}

small {
    font-size: 14px;
}

h1 {
    margin-bottom: 0px !important;
}

h2 {
    margin-top: 2 !important;
    margin-bottom: 0px !important;
}

h3,
h4,
h5,
h6 {
    margin-top: 1 !important;
    margin-bottom: 0px !important;
}

p {
    font-size: 16px;
}

details {
    border-radius: 6px !important;
}

/* Code block line numbers */
.md-typeset .linenodiv pre a {
    color: #8b8686;
    line-height: 0px;
}

.md-typeset .linenodiv pre a:hover {
    color: var(--md-code-hl-color);
}

/* Remove link underline and add border-bottom */
.md-typeset a:not(.tabbed-labels a, .md-social a, .md-typeset .linenodiv pre a) {
    text-decoration: none;
}

.md-typeset a:not(.tabbed-labels a, .md-social a, .md-typeset .linenodiv pre a):hover {
    border-bottom: solid 1px;
}

/* Table full width and rounded corners */
.md-typeset__table {
    min-width: 100%;
    margin-bottom: 0px !important;
}

.md-typeset table:not([class]) {
    display: table;
    border-radius: 6px;
    overflow: hidden;
    border-spacing: 0;
    border-collapse: separate;
    border-top: none;
    font-size: 14px;

    td, th {
        padding: 10px;
    }
}

/* Hide empty table cells and headers */
.md-typeset td:empty,
.md-typeset th:empty,
.md-typeset td:has(> br:only-child),
.md-typeset th:has(> br:only-child) {
    display: none;
    border: none;
}

.md-typeset thead tr:not(:has(th:not(:empty, :has(> br:only-child)))) {
    display: none;
    border: none;
}

/* Style for documentation member blocks */
.member-block {
    color-scheme: dark;
    overflow-wrap: break-word;
    line-height: 1.25;
    box-sizing: inherit;
    font-feature-settings: "kern";
    font-family: var(--md-code-font-family);
    color: var(--md-code-fg-color);
    direction: ltr;
    font-variant-ligatures: none;
    background-color: var(--md-code-bg-color);
    border-radius: 6px;
    font-size: 14px;
    box-decoration-break: slice;
    box-shadow: none;
    overflow: auto;
    padding: 0.95em 1em;
    scrollbar-color: var(--md-default-fg-color--lighter) #0000;
    scrollbar-width: thin;
    touch-action: auto;
    word-break: normal;
    display: block;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    white-space: pre-wrap;
}

.font-code {
    font-feature-settings: "kern";
    font-family: var(--md-code-font-family);
}

.text-deprecated {
    opacity: 0.5;
}

/* Code blocks */
.md-typeset pre {
    code {
        border-radius: 6px;
    }
}

/* Inline tag */
.inline-tag {
    display: inline-block;
}

.noval {
    opacity: 0.8;
    display: inline;
}

.return-description {
    font-size: 1em;
    color: var(--md-code-fg-color--lighter);
}

/* Content width */
/* .md-grid {
    max-width: 1080px;
} */