{"id":11923,"date":"2025-06-30T14:06:09","date_gmt":"2025-06-30T14:06:09","guid":{"rendered":"https:\/\/woneglobal.org\/nomination\/"},"modified":"2025-11-27T11:47:47","modified_gmt":"2025-11-27T11:47:47","slug":"nominate","status":"publish","type":"page","link":"https:\/\/woneglobal.org\/awards\/nominate\/","title":{"rendered":"NOMINATE"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"11923\" class=\"elementor elementor-11923\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-711a2faa elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"711a2faa\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5b8d1281\" data-id=\"5b8d1281\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-30266584 elementor-widget elementor-widget-shortcode\" data-id=\"30266584\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\t\t<form id=\"wone-nomination-form\" method=\"post\" enctype=\"multipart\/form-data\">\n\t\t\t<input type=\"hidden\" id=\"wone_nomination_nonce\" name=\"wone_nomination_nonce\" value=\"5dc82d1ce5\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/awards\/wp-json\/wp\/v2\/pages\/11923\" \/>\t\t\t<div class=\"wone-form-header\">\n\t\t\t\t<h1>WONE Global Awards 2026 \u2013 Nomination Form<\/h1>\n\t\t\t\t<p>Welcome to the official nomination form for the WONE Global Awards 2026. These awards recognize excellence, innovation, and leadership across Law, Tax, Audit, Accounting, and Advisory sectors worldwide. Please complete the form below carefully. Only one category per form submission is allowed. Multiple nominations are permitted.<\/p>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t<div class=\"wone-form-step\" id=\"step1\" style=\"display:block;\">\n\t\t\t\t<div class=\"wone-form-section\">\n\t\t\t\t\t<h2>SECTION 1: CATEGORY SELECTION<\/h2>\n\t\t\t\t\t<p>Please select the Award Category and sub categories you are nominating for.<\/p>\n\t\t\t\t\t<div class=\"wone-form-section\">\n\t\t\t\t\t\t<label>Main Award Category *<\/label>\n\t\t\t\t\t\t<select name=\"main_award_category\" id=\"main_award_category\" required class=\"wone-form-control\">\n\t\t\t\t\t\t\t<option value=\"\">-- Select --<\/option>\n\t\t\t\t\t\t\t<option value=\"LEGAL AWARDS\" >Legal Awards<\/option>\n\t\t\t\t\t\t\t<option value=\"Tax Awards\" >Tax Awards<\/option>\n\t\t\t\t\t\t\t<option value=\"Audit & Assurance Excellence Awards\" >Audit & Assurance Excellence Awards<\/option>\n\t\t\t\t\t\t\t<option value=\"Accounting Innovation & Advisory Awards\" >Accounting Innovation & Advisory Awards<\/option>\n\t\t\t\t\t\t\t<option value=\"Compliance & Risk Advisory Awards\" >Compliance & Risk Advisory Awards<\/option>\n\t\t\t\t\t\t\t<option value=\"BUSINESS ADVISORY AWARDS\" >Business Advisory Awards<\/option>\n\t\t\t\t\t\t\t<option value=\"WOMEN IN LAW EXCELLENCE AWARD\" >Women in Law Excellence Award<\/option>\n\t\t\t\t\t\t<\/select>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"categories-container\" class=\"wone-form-section\" style=\"display:none;\">\n\t\t\t\t\t\t<h3>Categories<\/h3>\n\t\t\t\t\t\t<div class=\"wone-categories-wrapper\">\n\t\t\t\t\t\t\t<div id=\"categories-list\" class=\"wone-checkbox-group\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"wone-form-navigation\">\n\t\t\t\t\t<div id=\"step1-validation\" class=\"wone-step-validation\" style=\"display:none;\"><\/div>\n\t\t\t\t\t<button type=\"button\" class=\"wone-next-btn\" onclick=\"woneNextStep(1, 2)\">Next<\/button>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t<div class=\"wone-form-step\" id=\"step2\" style=\"display:none;\">\n\t\t\t\t<div class=\"wone-form-section\">\n\t\t\t\t\t<h2>SECTION 2: NOMINEE DETAILS<\/h2>\n\t\t\t\t\t\n\t\t\t\t\t<!-- Email status alert - moved here from popup -->\n\t\t\t\t\t<div id=\"wone-email-status-alert\" style=\"display:none; margin-bottom:20px; padding:10px; border-radius:4px;\"><\/div>\n\t\t\t\t\t\n\t\t\t\t\t<div class=\"wone-form-row\">\n\t\t\t\t\t\t<div class=\"wone-form-col\">\n\t\t\t\t\t\t\t<label>Nominee Name \/ Firm Name *<br><small>(As you'd like it to appear on the award certificate)<\/small><\/label>\n\t\t\t\t\t\t\t<input type=\"text\" name=\"nominee_name\" value=\"\" required class=\"wone-form-control\">\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"wone-form-row\">\n\t\t\t\t\t\t<div class=\"wone-form-col\">\n\t\t\t\t\t\t\t<label>Nominated By (if not self-nominated)<\/label>\n\t\t\t\t\t\t\t<input type=\"text\" name=\"nominated_by\" value=\"\" class=\"wone-form-control\">\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"wone-form-row\">\n\t\t\t\t\t\t<div class=\"wone-form-col\">\n\t\t\t\t\t\t\t<label>Email Address *<\/label>\n\t\t\t\t\t\t\t<input type=\"email\" name=\"email\" id=\"email_field\" value=\"\" required class=\"wone-form-control\">\n\t\t\t\t\t\t\t<small class=\"wone-help-text\">Your progress will be automatically saved when you enter your email<\/small>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div class=\"wone-form-col\">\n\t\t\t\t\t\t\t<label>Contact Number (with country code) *<\/label>\n\t\t\t\t\t\t\t<input type=\"tel\" name=\"phone\" value=\"\" required class=\"wone-form-control\">\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"wone-form-row\">\n\t\t\t\t\t\t<div class=\"wone-form-col\">\n\t\t\t\t\t\t\t<label>Country *<\/label>\n\t\t\t\t\t\t\t<select name=\"country\" id=\"country\" class=\"wone-form-control\" required>\n\t\t\t\t\t\t\t\t<option value=\"\">Select Country<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div class=\"wone-form-col\">\n\t\t\t\t\t\t\t<label>City *<\/label>\n\t\t\t\t\t\t\t<select name=\"city\" id=\"city\" class=\"wone-form-control\" required>\n\t\t\t\t\t\t\t\t<option value=\"\">Select City<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"wone-form-row\">\n\t\t\t\t\t\t<div class=\"wone-form-col\">\n\t\t\t\t\t\t\t<label>Website \/ LinkedIn \/ Public Profile<\/label>\n\t\t\t\t\t\t\t<input type=\"url\" name=\"public_profile\" value=\"\" class=\"wone-form-control\" placeholder=\"https:\/\/\">\n\t\t\t\t\t\t\t<small class=\"wone-help-text\">Optional - must include http:\/\/ or https:\/\/<\/small>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"wone-form-navigation\">\n\t\t\t\t\t<div id=\"step2-validation\" class=\"wone-step-validation\" style=\"display:none;\"><\/div>\n\t\t\t\t\t<button type=\"button\" class=\"wone-prev-btn\" onclick=\"wonePrevStep(2, 1)\">Previous<\/button>\n\t\t\t\t\t<button type=\"button\" class=\"wone-next-btn\" onclick=\"woneNextStep(2, 3)\">Next<\/button>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t<div class=\"wone-form-step\" id=\"step3\" style=\"display:none;\">\n\t\t\t\t<div class=\"wone-form-section\">\n\t\t\t\t\t<h2>SECTION 3: NOMINATION DETAILS<\/h2>\n\t\t\t\t\t<p>Please provide detailed responses for jury evaluation. Attach evidence where applicable.<\/p>\n\t\t\t\t\t<div class=\"wone-form-section\">\n\t\t\t\t\t\t<label>Why does the nominee deserve this award? *<br><small>(Describe achievements, performance metrics, or impact in 200\u2013500 words)<\/small><\/label>\n\t\t\t\t\t\t<div id=\"wp-achievements-wrap\" class=\"wp-core-ui wp-editor-wrap tmce-active\"><link rel='stylesheet' id='dashicons-css' href='https:\/\/woneglobal.org\/awards\/wp-includes\/css\/dashicons.min.css?ver=6.9.4' media='all' \/>\n<link rel='stylesheet' id='editor-buttons-css' href='https:\/\/woneglobal.org\/awards\/wp-includes\/css\/editor.min.css?ver=6.9.4' media='all' \/>\n<div id=\"wp-achievements-editor-tools\" class=\"wp-editor-tools hide-if-no-js\"><div class=\"wp-editor-tabs\"><button type=\"button\" id=\"achievements-tmce\" aria-pressed=\"true\" class=\"wp-switch-editor switch-tmce\" data-wp-editor-id=\"achievements\">Visual<\/button>\n<button type=\"button\" id=\"achievements-html\" class=\"wp-switch-editor switch-html\" data-wp-editor-id=\"achievements\">Code<\/button>\n<\/div>\n<\/div>\n<div id=\"wp-achievements-editor-container\" class=\"wp-editor-container\"><div id=\"qt_achievements_toolbar\" class=\"quicktags-toolbar hide-if-no-js\"><\/div><textarea class=\"wone-form-control wone-rich-editor wp-editor-area\" rows=\"10\" autocomplete=\"off\" cols=\"40\" name=\"achievements\" id=\"achievements\"><\/textarea><\/div>\n<\/div>\n\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"wone-form-section\">\n\t\t\t\t\t\t<label>Key Accomplishments (Past 12\u201324 Months) *<br><small>Revenue or Growth Metrics (if available), Clients Served \/ Markets Covered, Cases, Deals, or Advisory Impact<\/small><\/label>\n\t\t\t\t\t\t<div id=\"wp-accomplishments-wrap\" class=\"wp-core-ui wp-editor-wrap tmce-active\"><div id=\"wp-accomplishments-editor-tools\" class=\"wp-editor-tools hide-if-no-js\"><div class=\"wp-editor-tabs\"><button type=\"button\" id=\"accomplishments-tmce\" aria-pressed=\"true\" class=\"wp-switch-editor switch-tmce\" data-wp-editor-id=\"accomplishments\">Visual<\/button>\n<button type=\"button\" id=\"accomplishments-html\" class=\"wp-switch-editor switch-html\" data-wp-editor-id=\"accomplishments\">Code<\/button>\n<\/div>\n<\/div>\n<div id=\"wp-accomplishments-editor-container\" class=\"wp-editor-container\"><div id=\"qt_accomplishments_toolbar\" class=\"quicktags-toolbar hide-if-no-js\"><\/div><textarea class=\"wone-form-control wone-rich-editor wp-editor-area\" rows=\"7\" autocomplete=\"off\" cols=\"40\" name=\"accomplishments\" id=\"accomplishments\"><\/textarea><\/div>\n<\/div>\n\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"wone-form-section\">\n\t\t\t\t\t\t<label>Innovation or Differentiation *<br><small>(Describe what makes the nominee stand out \u2014 strategy, technology, client service, etc.)<\/small><\/label>\n\t\t\t\t\t\t<div id=\"wp-innovation-wrap\" class=\"wp-core-ui wp-editor-wrap tmce-active\"><div id=\"wp-innovation-editor-tools\" class=\"wp-editor-tools hide-if-no-js\"><div class=\"wp-editor-tabs\"><button type=\"button\" id=\"innovation-tmce\" aria-pressed=\"true\" class=\"wp-switch-editor switch-tmce\" data-wp-editor-id=\"innovation\">Visual<\/button>\n<button type=\"button\" id=\"innovation-html\" class=\"wp-switch-editor switch-html\" data-wp-editor-id=\"innovation\">Code<\/button>\n<\/div>\n<\/div>\n<div id=\"wp-innovation-editor-container\" class=\"wp-editor-container\"><div id=\"qt_innovation_toolbar\" class=\"quicktags-toolbar hide-if-no-js\"><\/div><textarea class=\"wone-form-control wone-rich-editor wp-editor-area\" rows=\"7\" autocomplete=\"off\" cols=\"40\" name=\"innovation\" id=\"innovation\"><\/textarea><\/div>\n<\/div>\n\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"wone-form-section\">\n\t\t\t\t\t\t<label>Client Testimonials, Recognitions or Media Mentions (optional but encouraged)<\/label>\n\t\t\t\t\t\t<textarea name=\"testimonials\" class=\"wone-form-control\" rows=\"5\"><\/textarea>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"wone-form-section\">\n\t\t\t\t\t\t<label>Upload 3 images for your profile<\/label>\n\t\t\t\t\t\t<input type=\"file\" name=\"testimonial_files[]\" multiple class=\"wone-form-control\" accept=\"image\/*\" required>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"wone-form-section\">\n\t\t\t\t\t\t<label>Upload Supporting Documents<br><small>(Pitch deck, client list, deal sheet, photos, whitepapers, etc.)<\/small><\/label>\n\t\t\t\t\t\t<input type=\"file\" name=\"supporting_documents[]\" multiple class=\"wone-form-control\">\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"wone-form-navigation\">\n\t\t\t\t\t<div id=\"step3-validation\" class=\"wone-step-validation\" style=\"display:none;\"><\/div>\n\t\t\t\t\t<button type=\"button\" class=\"wone-prev-btn\" onclick=\"wonePrevStep(3, 2)\">Previous<\/button>\n\t\t\t\t\t<button type=\"button\" class=\"wone-next-btn\" onclick=\"woneNextStep(3, 4)\">Next<\/button>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t<div class=\"wone-form-step\" id=\"step4\" style=\"display:none;\">\n\t\t\t\t<div class=\"wone-form-section\">\n\t\t\t\t\t<h2>SECTION 4: DECLARATION & CONSENT<\/h2>\n\t\t\t\t\t<div class=\"wone-form-section\">\n\t\t\t\t\t\t<label class=\"wone-checkbox-label\">\n\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"declaration_accuracy\"  required> \n\t\t\t\t\t\t\tI confirm that all information provided is accurate to the best of my knowledge.\n\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<label class=\"wone-checkbox-label\">\n\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"declaration_consent\"  required> \n\t\t\t\t\t\t\tI consent to the use of this data by WONE Global Awards for the purposes of evaluation and communications.\n\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<label class=\"wone-checkbox-label\">\n\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"declaration_understanding\"  required> \n\t\t\t\t\t\t\tI understand that submission does not guarantee shortlisting or award.\n\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<p class=\"wone-note\">Once submitted, your nomination will be reviewed by the WONE Global Awards Jury Panel. If shortlisted, our team may reach out for additional information or interviews.<\/p>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"wone-form-section\">\n\t\t\t\t\t\t<h3>Review Your Submission<\/h3>\n\t\t\t\t\t\t<div id=\"wone-review-content\"><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"wone-form-navigation\">\n\t\t\t\t\t<div id=\"step4-validation\" class=\"wone-step-validation\" style=\"display:none;\"><\/div>\n\t\t\t\t\t<button type=\"button\" class=\"wone-prev-btn\" onclick=\"wonePrevStep(4, 3)\">Previous<\/button>\n\t\t\t\t\t<button type=\"submit\" class=\"wone-submit-btn\">Submit Nomination<\/button>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t<div id=\"wone-form-message\" class=\"wone-message\"><\/div>\n\t\t\t<div id=\"wone-form-spinner\" style=\"display:none; text-align:center; margin:20px 0;\">\n\t\t\t\t<div class=\"spinner\" \n\t\t\t\t\tstyle=\"border: 6px solid #f3f3f3; \n\t\t\t\t\t\t\tborder-top: 6px solid #0073aa; \n\t\t\t\t\t\t\tborder-radius: 50%; \n\t\t\t\t\t\t\twidth: 40px; \n\t\t\t\t\t\t\theight: 40px; \n\t\t\t\t\t\t\tanimation: spin 1s linear infinite; \n\t\t\t\t\t\t\tmargin:auto;\">\n\t\t\t\t<\/div>\n\t\t\t\t<p>Please wait, submitting your nomination...<\/p>\n\t\t\t<\/div>\n\t\t\t<div id=\"wone-autosave-status\" style=\"display:none; text-align:center; margin:10px 0; padding:10px; background:#f0f0f0; border-radius:4px;\">\n\t\t\t\t<span id=\"autosave-text\">Auto-saving your progress...<\/span>\n\t\t\t<\/div>\n\n\t\t<\/form>\n\t\t\n\t\t<style>\n\t\t@keyframes spin {\n\t\t\t0% { transform: rotate(0deg); }\n\t\t\t100% { transform: rotate(360deg); }\n\t\t}\n\t\t.wone-step-validation {\n\t\t\tbackground: #fff8e5;\n\t\t\tborder: 1px solid #ffd699;\n\t\t\tborder-radius: 0px;\n\t\t\tpadding: 10px;\n\t\t\tmargin-bottom: 15px;\n\t\t\tcolor: #663c00;\n\t\t\ttext-align: left;\n\t\t\twidth: 100%;\n\t\t}\n\t\t.wone-step-validation.error {\n\t\t\tbackground: #ffe6e6;\n\t\t\tborder-color: #ff9999;\n\t\t\tcolor: #cc0000;\n\t\t}\n\t\t.wone-step-validation.success {\n\t\t\tbackground: #e6ffe6;\n\t\t\tborder-color: #99ff99;\n\t\t\tcolor: #006600;\n\t\t}\n\t\t.wone-autosave-status {\n\t\t\ttext-align: center;\n\t\t\tmargin: 10px 0;\n\t\t\tpadding: 10px;\n\t\t\tbackground: #f0f0f0;\n\t\t\tborder-radius: 4px;\n\t\t\tfont-size: 14px;\n\t\t}\n\t\t.wone-form-navigation {\n\t\t\tmargin-top: 20px;\n\t\t\tpadding-top: 20px;\n\t\t\tposition: relative;\n\t\t\tdisplay: flex;\n\t\t\tflex-wrap: wrap;\n\t\t\tjustify-content: flex-end;\n\t\t\talign-items: center;\n\t\t\tgap: 10px;\n\t\t}\n\t\t.wone-form-navigation .wone-step-validation {\n\t\t\tflex-basis: 100%;\n\t\t\torder: -1;\n\t\t\tmargin-right: 0;\n\t\t\tmargin-bottom: 15px;\n\t\t}\n\t\t.wone-error {\n\t\t\tborder-color: #ff0000 !important;\n\t\t\tbackground-color: #fff8f8 !important;\n\t\t}\n\t\t.wone-main-category-container {\n\t\t\tmargin-bottom: 10px;\n\t\t}\n\t\t.wone-subcategories-container, .wone-subsubcategories-container {\n\t\t\tmargin-left: 20px;\n\t\t\tmargin-top: 5px;\n\t\t}\n\t\t.wone-checkbox-group label {\n\t\t\tdisplay: block;\n\t\t\tmargin-bottom: 5px;\n\t\t}\n\t\t.wone-form-section {\n\t\t\tmargin-bottom: 20px;\n\t\t}\n\t\t.wone-form-row {\n\t\t\tdisplay: flex;\n\t\t\tflex-wrap: wrap;\n\t\t\tmargin: 0 -10px;\n\t\t}\n\t\t.wone-form-col {\n\t\t\tflex: 1;\n\t\t\tpadding: 0 10px;\n\t\t\tmin-width: 250px;\n\t\t}\n\t\t.wone-form-control {\n\t\t\tmargin-top:10px;\n\n\t\t\twidth: 100%;\n\t\t\tpadding: 8px 12px;\n\t\t\tborder: 1px solid #ddd;\n\t\t\tborder-radius: 0px !important;\n\t\t\tfont-size: 14px;\n\t\t}\n\t\t.wone-next-btn, .wone-prev-btn, .wone-submit-btn {\n\t\t\tpadding: 10px 20px;\n\t\t\tfont-weight:700;\n\t\t\tline-height:1.4em;\n\t\t\tletter-spacing:0;\n\t\t\tborder: none;\n\t\t\tborder-radius: 0px;\n\t\t\tcursor: pointer;\n\t\t\tfont-size: 16px;\n\t\t\tmargin: 0 5px;\n\t\t}\n\t\t.wone-next-btn, .wone-submit-btn {\n\t\t\tbackground: #FF7A00 ;\n\t\t\tcolor: white;\n\t\t}\n\t\t.wone-prev-btn {\n\t\t\tbackground: #f0f0f0;\n\t\t\tcolor: #333;\n\t\t}\n\t\t.wone-help-text {\n\t\t\tcolor: #666;\n\t\t\tfont-size: 12px;\n\t\t\tdisplay: block;\n\t\t\tmargin-top: 5px;\n\t\t}\n\t\t.wone-checkbox-label {\n\t\t\tdisplay: block;\n\t\t\tmargin-bottom: 10px;\n\t\t}\n\t\t.wone-note {\n\t\t\tfont-style: italic;\n\t\t\tcolor: #666;\n\t\t\tmargin-top: 15px;\n\t\t}\n\t\t.wone-message {\n\t\t\tpadding: 10px;\n\t\t\tborder-radius: 4px;\n\t\t\tmargin: 10px 0;\n\t\t}\n\t\t.wone-error-msg {\n\t\t\tbackground: #ffe6e6;\n\t\t\tborder: 1px solid #ff9999;\n\t\t\tcolor: #cc0000;\n\t\t}\n\t\t.wone-success-msg {\n\t\t\tbackground: #e6ffe6;\n\t\t\tborder: 1px solid #99ff99;\n\t\t\tcolor: #006600;\n\t\t}\n\t\t#wone-email-status-alert {\n\t\t\tbackground: #fff8e5;\n\t\t\tborder: 1px solid #ffd699;\n\t\t\tborder-radius: 4px;\n\t\t\tpadding: 12px 15px;\n\t\t\tmargin-bottom: 20px;\n\t\t}\n\t\t#wone-email-status-alert.success {\n\t\t\tbackground: #e6ffe6;\n\t\t\tborder-color: #99ff99;\n\t\t\tcolor: #006600;\n\t\t}\n\t\t#wone-email-status-alert.info {\n\t\t\tbackground: #e5f3ff;\n\t\t\tborder-color: #99ccff;\n\t\t\tcolor: #0066cc;\n\t\t}\n\t\t<\/style>\n\t\t\n\t\t<script>\n\t\t\t\/\/ Global variables\n\t\t\tlet autoSaveTimeout = null;\n\t\t\tlet isAutoSaving = false;\n\t\t\tlet currentDraftId = null;\n\t\t\t\n\t\t\t\/\/ Email status check and draft loading\n\t\t\tfunction checkEmailStatus(email) {\n\t\t\t\tjQuery(document).ready(function($) {\n\t\t\t\t\tif (!email || !isValidEmail(email)) return;\n\t\t\t\t\t\n\t\t\t\t\t$.ajax({\n\t\t\t\t\t\turl: 'https:\/\/woneglobal.org\/awards\/wp-admin\/admin-ajax.php',\n\t\t\t\t\t\ttype: 'POST',\n\t\t\t\t\t\tdata: {\n\t\t\t\t\t\t\taction: 'wone_check_email_status',\n\t\t\t\t\t\t\temail: email,\n\t\t\t\t\t\t\twone_nomination_nonce: $('#wone_nomination_nonce').val()\n\t\t\t\t\t\t},\n\t\t\t\t\t\tsuccess: function(response) {\n\t\t\t\t\t\t\tif (response.success) {\n\t\t\t\t\t\t\t\tconst data = response.data;\n\t\t\t\t\t\t\t\tif (data.exists) {\n\t\t\t\t\t\t\t\t\t\/\/ Show email status alert below email field\n\t\t\t\t\t\t\t\t\tconst alertDiv = $('#wone-email-status-alert');\n\t\t\t\t\t\t\t\t\tconst statusText = data.status === 'draft' ? 'draft' : 'submitted nomination';\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\talertDiv.html(`\n\t\t\t\t\t\t\t\t\t\t<div style=\"display:flex; justify-content:space-between; align-items:center;\">\n\t\t\t\t\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t\t\t<strong>${data.status === 'draft' ? '\ud83d\udcdd Draft Found' : '\u2705 Nomination Found'}<\/strong><br>\n\t\t\t\t\t\t\t\t\t\t\t\tWe found a ${statusText} for this email.<br>\n\t\t\t\t\t\t\t\t\t\t\t\t<small>Nominee: ${data.nominee_name} | Status: ${data.status}<\/small>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"wone-next-btn\" onclick=\"loadExistingNomination(${JSON.stringify(data).replace(\/\"\/g, '&quot;')})\" style=\"padding:5px 10px; font-size:12px;\">Load ${data.status === 'draft' ? 'Draft' : 'Nomination'}<\/button>\n\t\t\t\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"wone-prev-btn\" onclick=\"clearEmailAndContinue()\" style=\"padding:5px 10px; font-size:12px; margin-left:5px;\">Start New<\/button>\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t`).addClass(data.status === 'draft' ? '' : 'success').show();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tfunction loadExistingNomination(data) {\n\t\t\t\tjQuery(document).ready(function($) {\n\t\t\t\t\t\/\/ Load all form data from the existing nomination\n\t\t\t\t\tif (data.main_award_category) {\n\t\t\t\t\t\t$('#main_award_category').val(data.main_award_category).trigger('change');\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (data.nominee_name) {\n\t\t\t\t\t\t$('input[name=\"nominee_name\"]').val(data.nominee_name);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (data.nominated_by) {\n\t\t\t\t\t\t$('input[name=\"nominated_by\"]').val(data.nominated_by);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (data.phone) {\n\t\t\t\t\t\t$('input[name=\"phone\"]').val(data.phone);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (data.country) {\n\t\t\t\t\t\t$('#country').val(data.country).trigger('change');\n\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\tif (data.city) {\n\t\t\t\t\t\t\t\t$('#city').val(data.city);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}, 500);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (data.public_profile) {\n\t\t\t\t\t\t$('input[name=\"public_profile\"]').val(data.public_profile);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\/\/ Set draft ID\n\t\t\t\t\tcurrentDraftId = data.id;\n\t\t\t\t\t\n\t\t\t\t\t\/\/ Hide the alert\n\t\t\t\t\t$('#wone-email-status-alert').hide();\n\t\t\t\t\t\n\t\t\t\t\t\/\/ Show success message in validation area\n\t\t\t\t\twoneShowValidationMessage(2, \n\t\t\t\t\t\t`\u2705 Successfully loaded ${data.status === 'draft' ? 'draft' : 'existing nomination'} for ${data.nominee_name}`, \n\t\t\t\t\t\t'success'\n\t\t\t\t\t);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tfunction clearEmailAndContinue() {\n\t\t\t\tjQuery(document).ready(function($) {\n\t\t\t\t\t$('#email_field').val('');\n\t\t\t\t\tcurrentDraftId = null;\n\t\t\t\t\t$('#wone-email-status-alert').hide();\n\t\t\t\t});\n\t\t\t}\n\n\t\tfunction woneNextStep(current, next) {\n\t\t\t\tjQuery(document).ready(function($) {\n\t\t\t\t\t\/\/ Clear previous validation messages\n\t\t\t\t\t$(`#step${current}-validation`).hide().removeClass('error success').html('');\n\t\t\t\t\t\n\t\t\t\t\t\/\/ Validate current step before proceeding\n\t\t\t\t\tlet isValid = true;\n\t\t\t\t\tlet validationMessages = [];\n\t\t\t\t\tlet errorCounter = 1; \/\/ Reset counter for each step\n\t\t\t\t\t\n\t\t\t\t\tif (current === 1) {\n\t\t\t\t\t\tif ($('#main_award_category').val() === '') {\n\t\t\t\t\t\t\t$('#main_award_category').addClass('wone-error');\n\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. Please select a main award category`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$('#main_award_category').removeClass('wone-error');\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tconst selectedType = $(\"#main_award_category\").val();\n\t\t\t\t\t\t\tconst hasSubcategories = $('#categories-list .wone-main-category-container').length > 0;\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif (hasSubcategories) {\n\t\t\t\t\t\t\t\tlet totalChecked = 0;\n\t\t\t\t\t\t\t\tconst isSingleSelect = !(selectedType === \"WOMEN IN LAW EXCELLENCE AWARD\" || selectedType === \"LEGAL AWARDS\");\n\n\t\t\t\t\t\t\t\tif (selectedType === \"WOMEN IN LAW EXCELLENCE AWARD\") {\n\t\t\t\t\t\t\t\t\ttotalChecked = $(\"#categories-list .wone-subcategories-container input[type='checkbox']:checked, \" +\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"#categories-list .wone-subsubcategories-container input[type='checkbox']:checked\").length;\n\t\t\t\t\t\t\t\t\tif (totalChecked === 0) {\n\t\t\t\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. Please select at least one category under Women in Law`);\n\t\t\t\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if (selectedType === \"LEGAL AWARDS\") {\n\t\t\t\t\t\t\t\t\t\/\/ Count only the deepest nested checkboxes\n\t\t\t\t\t\t\t\t\ttotalChecked = $(\"#categories-list .wone-subsubcategories-container input[type='checkbox']:checked\").length;\n\n\t\t\t\t\t\t\t\t\t\/\/ If there is no sub-subcategory, count subcategories\n\t\t\t\t\t\t\t\t\tif (totalChecked === 0) {\n\t\t\t\t\t\t\t\t\t\ttotalChecked = $(\"#categories-list .wone-subcategories-container input[type='checkbox']:checked\").length;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\/\/ Fallback for main categories\n\t\t\t\t\t\t\t\t\tif (totalChecked === 0) {\n\t\t\t\t\t\t\t\t\t\ttotalChecked = $(\"#categories-list input.main-category-checkbox:checked\").length;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif (totalChecked === 0) {\n\t\t\t\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. Please select at least one category for Legal Awards`);\n\t\t\t\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t\t\t\t} else if (totalChecked > 5) {\n\t\t\t\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. You can select a maximum of 5 categories under Legal Awards`);\n\t\t\t\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\/\/ For single-select categories (Tax, Audit, Accounting, Compliance, Business Advisory)\n\t\t\t\t\t\t\t\t\ttotalChecked = $(\"#categories-list input.main-category-checkbox:checked\").length;\n\t\t\t\t\t\t\t\t\tif (totalChecked === 0) {\n\t\t\t\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. Please select one category for ${selectedType}`);\n\t\t\t\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t\t\t\t} else if (totalChecked > 1) {\n\t\t\t\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. Please select only one category for ${selectedType}`);\n\t\t\t\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (current === 2) {\n\t\t\t\t\t\t\/\/ Validate each field individually with separate error messages\n\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ Nominee Name\n\t\t\t\t\t\tif (!$('input[name=\"nominee_name\"]').val()) {\n\t\t\t\t\t\t\t$('input[name=\"nominee_name\"]').addClass('wone-error');\n\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. Nominee Name \/ Firm Name is required`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$('input[name=\"nominee_name\"]').removeClass('wone-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ Email Address\n\t\t\t\t\t\tif (!$('input[name=\"email\"]').val()) {\n\t\t\t\t\t\t\t$('input[name=\"email\"]').addClass('wone-error');\n\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. Email Address is required`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$('input[name=\"email\"]').removeClass('wone-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ Contact Number\n\t\t\t\t\t\tif (!$('input[name=\"phone\"]').val()) {\n\t\t\t\t\t\t\t$('input[name=\"phone\"]').addClass('wone-error');\n\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. Contact Number is required`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$('input[name=\"phone\"]').removeClass('wone-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ Country\n\t\t\t\t\t\tif (!$('#country').val()) {\n\t\t\t\t\t\t\t$('#country').addClass('wone-error');\n\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. Country is required`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$('#country').removeClass('wone-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ City\n\t\t\t\t\t\tif (!$('#city').val()) {\n\t\t\t\t\t\t\t$('#city').addClass('wone-error');\n\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. City is required`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$('#city').removeClass('wone-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ Email format validation\n\t\t\t\t\t\tconst emailField = $('#email_field');\n\t\t\t\t\t\tif (emailField.val() && !isValidEmail(emailField.val())) {\n\t\t\t\t\t\t\temailField.addClass('wone-error');\n\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. Please enter a valid email address`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\temailField.removeClass('wone-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ URL format validation\n\t\t\t\t\t\tconst publicProfile = $('input[name=\"public_profile\"]');\n\t\t\t\t\t\tif (publicProfile.val() && !publicProfile[0].checkValidity()) {\n\t\t\t\t\t\t\tpublicProfile.addClass('wone-error');\n\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. Please enter a valid URL starting with http:\/\/ or https:\/\/`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tpublicProfile.removeClass('wone-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (current === 3) {\n\t\t\t\t\t\t\/\/ Validate rich text editors individually\n\t\t\t\t\t\tif (typeof tinyMCE !== 'undefined') {\n\t\t\t\t\t\t\tif (tinyMCE.get('achievements') && tinyMCE.get('achievements').getContent().trim() === '') {\n\t\t\t\t\t\t\t\t$('#achievements').addClass('wone-error');\n\t\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. \"Why does the nominee deserve this award?\" is required`);\n\t\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$('#achievements').removeClass('wone-error');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif (tinyMCE.get('accomplishments') && tinyMCE.get('accomplishments').getContent().trim() === '') {\n\t\t\t\t\t\t\t\t$('#accomplishments').addClass('wone-error');\n\t\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. \"Key Accomplishments\" is required`);\n\t\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$('#accomplishments').removeClass('wone-error');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif (tinyMCE.get('innovation') && tinyMCE.get('innovation').getContent().trim() === '') {\n\t\t\t\t\t\t\t\t$('#innovation').addClass('wone-error');\n\t\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. \"Innovation or Differentiation\" is required`);\n\t\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$('#innovation').removeClass('wone-error');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ Validate testimonial files\n\t\t\t\t\t\tconst testimonialFiles = $('input[name=\"testimonial_files[]\"]')[0].files;\n\t\t\t\t\t\tif (testimonialFiles.length < 3) {\n\t\t\t\t\t\t\t$('input[name=\"testimonial_files[]\"]').addClass('wone-error');\n\t\t\t\t\t\t\tvalidationMessages.push(`${errorCounter}. Please upload at least 3 images for your profile`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tisValid = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$('input[name=\"testimonial_files[]\"]').removeClass('wone-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (!isValid) {\n\t\t\t\t\t\tconst validationHtml = '<strong>Please correct the following errors:<\/strong><ol>' + \n\t\t\t\t\t\t\tvalidationMessages.map(msg => `<li>${msg}<\/li>`).join('') + '<\/ol>';\n\t\t\t\t\t\t$(`#step${current}-validation`).html(validationHtml).addClass('error').show();\n\t\t\t\t\t\t\n\t\t\t\t\t\t$('html, body').animate({\n\t\t\t\t\t\t\tscrollTop: $(`#step${current}-validation`).offset().top - 100\n\t\t\t\t\t\t}, 500);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif (next === 4) {\n\t\t\t\t\t\twonePopulateReviewContent();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\twoneAutoSaveDraft();\n\t\t\t\t\t\n\t\t\t\t\t$('#step' + current).hide();\n\t\t\t\t\t$('#step' + next).show();\n\t\t\t\t\t\n\t\t\t\t\t$('html, body').animate({\n\t\t\t\t\t\tscrollTop: $('#wone-nomination-form').offset().top\n\t\t\t\t\t}, 500);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tfunction wonePrevStep(current, prev) {\n\t\t\t\tjQuery(document).ready(function($) {\n\t\t\t\t\t$(`#step${current}-validation`).hide();\n\t\t\t\t\t$('#step' + current).hide();\n\t\t\t\t\t$('#step' + prev).show();\n\t\t\t\t\t$('html, body').animate({\n\t\t\t\t\t\tscrollTop: $('#wone-nomination-form').offset().top\n\t\t\t\t\t}, 500);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tfunction woneShowValidationMessage(step, message, type = 'error') {\n\t\t\t\tjQuery(document).ready(function($) {\n\t\t\t\t\t$(`#step${step}-validation`).html(message).addClass(type).show();\n\t\t\t\t\t$('html, body').animate({\n\t\t\t\t\t\tscrollTop: $(`#step${step}-validation`).offset().top - 100\n\t\t\t\t\t}, 500);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tfunction woneAutoSaveDraft() {\n\t\t\t\tif (isAutoSaving) return;\n\t\t\t\t\n\t\t\t\tjQuery(document).ready(function($) {\n\t\t\t\t\tconst email = $('#email_field').val();\n\t\t\t\t\tif (!email || !isValidEmail(email)) return;\n\t\t\t\t\t\n\t\t\t\t\tisAutoSaving = true;\n\t\t\t\t\t$('#wone-autosave-status').show();\n\t\t\t\t\t$('#autosave-text').text('Auto-saving your progress...');\n\t\t\t\t\t\n\t\t\t\t\tconst formData = new FormData();\n\t\t\t\t\tformData.append('action', 'wone_save_draft');\n\t\t\t\t\tformData.append('wone_nomination_nonce', $('#wone_nomination_nonce').val());\n\t\t\t\t\tformData.append('draft_id', currentDraftId);\n\t\t\t\t\t\n\t\t\t\t\t$('#wone-nomination-form').serializeArray().forEach(function(field) {\n\t\t\t\t\t\tformData.append(field.name, field.value);\n\t\t\t\t\t});\n\t\t\t\t\t\n\t\t\t\t\tif (typeof tinyMCE !== 'undefined') {\n\t\t\t\t\t\t['achievements', 'accomplishments', 'innovation'].forEach(function(editorId) {\n\t\t\t\t\t\t\tif (tinyMCE.get(editorId)) {\n\t\t\t\t\t\t\t\tformData.append(editorId, tinyMCE.get(editorId).getContent());\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t$.ajax({\n\t\t\t\t\t\turl: 'https:\/\/woneglobal.org\/awards\/wp-admin\/admin-ajax.php',\n\t\t\t\t\t\ttype: 'POST',\n\t\t\t\t\t\tdata: formData,\n\t\t\t\t\t\tprocessData: false,\n\t\t\t\t\t\tcontentType: false,\n\t\t\t\t\t\tsuccess: function(response) {\n\t\t\t\t\t\t\tif (response.success) {\n\t\t\t\t\t\t\t\t$('#autosave-text').text('Progress auto-saved successfully');\n\t\t\t\t\t\t\t\tcurrentDraftId = response.data.draft_id;\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\t\t\t\t$('#wone-autosave-status').fadeOut();\n\t\t\t\t\t\t\t\t}, 2000);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\terror: function() {\n\t\t\t\t\t\t\t$('#autosave-text').text('Auto-save failed - your progress is saved locally');\n\t\t\t\t\t\t},\n\t\t\t\t\t\tcomplete: function() {\n\t\t\t\t\t\t\tisAutoSaving = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tfunction isValidEmail(email) {\n\t\t\t\tconst re = \/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\/;\n\t\t\t\treturn re.test(email);\n\t\t\t}\n\n\t\t\tfunction wonePopulateReviewContent() {\n\t\t\t\tjQuery(document).ready(function($) {\n\t\t\t\t\tlet reviewHtml = '<div class=\"wone-review-section\">';\n\t\t\t\t\treviewHtml += '<h3>Category Selection<\/h3>';\n\t\t\t\t\treviewHtml += '<p><strong>Main Award Category:<\/strong> ' + $('#main_award_category option:selected').text() + '<\/p>';\n\t\t\t\t\tconst selectedCategory = $('input[name=\"selected_category\"]:checked').val() || \n\t\t\t\t\t\t\t\t\t\t\t$('input[name=\"main_categories[]\"]:checked').val() || \n\t\t\t\t\t\t\t\t\t\t\t$('input[name=\"main_categories\"]:checked').val() || \n\t\t\t\t\t\t\t\t\t\t\t$('input[name^=\"subcategories[\"]:checked').val() || \n\t\t\t\t\t\t\t\t\t\t\t$('input[name^=\"nested_categories[\"]:checked').val() ||\n\t\t\t\t\t\t\t\t\t\t\t$('input[name^=\"subsubcategories[\"]:checked').val();\n\t\t\t\t\tif (selectedCategory) {\n\t\t\t\t\t\treviewHtml += '<p><strong>Selected Category:<\/strong> ' + selectedCategory + '<\/p>';\n\t\t\t\t\t}\n\t\t\t\t\treviewHtml += '<h3>Nominee Details<\/h3>';\n\t\t\t\t\treviewHtml += '<p><strong>Nominee Name\/Firm:<\/strong> ' + $('input[name=\"nominee_name\"]').val() + '<\/p>';\n\t\t\t\t\treviewHtml += '<p><strong>Nominated By:<\/strong> ' + ($('input[name=\"nominated_by\"]').val() || 'Self-nominated') + '<\/p>';\n\t\t\t\t\treviewHtml += '<p><strong>Email:<\/strong> ' + $('input[name=\"email\"]').val() + '<\/p>';\n\t\t\t\t\treviewHtml += '<p><strong>Phone:<\/strong> ' + $('input[name=\"phone\"]').val() + '<\/p>';\n\t\t\t\t\treviewHtml += '<p><strong>Country:<\/strong> ' + $('#country option:selected').text() + '<\/p>';\n\t\t\t\t\treviewHtml += '<p><strong>City:<\/strong> ' + $('#city option:selected').text() + '<\/p>';\n\t\t\t\t\treviewHtml += '<p><strong>Public Profile:<\/strong> ' + ($('input[name=\"public_profile\"]').val() || 'Not provided') + '<\/p>';\n\t\t\t\t\treviewHtml += '<h3>Nomination Details<\/h3>';\n\t\t\t\t\treviewHtml += '<p><strong>Achievements Preview:<\/strong> ' + (typeof tinyMCE !== 'undefined' && tinyMCE.get('achievements') ? tinyMCE.get('achievements').getContent().substring(0, 100) + '...' : '') + '<\/p>';\n\t\t\t\t\treviewHtml += '<p><strong>Accomplishments Preview:<\/strong> ' + (typeof tinyMCE !== 'undefined' && tinyMCE.get('accomplishments') ? tinyMCE.get('accomplishments').getContent().substring(0, 100) + '...' : '') + '<\/p>';\n\t\t\t\t\treviewHtml += '<p><strong>Innovation Preview:<\/strong> ' + (typeof tinyMCE !== 'undefined' && tinyMCE.get('innovation') ? tinyMCE.get('innovation').getContent().substring(0, 100) + '...' : '') + '<\/p>';\n\t\t\t\t\treviewHtml += '<h3>Supporting Documents<\/h3>';\n\t\t\t\t\tif ($('input[name=\"testimonial_files[]\"]')[0] && $('input[name=\"testimonial_files[]\"]')[0].files.length > 0) {\n\t\t\t\t\t\treviewHtml += '<p><strong>Testimonial Files:<\/strong> ' + $('input[name=\"testimonial_files[]\"]')[0].files.length + ' files selected<\/p>';\n\t\t\t\t\t}\n\t\t\t\t\tif ($('input[name=\"supporting_documents[]\"]')[0] && $('input[name=\"supporting_documents[]\"]')[0].files.length > 0) {\n\t\t\t\t\t\treviewHtml += '<p><strong>Supporting Documents:<\/strong> ' + $('input[name=\"supporting_documents[]\"]')[0].files.length + ' files selected<\/p>';\n\t\t\t\t\t}\n\t\t\t\t\treviewHtml += '<\/div>';\n\t\t\t\t\t$('#wone-review-content').html(reviewHtml);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\t\/\/ New function to handle single category selection\n\t\t\tfunction handleSingleCategorySelection(selectedType, currentCheckbox) {\n\t\t\t\tconst isSingleSelect = !(selectedType === \"WOMEN IN LAW EXCELLENCE AWARD\" || selectedType === \"LEGAL AWARDS\");\n\t\t\t\t\n\t\t\t\tif (isSingleSelect && currentCheckbox.is(':checked')) {\n\t\t\t\t\t\/\/ Uncheck all other checkboxes in single-select mode\n\t\t\t\t\t$('.main-category-checkbox').not(currentCheckbox).prop('checked', false);\n\t\t\t\t\t$('.wone-subcategories-container').hide().empty();\n\t\t\t\t\t\n\t\t\t\t\t\/\/ Show validation message\n\t\t\t\t\twoneShowValidationMessage(1, `\u2705 You have selected one category for ${selectedType}. You can proceed to the next step.`, 'success');\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tjQuery(document).ready(function($) {\n\t\t\t\t\/\/ Check email status when email field loses focus\n\t\t\t\t$('#email_field').on('blur', function() {\n\t\t\t\t\tconst email = $(this).val();\n\t\t\t\t\tif (isValidEmail(email)) {\n\t\t\t\t\t\tcheckEmailStatus(email);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t\n\t\t\t\t\/\/ Auto-save on email change with debounce\n\t\t\t\t$('#email_field').on('input', function() {\n\t\t\t\t\tconst email = $(this).val();\n\t\t\t\t\tif (!isValidEmail(email)) return;\n\t\t\t\t\t\n\t\t\t\t\tclearTimeout(autoSaveTimeout);\n\t\t\t\t\tautoSaveTimeout = setTimeout(function() {\n\t\t\t\t\t\twoneAutoSaveDraft();\n\t\t\t\t\t}, 1500);\n\t\t\t\t});\n\t\t\t\t\n\t\t\t\t\/\/ Auto-save on other field changes with longer debounce\n\t\t\t\t$('#wone-nomination-form').on('change input', ':input:not(#email_field)', function() {\n\t\t\t\t\tconst email = $('#email_field').val();\n\t\t\t\t\tif (!isValidEmail(email)) return;\n\t\t\t\t\t\n\t\t\t\t\tclearTimeout(autoSaveTimeout);\n\t\t\t\t\tautoSaveTimeout = setTimeout(function() {\n\t\t\t\t\t\twoneAutoSaveDraft();\n\t\t\t\t\t}, 3000);\n\t\t\t\t});\n\t\t\t\t\n\t\t\t\t\/\/ Categories selection with single\/multiple logic\n\t\t\t\t$(document).on(\"change\", \"#categories-list input[type='checkbox']\", function () {\n\t\t\t\t\tconst selectedType = $(\"#main_award_category\").val();\n\t\t\t\t\tlet totalChecked = 0;\n\n\t\t\t\t\tif (selectedType === \"WOMEN IN LAW EXCELLENCE AWARD\") {\n\t\t\t\t\t\t\/\/ Count all subcategories + nested sub-subcategories\n\t\t\t\t\t\ttotalChecked = $(\"#categories-list .wone-subcategories-container input[type='checkbox']:checked, \" +\n\t\t\t\t\t\t\t\t\t\t\"#categories-list .wone-subsubcategories-container input[type='checkbox']:checked\").length;\n\t\t\t\t\t} else if (selectedType === \"LEGAL AWARDS\") {\n\t\t\t\t\t\t\/\/ Count only the deepest nested checkboxes\n\t\t\t\t\t\ttotalChecked = $(\"#categories-list .wone-subsubcategories-container input[type='checkbox']:checked\").length;\n\n\t\t\t\t\t\t\/\/ If there is no sub-subcategory, count subcategories (optional if needed)\n\t\t\t\t\t\tif (totalChecked === 0) {\n\t\t\t\t\t\t\ttotalChecked = $(\"#categories-list .wone-subcategories-container input[type='checkbox']:checked\").length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ Fallback for main categories\n\t\t\t\t\t\tif (totalChecked === 0) {\n\t\t\t\t\t\t\ttotalChecked = $(\"#categories-list input.main-category-checkbox:checked\").length;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t\/\/ For single-select categories, count main category checkboxes\n\t\t\t\t\t\ttotalChecked = $(\"#categories-list input.main-category-checkbox:checked\").length;\n\t\t\t\t\t}\n\n\t\t\t\t\t\/\/ Handle single category selection for specific award types\n\t\t\t\t\tif (selectedType && !(selectedType === \"WOMEN IN LAW EXCELLENCE AWARD\" || selectedType === \"LEGAL AWARDS\")) {\n\t\t\t\t\t\tif (totalChecked > 1) {\n\t\t\t\t\t\t\t$(this).prop('checked', false);\n\t\t\t\t\t\t\twoneShowValidationMessage(1, \"Please select only one category for \" + selectedType);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (selectedType === \"LEGAL AWARDS\" && totalChecked > 5) {\n\t\t\t\t\t\t$(this).prop('checked', false);\n\t\t\t\t\t\twoneShowValidationMessage(1, \"You can select a maximum of 5 categories under Legal Awards.\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\t\/\/ Hide validation message if count is okay and it was previously shown due to count\n\t\t\t\t\t\tif(totalChecked <= 5) {\n\t\t\t\t\t\t\t$(`#step1-validation`).hide().removeClass('error success').html('');\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t\n\t\t\t\t\/\/ Categories data with hierarchy\n\t\t\t\tconst categoriesData = {\n\t\t\t\t\t\"LEGAL AWARDS\": {\n\t\t\t\t\t\t\"Boutique Firm Award\": {\n\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\"Litigation Boutique of the Year\",\n\t\t\t\t\t\t\t\t\"Arbitration & Dispute Resolution Boutique\",\n\t\t\t\t\t\t\t\t\"Regulatory & Compliance Boutique\",\n\t\t\t\t\t\t\t\t\"Intellectual Property Boutique\",\n\t\t\t\t\t\t\t\t\"Technology & Cyber Law Boutique\",\n\t\t\t\t\t\t\t\t\"White Collar & Financial Crime Boutique\",\n\t\t\t\t\t\t\t\t\"Employment & Labour Law Boutique\",\n\t\t\t\t\t\t\t\t\"Tax Law Boutique\",\n\t\t\t\t\t\t\t\t\"ESG, Human Rights & Impact Boutique\",\n\t\t\t\t\t\t\t\t\"Family Law & Private Client Boutique\",\n\t\t\t\t\t\t\t\t\"Real Estate & Construction Boutique\",\n\t\t\t\t\t\t\t\t\"Immigration & Global Mobility Boutique\",\n\t\t\t\t\t\t\t\t\"Corporate\/M&A Boutique\",\n\t\t\t\t\t\t\t\t\"Public & Constitutional Law Boutique\",\n\t\t\t\t\t\t\t\t\"Cross-Border\/Regional Legal Boutique\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Dispute Resolution & Advocacy Excellence Award\": {\n\t\t\t\t\t\t\t\"Litigation Excellence\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"Litigator of the Year\",\n\t\t\t\t\t\t\t\t\t\"Complex Litigation Strategy Leader\",\n\t\t\t\t\t\t\t\t\t\"Rising Star in Litigation\",\n\t\t\t\t\t\t\t\t\t\"Public Interest Litigation Advocate\",\n\t\t\t\t\t\t\t\t\t\"Cross-Border Litigation Specialist\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Arbitration Excellence\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"Arbitration Team of the Year\",\n\t\t\t\t\t\t\t\t\t\"International Arbitration Lawyer of the Year\",\n\t\t\t\t\t\t\t\t\t\"Investor-State Arbitration Expert\",\n\t\t\t\t\t\t\t\t\t\"Commercial Arbitration Case of the Year\",\n\t\t\t\t\t\t\t\t\t\"Construction Arbitration Excellence\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Mediation & ADR Excellence\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"Mediation Advocate of the Year\",\n\t\t\t\t\t\t\t\t\t\"Online Dispute Resolution (ODR) Innovator\",\n\t\t\t\t\t\t\t\t\t\"Community or Public Mediation Champion\",\n\t\t\t\t\t\t\t\t\t\"ADR Strategist of the Year\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"International & Cross-Border Disputes\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"International Disputes Expert of the Year\",\n\t\t\t\t\t\t\t\t\t\"Cross-Border Disputes Resolution Leader\",\n\t\t\t\t\t\t\t\t\t\"Treaty & Trade Disputes Specialist\",\n\t\t\t\t\t\t\t\t\t\"Global Advocacy Impact Award\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Technology & Innovation in Disputes\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"LegalTech in Dispute Resolution Innovator\",\n\t\t\t\t\t\t\t\t\t\"AI-Powered Disputes Management Award\",\n\t\t\t\t\t\t\t\t\t\"Tech-Driven Evidence & Strategy Leader\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Corporate, M&A & Transactional Excellence Award\": {\n\t\t\t\t\t\t\t\"Mergers & Acquisitions\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"M&A Deal of the Year\",\n\t\t\t\t\t\t\t\t\t\"Cross-Border M&A Specialist\",\n\t\t\t\t\t\t\t\t\t\"Mid-Market M&A Advisor of the Year\",\n\t\t\t\t\t\t\t\t\t\"Strategic Buyer Counsel Award\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Private Equity & Venture Capital\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"Private Equity Legal Advisor of the Year\",\n\t\t\t\t\t\t\t\t\t\"Venture Capital Transactions Leader\",\n\t\t\t\t\t\t\t\t\t\"Fund Structuring & LP Counsel Award\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Corporate Advisory & Governance\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"Corporate Advisory Lawyer of the Year\",\n\t\t\t\t\t\t\t\t\t\"General Corporate Structuring Specialist\",\n\t\t\t\t\t\t\t\t\t\"Boardroom Counsel Excellence Award\",\n\t\t\t\t\t\t\t\t\t\"Corporate Governance Advisory Leader\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Restructuring, Distress & Insolvency\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"Restructuring & Insolvency Lawyer of the Year\",\n\t\t\t\t\t\t\t\t\t\"Cross-Border Restructuring Deal of the Year\",\n\t\t\t\t\t\t\t\t\t\"Debt & Creditor Advisory Specialist\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Emerging & Strategic Transactions\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"Technology Transactions Counsel of the Year\",\n\t\t\t\t\t\t\t\t\t\"Joint Venture & Strategic Alliance Expert\",\n\t\t\t\t\t\t\t\t\t\"Corporate Transactions Team of the Year\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"General Counsel & In-House Excellence Award\": {\n\t\t\t\t\t\t\t\"Individual Leadership\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"General Counsel of the Year\",\n\t\t\t\t\t\t\t\t\t\"Emerging In-House Leader (Under 40)\",\n\t\t\t\t\t\t\t\t\t\"Strategic Business Counsel Award\",\n\t\t\t\t\t\t\t\t\t\"Crisis Management Counsel of the Year\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Team Excellence\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"In-House Legal Team of the Year\",\n\t\t\t\t\t\t\t\t\t\"Cross-Functional Legal Collaboration Award\",\n\t\t\t\t\t\t\t\t\t\"Legal Department Transformation Award\",\n\t\t\t\t\t\t\t\t\t\"Global Legal Operations Team of the Year\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Practice-Focused Excellence\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"Compliance & Ethics Leadership \u2013 In-House\",\n\t\t\t\t\t\t\t\t\t\"In-House Deal Advisor of the Year\",\n\t\t\t\t\t\t\t\t\t\"IP & Innovation Strategy \u2013 In-House Counsel\",\n\t\t\t\t\t\t\t\t\t\"Regulatory Advisory Excellence \u2013 In-House\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Rising Stars in Law Award\": {\n\t\t\t\t\t\t\t\"By Practice Type\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"Rising Star \u2013 Private Practice\",\n\t\t\t\t\t\t\t\t\t\"Rising Star \u2013 In-House Counsel\",\n\t\t\t\t\t\t\t\t\t\"Rising Star \u2013 LegalTech or ALSP\",\n\t\t\t\t\t\t\t\t\t\"Emerging Dispute Resolution Talent\",\n\t\t\t\t\t\t\t\t\t\"Emerging Corporate Transactions Specialist\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"By Geography or Reach\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"Cross-Border Rising Talent\",\n\t\t\t\t\t\t\t\t\t\"Regional Future Leader (Africa, Asia, Europe, etc.)\",\n\t\t\t\t\t\t\t\t\t\"City-Based Rising Star\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"By Achievement or Impact\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"Innovation & Legal Strategy \u2013 Under 40\",\n\t\t\t\t\t\t\t\t\t\"Client Impact Award \u2013 Rising Lawyer\",\n\t\t\t\t\t\t\t\t\t\"Pro Bono or Social Justice Star \u2013 Young Lawyer\",\n\t\t\t\t\t\t\t\t\t\"Legal Entrepreneur \u2013 Under 40\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"LegalTech & Innovation Award\": {\n\t\t\t\t\t\t\t\"Legal Technology Excellence\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"LegalTech Innovator of the Year (Individual or Company)\",\n\t\t\t\t\t\t\t\t\t\"Legal AI & Automation Pioneer\",\n\t\t\t\t\t\t\t\t\t\"Best Use of Data & Analytics in Legal Practice\",\n\t\t\t\t\t\t\t\t\t\"Courtroom & Litigation Tech Excellence\",\n\t\t\t\t\t\t\t\t\t\"Document Automation & Workflow Excellence\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Alternative Legal Services (ALSPs) & Platforms\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"ALSP of the Year\",\n\t\t\t\t\t\t\t\t\t\"Innovation in Legal Process Outsourcing (LPO)\",\n\t\t\t\t\t\t\t\t\t\"Online Legal Service Platform of the Year\",\n\t\t\t\t\t\t\t\t\t\"Startup LegalTech Company of the Year\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Legal Service Transformation\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"Transformation in Legal Service Delivery\",\n\t\t\t\t\t\t\t\t\t\"Tech-Driven Client Experience Award\",\n\t\t\t\t\t\t\t\t\t\"In-House Innovation Through Technology\",\n\t\t\t\t\t\t\t\t\t\"Digital Access to Justice Innovation\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Intellectual Property Excellence Award\": {\n\t\t\t\t\t\t\t\"Litigation & Enforcement\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"IP Litigator of the Year\",\n\t\t\t\t\t\t\t\t\t\"Cross-Border IP Disputes Expert\",\n\t\t\t\t\t\t\t\t\t\"Anti-Counterfeiting & Enforcement Leader\",\n\t\t\t\t\t\t\t\t\t\"IP Arbitration & ADR Specialist\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Advisory, Strategy & Portfolio\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"IP Strategy & Portfolio Management Excellence\",\n\t\t\t\t\t\t\t\t\t\"Patent Law Specialist of the Year\",\n\t\t\t\t\t\t\t\t\t\"Trademark & Brand Protection Leader\",\n\t\t\t\t\t\t\t\t\t\"Design Rights & Industrial Property Advisor\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Technology, Media & Innovation\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"Digital Rights & Media IP Expert\",\n\t\t\t\t\t\t\t\t\t\"Software & Tech IP Specialist\",\n\t\t\t\t\t\t\t\t\t\"AI & Emerging Tech IP Advisor\",\n\t\t\t\t\t\t\t\t\t\"Entertainment & Content IP Counsel\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Data Privacy, Cybersecurity & Digital Compliance Award\": {\n\t\t\t\t\t\t\t\"Privacy & Data Protection\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"Data Protection Lawyer of the Year\",\n\t\t\t\t\t\t\t\t\t\"GDPR\/DPDP Compliance Advisor of the Year\",\n\t\t\t\t\t\t\t\t\t\"Cross-Border Data Compliance Specialist\",\n\t\t\t\t\t\t\t\t\t\"Privacy Risk & Governance Expert\",\n\t\t\t\t\t\t\t\t\t\"Sensitive Data & Biometric Law Advisor\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Cybersecurity Law & Incident Response\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"Cyber Law & Incident Response Leader\",\n\t\t\t\t\t\t\t\t\t\"Cyber Breach Litigation Specialist\",\n\t\t\t\t\t\t\t\t\t\"Critical Infrastructure Cyber Law Advisor\",\n\t\t\t\t\t\t\t\t\t\"Regulatory Counsel \u2013 Cybersecurity & Data Resilience\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"Tech & Ethics in Regulation\": {\n\t\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\t\"AI Governance & Data Ethics Expert\",\n\t\t\t\t\t\t\t\t\t\"Digital Regulatory Advisor of the Year\",\n\t\t\t\t\t\t\t\t\t\"Emerging Tech & Privacy Framework Specialist\",\n\t\t\t\t\t\t\t\t\t\"Digital Rights & User Protection Advocate\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Excellence in Legal Practice Areas Awards\": {\n\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\"Banking & Finance Law\",\n\t\t\t\t\t\t\t\t\"Real Estate & Construction Law\",\n\t\t\t\t\t\t\t\t\"Labour & Employment Law\",\n\t\t\t\t\t\t\t\t\"Energy, Oil & Gas Law\",\n\t\t\t\t\t\t\t\t\"Environmental & Climate Law\",\n\t\t\t\t\t\t\t\t\"Maritime & Shipping Law\",\n\t\t\t\t\t\t\t\t\"Aviation Law\",\n\t\t\t\t\t\t\t\t\"Insurance & Reinsurance Law\",\n\t\t\t\t\t\t\t\t\"Competition & Antitrust Law\",\n\t\t\t\t\t\t\t\t\"Consumer Protection Law\",\n\t\t\t\t\t\t\t\t\"Technology & Telecom Law\",\n\t\t\t\t\t\t\t\t\"Life Sciences & Healthcare Law\",\n\t\t\t\t\t\t\t\t\"Media, Sports & Entertainment Law\",\n\t\t\t\t\t\t\t\t\"Public International Law\",\n\t\t\t\t\t\t\t\t\"Administrative & Constitutional Law\",\n\t\t\t\t\t\t\t\t\"Education Law\",\n\t\t\t\t\t\t\t\t\"Government & Public Sector Law\",\n\t\t\t\t\t\t\t\t\"Space & Satellite Law\",\n\t\t\t\t\t\t\t\t\"Islamic Finance Law\",\n\t\t\t\t\t\t\t\t\"NGO & Development Sector Legal Impact\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Regulatory, Risk & Compliance Excellence Awards\": {\n\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\"Regulatory Lawyer of the Year\",\n\t\t\t\t\t\t\t\t\"White-Collar Crime & Investigations Advisor\",\n\t\t\t\t\t\t\t\t\"AML\/KYC Compliance Expert\",\n\t\t\t\t\t\t\t\t\"Anti-Bribery & Anti-Corruption Advisory Leader\",\n\t\t\t\t\t\t\t\t\"Global Sanctions & Trade Compliance Specialist\",\n\t\t\t\t\t\t\t\t\"Financial Regulatory Counsel\",\n\t\t\t\t\t\t\t\t\"Risk & Governance Advisory Leader\",\n\t\t\t\t\t\t\t\t\"Internal Investigations & Crisis Management Expert\",\n\t\t\t\t\t\t\t\t\"Regulatory Technology (RegTech) Innovator\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t\"Tax Awards\": {\n\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\"International Tax Advisor of the Year\",\n\t\t\t\t\t\t\t\"Transfer Pricing Excellence Award\",\n\t\t\t\t\t\t\t\"Indirect Tax & GST\/VAT Specialist\",\n\t\t\t\t\t\t\t\"Tax Dispute & Controversy Resolution Leader\",\n\t\t\t\t\t\t\t\"Digital & Crypto Taxation Expert\"\n\t\t\t\t\t\t]\n\t\t\t\t\t},\n\t\t\t\t\t\"Audit & Assurance Excellence Awards\": {\n\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\"Audit Firm of the Year\",\n\t\t\t\t\t\t\t\"Assurance Innovation Leader\",\n\t\t\t\t\t\t\t\"Financial Statement Audit Excellence\",\n\t\t\t\t\t\t\t\"Public Sector Audit Expertise\",\n\t\t\t\t\t\t\t\"ESG Audit & Disclosure Champion\"\n\t\t\t\t\t\t]\n\t\t\t\t\t},\n\t\t\t\t\t\"Accounting Innovation & Advisory Awards\": {\n\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\"Technology in Accounting Award\",\n\t\t\t\t\t\t\t\"Cloud Accounting Leader\",\n\t\t\t\t\t\t\t\"Financial Analytics & Intelligence Excellence\",\n\t\t\t\t\t\t\t\"Outsourced CFO \/ Controller of the Year\",\n\t\t\t\t\t\t\t\"Startup & Entrepreneurial Accounting Innovation\"\n\t\t\t\t\t\t]\n\t\t\t\t\t},\n\t\t\t\t\t\"Compliance & Risk Advisory Awards\": {\n\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\"Risk Advisory Expert of the Year\",\n\t\t\t\t\t\t\t\"AML, KYC & Financial Crime Compliance Leader\",\n\t\t\t\t\t\t\t\"Internal Controls & Governance Advisory\",\n\t\t\t\t\t\t\t\"Regulatory Reporting & Compliance Excellence\",\n\t\t\t\t\t\t\t\"Cyber Risk & Digital Compliance Advisor\"\n\t\t\t\t\t\t]\n\t\t\t\t\t},\n\t\t\t\t\t\"BUSINESS ADVISORY AWARDS\": {\n\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\"Deal Advisory Firm of the Year\",\n\t\t\t\t\t\t\t\"Business Turnaround & Restructuring Strategy Expert\",\n\t\t\t\t\t\t\t\"Family Business & Private Client Advisory Leader\",\n\t\t\t\t\t\t\t\"M&A Integration & Change Management Excellence\",\n\t\t\t\t\t\t\t\"Business Succession & Ownership Structuring Advisor\",\n\t\t\t\t\t\t\t\"Market Entry Strategy Firm of the Year\"\n\t\t\t\t\t\t]\n\t\t\t\t\t},\n\t\t\t\t\t\"WOMEN IN LAW EXCELLENCE AWARD\": {\n\t\t\t\t\t\t\"Leadership & Lifetime Excellence\": {\n\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\"Woman Legal Leader of the Year\",\n\t\t\t\t\t\t\t\t\"Lifetime Contribution to the Legal Profession (Woman)\",\n\t\t\t\t\t\t\t\t\"Judicial Leadership (Woman Judge\/Magistrate)\",\n\t\t\t\t\t\t\t\t\"In-House Leadership (Woman GC or Legal Ops)\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Innovation & Trailblazing\": {\n\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\"Trailblazer & Legal Innovator (Woman)\",\n\t\t\t\t\t\t\t\t\"LegalTech\/Innovation Leadership (Woman)\",\n\t\t\t\t\t\t\t\t\"Policy or Regulatory Changemaker (Woman)\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Rising & Emerging Talent\": {\n\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\"Rising Star \u2013 Woman under 40\",\n\t\t\t\t\t\t\t\t\"Young Legal Entrepreneur (Woman)\",\n\t\t\t\t\t\t\t\t\"Emerging Woman Litigator\/Arbitrator\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"Social Impact & Community\": {\n\t\t\t\t\t\t\t\"categories\": [\n\t\t\t\t\t\t\t\t\"Community Champion (Woman in Law)\",\n\t\t\t\t\t\t\t\t\"Pro Bono or Human Rights Advocate (Woman)\",\n\t\t\t\t\t\t\t\t\"Diversity & Inclusion Ally (Woman)\"\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\t\/\/ Handle main category change\n\t\t\t\t$(\"#main_award_category\").change(function () {\n\t\t\t\t\tconst selectedType = $(this).val();\n\t\t\t\t\tconst container = $(\"#categories-list\");\n\t\t\t\t\tcontainer.empty();\n\n\t\t\t\t\tif (!selectedType) {\n\t\t\t\t\t\t$(\"#categories-container\").hide();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t$(\"#categories-container\").show();\n\t\t\t\t\tconst isWomenInLaw = (selectedType === \"WOMEN IN LAW EXCELLENCE AWARD\");\n\t\t\t\t\tconst isLegalAwards = (selectedType === \"LEGAL AWARDS\");\n\t\t\t\t\t\n\t\t\t\t\t\/\/ Check if this is a single-select category (all except Women in Law and Legal Awards)\n\t\t\t\t\tconst isSingleSelect = !isWomenInLaw && !isLegalAwards;\n\n\t\t\t\t\tconst data = categoriesData[selectedType];\n\n\t\t\t\t\t\/\/ Show appropriate message based on selection type\n\t\t\t\t\tif (isSingleSelect) {\n\t\t\t\t\t\tcontainer.prepend(`\n\t\t\t\t\t\t\t<div class=\"wone-single-select-message\" style=\"background: #fff8e5; padding: 10px; margin-bottom: 15px; border-radius: 4px; border: 1px solid #ffd699; color: #663c00;\">\n\t\t\t\t\t\t\t\t<strong>Note:<\/strong> Please select only one category for ${selectedType}\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t`);\n\t\t\t\t\t} else if (isLegalAwards) {\n\t\t\t\t\t\tcontainer.prepend(`\n\t\t\t\t\t\t\t<div class=\"wone-multiple-select-message\" style=\"background: #e5f3ff; padding: 10px; margin-bottom: 15px; border-radius: 4px; border: 1px solid #99ccff; color: #0066cc;\">\n\t\t\t\t\t\t\t\t<strong>Note:<\/strong> You can select multiple categories (maximum 5) for Legal Awards\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t`);\n\t\t\t\t\t}\n\n\t\t\t\t\t\/\/ If data has direct categories array (simple categories without subcategories)\n\t\t\t\t\tif (data.categories) {\n\t\t\t\t\t\tdata.categories.forEach(function(mainCategory) {\n\t\t\t\t\t\t\tconst inputType = isSingleSelect ? \"radio\" : \"checkbox\"; \/\/ Use radio for single select, checkbox for multiple\n\t\t\t\t\t\t\tconst name = isSingleSelect ? \"main_categories\" : \"main_categories[]\";\n\t\t\t\t\t\t\tcontainer.append(`\n\t\t\t\t\t\t\t\t<div class=\"wone-main-category-container\">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t<input type=\"${inputType}\" name=\"${name}\" class=\"main-category-checkbox\" value=\"${mainCategory}\" data-category=\"${mainCategory}\">\n\t\t\t\t\t\t\t\t\t\t<strong>${mainCategory}<\/strong>\n\t\t\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t`);\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\t\/\/ Nested categories (for Legal Awards and Women in Law)\n\t\t\t\t\t\t$.each(data, function(mainCategory, subCategories) {\n\t\t\t\t\t\t\tconst inputType = \"checkbox\"; \/\/ Use checkbox for nested categories\n\t\t\t\t\t\t\tconst name = \"main_categories[]\";\n\t\t\t\t\t\t\tcontainer.append(`\n\t\t\t\t\t\t\t\t<div class=\"wone-main-category-container\">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t<input type=\"${inputType}\" name=\"${name}\" class=\"main-category-checkbox\" value=\"${mainCategory}\" data-category=\"${mainCategory}\">\n\t\t\t\t\t\t\t\t\t\t<strong>${mainCategory}<\/strong>\n\t\t\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t<div class=\"wone-subcategories-container\" style=\"margin-left:20px; display:none;\"><\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t`);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\t$(document).on('change', '.main-category-checkbox', function() {\n\t\t\t\t\tconst selectedType = $('#main_award_category').val();\n\t\t\t\t\tconst mainCategory = $(this).data('category');\n\t\t\t\t\tconst isChecked = $(this).is(':checked');\n\t\t\t\t\tconst mainContainer = $(this).closest('.wone-main-category-container');\n\t\t\t\t\tconst subcategoriesContainer = mainContainer.find('.wone-subcategories-container');\n\t\t\t\t\t\n\t\t\t\t\t\/\/ Handle single category selection for specific award types\n\t\t\t\t\thandleSingleCategorySelection(selectedType, $(this));\n\t\t\t\t\t\n\t\t\t\t\t\/\/ For Legal Awards and Women in Law, maintain existing behavior\n\t\t\t\t\tif ((selectedType === \"WOMEN IN LAW EXCELLENCE AWARD\" || selectedType === \"LEGAL AWARDS\") && isChecked) {\n\t\t\t\t\t\t\/\/ Only uncheck other categories if they're radio buttons (which they shouldn't be for these types)\n\t\t\t\t\t\tif ($(this).prop('type') === 'radio') {\n\t\t\t\t\t\t\t$('.main-category-checkbox').not(this).prop('checked', false);\n\t\t\t\t\t\t\t$('.wone-subcategories-container').not(subcategoriesContainer).hide().empty();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (isChecked && subcategoriesContainer.length > 0) {\n\t\t\t\t\t\tsubcategoriesContainer.empty();\n\t\t\t\t\t\tconst subData = categoriesData[selectedType][mainCategory];\n\n\t\t\t\t\t\tif (subData) {\n\t\t\t\t\t\t\tif (subData.categories) {\n\t\t\t\t\t\t\t\t\/\/ Direct categories\n\t\t\t\t\t\t\t\tsubData.categories.forEach(function(subCat) {\n\t\t\t\t\t\t\t\t\tsubcategoriesContainer.append(`\n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"subcategories[${mainCategory}][]\" value=\"${subCat}\"> ${subCat}\n\t\t\t\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t`);\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\/\/ Nested categories\n\t\t\t\t\t\t\t\t$.each(subData, function(subCatName, subCatValue) {\n\t\t\t\t\t\t\t\t\tconst nestedContainerId = 'nested-' + subCatName.replace(\/\\s+\/g,'-');\n\t\t\t\t\t\t\t\t\t\/\/ Determine if this nested category needs an input field itself for WONE (if it's the final choice)\n\t\t\t\t\t\t\t\t\tconst isSubcategoryFinal = (selectedType === \"WOMEN IN LAW EXCELLENCE AWARD\");\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tsubcategoriesContainer.append(`\n\t\t\t\t\t\t\t\t\t\t<div class=\"wone-nested-category-container\">\n\t\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" class=\"nested-category-checkbox\" data-category=\"${subCatName}\"> <strong>${subCatName}<\/strong>\n\t\t\t\t\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t\t\t<div id=\"${nestedContainerId}\" class=\"wone-subsubcategories-container\" style=\"margin-left:20px; display:none;\"><\/div>\n\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t`);\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tsubcategoriesContainer.show();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsubcategoriesContainer.hide();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t\n\t\t\t\t\/\/ Handle nested category checkbox click to show\/hide sub-subcategories\n\t\t\t\t$(document).on('change', '.nested-category-checkbox', function() {\n\t\t\t\t\tconst selectedType = $('#main_award_category').val();\n\t\t\t\t\tconst mainCategory = $(this).closest('.wone-main-category-container').find('.main-category-checkbox').data('category');\n\t\t\t\t\tconst subCategory = $(this).data('category');\n\t\t\t\t\tconst isChecked = $(this).is(':checked');\n\t\t\t\t\tconst nestedContainer = $(this).closest('.wone-nested-category-container');\n\t\t\t\t\tconst subSubContainer = nestedContainer.find('.wone-subsubcategories-container');\n\t\t\t\t\t\n\t\t\t\t\tif (isChecked) {\n\t\t\t\t\t\t\/\/ Clear existing content\n\t\t\t\t\t\tsubSubContainer.empty();\n\t\t\t\t\t\t\/\/ Add sub-subcategories - show as checkboxes\n\t\t\t\t\t\tif (categoriesData[selectedType][mainCategory][subCategory].categories) {\n\t\t\t\t\t\t\tcategoriesData[selectedType][mainCategory][subCategory].categories.forEach(function(subSubCategory) {\n\t\t\t\t\t\t\t\tsubSubContainer.append(`\n\t\t\t\t\t\t\t\t\t<label class=\"wone-subsubcategory\">\n\t\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"subsubcategories[${mainCategory}][${subCategory}][]\" value=\"${subSubCategory}\">\n\t\t\t\t\t\t\t\t\t\t${subSubCategory}\n\t\t\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t`);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tsubSubContainer.show();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsubSubContainer.hide();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t\n\t\t\t\t\/\/ Country and City Data\n\t\t\t\tconst countryCityData = {\n\t\t\t\t\t\"United States\": [\"New York\", \"Los Angeles\", \"Chicago\", \"Houston\", \"Phoenix\", \"Philadelphia\"],\n\t\t\t\t\t\"United Kingdom\": [\"London\", \"Manchester\", \"Birmingham\", \"Edinburgh\", \"Glasgow\", \"Liverpool\"],\n\t\t\t\t\t\"Canada\": [\"Toronto\", \"Vancouver\", \"Montreal\", \"Calgary\", \"Ottawa\", \"Edmonton\"],\n\t\t\t\t\t\"Australia\": [\"Sydney\", \"Melbourne\", \"Brisbane\", \"Perth\", \"Adelaide\", \"Canberra\"],\n\t\t\t\t\t\"India\": [\"Mumbai\", \"Delhi\", \"Bangalore\", \"Hyderabad\", \"Chennai\", \"Kolkata\"],\n\t\t\t\t\t\"Germany\": [\"Berlin\", \"Munich\", \"Hamburg\", \"Frankfurt\", \"Cologne\", \"Stuttgart\"],\n\t\t\t\t\t\"France\": [\"Paris\", \"Marseille\", \"Lyon\", \"Toulouse\", \"Nice\", \"Nantes\"],\n\t\t\t\t\t\"Japan\": [\"Tokyo\", \"Osaka\", \"Yokohama\", \"Nagoya\", \"Sapporo\", \"Kyoto\"],\n\t\t\t\t\t\"China\": [\"Beijing\", \"Shanghai\", \"Guangzhou\", \"Shenzhen\", \"Tianjin\", \"Wuhan\"],\n\t\t\t\t\t\"Brazil\": [\"S\u00e3o Paulo\", \"Rio de Janeiro\", \"Bras\u00edlia\", \"Salvador\", \"Fortaleza\", \"Belo Horizonte\"],\n\t\t\t\t\t\"South Africa\": [\"Johannesburg\", \"Cape Town\", \"Durban\", \"Pretoria\", \"Port Elizabeth\", \"Bloemfontein\"]\n\t\t\t\t};\n\t\t\t\t\n\t\t\t\t\/\/ Load countries\n\t\t\t\tconst countrySelect = $('#country');\n\t\t\t\tObject.keys(countryCityData).sort().forEach(function(country) {\n\t\t\t\t\tcountrySelect.append(`<option value=\"${country}\">${country}<\/option>`);\n\t\t\t\t});\n\t\t\t\t\n\t\t\t\t\/\/ Handle country change to load cities\n\t\t\t\tcountrySelect.change(function() {\n\t\t\t\t\tconst country = $(this).val();\n\t\t\t\t\tconst citySelect = $('#city');\n\t\t\t\t\tcitySelect.empty();\n\t\t\t\t\tcitySelect.append('<option value=\"\">Select City<\/option>');\n\t\t\t\t\tif (country && countryCityData[country]) {\n\t\t\t\t\t\tcountryCityData[country].forEach(function(city) {\n\t\t\t\t\t\t\tcitySelect.append(`<option value=\"${city}\">${city}<\/option>`);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t\n\t\t\t\t\/\/ Handle form submission - FIXED NUMBERING\n\t\t\t\t\t$('#wone-nomination-form').on('submit', function(e) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\n\t\t\t\t\t\tlet allValid = true;\n\t\t\t\t\t\tlet finalValidationMessages = [];\n\t\t\t\t\t\tlet errorCounter = 1; \/\/ Reset counter for final validation\n\n\t\t\t\t\t\t\/\/ Check all required fields with individual messages\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (!$('#main_award_category').val()) {\n\t\t\t\t\t\t\t$('#main_award_category').addClass('wone-error');\n\t\t\t\t\t\t\tfinalValidationMessages.push(`${errorCounter}. Main award category is required`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tallValid = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$('#main_award_category').removeClass('wone-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (!$('input[name=\"nominee_name\"]').val()) {\n\t\t\t\t\t\t\t$('input[name=\"nominee_name\"]').addClass('wone-error');\n\t\t\t\t\t\t\tfinalValidationMessages.push(`${errorCounter}. Nominee Name \/ Firm Name is required`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tallValid = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$('input[name=\"nominee_name\"]').removeClass('wone-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (!$('input[name=\"email\"]').val()) {\n\t\t\t\t\t\t\t$('input[name=\"email\"]').addClass('wone-error');\n\t\t\t\t\t\t\tfinalValidationMessages.push(`${errorCounter}. Email Address is required`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tallValid = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$('input[name=\"email\"]').removeClass('wone-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (!$('input[name=\"phone\"]').val()) {\n\t\t\t\t\t\t\t$('input[name=\"phone\"]').addClass('wone-error');\n\t\t\t\t\t\t\tfinalValidationMessages.push(`${errorCounter}. Contact Number is required`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tallValid = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$('input[name=\"phone\"]').removeClass('wone-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (!$('select[name=\"country\"]').val()) {\n\t\t\t\t\t\t\t$('select[name=\"country\"]').addClass('wone-error');\n\t\t\t\t\t\t\tfinalValidationMessages.push(`${errorCounter}. Country is required`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tallValid = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$('select[name=\"country\"]').removeClass('wone-error');\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tif (!$('select[name=\"city\"]').val()) {\n\t\t\t\t\t\t\t$('select[name=\"city\"]').addClass('wone-error');\n\t\t\t\t\t\t\tfinalValidationMessages.push(`${errorCounter}. City is required`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tallValid = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$('select[name=\"city\"]').removeClass('wone-error');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\/\/ Check rich text editors individually\n\t\t\t\t\t\tif (typeof tinyMCE !== 'undefined') {\n\t\t\t\t\t\t\tif (tinyMCE.get('achievements') && tinyMCE.get('achievements').getContent().trim() === '') {\n\t\t\t\t\t\t\t\t$('#achievements').addClass('wone-error');\n\t\t\t\t\t\t\t\tfinalValidationMessages.push(`${errorCounter}. \"Why does the nominee deserve this award?\" is required`);\n\t\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\t\tallValid = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$('#achievements').removeClass('wone-error');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif (tinyMCE.get('accomplishments') && tinyMCE.get('accomplishments').getContent().trim() === '') {\n\t\t\t\t\t\t\t\t$('#accomplishments').addClass('wone-error');\n\t\t\t\t\t\t\t\tfinalValidationMessages.push(`${errorCounter}. \"Key Accomplishments\" is required`);\n\t\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\t\tallValid = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$('#accomplishments').removeClass('wone-error');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif (tinyMCE.get('innovation') && tinyMCE.get('innovation').getContent().trim() === '') {\n\t\t\t\t\t\t\t\t$('#innovation').addClass('wone-error');\n\t\t\t\t\t\t\t\tfinalValidationMessages.push(`${errorCounter}. \"Innovation or Differentiation\" is required`);\n\t\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\t\tallValid = false;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$('#innovation').removeClass('wone-error');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\/\/ Check testimonial files\n\t\t\t\t\t\tconst testimonialFiles = $('input[name=\"testimonial_files[]\"]')[0].files;\n\t\t\t\t\t\tif (testimonialFiles.length < 3) {\n\t\t\t\t\t\t\t$('input[name=\"testimonial_files[]\"]').addClass('wone-error');\n\t\t\t\t\t\t\tfinalValidationMessages.push(`${errorCounter}. Please upload at least 3 images for your profile`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tallValid = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$('input[name=\"testimonial_files[]\"]').removeClass('wone-error');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\/\/ Check declarations individually\n\t\t\t\t\t\tif (!$('input[name=\"declaration_accuracy\"]').is(':checked')) {\n\t\t\t\t\t\t\tfinalValidationMessages.push(`${errorCounter}. You must confirm that all information provided is accurate`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tallValid = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!$('input[name=\"declaration_consent\"]').is(':checked')) {\n\t\t\t\t\t\t\tfinalValidationMessages.push(`${errorCounter}. You must consent to the use of data by WONE Global Awards`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tallValid = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (!$('input[name=\"declaration_understanding\"]').is(':checked')) {\n\t\t\t\t\t\t\tfinalValidationMessages.push(`${errorCounter}. You must understand that submission does not guarantee shortlisting or award`);\n\t\t\t\t\t\t\terrorCounter++;\n\t\t\t\t\t\t\tallValid = false;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (!allValid) {\n\t\t\t\t\t\t\twoneShowValidationMessage(4, '<strong>Please complete the following before submitting:<\/strong><ol>' + \n\t\t\t\t\t\t\t\tfinalValidationMessages.map(msg => `<li>${msg}<\/li>`).join('') + '<\/ol>');\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst formData = new FormData(this);\n\t\t\t\t\t\tformData.append('action', 'wone_submit_nomination');\n\t\t\t\t\t\tformData.append('draft_id', currentDraftId);\n\n\t\t\t\t\t\tif (typeof tinyMCE !== 'undefined') {\n\t\t\t\t\t\t\t['achievements', 'accomplishments', 'innovation'].forEach(function(editorId) {\n\t\t\t\t\t\t\t\tif (tinyMCE.get(editorId)) {\n\t\t\t\t\t\t\t\t\tformData.set(editorId, tinyMCE.get(editorId).getContent());\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t$.ajax({\n\t\t\t\t\t\t\turl: 'https:\/\/woneglobal.org\/awards\/wp-admin\/admin-ajax.php',\n\t\t\t\t\t\t\ttype: 'POST',\n\t\t\t\t\t\t\tdata: formData,\n\t\t\t\t\t\t\tprocessData: false,\n\t\t\t\t\t\t\tcontentType: false,\n\t\t\t\t\t\t\tbeforeSend: function() {\n\t\t\t\t\t\t\t\t$('#wone-form-spinner').fadeIn();\n\t\t\t\t\t\t\t\t$('.wone-submit-btn').prop('disabled', true).text('Submitting...');\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsuccess: function(response) {\n\t\t\t\t\t\t\t\tif (response.success) {\n\t\t\t\t\t\t\t\t\twindow.location.href = response.data.redirect_url;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$('#wone-form-message')\n\t\t\t\t\t\t\t\t\t\t.html('<div class=\"wone-error-msg\">' + response.data + '<\/div>')\n\t\t\t\t\t\t\t\t\t\t.fadeIn();\n\t\t\t\t\t\t\t\t\t$('html, body').animate({ scrollTop: $('#wone-form-message').offset().top }, 400);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\terror: function(xhr) {\n\t\t\t\t\t\t\t\tconsole.log(\"AJAX Error:\", xhr.responseText);\n\t\t\t\t\t\t\t\t$('#wone-form-message')\n\t\t\t\t\t\t\t\t\t.html('<div class=\"wone-error-msg\">Something went wrong, please try again.<\/div>')\n\t\t\t\t\t\t\t\t\t.fadeIn();\n\t\t\t\t\t\t\t\t$('html, body').animate({ scrollTop: $('#wone-form-message').offset().top }, 400);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tcomplete: function() {\n\t\t\t\t\t\t\t\t$('#wone-form-spinner').fadeOut();\n\t\t\t\t\t\t\t\t$('.wone-submit-btn').prop('disabled', false).text('Submit Nomination');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\n\t\t\t});\n\t\t\t<\/script>\n\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-11923","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/woneglobal.org\/awards\/wp-json\/wp\/v2\/pages\/11923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/woneglobal.org\/awards\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/woneglobal.org\/awards\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/woneglobal.org\/awards\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/woneglobal.org\/awards\/wp-json\/wp\/v2\/comments?post=11923"}],"version-history":[{"count":18,"href":"https:\/\/woneglobal.org\/awards\/wp-json\/wp\/v2\/pages\/11923\/revisions"}],"predecessor-version":[{"id":14137,"href":"https:\/\/woneglobal.org\/awards\/wp-json\/wp\/v2\/pages\/11923\/revisions\/14137"}],"wp:attachment":[{"href":"https:\/\/woneglobal.org\/awards\/wp-json\/wp\/v2\/media?parent=11923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}