/**
 * Financial Dashboard Styles
 */

.financial-dashboard-container {
    padding: 1.5rem;
    background: var(--bg-primary);
}

.financial-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.financial-metric-card {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-income {
    color: #4CAF50;
}

.metric-expense {
    color: #F44336;
}

.metric-positive {
    color: #2196F3;
}

.metric-negative {
    color: #FF9800;
}

.financial-chart-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.financial-chart-section h3 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.financial-chart-container {
    width: 100%;
    height: 400px;
    position: relative;
}

#financial-cashflow-chart {
    width: 100%;
    height: 100%;
    max-height: 400px;
}

.financial-period-table {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.financial-period-table h3 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.financial-table {
    width: 100%;
    border-collapse: collapse;
}

.financial-table thead {
    background: var(--bg-tertiary);
}

.financial-table th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.financial-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.financial-table tbody tr:hover {
    background: var(--bg-tertiary);
}

.financial-table td.metric-income {
    color: #4CAF50;
    font-weight: 600;
}

.financial-table td.metric-expense {
    color: #F44336;
    font-weight: 600;
}

.financial-table td.metric-positive {
    color: #2196F3;
    font-weight: 600;
}

.financial-table td.metric-negative {
    color: #FF9800;
    font-weight: 600;
}

