/* [新增] 底图切换菜单样式 */
.map-toggle-container {
    position: relative;
    display: inline-block;
}

.map-selector-menu {
    position: absolute;
    bottom: 60px; /* 按钮上方 */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 5px 0;
    width: 120px;
    display: none; /* 默认隐藏 */
    flex-direction: column;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.map-selector-menu.active {
    display: flex;
    animation: fadeIn 0.2s;
}

.map-option {
    padding: 8px 15px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}

.map-option:hover {
    background: #f0f0f0;
    color: #4a86e8;
}

.map-option.active {
    font-weight: bold;
    color: #4a86e8;
    background: #e3f2fd;
}

.map-option-divider {
    height: 1px;
    background: #eee;
    margin: 2px 10px;
}

/* 简单的淡入动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}