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

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background: #0a0e27;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

.dashboard {
    padding: 10px 20px 20px;
    min-height: 100vh;
}

/* 顶部标题 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, rgba(0,212,255,0.1) 0%, rgba(0,0,0,0) 50%, rgba(0,212,255,0.1) 100%);
    border-bottom: 1px solid rgba(0,212,255,0.3);
    padding: 0 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #0066ff);
    box-shadow: 0 0 10px rgba(0,212,255,0.5);
}

.title {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(90deg, #00d4ff, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.tag {
    background: rgba(0,212,255,0.2);
    border: 1px solid #00d4ff;
    color: #00d4ff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.header-right .time {
    color: #8b9dc3;
    font-size: 14px;
}

/* KPI 卡片 */
.kpi-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.kpi-card {
    flex: 1;
    background: rgba(16, 42, 88, 0.6);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 8px;
    padding: 15px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.kpi-label {
    color: #8b9dc3;
    font-size: 13px;
    margin-bottom: 8px;
}

.kpi-value {
    font-size: 28px;
    font-weight: bold;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0,212,255,0.3);
}

/* 主内容区 */
.main-content {
    display: flex;
    gap: 15px;
    height: calc(100vh - 200px);
    min-height: 600px;
}

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

.left-col, .right-col {
    flex: 1;
}

.center-col {
    flex: 1.2;
}

.chart-box {
    flex: 1;
    background: rgba(16, 42, 88, 0.4);
    border: 1px solid rgba(0,212,255,0.15);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.chart-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.3), transparent);
}

.chart-title {
    font-size: 14px;
    color: #00d4ff;
    margin-bottom: 8px;
    padding-left: 10px;
    border-left: 3px solid #00d4ff;
}

.chart-content {
    flex: 1;
    min-height: 0;
}

.map-box {
    flex: 1.2;
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
}
::-webkit-scrollbar-thumb {
    background: rgba(0,212,255,0.3);
    border-radius: 3px;
}
