Revamp popups, form handling and CSP
Refactor popup UI and behavior, rewrite form processing and improve error reporting; update CSP.
- website/css/fundoglobal.css: Redesigned popup and error-modal styles (spacing, typography, shadows, animations, progress bar, responsive tweaks, buttons, and error details UI) to improve UX and consistency.
- website/js/CaixaForms.js: Major rewrite of popup manager and form submit flow — adds fingerprint generation, centralized popup container, improved show/showErrorWithReport APIs, modal-driven error reporting (copy/report), handling of multiple JSON responses, request cooldown, better loading/error handling, and Font Awesome fallback.
-
security_headers.php: Updated Content-Security-Policy to allow additional Google/ads and related endpoints (pagead2, adtrafficquality, doubleclick, etc.) for scripts, images, frames and connections.