.card {
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.card-header {
    background-color: #f8f9fa;
    font-weight: bold;
}
.money-inflow {
    color: #d9534f;
    font-weight: bold;
}
.money-outflow {
    color: #5cb85c;
    font-weight: bold;
}
.chart-container {
    height: 350px;
    margin-bottom: 20px;
}
.stat-card {
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.stat-value {
    font-size: 24px;
    font-weight: bold;
}
.stat-title {
    font-size: 14px;
    color: #666;
}
.refresh-btn {
    margin-left: 10px;
}
.update-time {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}
.flow-direction {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-top: -5px;
    margin-bottom: 10px;
}
.summary-text {
    font-size: 1em;
    margin-bottom: 8px;
}
.percentage-value {
    font-weight: bold;
    font-size: 1.2em; /* 字体放大 */
    padding: 0 3px; /* 微调间距 */
}
.percentage-value.positive {
    color: #d9534f; /* 红色 */
}
.percentage-value.negative {
    color: #5cb85c; /* 绿色 */
}
.percentage-value.neutral {
    color: #337ab7; /* 蓝色 (中性色) */
}