/* 版本选择器核心样式 - 匹配 RTD 主题风格 */
.version-switcher-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999; /* 确保在最上层，不被RTD侧边栏/底部遮挡 */
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 6px 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* 版本标签文字 */
.version-label {
    font-size: 14px;
    color: #4b5563;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 下拉菜单样式 - 移除默认样式，适配RTD */
.version-select {
    appearance: none;
    background-color: transparent;
    border: none;
    font-size: 14px;
    color: #111827;
    padding: 4px 20px 4px 8px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 16px;
    outline: none;
    min-width: 80px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 交互效果 */
.version-select:hover,
.version-select:focus {
    color: #2563eb; /* RTD 主题蓝色 */
}

/* 下拉选项样式 */
.version-select option {
    padding: 8px;
    background-color: #fff;
}

/* 响应式适配 - 移动端居中 */
@media (max-width: 768px) {
    .version-switcher-container {
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 20px);
        justify-content: center;
    }
}

/* 可选：隐藏RTD主题的其他冗余元素（如需） */
/* .wy-breadcrumbs-aside { display: none; } */ /* 面包屑右侧的源码链接（已通过配置关闭） */

