.phpdocumentor-search {
    width: 100%;
}

.phpdocumentor-search-results--hidden {
    display: none !important;
}

[data-search-results] .phpdocumentor-search-results__entries {
    max-height: 70vh;
    overflow-y: auto;
}

@media (min-width: 992px) {
    .phpdocumentor-search {
        width: 24rem;
    }
}

.nav > .toc-item {
    list-style: none;
    margin: 0;
}

.nav > .toc-item > a {
    display: block;
    padding: .75rem 1.5rem;
    color: var(--bs-body-color);
    text-decoration: none;
    border-top: 1px solid var(--bs-border-color);
    transition: background-color .15s ease-in-out, color .15s ease-in-out;
}

.nav > .toc-item:first-child > a {
    border-top: 0;
}

.nav > .toc-item > a:hover {
    background-color: var(--bs-tertiary-bg);
    color: var(--bs-primary);
}

.hljs {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    white-space: pre;
    line-height: 1.6;
    font-size: 0.95rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}