Loading...
Loading...
Create a Modal component with the ability to open and close. Requirements: ✓ Button to open modal ✓ Overlay (darkened background) when open ✓ Modal content centered on screen ✓ Close button (X) in modal corner ✓ Close on overlay click ✓ Close on Escape key press ✓ Block page scroll when modal is open ✓ Smooth open/close animation Acceptance Criteria: ✓ Modal correctly opens and closes ✓ Click on overlay closes modal ✓ Pressing Escape closes modal ✓ Animation works smoothly ✓ Page scroll is blocked when modal is open