/* ===== ACCOUNTING PAGES SHARED STYLES ===== */
.page-title {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    margin: 0;
}

.stat-card.expense { border-left-color: #f97316; }
.stat-card.expense .stat-icon { background: rgba(249, 115, 22, 0.1); color: #f97316; }

.stat-card.current { border-left-color: #10b981; }
.stat-card.current .stat-icon { background: rgba(16, 185, 129, 0.1); color: #10b981; }

.stat-card.warning { border-left-color: #f59e0b; }
.stat-card.warning .stat-icon { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

.stat-card.danger { border-left-color: #ef4444; }
.stat-card.danger .stat-icon { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.stat-card.tax { border-left-color: #8b5cf6; }
.stat-card.tax .stat-icon { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.stat-card.net { border-left-color: #06b6d4; }
.stat-card.net.profit { border-left-color: #10b981; }
.stat-card.net.loss { border-left-color: #ef4444; }
.stat-card.net .stat-icon.profit { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.stat-card.net .stat-icon.loss { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.chart-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.card-header h3 {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-body {
    padding: 1.5rem;
}

.charts-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.notes-textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.875rem;
    resize: vertical;
    min-height: 150px;
}

.aging-current { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.aging-1-30 { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.aging-31-60 { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.aging-60plus { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.text-right { text-align: right; }

.profit-row { background: rgba(16, 185, 129, 0.05); }
.loss-row { background: rgba(239, 68, 68, 0.05); }

@media (max-width: 1200px) {
    .charts-row { grid-template-columns: 1fr; }
}
