/* 全局样式 */
:root {
    --primary-color: #0a192f;
    --secondary-color: #112240;
    --accent-color: #00a8ff;
    --text-color: #e6f1ff;
    --text-secondary: #8892b0;
    --border-color: rgba(100, 255, 218, 0.3);
    --shadow-color: rgba(2, 12, 27, 0.7);
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --power-plant-color: #3498db;
    --renewable-color: #2ecc71;
}

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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a192f 0%, #0d1b2a 100%);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 粒子背景 */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* 新增 - 粒子动画 */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: rgba(0, 168, 255, 0.6);
    box-shadow: 0 0 6px rgba(0, 168, 255, 0.8);
    animation: float 15s linear infinite;
    z-index: -1;
}

.particle.small {
    width: 2px;
    height: 2px;
    opacity: 0.6;
}

.particle.large {
    width: 4px;
    height: 4px;
    opacity: 0.8;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-150px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* 新增 - 流光效果 */
.flow-light {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 168, 255, 0.6), 
        transparent);
    opacity: 0.4;
    animation: flow 8s linear infinite;
    transform: rotate(var(--rotate, 45deg));
    z-index: 0;
}

@keyframes flow {
    0% {
        left: -10%;
        top: 110%;
    }
    100% {
        left: 110%;
        top: -10%;
    }
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 头部样式 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

/* 新增 - 标题光射线效果 */
header h1 {
    font-size: 28px;
    color: #00a8ff !important;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

header h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 168, 255, 0.4), 
        transparent);
    transform: skewX(-25deg);
    animation: header-shine 8s ease-in-out infinite;
}

@keyframes header-shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 200%;
    }
}

.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.map-controls .action-button {
    padding: 8px 16px;
    font-size: 14px;
    background-color: rgba(0, 168, 255, 0.1);
    color: #00a8ff;
    border: 1px solid #00a8ff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-controls .action-button:hover {
    background-color: rgba(0, 168, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

.map-controls .action-button.active {
    background-color: rgba(0, 168, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.4);
}

/* 主内容区域 */
main {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}

/* 侧边栏样式 */
.sidebar {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 300px;
    position: relative;
    overflow: hidden;
}

/* 侧边栏背景效果 */
.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 168, 255, 0.8),
        transparent
    );
    animation: topLightBar 4s ease-in-out infinite;
    z-index: 2;
}

/* 左侧流光条 */
.sidebar-left-border {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,
        transparent,
        rgba(0, 168, 255, 0.8),
        transparent
    );
    animation: leftLightBar 4s ease-in-out infinite;
    z-index: 2;
}

/* 右侧流光条 */
.sidebar-right-border {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,
        transparent,
        rgba(0, 168, 255, 0.8),
        transparent
    );
    animation: rightLightBar 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes topLightBar {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes bottomLightBar {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes leftLightBar {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes rightLightBar {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    50% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* 角落光点效果 */
.corner-light {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(0, 168, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.6);
    z-index: 3;
}

.corner-light.top-left {
    top: 0;
    left: 0;
    animation: cornerPulse 2s ease-in-out infinite;
}

.corner-light.top-right {
    top: 0;
    right: 0;
    animation: cornerPulse 2s ease-in-out infinite 0.5s;
}

.corner-light.bottom-left {
    bottom: 0;
    left: 0;
    animation: cornerPulse 2s ease-in-out infinite 1s;
}

.corner-light.bottom-right {
    bottom: 0;
    right: 0;
    animation: cornerPulse 2s ease-in-out infinite 1.5s;
}

@keyframes cornerPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.4;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* 连接线效果 */
.corner-connector {
    position: absolute;
    background: rgba(0, 168, 255, 0.3);
    z-index: 2;
}

.corner-connector.horizontal {
    height: 1px;
    width: 20px;
}

.corner-connector.vertical {
    width: 1px;
    height: 20px;
}

/* 左上角连接线 */
.corner-connector.top-left-h {
    top: 0;
    left: 6px;
}

.corner-connector.top-left-v {
    top: 6px;
    left: 0;
}

/* 右上角连接线 */
.corner-connector.top-right-h {
    top: 0;
    right: 6px;
}

.corner-connector.top-right-v {
    top: 6px;
    right: 0;
}

/* 左下角连接线 */
.corner-connector.bottom-left-h {
    bottom: 0;
    left: 6px;
}

.corner-connector.bottom-left-v {
    bottom: 6px;
    left: 0;
}

/* 右下角连接线 */
.corner-connector.bottom-right-h {
    bottom: 0;
    right: 6px;
}

.corner-connector.bottom-right-v {
    bottom: 6px;
    right: 0;
}

/* 中间内容区域 */
.center-content {
    flex: 1;
    min-width: 0;
}

/* 新增 - 面板流光效果 */
.panel {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px var(--shadow-color);
    position: relative;
    overflow: visible;
    z-index: 1;
}

/* 面板顶部流光条 */
.panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 168, 255, 0.8),
        transparent
    );
    animation: panelLightBar 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes panelLightBar {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0%);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 168, 255, 0.1),
        transparent
    );
    transform: skewX(-25deg);
    animation: panel-shine 6s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes panel-shine {
    0% {
        left: -150%;
    }
    48% {
        left: -150%;
    }
    50% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

.panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.panel h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    position: relative;
    overflow: hidden;
    padding-left: 25px;
}

.panel h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background: linear-gradient(45deg, #00a8ff, transparent);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: rotate 4s linear infinite;
}

.panel h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(0, 168, 255, 0.8) 0%, 
        rgba(0, 168, 255, 0.3) 50%, 
        rgba(0, 168, 255, 0.1) 100%);
}

/* 新增 - 数据悬浮粒子 */
.data-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.data-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(0, 168, 255, 0.3);
    animation: data-float 10s linear infinite;
}

@keyframes data-float {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) translateX(50px);
    }
}

/* 地图容器 */
.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(16, 36, 64, 0.95) 100%);
    border: 2px solid rgba(0, 217, 255, 0.5);
    box-shadow: 
        0 0 25px rgba(0, 217, 255, 0.4),
        0 0 35px rgba(0, 217, 255, 0.3),
        inset 0 0 40px rgba(0, 217, 255, 0.2);
    padding: 4px;
}

/* 地图四周流光条 */
.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 217, 255, 0.2) 20%,
        rgba(0, 217, 255, 1) 50%,
        rgba(0, 217, 255, 0.2) 80%,
        transparent 100%
    );
    animation: mapTopLightBar 4s linear infinite;
    z-index: 2;
    box-shadow: 
        0 0 20px rgba(0, 217, 255, 0.9),
        0 0 30px rgba(0, 217, 255, 0.7),
        0 0 40px rgba(0, 217, 255, 0.5);
}

.map-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 217, 255, 0.2) 20%,
        rgba(0, 217, 255, 1) 50%,
        rgba(0, 217, 255, 0.2) 80%,
        transparent 100%
    );
    animation: mapBottomLightBar 4s linear infinite;
    z-index: 2;
    box-shadow: 
        0 0 20px rgba(0, 217, 255, 0.9),
        0 0 30px rgba(0, 217, 255, 0.7),
        0 0 40px rgba(0, 217, 255, 0.5);
}

.map-left-border {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 217, 255, 0.2) 20%,
        rgba(0, 217, 255, 1) 50%,
        rgba(0, 217, 255, 0.2) 80%,
        transparent 100%
    );
    animation: mapLeftLightBar 4s linear infinite;
    z-index: 2;
    box-shadow: 
        0 0 20px rgba(0, 217, 255, 0.9),
        0 0 30px rgba(0, 217, 255, 0.7),
        0 0 40px rgba(0, 217, 255, 0.5);
}

.map-right-border {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 217, 255, 0.2) 20%,
        rgba(0, 217, 255, 1) 50%,
        rgba(0, 217, 255, 0.2) 80%,
        transparent 100%
    );
    animation: mapRightLightBar 4s linear infinite;
    z-index: 2;
    box-shadow: 
        0 0 20px rgba(0, 217, 255, 0.9),
        0 0 30px rgba(0, 217, 255, 0.7),
        0 0 40px rgba(0, 217, 255, 0.5);
}

/* 地图四角光点 */
.map-corner-light {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(0, 168, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.6);
    z-index: 3;
}

.map-corner-light.top-left {
    top: 0;
    left: 0;
    animation: mapCornerPulse 2s ease-in-out infinite;
}

.map-corner-light.top-right {
    top: 0;
    right: 0;
    animation: mapCornerPulse 2s ease-in-out infinite 0.5s;
}

.map-corner-light.bottom-left {
    bottom: 0;
    left: 0;
    animation: mapCornerPulse 2s ease-in-out infinite 1s;
}

.map-corner-light.bottom-right {
    bottom: 0;
    right: 0;
    animation: mapCornerPulse 2s ease-in-out infinite 1.5s;
}

/* 地图四周流光动画 */
@keyframes mapTopLightBar {
    0% {
        transform: translateX(-100%);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 1;
    }
}

@keyframes mapBottomLightBar {
    0% {
        transform: translateX(100%);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 1;
    }
}

@keyframes mapLeftLightBar {
    0% {
        transform: translateY(-100%);
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 1;
    }
}

@keyframes mapRightLightBar {
    0% {
        transform: translateY(100%);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 1;
    }
}

@keyframes mapCornerPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.4;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* 地图连接线 */
.map-corner-connector {
    position: absolute;
    background: rgba(0, 168, 255, 0.3);
    z-index: 2;
}

.map-corner-connector.horizontal {
    height: 1px;
    width: 25px;
}

.map-corner-connector.vertical {
    width: 1px;
    height: 25px;
}

/* 左上角连接线 */
.map-corner-connector.top-left-h {
    top: 0;
    left: 8px;
}

.map-corner-connector.top-left-v {
    top: 8px;
    left: 0;
}

/* 右上角连接线 */
.map-corner-connector.top-right-h {
    top: 0;
    right: 8px;
}

.map-corner-connector.top-right-v {
    top: 8px;
    right: 0;
}

/* 左下角连接线 */
.map-corner-connector.bottom-left-h {
    bottom: 0;
    left: 8px;
}

.map-corner-connector.bottom-left-v {
    bottom: 8px;
    left: 0;
}

/* 右下角连接线 */
.map-corner-connector.bottom-right-h {
    bottom: 0;
    right: 8px;
}

.map-corner-connector.bottom-right-v {
    bottom: 8px;
    right: 0;
}

/* 新增 - 操作按钮脉冲光环 */
.action-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.action-button::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 8px;
    background: rgba(0, 168, 255, 0.1);
    z-index: -1;
    animation: button-pulse 2s infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-button:hover::after {
    opacity: 1;
}

@keyframes button-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.05);
        opacity: 0.2;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

.action-button:hover {
    background-color: rgba(100, 255, 218, 0.8);
    transform: translateY(-2px);
}

.action-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-button:hover::before {
    opacity: 1;
}

/* 新增 - 信息项悬浮效果 */
.info-item,
.harmonic-info-item,
.eco-item,
.location-info-item {
    position: relative;
    overflow: hidden;
}

.info-item::after,
.harmonic-info-item::after,
.eco-item::after,
.location-info-item::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

.info-item:hover::after,
.harmonic-info-item:hover::after,
.eco-item:hover::after,
.location-info-item:hover::after {
    opacity: 1;
}

/* 新增 - 状态标识闪光 */
.status-running::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--success-color);
    margin-left: 5px;
    animation: status-blink 2s infinite;
}

@keyframes status-blink {
    0% {
        opacity: 0.5;
        box-shadow: 0 0 3px var(--success-color);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 8px var(--success-color);
    }
    100% {
        opacity: 0.5;
        box-shadow: 0 0 3px var(--success-color);
    }
}

/* 地图容器悬停效果 */
.map-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: radial-gradient(
        circle at var(--x, 50%) var(--y, 50%),
        rgba(0, 168, 255, 0.1) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.map-container:hover::after {
    opacity: 1;
}

/* 地图本体样式 */
#map {
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 8px;
    background-color: rgba(10, 25, 47, 0.9);
}

/* 科技感标签样式 */
.tech-label {
    color: #00a8ff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
    background: rgba(0, 168, 255, 0.1);
    padding: 5px 15px;
    border-radius: 4px;
    border: 1px solid rgba(0, 168, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.tech-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 168, 255, 0.2),
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* 自定义缩放控件样式 */
.leaflet-control-zoom {
    border: none !important;
    margin: 15px !important;
    background: rgba(0, 168, 255, 0.1) !important;
    padding: 5px !important;
    border-radius: 8px !important;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.2) !important;
}

.leaflet-control-zoom a {
    background: rgba(0, 168, 255, 0.15) !important;
    color: #00a8ff !important;
    border: 1px solid rgba(0, 168, 255, 0.3) !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    margin: 5px !important;
    border-radius: 6px !important;
}

.leaflet-control-zoom a:hover {
    background: rgba(0, 168, 255, 0.3) !important;
    color: #fff !important;
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.4) !important;
}

/* 地图图例 */
.map-legend {
    margin-top: 10px;
    background: rgba(16, 25, 40, 0.9);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(0, 168, 255, 0.3);
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.legend-item:last-child {
    margin-bottom: 0;
}

.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

.legend-text {
    font-size: 13px;
    color: #00a8ff;
    text-shadow: 0 0 5px rgba(0, 168, 255, 0.3);
}

/* 弹出窗口样式更新 */
.leaflet-popup-content-wrapper {
    background: rgba(16, 25, 40, 0.95) !important;
    border: 1px solid rgba(0, 168, 255, 0.3) !important;
    border-radius: 8px !important;
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.1) !important;
}

.leaflet-popup-content {
    color: #00a8ff !important;
    margin: 15px !important;
}

.leaflet-popup-tip {
    background: rgba(16, 25, 40, 0.95) !important;
    border: 1px solid rgba(0, 168, 255, 0.3) !important;
}

.popup-content h4 {
    color: #00a8ff;
    font-size: 16px;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(0, 168, 255, 0.3);
}

.popup-content p {
    color: #fff;
    font-size: 14px;
    margin: 5px 0;
    opacity: 0.8;
}

/* 状态信息 */
.status-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

.status-running {
    color: #2ecc71;
}

.status-warning {
    color: #f39c12;
}

.status-error {
    color: #e74c3c;
}

.status-complete {
    color: #2ecc71;
}

.status-waiting {
    color: #3498db;
}

.status-locating {
    color: #f39c12;
    animation: pulse 1.2s infinite;
}

.status-stopped {
    color: #7f8c8d;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* 评价指标 */
#evaluation-metrics p {
    margin-bottom: 8px;
    font-size: 14px;
}

#location-info {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
}

/* 操作指南 */
.guide p {
    margin-bottom: 8px;
    font-size: 14px;
}

/* 节点详情 */
#node-details p {
    margin-bottom: 8px;
    font-size: 14px;
}

/* 定位结果 */
#location-results p {
    margin-bottom: 8px;
    font-size: 14px;
}

.hidden {
    display: none;
}

/* 页脚 */
footer {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.85);
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background-color: var(--secondary-color);
    margin: 15% auto;
    padding: 25px;
    border: 1px solid var(--border-color);
    width: 400px;
    border-radius: 8px;
    box-shadow: 0 0 20px var(--shadow-color);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.modal-content p {
    margin-bottom: 25px;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-buttons .action-button {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.modal-buttons #confirm-logout {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.modal-buttons #cancel-logout {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.modal-buttons #confirm-logout:hover {
    background-color: rgba(100, 255, 218, 0.8);
}

.modal-buttons #cancel-logout:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

/* 节点标记样式更新 */
.power-plant-marker {
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background-color: #00a8ff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.7);
    transition: all 0.3s ease;
}

.renewable-marker {
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background-color: #2ecc71;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.7);
    transition: all 0.3s ease;
}

.major-node-marker {
    width: 16px;
    height: 16px;
    border-width: 3px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 168, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 168, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 168, 255, 0);
    }
}

/* 响应式设计 */
@media (max-width: 1600px) {
    main {
        grid-template-columns: 280px 1fr 280px;
    }
    
    .sidebar {
        width: 280px;
        min-width: 280px;
    }
}

@media (max-width: 1400px) {
    main {
        grid-template-columns: 250px 1fr 250px;
    }
    
    .sidebar {
        width: 250px;
        min-width: 250px;
    }
}

@media (max-width: 1200px) {
    main {
        display: flex;
        flex-wrap: wrap;
    }
    
    .sidebar {
        width: 48%;
        min-width: auto;
    }
    
    .center-content {
        width: 100%;
        order: -1;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    main {
        display: flex;
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .map-container {
        height: 400px;
    }
}

/* 节点标记自定义样式 */
.power-plant-marker:hover,
.renewable-marker:hover {
    transform: scale(1.5);
    cursor: pointer;
}

/* 谐波分析图表样式 */
.harmonic-analysis {
    width: 100%;
    height: 200px;
}

/* 3D悬浮效果 */
.panel, .map-container, .action-button {
    position: relative;
    overflow: hidden;
}

.panel::before, .map-container::before, .action-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.panel:hover::before, .map-container:hover::before, .action-button:hover::before {
    opacity: 1;
}

/* 动画效果 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(100, 255, 218, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(100, 255, 218, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* 谐波路径动画 */
.harmonic-path {
    stroke-dasharray: 10;
    animation: dash 1s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -20;
    }
}

/* 谐波源标记样式 */
.harmonic-source-marker {
    position: relative;
    width: 40px !important;
    height: 40px !important;
    margin-left: -20px !important;
    margin-top: -20px !important;
    z-index: 1000 !important;
}

.harmonic-source-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: #f1c40f;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.9);
    animation: innerPulse 1.5s infinite;
    z-index: 1001;
}

.harmonic-wave-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(241, 196, 15, 0.4);
    animation: waveEffect 3s infinite;
    z-index: 1000;
}

.harmonic-wave-effect.delay1 {
    animation-delay: 1s;
}

.harmonic-wave-effect.delay2 {
    animation-delay: 2s;
}

@keyframes waveEffect {
    0% {
        width: 10px;
        height: 10px;
        opacity: 0.8;
    }
    100% {
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

@keyframes innerPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
}

/* 省份标签样式 */
.province-label {
    background: transparent;
    border: none;
    box-shadow: none;
    pointer-events: none;
}

.province-label div {
    white-space: nowrap;
    text-align: center;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* 功率曲线面板优化 */
.power-chart-panel {
    margin-bottom: 10px !important;
    background: rgba(16, 25, 40, 0.92) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0, 168, 255, 0.3) !important;
    padding: 8px !important;
    position: relative !important;
    overflow: hidden !important;
}

.power-chart-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(0, 168, 255, 0),
        rgba(0, 168, 255, 0.8),
        rgba(0, 168, 255, 0));
    animation: panelLightBar 4s ease-in-out infinite;
    z-index: 1;
}

.power-chart-panel h3 {
    color: #00a8ff !important;
    margin-bottom: 5px !important;
    font-size: 14px !important;
    border-bottom: 1px solid rgba(0, 168, 255, 0.3) !important;
    padding-bottom: 4px !important;
    display: flex !important;
    align-items: center !important;
}

.power-chart-panel h3::before {
    content: '\f201';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 12px;
    margin-right: 6px;
    color: #00a8ff;
}

/* 功率曲线图表容器 */
.power-chart-container {
    height: 140px !important;
    min-height: 140px !important;
    max-height: 140px !important;
    background: rgba(0, 168, 255, 0.03) !important;
    border-radius: 4px !important;
    padding: 4px 2px 2px 0 !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
}

/* 曲线图表注释调整 */
.power-chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* 移除多余边框和装饰 */
.map-corner, .map-border, .map-scanline {
    display: none;
}

/* 社会经济效益模块 */
.economic-benefits {
    margin-bottom: 10px;
    background: rgba(16, 25, 40, 0.9);
    border-radius: 8px;
    border: 1px solid rgba(0, 168, 255, 0.3);
    padding: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.economic-benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(0, 168, 255, 0),
        rgba(0, 168, 255, 0.8),
        rgba(0, 168, 255, 0));
    animation: panelLightBar 4s ease-in-out infinite;
    z-index: 1;
}

.economic-benefits h3 {
    color: #00a8ff;
    margin-bottom: 10px;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 168, 255, 0.3);
    padding-bottom: 6px;
    display: flex;
    align-items: center;
}

.economic-benefits h3 i {
    margin-right: 8px;
    font-size: 13px;
}

.eco-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.eco-item {
    display: flex;
    align-items: center;
    background: rgba(0, 168, 255, 0.05);
    border-radius: 6px;
    padding: 8px;
    border: 1px solid rgba(0, 168, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.eco-item:hover {
    background: rgba(0, 168, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.eco-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.eco-item:hover::before {
    opacity: 1;
}

.eco-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.eco-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.eco-item:hover .eco-icon::after {
    opacity: 1;
}

.eco-icon i {
    color: #00a8ff;
    font-size: 14px;
}

.eco-info {
    flex: 1;
}

.eco-label {
    color: var(--text-secondary);
    font-size: 11px;
    margin-bottom: 3px;
}

.eco-value {
    color: #00a8ff;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 168, 255, 0.3);
    position: relative;
    padding-right: 16px;
}

.eco-value::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, #00a8ff, transparent);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.4;
        transform: translateY(-50%) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.2);
    }
    100% {
        opacity: 0.4;
        transform: translateY(-50%) scale(0.8);
    }
}

/* 系统信息模块 */
.system-info {
    margin-bottom: 10px;
    background: rgba(16, 25, 40, 0.9);
    border-radius: 8px;
    padding: 10px;
    border: 1px solid rgba(0, 168, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.system-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(0, 168, 255, 0),
        rgba(0, 168, 255, 0.8),
        rgba(0, 168, 255, 0));
    animation: panelLightBar 4s ease-in-out infinite;
    z-index: 1;
}

.system-info h3 {
    color: #00a8ff;
    margin-bottom: 10px;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 168, 255, 0.3);
    padding-bottom: 6px;
    display: flex;
    align-items: center;
}

.system-info h3 i {
    margin-right: 8px;
    font-size: 13px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    background: rgba(0, 168, 255, 0.05);
    border-radius: 6px;
    padding: 8px;
    border: 1px solid rgba(0, 168, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-item:hover {
    background: rgba(0, 168, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-item:hover::before {
    opacity: 1;
}

.info-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.info-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.info-item:hover .info-icon::after {
    opacity: 1;
}

.info-icon i {
    color: #00a8ff;
    font-size: 14px;
}

.info-content {
    flex: 1;
}

.info-label {
    color: var(--text-secondary);
    font-size: 11px;
    margin-bottom: 3px;
}

.info-value {
    color: #00a8ff;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 168, 255, 0.3);
    position: relative;
    padding-right: 16px;
}

.info-value::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, #00a8ff, transparent);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: pulse 2s infinite;
}

/* 特殊状态样式 */
.info-value#system-status.status-running {
    color: #2ecc71;
}

.info-value#security-rating {
    color: #e74c3c;
    font-weight: bold;
}

.info-value#cpu-usage,
.info-value#memory-usage,
.info-value#system-health {
    color: #3498db;
}

.info-value#network-latency,
.info-value#data-flow {
    color: #f39c12;
}

/* 项目概述面板 */
.project-overview {
    margin-top: 15px;
    padding: 15px;
    background: rgba(16, 25, 40, 0.92);
    border-radius: 8px;
    border: 1px solid rgba(0, 168, 255, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    animation: fadeInOptimized 0.8s ease-out;
}

.project-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(0, 168, 255, 0),
        rgba(0, 168, 255, 0.8),
        rgba(0, 168, 255, 0));
    animation: panelLightBar 4s ease-in-out infinite;
}

.project-overview::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 168, 255, 0.05) 0%, 
        rgba(0, 168, 255, 0) 40%, 
        rgba(0, 168, 255, 0) 60%, 
        rgba(0, 168, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    animation: panel-shine 8s linear infinite;
}

.project-overview h3 {
    color: #00a8ff;
    margin-bottom: 12px;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 168, 255, 0.3);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    position: relative;
    letter-spacing: 1px;
}

.project-overview h3::before {
    content: '\f03a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
    margin-right: 8px;
    color: #00a8ff;
    text-shadow: 0 0 8px rgba(0, 168, 255, 0.6);
}

.project-overview p {
    color: var(--text-color);
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.7;
    text-align: justify;
    position: relative;
    padding-left: 16px;
    text-shadow: 0 0 10px rgba(0, 168, 255, 0.1);
    letter-spacing: 0.5px;
}

.project-overview p:last-child {
    margin-bottom: 0;
}

.project-overview p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background-color: rgba(0, 168, 255, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 168, 255, 0.5);
}

.mini-chart-container {
    height: 80px;
    background: rgba(0, 168, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(0, 168, 255, 0.1);
    padding: 4px;
    position: relative;
}

.harmonic-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-bottom: 6px;
}

.harmonic-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
    background: rgba(0, 168, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(0, 168, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.harmonic-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.harmonic-info-item:hover::before {
    opacity: 1;
}

.harmonic-label {
    color: var(--text-secondary);
    font-size: 10px;
}

.harmonic-value {
    color: #00a8ff;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 168, 255, 0.3);
    position: relative;
    padding-right: 20px;
}

.harmonic-value::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #00a8ff, transparent);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: pulse 2s infinite;
}

.mini-chart-container {
    height: 70px;
    background: rgba(0, 168, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(0, 168, 255, 0.1);
    padding: 3px;
    position: relative;
}

/* 地图内部图例 */
.map-legend.in-map {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(16, 25, 40, 0.8);
    padding: 8px;
    border-radius: 6px;
    border: 1px solid rgba(0, 168, 255, 0.3);
    z-index: 1000;
    max-width: 150px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.map-legend.in-map .legend-item {
    margin-bottom: 4px;
    padding: 2px;
}

.map-legend.in-map .legend-item:last-child {
    margin-bottom: 0;
}

.map-legend.in-map .legend-color {
    width: 8px;
    height: 8px;
    margin-right: 6px;
}

.map-legend.in-map .legend-text {
    font-size: 11px;
}

.update-indicator {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.7);
    margin-left: 5px;
    animation: pulse 2s infinite;
}

.harmonic-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 6px;
    background: rgba(0, 168, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(0, 168, 255, 0.1);
    transition: all 0.3s ease;
}

.harmonic-info-item:hover {
    background: rgba(0, 168, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 168, 255, 0.1);
}

.harmonic-value {
    position: relative;
    padding-right: 12px;
}

.harmonic-value::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300a8ff"><path d="M16,6L6,16L16,16Z" transform="rotate(45, 12, 12)"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
}

/* 定位结果模块 */
.location-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    padding: 6px 8px;
    background: rgba(0, 168, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(0, 168, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 28px;
}

.location-info-item:hover {
    background: rgba(0, 168, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 168, 255, 0.15);
}

.location-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: rgba(0, 168, 255, 0.3);
}

.location-label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
}

.location-value {
    color: #00a8ff;
    font-size: 13px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 168, 255, 0.3);
    padding-left: 10px;
    position: relative;
    display: flex;
    align-items: center;
}

#location-status {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    width: auto;
    position: relative;
    text-align: center;
    float: right;
    margin-right: 5px;
    overflow: visible;
    z-index: 10;
}

#location-status.status-waiting {
    background: rgba(243, 156, 18, 0.2);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

#location-status.status-locating {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
    animation: pulse 1.5s infinite;
    position: relative;
    right: 0;
    text-align: center;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    line-height: 1.2;
    transform: translateY(0);
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
    top: 0;
    height: auto;
}

#location-status.status-complete {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

/* 按钮容器 */
.button-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.button-container .action-button {
    background: rgba(0, 168, 255, 0.15);
    color: #00a8ff;
    border: 1px solid rgba(0, 168, 255, 0.3);
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 0;
}

.button-container .action-button:hover {
    background: rgba(0, 168, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 168, 255, 0.2);
}

.button-container .action-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.button-container #start-location {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.button-container #start-location:hover:not(:disabled) {
    background: rgba(46, 204, 113, 0.3);
    box-shadow: 0 3px 10px rgba(46, 204, 113, 0.2);
}

.button-container #reset-selection {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.button-container #reset-selection:hover {
    background: rgba(231, 76, 60, 0.3);
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.2);
}

/* 定位结果值动画 */
@keyframes valueUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.value-updated {
    animation: valueUpdate 0.5s ease;
}

/* 定位结果图标 */
.location-info-item .location-label::before {
    content: none !important; /* 禁用原有的图标 */
    display: none !important; /* 确保不显示 */
}

.location-info-item:nth-child(1) .location-label::before,
.location-info-item:nth-child(2) .location-label::before,
.location-info-item:nth-child(3) .location-label::before,
.location-info-item:nth-child(4) .location-label::before,
.location-info-item:nth-child(5) .location-label::before {
    content: none !important; /* 禁用所有原有的图标 */
    display: none !important; /* 确保不显示 */
    background-image: none !important; /* 移除背景图片 */
}

/* 选中的标记样式 */
.selected-marker {
    transform: scale(1.3) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.9) !important;
    border-width: 3px !important;
    z-index: 1000 !important;
}

.power-plant-marker.selected-marker {
    background-color: #00d2ff !important;
    animation: selectedPulse 2s infinite !important;
}

.renewable-marker.selected-marker {
    background-color: #2ecc71 !important;
    animation: selectedPulse 2s infinite !important;
}

@keyframes selectedPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.node-count-detail {
    font-size: 0.85em;
    opacity: 0.8;
    margin-left: 5px;
    display: block;
    color: rgba(0, 168, 255, 0.8);
}

.node-count-detail span {
    font-weight: bold;
}

/* 数据流动画 */
.data-stream {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 168, 255, 0.5),
        transparent
    );
    animation: dataStream 2s linear infinite;
}

@keyframes dataStream {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 数据指示器 */
.data-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #00a8ff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
    animation: indicatorPulse 2s infinite;
}

@keyframes indicatorPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

/* 数据连接线 */
.data-connection {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(0, 168, 255, 0.3),
        rgba(0, 168, 255, 0.6)
    );
    transform-origin: right center;
    animation: connectionRotate 4s linear infinite;
}

@keyframes connectionRotate {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* 技术标签 */
.tech-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 2px 8px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 4px;
    font-size: 10px;
    color: #00a8ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

/* 面板加载效果 */
.panel.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 168, 255, 0.1),
        transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 动画效果 */
@keyframes rotate {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: translateY(-50%) scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translateY(-50%) scale(0.8);
        opacity: 0.5;
    }
}

/* 增加持续性边框光效 */
.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(16, 36, 64, 0.95) 100%);
    border: 2px solid rgba(0, 217, 255, 0.5);
    box-shadow: 
        0 0 25px rgba(0, 217, 255, 0.4),
        0 0 35px rgba(0, 217, 255, 0.3),
        inset 0 0 40px rgba(0, 217, 255, 0.2);
    padding: 4px;
}

.map-container::before,
.map-container::after,
.map-left-border,
.map-right-border {
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.8);
}

/* 持续性边框发光 */
.map-border-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(0, 168, 255, 0.5);
    border-radius: 12px;
    animation: borderGlow 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes borderGlow {
    0% {
        box-shadow: 
            0 0 15px rgba(0, 168, 255, 0.4),
            inset 0 0 10px rgba(0, 168, 255, 0.4);
    }
    50% {
        box-shadow: 
            0 0 25px rgba(0, 168, 255, 0.6),
            inset 0 0 15px rgba(0, 168, 255, 0.6);
    }
    100% {
        box-shadow: 
            0 0 15px rgba(0, 168, 255, 0.4),
            inset 0 0 10px rgba(0, 168, 255, 0.4);
    }
}

/* 节点选择确认模态框样式 */
#confirmation-modal .modal-content {
    max-width: 450px;
    background: linear-gradient(135deg, rgba(16, 36, 64, 0.95) 0%, rgba(10, 25, 47, 0.95) 100%);
    border: 2px solid rgba(0, 168, 255, 0.3);
    box-shadow: 
        0 0 25px rgba(0, 168, 255, 0.2),
        0 0 35px rgba(0, 168, 255, 0.1),
        inset 0 0 40px rgba(0, 168, 255, 0.1);
}

#confirmation-modal h3 {
    color: var(--accent-color);
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 168, 255, 0.3);
    text-align: center;
}

#confirmation-modal p {
    margin: 15px 0;
    color: var(--text-color);
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(0, 168, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(0, 168, 255, 0.1);
}

#confirmation-modal p span:first-child {
    color: var(--text-secondary);
}

#confirmation-modal p span:last-child {
    color: var(--accent-color);
    font-weight: bold;
}

#confirmation-modal .modal-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

#confirmation-modal .modal-buttons button {
    padding: 8px 25px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

#confirmation-modal #confirm-selection {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
}

#confirmation-modal #confirm-selection:hover {
    background: rgba(100, 255, 218, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

#confirmation-modal #cancel-selection {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

#confirmation-modal #cancel-selection:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

/* 添加动画效果 */
#confirmation-modal .modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.history-main {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* 添加背景网格效果 */
.history-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 168, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 168, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: -1;
}

.history-panel {
    width: 100%;
    padding: 20px;
    flex: 1;
    overflow: hidden;
    background: rgba(16, 25, 40, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(0, 168, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.history-panel h3 {
    color: #00a8ff;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.history-panel h3::before {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    background: rgba(0, 168, 255, 0.2);
    border: 1px solid rgba(0, 168, 255, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.history-list::-webkit-scrollbar {
    width: 6px;
}

.history-list::-webkit-scrollbar-track {
    background: rgba(0, 168, 255, 0.05);
    border-radius: 3px;
}

.history-list::-webkit-scrollbar-thumb {
    background: rgba(0, 168, 255, 0.3);
    border-radius: 3px;
    border: 1px solid rgba(0, 168, 255, 0.1);
}

.history-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 168, 255, 0.5);
}

.history-item {
    background: rgba(16, 25, 40, 0.9);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.history-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 168, 255, 0.8),
        rgba(0, 168, 255, 0.2)
    );
}

.history-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.2);
    border-color: rgba(0, 168, 255, 0.5);
}

.history-number {
    background: rgba(0, 168, 255, 0.1);
    color: #00a8ff;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid rgba(0, 168, 255, 0.3);
    text-align: center;
    min-width: 45px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.history-time {
    background: rgba(0, 168, 255, 0.05);
    color: var(--text-secondary);
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid rgba(0, 168, 255, 0.2);
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.history-time::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300a8ff"><path d="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4M12.5,7H11V13L16.2,16.2L17,14.9L12.5,12.2V7Z"/></svg>');
    background-size: contain;
    opacity: 0.7;
}

.history-content {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.data-item {
    background: rgba(0, 168, 255, 0.05);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 4px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.data-item:hover {
    background: rgba(0, 168, 255, 0.1);
}

.data-label {
    color: var(--text-secondary);
    font-size: 13px;
    min-width: 40px;
}

.data-value {
    color: #00a8ff;
    font-weight: bold;
    font-size: 13px;
}

.data-item.coordinate {
    min-width: 250px;
}

.view-details-btn {
    background: rgba(0, 168, 255, 0.1);
    color: #00a8ff;
    border: 1px solid rgba(0, 168, 255, 0.3);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}

.view-details-btn:hover {
    background: rgba(0, 168, 255, 0.2);
    transform: translateY(-2px);
}

.view-details-btn::after {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300a8ff"><path d="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.view-details-btn:hover::after {
    transform: translateX(3px);
}

@media (max-width: 1200px) {
    .history-item {
        flex-wrap: wrap;
    }
    
    .view-details-btn {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .history-content {
        flex-direction: column;
        width: 100%;
    }
    
    .history-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .history-time {
        width: 100%;
    }
    
    .view-details-btn {
        width: 100%;
        margin-top: 10px;
    }
}

/* 顶部导航样式 */
.top-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(16, 25, 40, 0.85);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 4px;
    color: #e6f1ff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.nav-button:hover {
    background: rgba(0, 168, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.nav-button.active {
    background: rgba(0, 168, 255, 0.3);
    border-color: #00a8ff;
    box-shadow: 0 0 8px rgba(0, 168, 255, 0.4);
}

.nav-button i {
    color: #00a8ff;
    font-size: 16px;
}

#data-analysis {
    background: rgba(46, 204, 113, 0.2);
    border-color: rgba(46, 204, 113, 0.4);
}

#data-analysis:hover {
    background: rgba(46, 204, 113, 0.3);
    border-color: rgba(46, 204, 113, 0.6);
}

#data-analysis i {
    color: #2ecc71;
}

#logout-btn {
    background: rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.4);
}

#logout-btn:hover {
    background: rgba(231, 76, 60, 0.3);
    border-color: rgba(231, 76, 60, 0.6);
}

#logout-btn i {
    color: #e74c3c;
}

@media (max-width: 768px) {
    .top-nav {
        flex-direction: column;
    }
    
    .nav-button {
        width: 100%;
    }
}

/* 其他样式 */

/* 历史记录页面样式 */
.history-container {
    background-color: rgba(16, 30, 54, 0.85);
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 0 30px rgba(0, 168, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 168, 255, 0.1);
}

.history-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 168, 255, 0.2);
}

.title-text {
    display: flex;
    align-items: center;
    color: #e6f1ff;
    font-size: 1.5rem;
    font-weight: 600;
}

.title-text i {
    margin-right: 10px;
    color: #00a8ff;
}

.history-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.record-count {
    color: #8892b0;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.last-update {
    color: #8892b0;
    font-size: 0.9rem;
    font-style: italic;
}

.history-record {
    background-color: rgba(30, 45, 70, 0.7);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 3px solid #00a8ff;
    opacity: 0;
    transform: translateY(20px);
}

.history-record:hover {
    background-color: rgba(35, 50, 75, 0.85);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 168, 255, 0.1);
}

.record-time {
    display: flex;
    align-items: center;
    color: #e6f1ff;
    font-size: 0.9rem;
}

.record-time i {
    margin-right: 6px;
    color: #00a8ff;
}

.record-algorithm {
    background-color: rgba(0, 168, 255, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
    color: #00a8ff;
    font-size: 0.8rem;
    font-weight: 500;
}

.record-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.record-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(16, 30, 54, 0.5);
    padding: 8px 12px;
    border-radius: 6px;
}

.info-label {
    display: flex;
    align-items: center;
    color: #8892b0;
    font-size: 0.85rem;
}

.info-label i {
    margin-right: 5px;
    color: #00a8ff;
}

.info-value {
    color: #e6f1ff;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
}

.record-stats {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(16, 30, 54, 0.5);
    padding: 10px;
    border-radius: 6px;
}

.stat-label {
    color: #8892b0;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.stat-value {
    color: #e6f1ff;
    font-size: 1.1rem;
    font-weight: 500;
}

.reliability-high {
    color: #2ecc71;
}

.reliability-good {
    color: #00a8ff;
}

.reliability-medium {
    color: #f39c12;
}

.reliability-low {
    color: #e74c3c;
}

.record-points {
    grid-column: 1 / -1;
    background-color: rgba(16, 30, 54, 0.5);
    padding: 12px;
    border-radius: 6px;
}

.points-title {
    display: flex;
    align-items: center;
    color: #8892b0;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.points-title i {
    margin-right: 6px;
    color: #00a8ff;
}

.points-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.point-item {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.traditional-point {
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.renewable-point {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.point-item i {
    margin-right: 5px;
}

.record-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 168, 255, 0.1);
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 5px;
    background-color: transparent;
    color: #e6f1ff;
    border: 1px solid rgba(230, 241, 255, 0.2);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-button i {
    margin-right: 6px;
}

.action-button:hover {
    background-color: rgba(0, 168, 255, 0.1);
    border-color: #00a8ff;
}

.view-btn {
    background-color: rgba(0, 168, 255, 0.1);
    border-color: #00a8ff;
}

.view-btn:hover {
    background-color: rgba(0, 168, 255, 0.2);
}

.detail-btn {
    background-color: rgba(46, 204, 113, 0.1);
    border-color: #2ecc71;
    color: #e6f1ff;
}

.detail-btn:hover {
    background-color: rgba(46, 204, 113, 0.2);
}

.delete-btn {
    background-color: rgba(231, 76, 60, 0.1);
    border-color: #e74c3c;
    color: #e6f1ff;
}

.delete-btn:hover {
    background-color: rgba(231, 76, 60, 0.2);
}

.no-history {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    color: #8892b0;
}

.no-history i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: rgba(0, 168, 255, 0.3);
}

.new-badge {
    background-color: #f39c12;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: bold;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.85);
    z-index: 100;
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: rgba(17, 34, 64, 0.95);
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 168, 255, 0.2);
}

.detail-content {
    max-width: 600px;
    width: 90%;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 168, 255, 0.2);
}

.modal-header h3 {
    color: #00a8ff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-button {
    background: none;
    border: none;
    color: #8892b0;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-button:hover {
    color: #e6f1ff;
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* 详情内容样式 */
.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background-color: rgba(0, 168, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
}

.detail-algorithm, .detail-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e6f1ff;
    font-size: 0.9rem;
}

.detail-algorithm i, .detail-time i {
    color: #00a8ff;
}

.detail-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
}

.detail-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #00a8ff;
    border-bottom: 1px solid rgba(0, 168, 255, 0.2);
    padding-bottom: 5px;
}

.detail-coords {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.coord-item {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 4px;
}

.coord-label {
    color: #8892b0;
    font-size: 0.8rem;
    margin-bottom: 5px;
    display: block;
}

.coord-value {
    color: #e6f1ff;
    font-family: 'Roboto Mono', monospace;
    font-size: 1.1rem;
}

.detail-stats {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.detail-stat-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
    margin: 5px;
}

.stat-circle {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
}

.stat-circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.9rem;
    font-weight: bold;
}

.detail-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-point-item {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.harmonic-indicator {
    margin-top: 10px;
}

.indicator-bar {
    height: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.indicator-fill {
    height: 100%;
    background: linear-gradient(to right, #2ecc71, #f39c12, #e74c3c);
    border-radius: 5px;
}

.indicator-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #ccc;
}

.detail-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.view-map-btn {
    background-color: #00a8ff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.view-map-btn:hover {
    background-color: #0096e0;
}

/* 通知组件样式 */
#notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.notification {
    background-color: rgba(17, 34, 64, 0.95);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #00a8ff;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left-color: #2ecc71;
}

.notification.warning {
    border-left-color: #f39c12;
}

.notification.error {
    border-left-color: #e74c3c;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.notification-title {
    color: #e6f1ff;
    font-weight: 600;
    font-size: 1rem;
}

.notification-close {
    background: none;
    border: none;
    color: #8892b0;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.notification-close:hover {
    color: #e6f1ff;
}

.notification-body {
    margin-bottom: 12px;
}

.notification-message {
    color: #8892b0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.notification-actions {
    display: flex;
    justify-content: flex-end;
}

.notification-action {
    background-color: transparent;
    border: 1px solid rgba(0, 168, 255, 0.5);
    color: #00a8ff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notification-action:hover {
    background-color: rgba(0, 168, 255, 0.1);
}

.notification.success .notification-action {
    border-color: rgba(46, 204, 113, 0.5);
    color: #2ecc71;
}

.notification.success .notification-action:hover {
    background-color: rgba(46, 204, 113, 0.1);
}

/* 历史标记样式 */
.history-marker .harmonic-source-inner {
    background-color: #f39c12;
}

.history-marker .harmonic-wave-effect {
    border-color: #f39c12;
}

.history-popup {
    color: #e6f1ff;
}

.popup-info {
    margin-bottom: 15px;
}

.popup-row {
    margin-bottom: 8px;
    display: flex;
}

.popup-label {
    color: #8892b0;
    min-width: 70px;
}

.popup-value {
    color: #e6f1ff;
    font-weight: 500;
}

.popup-footer {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.popup-button {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #e6f1ff;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.popup-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 响应式样式 */
@media (max-width: 768px) {
    .record-content {
        grid-template-columns: 1fr;
    }
    
    .detail-coords, .detail-stats {
        grid-template-columns: 1fr;
    }
    
    .record-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .action-button {
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        padding: 15px;
    }
    
    .history-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .history-stats {
        width: 100%;
        align-items: flex-start;
    }
}

/* 水波纹谐波源样式 - 全新实现 */
.harmonic-source-marker {
    position: relative;
    z-index: 900;
}

.harmonic-source-inner {
    width: 16px;
    height: 16px;
    background-color: #ff4444;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255,68,68,0.8);
    animation: innerPulse 1.5s infinite;
    z-index: 1;
}

.harmonic-source-inner.alarm-high {
    background-color: #e74c3c;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.8);
}

.harmonic-source-inner.alarm-medium {
    background-color: #e67e22;
    box-shadow: 0 0 12px rgba(230, 126, 34, 0.8);
}

.harmonic-source-inner.alarm-low {
    background-color: #f1c40f;
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.8);
}

.harmonic-source-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid #3498db;
    animation: rippleEffect 3s infinite;
    opacity: 0;
}

.harmonic-source-ripple.ripple-0 {
    animation-delay: 0s;
}

.harmonic-source-ripple.ripple-1 {
    animation-delay: 0.6s;
}

.harmonic-source-ripple.ripple-2 {
    animation-delay: 1.2s;
}

.harmonic-source-ripple.ripple-3 {
    animation-delay: 1.8s;
}

.harmonic-source-ripple.ripple-4 {
    animation-delay: 2.4s;
}

@keyframes rippleEffect {
    0% {
        width: 16px;
        height: 16px;
        opacity: 1;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

@keyframes innerPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
}

.harmonic-warning-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    z-index: 2;
    animation: warning-blink 1s infinite;
}

@keyframes warning-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 变电站谐波波纹 */
.station-harmonic-indicator {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.station-harmonic-indicator i {
    font-size: 14px;
    color: #3498db;
    z-index: 2;
    text-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.station-harmonic-indicator.alarm-high i {
    color: #e74c3c;
    text-shadow: 0 0 5px rgba(231, 76, 60, 0.5);
}

.station-harmonic-indicator.alarm-medium i {
    color: #e67e22;
    text-shadow: 0 0 5px rgba(230, 126, 34, 0.5);
}

.station-harmonic-indicator.alarm-low i {
    color: #f1c40f;
    text-shadow: 0 0 5px rgba(241, 196, 15, 0.5);
}

.water-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid #3498db;
    animation: stationRipple 2s infinite;
    opacity: 0;
}

.water-ripple.ripple-0 {
    animation-delay: 0s;
}

.water-ripple.ripple-1 {
    animation-delay: 0.5s;
}

.water-ripple.ripple-2 {
    animation-delay: 1s;
}

.water-ripple.ripple-3 {
    animation-delay: 1.5s;
}

@keyframes stationRipple {
    0% {
        width: 14px;
        height: 14px;
        opacity: 1;
    }
    100% {
        width: 60px;
        height: 60px;
        opacity: 0;
    }
}

/* 拟态框样式 */
.neu-modal {
    position: absolute;
    background: rgba(16, 25, 40, 0.95);
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4),
                -5px -5px 15px rgba(255, 255, 255, 0.05);
    padding: 15px;
    min-width: 280px;
    max-width: 320px;
    z-index: 1000;
    border: 1px solid rgba(0, 168, 255, 0.3);
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.neu-modal.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.neu-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 168, 255, 0.3);
}

.neu-modal-title {
    color: #00a8ff;
    font-size: 16px;
    font-weight: bold;
}

.neu-modal-close {
    color: #8892b0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    border-radius: 50%;
    line-height: 1;
    transition: all 0.2s ease;
}

.neu-modal-close:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    transform: scale(1.1);
}

.neu-modal-body {
    margin-bottom: 10px;
}

.neu-modal-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.neu-modal-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.neu-modal-value {
    color: var(--text-color);
    font-size: 14px;
    font-weight: bold;
}

.neu-modal-value.alarm-text {
    color: #e74c3c;
}

.neu-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.neu-modal-button {
    background: rgba(0, 168, 255, 0.1);
    color: #00a8ff;
    border: 1px solid #00a8ff;
    border-radius: 5px;
    padding: 5px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.neu-modal-button:hover {
    background: rgba(0, 168, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
}

/* 谐波状态指示器在拟态卡片中的显示 */
.harmonic-status-indicator {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0;
}

.harmonic-status-bar {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #00a8ff);
    border-radius: 4px;
    width: 0;
    transition: width 0.8s ease;
}

.alarm-high .harmonic-status-bar {
    background: linear-gradient(90deg, #e74c3c, #ff4444);
}

.alarm-medium .harmonic-status-bar {
    background: linear-gradient(90deg, #e67e22, #f39c12);
}

.alarm-low .harmonic-status-bar {
    background: linear-gradient(90deg, #f1c40f, #f4d03f);
}

/* 最大危害谐波源样式增强 */
.harmonic-source-inner.alarm-high {
    background-color: #e74c3c;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.9);
    width: 20px;
    height: 20px;
    animation: maxHarmonicPulse 1.2s infinite;
}

@keyframes maxHarmonicPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
}

/* 最大谐波源的波纹效果增强 */
.harmonic-source-marker:has(.alarm-high) .harmonic-source-ripple {
    border-width: 3px;
    filter: drop-shadow(0 0 5px rgba(231, 76, 60, 0.7));
}

/* 最大谐波源的警告图标增强 */
.harmonic-warning-icon {
    font-size: 12px;
    animation: warning-blink 0.8s infinite;
    z-index: 3;
}

/* 确保其他谐波源视觉上更弱 */
.harmonic-source-inner.alarm-medium,
.harmonic-source-inner.alarm-low {
    opacity: 0.7;
    box-shadow: 0 0 8px rgba(230, 126, 34, 0.6);
}

.station-harmonic-indicator.alarm-medium i,
.station-harmonic-indicator.alarm-low i {
    opacity: 0.8;
}

/* 谐波源位置拟态框样式增强 */
.neu-modal-section {
    padding: 5px 0;
}

.neu-modal-section .neu-modal-row {
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 168, 255, 0.1);
}

.neu-modal-section .neu-modal-row:last-child {
    border-bottom: none;
}

.neu-modal-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.neu-modal-value {
    font-size: 15px;
    font-weight: 500;
    color: #e6f1ff;
}

/* 优化谐波源位置拟态框样式 */
.neu-modal {
    min-width: 240px;
    max-width: 320px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    background: rgba(16, 25, 40, 0.95);
}

.neu-modal.alarm-high {
    border-top: 3px solid #e74c3c;
    border-left: 1px solid rgba(231, 76, 60, 0.3);
    border-right: 1px solid rgba(231, 76, 60, 0.3);
    border-bottom: 1px solid rgba(231, 76, 60, 0.3);
}

.neu-modal-title {
    font-size: 16px;
    font-weight: bold;
    color: #00a8ff;
}

.neu-modal-title i {
    margin-right: 8px;
    color: #00a8ff;
}

/* 自定义最大谐波源拟态框标题 */
.alarm-high .neu-modal-title {
    color: #e74c3c;
    text-shadow: 0 0 5px rgba(231, 76, 60, 0.3);
}

.alarm-high .neu-modal-title i {
    color: #e74c3c;
}

.alarm-high .neu-modal-close:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.2);
}

.alarm-high .neu-modal-value {
    color: #fff;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.2);
}

/* 历史记录加载指示器样式 */
.loading-history {
    padding: 15px;
    text-align: center;
    color: #00a8ff;
    font-size: 14px;
    margin: 10px 0;
    background-color: rgba(0, 168, 255, 0.05);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-history i {
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

.no-points {
    color: #8892b0;
    font-style: italic;
    font-size: 12px;
}

/* 优化的历史记录项目加载效果 */
@keyframes fadeInOptimized {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.history-record {
    animation: fadeInOptimized 0.3s ease-out forwards;
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 5px;
    background-color: rgba(0, 168, 255, 0.1);
    border-left: 3px solid #00a8ff;
    z-index: 10000;
    width: 300px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transform: translateX(110%);
    transition: transform 0.3s ease;
    color: #e6f1ff;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background-color: rgba(231, 76, 60, 0.1);
    border-left-color: #e74c3c;
}

.notification-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.notification-header i {
    margin-right: 10px;
    font-size: 16px;
}

.notification-message {
    font-size: 14px;
    color: #b2c4da;
}

.location-info-item:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    overflow: visible;
}

/* 项目概述高亮文本和特性 */
.project-overview .highlight-text {
    color: #00a8ff;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 168, 255, 0.3);
    position: relative;
    padding: 0 2px;
}

.project-overview .tech-feature {
    color: #2ecc71;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(46, 204, 113, 0.3);
    position: relative;
    padding: 0 2px;
}

/* 概述指标样式 */
.overview-indicators {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px dashed rgba(0, 168, 255, 0.2);
}

.overview-indicators .indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(0, 168, 255, 0.05);
    border: 1px solid rgba(0, 168, 255, 0.15);
    transition: all 0.3s ease;
}

.overview-indicators .indicator:hover {
    background: rgba(0, 168, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 168, 255, 0.15);
}

.overview-indicators .indicator i {
    font-size: 18px;
    color: #00a8ff;
    margin-bottom: 6px;
    text-shadow: 0 0 8px rgba(0, 168, 255, 0.5);
}

.overview-indicators .indicator span {
    font-size: 12px;
    color: var(--text-color);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.overview-indicators .indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    background: radial-gradient(circle at center, 
        rgba(0, 168, 255, 0.1) 0%, 
        rgba(0, 168, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overview-indicators .indicator:hover::before {
    opacity: 1;
    animation: pulse 2s infinite;
}

/* 系统信息面板样式优化 */
.system-info .info-label {
    font-size: 11px !important;
    color: rgba(153, 204, 255, 0.7) !important;
    letter-spacing: 0.5px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    margin-bottom: 3px !important;
}

.system-info .info-value {
    font-size: 13px !important;
    font-weight: 600 !important;
    padding-right: 16px !important;
    letter-spacing: 0.3px !important;
    text-shadow: 0 0 8px rgba(0, 168, 255, 0.3) !important;
}

.system-info .info-value.status-running {
    color: #0eff7e !important;
    text-shadow: 0 0 8px rgba(14, 255, 126, 0.4) !important;
}

.system-info .info-value#cpu-usage,
.system-info .info-value#memory-usage {
    color: #00e2ff !important;
}

.system-info .info-value#network-latency,
.system-info .info-value#data-flow {
    color: #f3a32a !important;
}

.system-info .info-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
}

.system-info .info-item {
    background: rgba(0, 168, 255, 0.05) !important;
    border: 1px solid rgba(0, 168, 255, 0.15) !important;
    border-radius: 6px !important;
    padding: 6px 8px !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.system-info .info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 168, 255, 0.1) 0%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.system-info .info-item:hover::before {
    opacity: 1;
}

.system-info .info-item::after {
    width: 6px !important;
    height: 6px !important;
    right: 6px !important;
}

.system-info h3 {
    font-size: 14px !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
}

.system-info h3::before {
    content: '\f080' !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    margin-right: 8px !important;
    font-size: 12px !important;
}

/* 系统信息图标样式 */
.system-info .info-label i {
    font-size: 10px !important;
    margin-right: 4px !important;
    color: rgba(0, 168, 255, 0.9) !important;
    width: 14px !important;
    text-align: center !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
}

.system-info .info-item:hover .info-label i {
    opacity: 1 !important;
    transform: scale(1.1) !important;
    text-shadow: 0 0 5px rgba(0, 168, 255, 0.6) !important;
}

.system-info .info-value {
    position: relative !important;
    z-index: 1 !important;
}

/* 更紧凑的时间显示 */
.system-info .info-value#last-update {
    font-size: 11px !important;
    letter-spacing: 0 !important;
}

/* 更加突出的关键指标 */
.system-info .info-value#network-latency,
.system-info .info-value#cpu-usage {
    font-weight: 700 !important;
}

/* 滚动条样式优化 - 增强科技感 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: rgba(10, 25, 47, 0.3);
    border-radius: 5px;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    margin: 3px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, 
        rgba(0, 168, 255, 0.2) 0%, 
        rgba(100, 255, 218, 0.4) 50%, 
        rgba(0, 168, 255, 0.2) 100%);
    border-radius: 5px;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.2), 
                inset 0 0 6px rgba(0, 168, 255, 0.3);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, 
        rgba(0, 168, 255, 0.4) 0%, 
        rgba(100, 255, 218, 0.6) 50%, 
        rgba(0, 168, 255, 0.4) 100%);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.4), 
                inset 0 0 8px rgba(0, 168, 255, 0.5);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* 滚动条轨道两端按钮 */
::-webkit-scrollbar-button {
    display: none;
}

/* 滚动条轨道激活态 */
::-webkit-scrollbar-track:active {
    background: rgba(10, 25, 47, 0.5);
}

/* 给滚动条添加动画效果 */
@keyframes scrollbar-glow {
    0% {
        box-shadow: 0 0 10px rgba(100, 255, 218, 0.2), 
                    inset 0 0 6px rgba(0, 168, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(100, 255, 218, 0.4), 
                    inset 0 0 8px rgba(0, 168, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 10px rgba(100, 255, 218, 0.2), 
                    inset 0 0 6px rgba(0, 168, 255, 0.3);
    }
}

/* 当页面滚动时应用动画 */
.scrolling ::-webkit-scrollbar-thumb {
    animation: scrollbar-glow 2s infinite;
}

/* 特定容器的滚动条样式保持一致 */
.sidebar::-webkit-scrollbar,
.center-content::-webkit-scrollbar,
.panel::-webkit-scrollbar,
.map-container::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.sidebar::-webkit-scrollbar-track,
.center-content::-webkit-scrollbar-track,
.panel::-webkit-scrollbar-track,
.map-container::-webkit-scrollbar-track {
    background: rgba(10, 25, 47, 0.3);
    border-radius: 5px;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    margin: 3px;
}

.sidebar::-webkit-scrollbar-thumb,
.center-content::-webkit-scrollbar-thumb,
.panel::-webkit-scrollbar-thumb,
.map-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, 
        rgba(0, 168, 255, 0.2) 0%, 
        rgba(100, 255, 218, 0.4) 50%, 
        rgba(0, 168, 255, 0.2) 100%);
    border-radius: 5px;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.2), 
                inset 0 0 6px rgba(0, 168, 255, 0.3);
}

.sidebar::-webkit-scrollbar-thumb:hover,
.center-content::-webkit-scrollbar-thumb:hover,
.panel::-webkit-scrollbar-thumb:hover,
.map-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, 
        rgba(0, 168, 255, 0.4) 0%, 
        rgba(100, 255, 218, 0.6) 50%, 
        rgba(0, 168, 255, 0.4) 100%);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.4), 
                inset 0 0 8px rgba(0, 168, 255, 0.5);
}

/* 滚动指示器 */
.scroll-indicator-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: rgba(10, 25, 47, 0.2);
    z-index: 9999;
    pointer-events: none;
}

.scroll-indicator {
    position: absolute;
    top: 0;
    width: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 168, 255, 0.7) 0%, 
        rgba(100, 255, 218, 0.9) 100%);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.5),
                0 0 20px rgba(0, 168, 255, 0.3);
    border-radius: 3px;
    transform-origin: center right;
    transition: height 0.1s ease-out;
}

.scroll-indicator::before,
.scroll-indicator::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 3px;
    background: rgba(100, 255, 218, 0.9);
    left: -10px;
    border-radius: 2px;
}

.scroll-indicator::before {
    top: 3px;
    box-shadow: 0 0 8px rgba(100, 255, 218, 0.8);
    animation: pulse-indicator 2s infinite;
}

.scroll-indicator::after {
    bottom: 3px;
    box-shadow: 0 0 8px rgba(100, 255, 218, 0.8);
    animation: pulse-indicator 2s infinite 0.5s;
}

@keyframes pulse-indicator {
    0% {
        opacity: 0.5;
        box-shadow: 0 0 8px rgba(100, 255, 218, 0.5);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(100, 255, 218, 0.8);
    }
    100% {
        opacity: 0.5;
        box-shadow: 0 0 8px rgba(100, 255, 218, 0.5);
    }
}

/* 地图页面特定元素的滚动条悬浮效果 */
.sidebar:hover::-webkit-scrollbar-thumb,
.center-content:hover::-webkit-scrollbar-thumb,
.panel:hover::-webkit-scrollbar-thumb,
.map-container:hover::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, 
        rgba(0, 168, 255, 0.5) 0%, 
        rgba(100, 255, 218, 0.7) 50%, 
        rgba(0, 168, 255, 0.5) 100%);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.5), 
                inset 0 0 10px rgba(0, 168, 255, 0.6);
    transform: scale(1.05);
}

/* 滚动条轨道悬浮效果 */
.sidebar:hover::-webkit-scrollbar-track,
.center-content:hover::-webkit-scrollbar-track,
.panel:hover::-webkit-scrollbar-track,
.map-container:hover::-webkit-scrollbar-track {
    background: rgba(10, 25, 47, 0.5);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
}

/* 添加滚动条的数字指示器 - 显示当前滚动百分比 */
.scroll-percentage {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(10, 25, 47, 0.7);
    color: rgba(100, 255, 218, 0.9);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 15px;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
    backdrop-filter: blur(5px);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.scroll-percentage.visible {
    opacity: 1;
}

.scroll-percentage::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 20px;
    animation: border-pulse 2s infinite;
    pointer-events: none;
}

@keyframes border-pulse {
    0% {
        border-color: rgba(100, 255, 218, 0.2);
        transform: scale(1);
    }
    50% {
        border-color: rgba(100, 255, 218, 0.5);
        transform: scale(1.05);
    }
    100% {
        border-color: rgba(100, 255, 218, 0.2);
        transform: scale(1);
    }
}