/* 基础布局样式 */
body {
    font-family: 'Segoe UI', system-ui;
    margin: 0;
    padding: 20px;
    background: #f5f7fa;
}

.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

/* 功能模块通用样式 */
.management-module,
.data-module,
.monitor-module {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 卡片式布局 */
.card-container {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.func-card {
    flex: 1;
    min-width: 300px;
    padding: 1.5rem;
    border: 1px solid #e4e7ec;
    border-radius: 6px;
    transition: transform 0.2s;
}

.func-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(79,114,238,0.15);
}

/* 数据采集流程样式 */
.workflow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step {
    background: #f8f9fc;
    padding: 1.5rem;
    border-left: 4px solid #4f72ee;
}

/* 监控可视化区域 */
.status-panel {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

#equipmentStatusChart {
    height: 400px;
    background: #f8f9fc;
    border-radius: 6px;
}

.alert-list {
    background: #fff8f0;
    padding: 1.5rem;
    border-radius: 6px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .status-panel {
        grid-template-columns: 1fr;
    }
}

/* 备案信息样式 */
footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.9em;
    color: #666;
}

body {
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://example.com/science-pattern.svg') center/cover;
    opacity: 0.1;
    z-index: -1;
}

h1 {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
        margin: 1rem 0;
    }
}