/* Gray dock for language switch only (version dropdown removed) */
.docs-floating-switches {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: none;
    padding: 0;
    border-top: 1px solid rgba(82, 82, 91, 0.48);
    border-radius: 0;
    background: #a8a8a8;
    box-shadow: none;
    backdrop-filter: none;
}

.docs-floating-switches__item {
    width: 100%;
    max-width: none;
}

.docs-floating-switches .lang-switch {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 3rem;
    padding: 0.95rem 1rem !important;
}

.wy-nav-side {
    position: fixed;
}

.wy-nav-side .wy-side-scroll {
    padding-bottom: 4rem;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .docs-floating-switches {
        position: fixed;
        left: 12px;
        right: auto;
        bottom: 12px;
        width: auto;
        min-width: 176px;
        max-width: calc(100vw - 24px);
        border: 1px solid rgba(82, 82, 91, 0.42);
    }

    .docs-floating-switches__item {
        max-width: calc(100vw - 24px);
    }

    .docs-floating-switches .lang-switch {
        min-height: 0;
        justify-content: center !important;
        padding: 0.75rem 0.85rem !important;
    }

    .wy-nav-side .wy-side-scroll {
        padding-bottom: 0;
    }
}
