* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #121212;
    color: #e0e0e0;
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    height: 100vh;
}

.control-panel {
    display: none;
}

.map-container {
    flex: 1;
    position: relative;
    background: #000;
    width: 100%;
    height: 100vh;
}

#map {
    width: 100%;
    height: 100%;
}

.info-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(30, 30, 30, 0.95);
    color: #e0e0e0;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    z-index: 1000;
    max-width: 250px;
    font-size: 13px;
    border: 1px solid #444;
}

.loading-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #4dabf7;
    font-size: 18px;
    z-index: 999;
}

@media (max-width: 768px) {
    .info-overlay {
        max-width: 200px;
        padding: 12px;
        font-size: 12px;
    }
}

.leaflet-container {
    background: #121212;
}

/* 深色模式地图滤镜 */
.map-dark-mode .leaflet-tile-pane {
    filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: rgba(30, 30, 30, 0.95) !important;
    backdrop-filter: blur(8px);
    color: #e0e0e0 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.leaflet-popup-content {
    margin: 8px 10px !important;
    line-height: 1.4 !important;
}
