/* Toast container: top right */
#toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1080;
    /* Above modals */
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: #0000001a;
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em #0000001a, inset 0 .125em .5em #00000026
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh
}

.bi {
    vertical-align: -.125em;
    fill: currentColor
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8
}

.bd-mode-toggle {
    z-index: 1500
}

.bd-mode-toggle .bi {
    width: 1em;
    height: 1em
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important
}

.offcanvas {
    z-index: 2000 !important;
    /* higher than footer */
}

footer.footer {
    z-index: 500 !important;
    position: fixed;
}

.theme-toggle-btn svg,
.theme-toggle-menu svg {
    width: 1.2rem !important;
    height: 1.2rem !important;
    flex-shrink: 0;
}

.theme-toggle-menu {
    width: 100% !important;
}

.theme-segmented {
    border-radius: 0.75rem;
    background: var(--bs-secondary-bg);
    padding: 4px;
    gap: 4px;
    display: flex;
}

.theme-segmented .seg-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 6px;
    border-radius: 0.5rem;
    color: var(--bs-body-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 0.8rem;
    min-height: 48px;
    transition: all .15s ease;
}

.theme-segmented .seg-btn svg {
    width: 1.2rem;
    height: 1.2rem;
}

/* Highlight active theme */
.theme-segmented .seg-btn.active {
    background: var(--bs-primary);
    color: white;
}

html[data-bs-theme="dark"] .theme-segmented {
    background: rgba(255, 255, 255, 0.07);
}