/* ===================== Leaflet地图核心样式 ===================== */
.leaflet-container {
    width: 100% !important;
    height: 100% !important;
    background: #c9e0f9 !important;
}

/* 地图控件（缩放按钮等） */
.leaflet-control {
    box-shadow: 0 1px 5px rgba(0,0,0,0.15);
}

/* ===================== 数据提示/缩放提示样式 ===================== */
.data-tip,
.zoom-level-tip {
    position: fixed;
    left: 20px;
    background: rgba(255, 255, 255, 0.85);
    padding: 8px 15px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 500;
    font-size: 13px;
}

.data-tip {
    bottom: 65px;
}

.zoom-level-tip {
    bottom: 95px;
}

/* ===================== 时间轴样式 ===================== */
.time-axis {
    position: fixed;
    top: 70px;
    left: 50px;
    z-index: 1998;
    padding: 8px 12px;
    background: rgba(255,255,255,0.9);
    color: #333;
    font-size: 12px;
    box-sizing: border-box;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
    border: 1px solid #ddd;
    min-width: 180px;
    height: auto !important;
    line-height: 1.4 !important;
    text-align: left !important;
    bottom: auto !important;
    right: auto !important;
}

/* ===================== 地图自定义标记样式 ===================== */
.leaflet-div-icon {
    pointer-events: auto !important;
    background: transparent !important;
    border: none !important;
}

/* 数值标记hover效果 */
.number-marker > div {
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.2s;
}

.number-marker > div:hover {
    transform: scale(1.1);
}

/* 数据提示高可见性 */
.data-tip, .zoom-level-tip {
    z-index: 900;
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 8px 12px !important;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* 自定义标记样式重置 */
.custom-div-icon {
    background: none !important;
    border: none !important;
}

.custom-marker {
    box-sizing: border-box !important;
    z-index: 999 !important;
}

/* 标记标签样式 */
.marker-label {
    color: #333 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

/* ===================== 右侧指标切换面板（地图附属） ===================== */
.side-panel {
    position: fixed;
    top: 300px;
    right: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 5px 0;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    z-index: 600;
    display: flex;
    flex-direction: column;
    width: 60px;
}

.panel-item {
    padding: 3px 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: #333;
}

.panel-item:hover {
    background: #e6f7ff;
}

.panel-item.active {
    background: #1890ff;
    color: white;
}