Perfect! Let me make that final adjustment to move the partial payment badge to the Selected invoices section header:
Perfect! I've made the final adjustments:
Changes Made:
1. Moved Partial Payment Badge
- New Location: Now appears in the Selected invoices section header
- Positioning: Right-aligned opposite the "Selected invoices (X)" title
- Clean Layout: Creates a balanced header with title on left, badge on right
2. Simplified Left Column
- Removed Badge: No more partial payment badge beneath the input
- Cleaner Input Area: Just the input field with reset button
- Tooltip Preserved: Distribution tooltip still available for multiple invoices
3. Fixed Bottom Layout
- Flex Container: Selected invoices section now uses flexbox
- Auto Margin: Remaining balance uses
mt-auto to stick to bottom - Consistent Spacing: Proper border and padding for the bottom section
Visual Improvements:
- Better Information Hierarchy: Badge is now contextually placed with the invoices it affects
- Cleaner Input Section: Less visual clutter around the amount input
- Consistent Layout: Remaining balance always appears at the bottom regardless of invoice count
- Balanced Header: Title and badge create a nice visual balance in the section header
The partial payment badge now clearly indicates which invoices are affected by the partial payment, and the remaining balance is properly anchored to the bottom of the section!