/** Временное решение с select2 **/
.select2-selection {
    border: 1px solid #dbdade!important;
    border-radius: .375rem !important;
    display: block !important;
    height: initial !important;
}

.select2-selection__rendered {
    line-height: 36px!important;
    display: block !important;
    padding: 0 2rem 0 .8375rem !important;
}

.select2-search {
    line-height: 36px!important;
}

.select2-selection__arrow {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%236f6b7d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='m5 7.5 5 5 5-5' stroke='%23fff' stroke-opacity='.2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    height: 38px !important;
    background-repeat: no-repeat;
    background-position: left center;
    width: 30px !important;
}
.select2-selection__arrow > b {
    display: none!important;
}

.select2-selection__clear {
    font-size: 1.25rem!important;
}

.select2-selection--multiple .select2-selection__clear {
    font-size: 1.25rem!important;
    margin-right: -22px!important;
    margin-top: 0!important;
}

.select2-selection__choice {
    background-color: #d9ebff!important;
    border: none!important;
    padding: 5px 25px 5px 10px!important;
    font-size: 14px!important;
    white-space: normal!important;
}

.select2-selection__choice__remove {
    display: block!important;
    line-height: 30px!important;
}

.form-select.is-valid, .was-validated .form-select:valid {
    background-position: right .875rem center, center right .75rem!important;
}

.docs-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.docs-sidebar {
    position: sticky;
    top: 5.5rem;
}

.docs-menu {
    padding: 1rem;
    background: #fff;
    border: 1px solid #dbdade;
    border-radius: .375rem;
}

.docs-menu__header {
    margin: 1rem 0 .375rem;
    color: #6f6b7d;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.docs-menu__header:first-child {
    margin-top: 0;
}

.docs-menu__link {
    display: block;
    padding: .375rem .5rem;
    color: #4b465c;
    border-radius: .375rem;
}

.docs-menu__link:hover,
.docs-menu__link--active {
    color: #7367f0;
    background: rgba(115, 103, 240, .12);
}

.docs-content {
    min-width: 0;
    color: #4b465c;
}

.docs-content h1,
.docs-content h2,
.docs-content h3 {
    margin-top: 1.5rem;
    margin-bottom: .75rem;
    color: #2f2b3d;
    font-weight: 600;
    line-height: 1.3;
}

.docs-content h1 {
    margin-top: 0;
    font-size: 1.75rem;
}

.docs-content h2 {
    font-size: 1.375rem;
}

.docs-content h3 {
    font-size: 1.125rem;
}

.docs-content p,
.docs-content ul,
.docs-content ol {
    margin-bottom: 1rem;
}

.docs-content pre {
    margin-bottom: 1rem;
    padding: 1rem;
    overflow-x: auto;
    background: #f6f6f8;
    border-radius: .375rem;
}

.docs-content code {
    padding: .125rem .25rem;
    color: #d63384;
    background: #f6f6f8;
    border-radius: .25rem;
}

.docs-content pre code {
    padding: 0;
    color: inherit;
    background: transparent;
}

.docs-content table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.docs-content th,
.docs-content td {
    padding: .75rem;
    border: 1px solid #dbdade;
    vertical-align: top;
}

.docs-content th {
    background: #f6f6f8;
    color: #2f2b3d;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .docs-layout {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        position: static;
    }
}
