pub fn centered_rect(percent_x: u16, percent_y: u16, area: Rect) -> Rect
Create a centered rectangle for popups/overlays.