{"id":423,"date":"2026-01-30T18:37:12","date_gmt":"2026-01-30T18:37:12","guid":{"rendered":"https:\/\/grapcreate.com\/muncd23ed\/?page_id=423"},"modified":"2026-02-07T09:19:38","modified_gmt":"2026-02-07T09:19:38","slug":"register-now","status":"publish","type":"page","link":"https:\/\/muncd.com\/index.php\/register-now\/","title":{"rendered":"Register Now"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"423\" class=\"elementor elementor-423\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-279a27e e-con-full e-flex e-con e-parent\" data-id=\"279a27e\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-2308a76 e-con-full e-flex e-con e-child\" data-id=\"2308a76\" data-element_type=\"container\" data-settings=\"{&quot;sticky&quot;:&quot;top&quot;,&quot;sticky_on&quot;:[&quot;desktop&quot;,&quot;tablet&quot;],&quot;sticky_offset&quot;:58,&quot;sticky_effects_offset&quot;:0,&quot;sticky_anchor_link_offset&quot;:0}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f3f9efc elementor-widget__width-inherit elementor-invisible elementor-widget elementor-widget-heading\" data-id=\"f3f9efc\" data-element_type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInUp&quot;}\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\">Join Now<\/p>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6a77d8d elementor-invisible elementor-widget elementor-widget-heading\" data-id=\"6a77d8d\" data-element_type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeInLeft&quot;}\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Delegate<br>Registration<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5386431 elementor-widget elementor-widget-shortcode\" data-id=\"5386431\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">    <div class=\"muncd-main-container\">\n        \n        <!-- LEFT COLUMN: Information Panel -->\n        <div class=\"muncd-info-panel\">\n            <h3 class=\"panel-header\">Delegate Package<\/h3>\n            \n            <!-- Domestic Info Content -->\n            <div id=\"info-domestic\" class=\"info-content active\">\n                <div class=\"pricing-display\">\n                    <div class=\"p-row\"><span>School Delegates<\/span> <strong>LKR 8,500<\/strong><\/div>\n                    <div class=\"p-row\"><span>Private Delegates<\/span> <strong>LKR 9,000<\/strong><\/div>\n                <\/div>\n                <ul class=\"includes-list\">\n                    <li>Access to all committee sessions<\/li>\n                    <li>Delegate kit & official materials<\/li>\n                    <li>Committee guides & Delegate Manual<\/li>\n                    <li>Pre-conference workshops<\/li>\n                    <li>Certificate of participation<\/li>\n                    <li>Awards eligibility<\/li>\n                    <li>Opening & Closing Nights<\/li>\n                <\/ul>\n            <\/div>\n\n            <!-- International Info Content -->\n            <div id=\"info-international\" class=\"info-content\">\n                <div class=\"pricing-display\">\n                    <div class=\"p-row\"><span>With Accommodation<\/span> <strong>USD 799<\/strong><\/div>\n                    <div class=\"p-row\"><span>No Accommodation<\/span> <strong>USD 599<\/strong><\/div>\n                <\/div>\n                <ul class=\"includes-list\">\n                    <li>Access to all committee sessions<\/li>\n                    <li>Delegate kit & official materials<\/li>\n                    <li>Workshops & Training<\/li>\n                    <li>Certificate & Awards<\/li>\n                    <li>Diplomatic Dinner & Networking<\/li>\n                    <li>Cultural Exchange Forum<\/li>\n                    <li>3 Nights Hotel (If selected)<\/li>\n                    <li>Local Transport<\/li>\n                <\/ul>\n            <\/div>\n\n             <!-- Admin Info Content -->\n             <div id=\"info-admin\" class=\"info-content\">\n                <p>Please submit your CV for review. Our secretariat will contact you regarding administrative roles.<\/p>\n            <\/div>\n\n            <div class=\"brochure-note\">\n                <a href=\"\/resources\">Download Delegate Brochure &rarr;<\/a>\n            <\/div>\n        <\/div>\n\n        <!-- RIGHT COLUMN: Form -->\n        <div class=\"muncd-form-wrapper\">\n            \n            <!-- Top Toggle -->\n            <div class=\"muncd-toggle-header\">\n                <button type=\"button\" class=\"muncd-toggle-btn active\" data-target=\"domestic\">\n                    Domestic Registration\n                <\/button>\n                <button type=\"button\" class=\"muncd-toggle-btn\" data-target=\"international\">\n                    International Registration\n                <\/button>\n            <\/div>\n\n            <form id=\"muncd-app-form\" enctype=\"multipart\/form-data\">\n                <input type=\"hidden\" id=\"muncd_nonce\" name=\"muncd_nonce\" value=\"548a4da613\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/index.php\/wp-json\/wp\/v2\/pages\/423\" \/>                <input type=\"hidden\" name=\"action\" value=\"muncd_submit_app\">\n                <input type=\"hidden\" name=\"app_type\" id=\"app_type_input\" value=\"domestic\">\n\n                <div class=\"muncd-form-body\">\n                    \n                    <!-- Section: Personal Info -->\n                    <div class=\"muncd-section\">\n                        <h4 class=\"muncd-sec-title\">Delegate Details<\/h4>\n                        <div class=\"muncd-field\">\n                            <label>Full Name<\/label>\n                            <input type=\"text\" name=\"full_name\" required placeholder=\"Name as per ID\/Passport\">\n                        <\/div>\n                        <div class=\"muncd-grid-2\">\n                            <div class=\"muncd-field\">\n                                <label>Email Address<\/label>\n                                <input type=\"email\" name=\"email\" required placeholder=\"email@example.com\">\n                            <\/div>\n                            <div class=\"muncd-field\">\n                                <label>Phone \/ WhatsApp<\/label>\n                                <input type=\"text\" name=\"phone\" required placeholder=\"+94 77 ...\">\n                            <\/div>\n                        <\/div>\n                    <\/div>\n\n                    <!-- DOMESTIC FORM -->\n                    <div id=\"view-domestic\" class=\"muncd-view active\">\n                        <div class=\"muncd-radio-group\">\n                            <div class=\"radio-option\">\n                                <input type=\"radio\" id=\"dom_school\" name=\"domestic_cat\" value=\"school\" checked>\n                                <label for=\"dom_school\">\n                                    <span class=\"lbl-main\">School Delegate<\/span>\n                                <\/label>\n                            <\/div>\n                            <div class=\"radio-option\">\n                                <input type=\"radio\" id=\"dom_private\" name=\"domestic_cat\" value=\"private\">\n                                <label for=\"dom_private\">\n                                    <span class=\"lbl-main\">Private Delegate<\/span>\n                                <\/label>\n                            <\/div>\n                        <\/div>\n\n                        <!-- School List -->\n                        <div id=\"school-select-wrap\" class=\"muncd-field mt-4\">\n                        <label>Select School<\/label>\n                        <div class=\"select-wrapper\">\n                            <select name=\"school_name\" id=\"school-search\" style=\"width: 100%;\">\n                                <option value=\"\">Choose School...<\/option>\n                                <option value=\"Royal College\">Royal College<\/option>\n                                <option value=\"Bishop's College\">Bishop's College<\/option>\n                                <option value=\"Zahira College\">Zahira College<\/option>\n                                <option value=\"Other\">Other<\/option>\n                            <\/select>\n                        <\/div>\n                    <\/div>\n\n                        <!-- University -->\n                        <div id=\"uni-select-wrap\" class=\"muncd-field mt-4\" style=\"display:none;\">\n                            <label>University \/ Institution<\/label>\n                            <input type=\"text\" name=\"uni_name\" placeholder=\"University Name\">\n                        <\/div>\n                        \n                        <!-- Extra Fields for Domestic -->\n                        <div class=\"muncd-grid-2 mt-4\">\n                             <div class=\"muncd-field\">\n                                <label>Date of Birth<\/label>\n                                <input type=\"date\" name=\"dob\">\n                            <\/div>\n                            <div id=\"nic-wrap\" class=\"muncd-field\" style=\"display:none;\">\n                                <label>National ID (NIC)<\/label>\n                                <input type=\"text\" name=\"nic\" placeholder=\"NIC Number\">\n                            <\/div>\n                        <\/div>\n                    <\/div>\n\n                    <!-- INTERNATIONAL FORM -->\n                    <div id=\"view-international\" class=\"muncd-view\">\n                        <div class=\"muncd-radio-group\">\n                            <div class=\"radio-option\">\n                                <input type=\"radio\" id=\"intl_no_acc\" name=\"intl_cat\" value=\"without_acc\" checked>\n                                <label for=\"intl_no_acc\">\n                                    <span class=\"lbl-main\">No Accommodation<\/span>\n                                <\/label>\n                            <\/div>\n                            <div class=\"radio-option\">\n                                <input type=\"radio\" id=\"intl_acc\" name=\"intl_cat\" value=\"with_acc\">\n                                <label for=\"intl_acc\">\n                                    <span class=\"lbl-main\">With Accommodation<\/span>\n                                <\/label>\n                            <\/div>\n                        <\/div>\n\n                        <div class=\"muncd-grid-2 mt-4\">\n                            <div class=\"muncd-field\"><label>Passport Number<\/label><input type=\"text\" name=\"passport\"><\/div>\n                            <div class=\"muncd-field\"><label>Nationality<\/label><input type=\"text\" name=\"country\"><\/div>\n                            <div class=\"muncd-field\"><label>City<\/label><input type=\"text\" name=\"city\"><\/div>\n                            <div class=\"muncd-field\"><label>Emergency Contact<\/label><input type=\"text\" name=\"emergency_contact\"><\/div>\n                        <\/div>\n                    <\/div>\n                    \n                    <!-- ADMIN FORM -->\n                     <div id=\"view-admin\" class=\"muncd-view\">\n                         <div class=\"muncd-field\">\n                            <label>Upload CV \/ Resume (PDF)<\/label>\n                            <div class=\"file-upload-wrapper\">\n                                <input type=\"file\" name=\"admin_cv\" accept=\".pdf,.doc,.docx\">\n                                <div class=\"fu-placeholder\">Choose File...<\/div>\n                            <\/div>\n                        <\/div>\n                     <\/div>\n\n                    <!-- PAYMENT SECTION -->\n                    <div id=\"payment-section\" class=\"muncd-section\">\n                        <div class=\"muncd-divider\"><\/div>\n                        \n                        <h4 class=\"muncd-sec-title\">Payment Method<\/h4>\n                        <div class=\"muncd-payment-options\">\n                            <div class=\"radio-option payment-opt\">\n                                <input type=\"radio\" id=\"pay_bank\" name=\"payment_method\" value=\"bank_transfer\" checked>\n                                <label for=\"pay_bank\">Bank Transfer & Upload Slip<\/label>\n                            <\/div>\n                            <div class=\"radio-option payment-opt\" id=\"koko-wrapper\">\n                                <input type=\"radio\" id=\"pay_koko\" name=\"payment_method\" value=\"koko\">\n                                <label for=\"pay_koko\">Pay via KOKO (Instalments)<\/label>\n                            <\/div>\n                            <div class=\"radio-option payment-opt\">\n                                <input type=\"radio\" id=\"pay_later\" name=\"payment_method\" value=\"pay_later\">\n                                <label for=\"pay_later\">Pay Later (Manual Setup)<\/label>\n                            <\/div>\n                        <\/div>\n\n                        <div class=\"payment-layout\" id=\"bank-details-wrap\" style=\"margin-top: 20px;\">\n                            <div class=\"muncd-bank-box\">\n                                <p><strong>Bank Details for Transfer<\/strong><\/p>\n                                <p>Account Name: Rotaract Club of Colombo Fort<br>\n                                Account Number: 1000182017<br>\n                                Bank: Commercial Bank<br>\n                                Branch: Kollupitiya<\/p>\n                            <\/div>\n                            \n                            <div class=\"muncd-field file-input-group\">\n                                <label>Upload Payment Slip *<\/label>\n                                <input type=\"file\" name=\"payment_slip\" id=\"slip-input\" accept=\"image\/*,.pdf\" required>\n                                <small>JPG or PDF (Max 2MB)<\/small>\n                            <\/div>\n                        <\/div>\n\n                        <div id=\"pay-later-msg\" style=\"display:none; margin-top:20px; padding:15px; background:#e0f2fe; color:#0369a1; border-radius:8px; font-size:14px;\">\n                            <strong>Pay Later Selected:<\/strong> Your application will be marked as 'Pending'. A member of the secretariat will contact you to manually arrange and verify your payment.\n                        <\/div>\n\n                        <div id=\"koko-msg\" style=\"display:none; margin-top:20px; padding:15px; background:#fef3c7; color:#92400e; border-radius:8px; font-size:14px;\">\n                            <strong>KOKO Payment Selected:<\/strong> After submitting this form, you will be securely redirected to our payment portal to complete your transaction via KOKO (Buy Now Pay Later).\n                        <\/div>\n\n                        <div class=\"muncd-total-bar\">\n                            <span class=\"total-label\">Total Payable<\/span>\n                            <span id=\"display-total\" class=\"total-amount\">LKR 8,500<\/span>\n                        <\/div>\n                    <\/div>\n\n                    <div class=\"muncd-actions\">\n                        <button type=\"submit\" class=\"muncd-submit-btn\" id=\"main-submit-btn\">Submit Application<\/button>\n                        <div id=\"muncd-msg\"><\/div>\n                    <\/div>\n                    \n                    <div class=\"muncd-footer-link\">\n                        <a href=\"#\" id=\"trigger-admin\">Internal Registration (Admin)<\/a>\n                    <\/div>\n                <\/div>\n            <\/form>\n        <\/div>\n    <\/div>\n\n    <style>\n        :root { \n            --muncd-brand: #042134; \n            --muncd-bg: #f8fafc; \n            --muncd-border: #e2e8f0;\n            --muncd-text: #1e293b; \n        }\n        \n        \/* Layout & Container *\/\n        .muncd-main-container { display: grid; grid-template-columns: 300px 1fr; gap: 0; max-width: 1100px; margin: 40px auto; background: #fff; border: 1px solid var(--muncd-border); border-radius: 16px; overflow: hidden; font-family: 'Inter', system-ui, -apple-system, sans-serif; }\n        .muncd-info-panel { background: var(--muncd-bg); padding: 40px 30px; border-right: 1px solid var(--muncd-border); color: var(--muncd-text); }\n        .panel-header { color: var(--muncd-brand); font-size: 18px; margin-top: 0; margin-bottom: 20px; font-weight: 700; }\n        .info-content { display: none; animation: fadeIn 0.4s ease; }\n        .info-content.active { display: block; }\n        \n        .pricing-display { background: #fff; border: 1px solid var(--muncd-border); padding: 15px; border-radius: 8px; margin-bottom: 20px; }\n        .p-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; color: #64748b; }\n        .p-row strong { color: var(--muncd-brand); }\n        .p-row:last-child { margin-bottom: 0; }\n        \n        .includes-list { padding-left: 0; list-style: none; margin: 0; font-size: 13px; line-height: 1.6; color: #475569; }\n        .includes-list li { margin-bottom: 10px; position: relative; padding-left: 20px; }\n        .includes-list li::before { content: \"\u2022\"; color: var(--muncd-brand); font-weight: bold; position: absolute; left: 0; }\n        .brochure-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--muncd-border); font-size: 13px; }\n        .brochure-note a { color: var(--muncd-brand); text-decoration: none; font-weight: 600; }\n        \n        \/* Form Wrapper *\/\n        .muncd-form-wrapper { background: #fff; display: flex; flex-direction: column; }\n        .muncd-toggle-header { display: flex; border-bottom: 1px solid var(--muncd-border); }\n        .muncd-toggle-btn { flex: 1; border: none; background: #fff !important; color: var(--muncd-brand) !important; padding: 20px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; font-size: 14px; text-transform: uppercase; outline: none; border-radius: 0 !important; margin: 0 !important; }\n        .muncd-toggle-btn.active { background: var(--muncd-brand) !important; color: #fff !important; }\n        \n        .muncd-form-body { padding: 40px; }\n        .muncd-sec-title { margin: 0 0 20px 0; font-size: 12px; text-transform: uppercase; color: #94a3b8; font-weight: 700; }\n        .muncd-field { margin-bottom: 24px; }\n        .muncd-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--muncd-text); }\n        .muncd-field input[type=\"text\"], .muncd-field input[type=\"email\"], .muncd-field input[type=\"date\"], .muncd-field select { width: 100%; padding: 14px 16px; border: 1px solid var(--muncd-border); border-radius: 8px; font-size: 15px; outline: none; box-sizing: border-box; background: #fff; }\n        .muncd-field input:focus, .muncd-field select:focus { border-color: var(--muncd-brand); box-shadow: 0 0 0 3px rgba(4, 33, 52, 0.05); }\n        .muncd-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }\n        \n        \/* Radio Groups *\/\n        .muncd-radio-group { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }\n        .muncd-payment-options { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 15px; }\n        .radio-option input { display: none; }\n        .radio-option label { display: flex; align-items: center; justify-content: center; height: 100%; border: 1px solid var(--muncd-border); border-radius: 8px; padding: 14px; cursor: pointer; text-align: center; font-size: 13px; color: #64748b; font-weight: 500;}\n        .radio-option input:checked + label { border-color: var(--muncd-brand); background: var(--muncd-brand); color: #fff; font-weight: 600; }\n        \n        .muncd-divider { height: 1px; background: var(--muncd-border); margin: 30px 0; }\n        .payment-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }\n        .muncd-bank-box { background: var(--muncd-bg); padding: 20px; border-radius: 8px; font-size: 13px; color: #475569; border: 1px solid var(--muncd-border); }\n        .muncd-bank-box p { margin: 4px 0; line-height: 1.5; }\n        \n        .muncd-total-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; padding-top: 20px; border-top: 2px solid var(--muncd-bg); }\n        .total-label { font-size: 14px; font-weight: 600; color: #64748b; text-transform: uppercase; }\n        .total-amount { font-size: 24px; font-weight: 700; color: var(--muncd-brand); }\n        \n        .muncd-submit-btn { width: 100%; background: var(--muncd-brand); color: #fff; border: none; padding: 18px; font-size: 16px; font-weight: 600; border-radius: 8px; margin-top: 24px; cursor: pointer; transition: 0.2s; }\n        .muncd-submit-btn:hover { background: #06314d; }\n        .muncd-footer-link { text-align: center; margin-top: 20px; font-size: 13px; }\n        .muncd-footer-link a { color: #94a3b8; text-decoration: none; }\n        \n        .muncd-view { display: none; }\n        .muncd-view.active { display: block; animation: fadeIn 0.3s ease; }\n        .mt-4 { margin-top: 24px; }\n        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }\n        \n        \/* Mobile Responsive *\/\n        @media (max-width: 800px) {\n            .muncd-main-container { display: flex; flex-direction: column; margin: 20px; }\n            .muncd-info-panel { border-right: none; border-bottom: 1px solid var(--muncd-border); padding: 25px 20px; }\n            .muncd-form-body { padding: 30px 20px; }\n            .muncd-grid-2, .payment-layout, .muncd-payment-options { grid-template-columns: 1fr; gap: 16px; }\n            .muncd-toggle-header { flex-direction: row; }\n        }\n    <\/style>\n\n    <script type=\"text\/javascript\">\n    jQuery(document).ready(function($) {\n        \n        function updateFormUI() {\n            var type = $('#app_type_input').val();\n            \n            \/\/ 1. Update Left Info Panel\n            $('.info-content').removeClass('active');\n            $('#info-' + type).addClass('active');\n\n            \/\/ Reset requirements\n            $('#school-select-wrap select, #uni-select-wrap input, #nic-wrap input, #view-international input').prop('required', false);\n\n            \/\/ 2. Logic based on Type\n            if (type === 'domestic') {\n                var domCat = $('input[name=\"domestic_cat\"]:checked').val();\n                if (domCat === 'school') {\n                    $('#school-select-wrap').show();\n                    $('#uni-select-wrap').hide();\n                    $('#nic-wrap').hide();\n                    $('#display-total').text('LKR 8,500');\n                    $('select[name=\"school_name\"]').prop('required', true);\n                } else {\n                    $('#school-select-wrap').hide();\n                    $('#uni-select-wrap').show();\n                    $('#nic-wrap').show();\n                    $('#display-total').text('LKR 9,000');\n                    $('input[name=\"uni_name\"]').prop('required', true);\n                    $('input[name=\"nic\"]').prop('required', true);\n                }\n                $('#koko-wrapper').show(); \/\/ Koko available for domestic\n            } \n            else if (type === 'international') {\n                var intlCat = $('input[name=\"intl_cat\"]:checked').val();\n                if (intlCat === 'with_acc') {\n                    $('#display-total').text('USD 799');\n                } else {\n                    $('#display-total').text('USD 599');\n                }\n                \n                $('input[name=\"passport\"]').prop('required', true);\n                $('input[name=\"country\"]').prop('required', true);\n                $('input[name=\"city\"]').prop('required', true);\n                $('input[name=\"emergency_contact\"]').prop('required', true);\n                \n                \/\/ KOKO is likely domestic LKR only, hide for international\n                $('#koko-wrapper').hide();\n                if($('input[name=\"payment_method\"]:checked').val() === 'koko') {\n                    $('#pay_bank').prop('checked', true).trigger('change');\n                }\n            }\n        }\n\n        \/\/ Payment Method Toggle Logic\n        $('input[name=\"payment_method\"]').on('change', function() {\n            var val = $(this).val();\n            if(val === 'bank_transfer') {\n                $('#bank-details-wrap').show();\n                $('#pay-later-msg').hide();\n                $('#koko-msg').hide();\n                $('#slip-input').prop('required', true);\n                $('#main-submit-btn').text('Submit Application');\n            } else if (val === 'pay_later') {\n                $('#bank-details-wrap').hide();\n                $('#pay-later-msg').show();\n                $('#koko-msg').hide();\n                $('#slip-input').prop('required', false);\n                $('#main-submit-btn').text('Submit Application');\n            } else if (val === 'koko') {\n                $('#bank-details-wrap').hide();\n                $('#pay-later-msg').hide();\n                $('#koko-msg').show();\n                $('#slip-input').prop('required', false);\n                $('#main-submit-btn').text('Proceed to KOKO Payment');\n            }\n        });\n\n        $(document).on('change', 'input[name=\"domestic_cat\"], input[name=\"intl_cat\"]', function() {\n            updateFormUI();\n        });\n\n        $('.muncd-toggle-btn').click(function(e){\n            e.preventDefault();\n            $('.muncd-toggle-btn').removeClass('active');\n            $(this).addClass('active');\n            \n            var target = $(this).data('target');\n            $('#app_type_input').val(target);\n            $('.muncd-view').removeClass('active');\n            $('#view-' + target).addClass('active');\n            \n            $('#payment-section').show(); \n            updateFormUI();\n        });\n\n        $('#trigger-admin').click(function(e){\n            e.preventDefault();\n            $('.muncd-toggle-btn').removeClass('active');\n            $('.muncd-view').removeClass('active');\n            $('#view-admin').addClass('active');\n            $('#app_type_input').val('admin');\n            $('#payment-section').hide();\n            \n            $('.info-content').removeClass('active');\n            $('#info-admin').addClass('active');\n            $('#slip-input').prop('required', false);\n        });\n\n        \/\/ AJAX Submission\n        $('#muncd-app-form').on('submit', function(e){\n            e.preventDefault();\n            var form = $(this);\n            var btn = $('#main-submit-btn');\n            var originalText = btn.text();\n            var msgDiv = $('#muncd-msg');\n            \n            btn.text('Processing...').prop('disabled', true);\n            msgDiv.html('');\n\n            var formData = new FormData(this);\n\n            $.ajax({\n                url: 'https:\/\/muncd.com\/wp-admin\/admin-ajax.php',\n                type: 'POST',\n                data: formData,\n                processData: false,\n                contentType: false,\n                success: function(response) {\n                    if(response.success) {\n                        \/\/ IF KOKO REDIRECT EXISTS\n                        if (response.data.redirect_url) {\n                            btn.text('Redirecting to KOKO...');\n                            window.location.href = response.data.redirect_url;\n                            return;\n                        }\n\n                        var appId = response.data.id || 'Submitted';\n                        $('.muncd-main-container').html(\n                            '<div style=\"padding:80px 40px; text-align:center; grid-column: 1 \/ -1;\">' +\n                            '<div style=\"font-size:60px; margin-bottom:20px; color:#16a34a;\">\u2713<\/div>' +\n                            '<h2 style=\"color:#042134; margin-top:0;\">Application Received<\/h2>' +\n                            '<p style=\"font-size:16px; color:#64748b; margin-bottom:5px;\">Ref ID: <strong>' + appId + '<\/strong><\/p>' +\n                            '<p style=\"color:#64748b; max-width:500px; margin:0 auto; line-height:1.6;\">Thank you! We have received your application details. Please check your email for the confirmation.<\/p>' +\n                            '<\/div>'\n                        );\n                        $('html, body').animate({ scrollTop: $(\".muncd-main-container\").offset().top - 100 }, 500);\n                    } else {\n                        msgDiv.html('<div style=\"background:#fee2e2; color:#b91c1c; padding:15px; border-radius:8px; margin-top:20px; font-size:14px;\">\u26a0\ufe0f ' + response.data + '<\/div>');\n                        btn.text(originalText).prop('disabled', false);\n                    }\n                },\n                error: function() {\n                    msgDiv.html('<div style=\"background:#fee2e2; color:#b91c1c; padding:15px; border-radius:8px; margin-top:20px; font-size:14px;\">Server Error. Please try again later.<\/div>');\n                    btn.text(originalText).prop('disabled', false);\n                }\n            });\n        });\n\n        \/\/ Init\n        updateFormUI();\n    });\n    <\/script>\n    <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Join Now DelegateRegistration<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-423","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/muncd.com\/index.php\/wp-json\/wp\/v2\/pages\/423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/muncd.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/muncd.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/muncd.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/muncd.com\/index.php\/wp-json\/wp\/v2\/comments?post=423"}],"version-history":[{"count":37,"href":"https:\/\/muncd.com\/index.php\/wp-json\/wp\/v2\/pages\/423\/revisions"}],"predecessor-version":[{"id":736,"href":"https:\/\/muncd.com\/index.php\/wp-json\/wp\/v2\/pages\/423\/revisions\/736"}],"wp:attachment":[{"href":"https:\/\/muncd.com\/index.php\/wp-json\/wp\/v2\/media?parent=423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}