{!--
/**
* JCOGS OTP Pro - Pattern 3a: AJAX Modal Overlay (Custom Implementation)
* =======================================================================
*
* Advanced demonstration of custom AJAX login with modal OTP overlay.
* Shows how to build your own AJAX implementation using the add-on's
* action URLs and API. Features complete custom JavaScript handlers.
*
* Features:
* - AJAX form submission (no page reload)
* - Modal overlay for OTP entry
* - Custom form handling and state management
* - Error handling and loading states
* - Remember device option
* - Back button support
*
* Template Group: jcogs_otp_pro_examples
* Default Success URL: /jcogs_otp_pro_examples/user_otp_settings
* Requires: ajax-helpers.js from add-on themes directory
* CSS/JS Path: __CSS_JS_PATH__ (replaced during installation)
* Note: Inline JavaScript demonstrates custom AJAX implementation
*
* @category ExpressionEngine Template
* @package JCOGS OTP Pro
* @author JCOGS Design
Modern AJAX login with OTP appearing in a modal overlay. No page reloads.
Pattern 3a: Modal Overlay (AJAX)
Implementation Notes
otp-ajax-helpers.js library