body {
    margin: 0;
    padding: 20px;
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f5f7fa;
}
.header {
    text-align: center;
    margin-bottom: 30px;
}
.header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}
.chart-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
}
.chart {
    width: 100%;
    height: 400px;
}
.controls {
    margin-bottom: 20px;
    text-align: center;
}
.controls select, .controls input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
}
.controls button {
    padding: 8px 16px;
    background-color: #409eff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}
.controls button:hover {
    background-color: #66b1ff;
}
.message {
    text-align: center;
    color: #666;
    margin: 20px 0;
}
.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}
.tab {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #f5f7fa;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    margin-right: 5px;
}
.tab.active {
    background-color: #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}