/* 财务统计相关页面样式 */

/*
.finance-container {
    background-color: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}
*/

.finance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.finance-header h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.finance-summary {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.finance-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 16px;
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--medium-gray);
}

.finance-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--dark-gray);
}

.finance-title {
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.finance-icon {
    margin-right: 8px;
    font-size: 1.1rem;
}

.finance-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 10px 0;
}

.finance-detail {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.8;
}

.finance-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.chart-container {
    height: 300px;
    background-color: var(--white);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.chart-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.revenue-chart {
    width: 100%;
    height: 240px;
    background-color: rgba(52, 152, 219, 0.05);
    border-radius: 6px;
}

.expense-chart {
    width: 100%;
    height: 240px;
    background-color: rgba(231, 76, 60, 0.05);
    border-radius: 6px;
}