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

body {
    background-color: #0b0f1f;
    color: #fff;
    font-family: 'Microsoft YaHei', sans-serif;
    height: 100vh;
    overflow: hidden;
}

.header {
    height: 8vh;
    background: url('https://lib.baomitu.com/echarts/5.4.3/theme/dark.js') no-repeat center; /* 占位，实际可以用图片 */
    background-color: #0f162d;
    border-bottom: 2px solid #1c2642;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header h1 {
    font-size: 2rem;
    letter-spacing: 5px;
    text-shadow: 0 0 10px #00eaff;
}

.header .time {
    position: absolute;
    right: 20px;
    font-size: 1.2rem;
    color: #00eaff;
}

.main-container {
    display: grid;
    grid-template-columns: 28% 44% 28%;
    gap: 10px;
    padding: 10px;
    height: 92vh;
}

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

.panel {
    background: rgba(16, 26, 50, 0.8);
    border: 1px solid #1c2642;
    border-radius: 5px;
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-top: 2px solid #00eaff;
    border-left: 2px solid #00eaff;
}

.panel::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #00eaff;
    border-right: 2px solid #00eaff;
}

.panel h3 {
    font-size: 1rem;
    color: #00eaff;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 234, 255, 0.2);
    padding-bottom: 5px;
}

.chart {
    flex: 1;
    width: 100%;
    min-height: 150px;
}

/* 中间列特殊样式 */
.center-col {
    gap: 15px;
}

.kpi-card {
    display: flex;
    justify-content: space-around;
    background: rgba(16, 26, 50, 0.8);
    padding: 20px;
    border: 1px solid #1c2642;
    border-radius: 5px;
}

.kpi-item {
    text-align: center;
}

.kpi-title {
    font-size: 1rem;
    color: #8fa0cd;
    margin-bottom: 5px;
}

.kpi-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    font-family: 'Arial', sans-serif;
}

.kpi-value.highlight {
    color: #ffeb3b;
    text-shadow: 0 0 10px rgba(255, 235, 59, 0.5);
}

.map-panel {
    flex: 2; /* 让中间的大图占更多空间 */
}
