/* ── Balance & Income – Report-specific overrides ── */ /* Level 1 = Top-level category (e.g. الإيرادات) */ tr.level-1 > td { background-color: #195FBB !important; color: #ffffff !important; font-weight: bold !important; font-size: 14px !important; border-bottom: 2px solid #0f4a99 !important; } /* Level 2 = Sub-category */ tr.level-2 > td { background-color: #EFF4FC !important; color: #195FBB !important; font-weight: bold !important; font-size: 13px !important; } /* Level 3 = Leaf accounts */ tr.level-3 > td { background-color: #ffffff !important; color: #1E293B !important; font-weight: normal !important; } /* Level 4+ = Deeper leaves */ tr.level-4 > td, tr.level-5 > td, tr.level-6 > td { background-color: #fafafa !important; color: #475569 !important; } /* Subtotal rows */ tr.subtotal-row > td { background-color: #dce8fa !important; color: #195FBB !important; font-weight: bold !important; border-top: 2px solid #195FBB !important; font-size: 13px !important; } /* Section header rows (echoed via PHP) */ tr.section-header th { background-color: #195FBB !important; color: #ffffff !important; font-weight: bold !important; font-size: 13px !important; padding: 9px 11px !important; border: 1px solid #0f4a99 !important; } tr.section-spacer td { background-color: #f8f9fa !important; padding: 8px !important; border: none !important; border-bottom: 1px solid #D1D9E6 !important; } /* Grand Total row */ .totals { margin-top: 20px; padding: 12px 16px; background-color: #EFF4FC; border-radius: 6px; border: 1px solid #195FBB; } .totals p { font-size: 14px; font-weight: bold; color: #195FBB; margin: 4px 0; }