/* 基础样式设置 */
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    display: flex;
}
/* 地图容器样式 */
#all_map {
    flex: 1;
    height: 100vh;
    transition: margin-left 0.3s ease;
}

.info {
    z-index: 999;
    width: auto;
    padding: 10px;
    margin-left: 10px;
    position: fixed;
    top: 10px;
    background-color: #fff;
    border-radius: 5px;
    font-size: 14px;
    color: #666;
    box-shadow: 0 2px 6px 0 rgba(27, 142, 236, 0.5);
}
/* 按钮组样式 - 2x2格式 */
ul {
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
}

.btn-wrap {
    z-index: 999;
    width: 246px; /* 100px*2 + 5px*2间距 + 10px*2内边距 = 226px */
    position: fixed;
    bottom: 100px;
    right: 10px;
    padding: 10px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px 0 rgba(27, 142, 236, 0.5);
}

.btn {
    width: 100px;
    height: 30px;
    float: left;
    background-color: #fff;
    color: rgba(27, 142, 236, 1);
    font-size: 14px;
    border: 1px solid rgba(27, 142, 236, 1);
    border-radius: 5px;
    margin: 0 5px 6px;
    text-align: center;
    line-height: 30px;
    box-sizing: border-box; /* 确保边框包含在宽度内 */
}

.btn:hover {
    background-color: rgba(27, 142, 236, 0.8);
    color: #fff;
    cursor: pointer;
}
/* 添加标记按钮的特殊样式 */
.add-marker-btn {
    color: #e74c3c;
    border-color: #e74c3c;
}

.add-marker-btn:hover {
    background-color: rgba(231, 76, 60, 0.8);
}
/* 清除浮动，确保容器正确包裹按钮 */
.btn-wrap::after {
    content: "";
    display: table;
    clear: both;
}
/* 提示信息样式 */
.map-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    z-index: 1000;
    display: none;
}