.tocify-wrapper {
    width: 250px;
    background: #0f172a;
    color: #e2e8f0;
}

.tocify-wrapper .tocify-item > a {
    color: #e2e8f0;
}

.tocify-wrapper .tocify-item > a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.tocify-wrapper .tocify-focus {
    background-color: rgba(129, 140, 248, 0.2);
    box-shadow: inset 3px 0 0 #818cf8;
    color: #fff;
    font-weight: 600;
}

.tocify-wrapper .tocify-subheader {
    background: transparent;
}

#tocify-subheader-stocks-options {
    display: block;
}

body.docs-mboum #tocify-header-stocks-options > li.level-1,
body.docs-mboum .content h1#stocks-options {
    display: none;
}

body.docs-mboum #tocify-subheader-stocks-options > li.tocify-item.level-2 > a {
    padding-left: 15px;
    font-size: 14px;
}

.tocify-wrapper > .search:before {
    content: none;
}

.tocify-wrapper > .search input {
    background-color: #1e293b;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l3 3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 14px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    width: calc(100% - 30px);
    border-radius: 6px;
    padding: 8px 10px 8px 32px;
}

.tocify-wrapper .lang-selector {
    background: transparent;
}

.tocify-wrapper .lang-selector button {
    color: #94a3b8;
}

.tocify-wrapper .toc-footer {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tocify-wrapper .toc-footer a,
.tocify-wrapper .toc-footer li {
    color: #94a3b8 !important;
    font-size: 13px;
    background: transparent;
}

.page-wrapper {
    margin-left: 250px;
    background: #fff;
}

#nav-button.open {
    left: 250px;
}

.content,
.content h1,
.content h2,
.content p,
.content li,
.content table {
    text-shadow: none;
}

.content h1,
.content h2 {
    background-image: none;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    font-weight: 600;
}

body {
    background: #fff;
}

.content > form > h4.fancy-heading-panel,
.content > form > p.docs-header-line,
.content > form > table.docs-params {
    width: calc(50% - 56px);
    max-width: calc(50% - 56px);
    margin-left: 28px;
    margin-right: 28px;
    box-sizing: border-box;
}

.content > form > h4.fancy-heading-panel {
    margin-top: 12px;
    margin-bottom: 8px;
    padding: 6px 10px !important;
}

.content > form > p.docs-header-line {
    display: block;
    margin-top: 0;
    margin-bottom: 12px;
    padding: 0;
    overflow-wrap: anywhere;
}

.docs-header-line code,
.docs-params code {
    font-weight: 600;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: manual;
}

.content > form > table.docs-params {
    display: table;
    table-layout: fixed;
    margin-top: 8px;
    margin-bottom: 18px;
    border-collapse: collapse;
    background: #fff;
    overflow: visible;
}

.docs-params th,
.docs-params td {
    border: 1px solid #e2e8f0;
    padding: 8px 10px;
    vertical-align: top;
    text-align: left;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.docs-params th {
    background: #f8fafc;
    font-size: 12px;
    letter-spacing: 0.02em;
    color: #475569;
    font-weight: 600;
}

.docs-params th:nth-child(1),
.docs-params td:nth-child(1),
.docs-param-name {
    white-space: normal;
    width: 30%;
    min-width: 0;
}

.docs-params td input,
.docs-params td select,
.docs-params td textarea,
.docs-header-line input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 8px 0 0;
}

.docs-params td input[type="radio"],
.docs-params td input[type="checkbox"] {
    width: auto;
    max-width: none;
    margin: 0 6px 0 0;
}

.docs-params th:nth-child(2),
.docs-params td:nth-child(2) {
    width: 14%;
}

.docs-param-type {
    width: 14%;
    color: #64748b;
    font-family: Consolas, Monaco, "Andale Mono", monospace;
    font-size: 13px;
}

.docs-param-desc,
.docs-param-desc li,
.docs-param-desc p,
.docs-param-desc code {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.docs-param-desc p {
    margin: 0 0 8px;
}

.docs-param-desc p:last-child {
    margin-bottom: 0;
}

.docs-param-flag {
    display: block;
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

@media (max-width: 930px) {
    .tocify-wrapper {
        left: -250px;
        width: 250px;
    }

    .tocify-wrapper.open {
        left: 0;
    }

    .page-wrapper {
        margin-left: 0;
    }

    .content > form > h4.fancy-heading-panel,
    .content > form > p.docs-header-line,
    .content > form > table.docs-params {
        width: calc(100% - 56px);
        max-width: none;
        margin-right: 28px;
    }

    .content > form > table.docs-params {
        display: table;
    }
}
