.docs-links,
.docs-toc {
    scrollbar-width: none;
}

.docs-links::-webkit-scrollbar,
.docs-toc::-webkit-scrollbar {
    width: 5px;
}

.docs-links::-webkit-scrollbar-track,
.docs-toc::-webkit-scrollbar-track {
    background: $white;
}

.docs-links::-webkit-scrollbar-thumb,
.docs-toc::-webkit-scrollbar-thumb {
    background: $white;
}

.docs-links:hover,
.docs-toc:hover {
    scrollbar-width: thin;
    scrollbar-color: $gray-200 $white;
}

.docs-links:hover::-webkit-scrollbar-thumb,
.docs-toc:hover::-webkit-scrollbar-thumb {
    background: $gray-200;
}

.docs-links::-webkit-scrollbar-thumb:hover,
.docs-toc::-webkit-scrollbar-thumb:hover {
    background: $gray-200;
}

.docs-links h3,
.page-links h3 {
    margin: 1.25rem 0 0.5rem 0;
    padding: 1.5rem 0 0 0;
    font-family: "IBM Plex Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.33px;
    text-transform: uppercase;
}

@include media-breakpoint-up(lg) {
    .docs-links h3,
    .page-links h3 {
        margin: 1.125rem 1.5rem 0.53rem 0;
        padding: 1.375rem 0 0 0;
    }
}

/* .docs-links h3:not(:first-child) {
    border-top: 1px solid $gray-200;
} */

a.docs-link {
    color: $body-color;
    display: block;
    padding: 0.43rem 0;
    white-space: pre;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.page-links li {
    margin-top: 0.375rem;
    padding-top: 0.375rem;
}

.page-links ul ul li {
    border-top: none;
    padding-left: 1rem;
    margin-top: 0.125rem;
    padding-top: 0.125rem;
}

/* .page-links li:not(:first-child) {
    border-top: 1px dashed $gray-200;
} */

.page-links a {
    color: $body-color;
    display: block;
    padding: 0.125rem 0;
    font-size: $font-size-base * 0.9375;
}

.docs-link:hover,
.docs-link.active,
.page-links a:hover {
    text-decoration: none;
    color: $link-color;
}

.docs-links h3.sidebar-link,
.page-links h3.sidebar-link {
    text-transform: none;
    font-size: $font-size-md;
    font-weight: normal;
}

.docs-links h3.sidebar-link a,
.page-links h3.sidebar-link a {
    color: $body-color;
}

.docs-links h3.sidebar-link a:hover,
.page-links h3.sidebar-link a:hover {
    text-decoration: underline;
}
