{"id":193,"date":"2025-04-04T19:41:53","date_gmt":"2025-04-04T12:41:53","guid":{"rendered":"https:\/\/www.thailawonline.com\/thai-visa-finder\/"},"modified":"2026-04-12T00:03:09","modified_gmt":"2026-04-11T17:03:09","slug":"thai-visa-finder","status":"publish","type":"page","link":"https:\/\/www.thailawonline.com\/th\/thai-visa-finder\/","title":{"rendered":"\u0e04\u0e49\u0e19\u0e2b\u0e32\u0e27\u0e35\u0e0b\u0e48\u0e32\u0e44\u0e17\u0e22\u0e17\u0e35\u0e48\u0e40\u0e2b\u0e21\u0e32\u0e30\u0e2a\u0e21\u0e17\u0e35\u0e48\u0e2a\u0e38\u0e14\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e04\u0e38\u0e13"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-medium is-resized\" id=\"Thai-Visa-Finder\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.thailawonline.com\/wp-content\/uploads\/2025\/04\/thai-visa-finder-foreigner-300x300.png\" alt=\"Thai Visa Finder\" class=\"wp-image-16375 tlo-responsive-img\" style=\"width:500px\" title=\"Thai Visa Finder\"\/><\/figure>\n<\/div>\n<p><!-- Start of Comprehensive SEO-Enhanced Thai Visa Tool HTML Block (v5.1 - Corrected Comments) --><\/p>\n<style>\n\/* --- Embedded CSS Start --- *\/\n\/* Basic Reset & Body Scope *\/\n.visa-tool-container * { box-sizing: border-box; }\n.visa-tool-container { font-family: sans-serif; line-height: 1.6; color: #333; max-width: 900px; margin: 20px auto; background-color: #fff; padding: 25px 40px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }<\/p>\n<p>\/* Headings *\/\n.visa-tool-container h1, .visa-tool-container h2, .visa-tool-container h3 { color: #005a87; margin-top: 1.2em; margin-bottom: 0.8em; }\n.visa-tool-container h1 { text-align: center; font-size: 1.8em; margin-top: 0; border-bottom: none;} \/* Main page title *\/\n.visa-tool-container h2 { font-size: 1.5em; border-bottom: 1px solid #eee; padding-bottom: 0.3em; } \/* Major sections *\/\n.visa-tool-container h3 { font-size: 1.25em; color: #004a70; } \/* Sub-sections *\/<\/p>\n<p>\/* Links *\/\n.visa-tool-container a { color: #007bff; text-decoration: none; }\n.visa-tool-container a:hover { text-decoration: underline; }<\/p>\n<p>\/* Intro\/Outro Text *\/\n.visa-tool-intro, .visa-tool-cta-section { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #eee; }\n.visa-tool-cta-section { border-bottom: none; }<\/p>\n<p>\/* Notices & Disclaimer *\/\n.visa-tool-container .tool-disclaimer, .visa-tool-container .tool-notice { padding: 15px; margin-bottom: 20px; border-radius: 4px; border: 1px solid transparent; font-size: 0.9em; }\n.visa-tool-container .tool-disclaimer { background-color: #fff3cd; border-color: #ffeeba; color: #856404; }\n.visa-tool-container .tool-notice.important-notice { background-color: #f8d7da; border-color: #f5c6cb; color: #721c24; }\n.visa-tool-container .important-notice strong { font-weight: bold; }\n.visa-tool-container .important-notice a { color: #721c24; font-weight: bold; text-decoration: underline; }<\/p>\n<p>\/* Form Styling *\/\n.visa-tool-container #visa-questionnaire-section h2 { margin-bottom: 1em; font-size: 1.4em; border-bottom: none; }\n.visa-tool-container #visa-questionnaire { margin-bottom: 30px; padding-bottom: 20px; }\n.visa-tool-container .form-group { margin-bottom: 20px; }\n.visa-tool-container .form-group label { display: block; margin-bottom: 8px; font-weight: bold; }\n.visa-tool-container .form-group select, .visa-tool-container .form-group input[type=\"text\"] { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; }\n.visa-tool-container .radio-group label { display: inline-block; margin-right: 15px; font-weight: normal; }\n.visa-tool-container .radio-group input[type=\"radio\"] { margin-right: 5px; vertical-align: middle; }<\/p>\n<p>\/* CTA Button Styling *\/\n.visa-tool-container .cta-button, .visa-tool-container .consultation-button { display: inline-block; background-color: #e03a3e; color: white !important; padding: 12px 25px; border: none; border-radius: 4px; font-size: 1em; cursor: pointer; transition: background-color 0.3s ease; text-decoration: none !important; text-align: center; }\n.visa-tool-container .cta-button:hover, .visa-tool-container .consultation-button:hover { background-color: #c03034; color: white !important; }<\/p>\n<p>\/* Results Table *\/\n.visa-tool-container #visa-results { min-height: 50px; }\n.visa-tool-container #comparison-table-container { margin-top: 20px; overflow-x: auto; }\n.visa-tool-container .comparison-table { width: 100%; border-collapse: collapse; margin-top: 15px; }\n.visa-tool-container .comparison-table th, .visa-tool-container .comparison-table td { border: 1px solid #ddd; padding: 10px 12px; text-align: left; vertical-align: top; }\n.visa-tool-container .comparison-table th { background-color: #f2f2f2; font-weight: bold; }\n.visa-tool-container .comparison-table tbody tr:nth-child(even) { background-color: #f9f9f9; }\n.visa-tool-container .details-button { padding: 5px 10px; background-color: #007bff; color: white; border: none; border-radius: 3px; cursor: pointer; font-size: 0.9em; }\n.visa-tool-container .details-button:hover { background-color: #0056b3; }<\/p>\n<p>\/* Modal Styling *\/\n.visa-tool-container .modal { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }\n.visa-tool-container .modal:not(.hidden) { opacity: 1; visibility: visible; transition: opacity 0.3s ease; }\n.visa-tool-container .modal-content { background-color: #fff; padding: 30px 40px; border-radius: 8px; max-width: 750px; width: 90%; max-height: 85vh; overflow-y: auto; position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.3); transform: scale(0.95); transition: transform 0.3s ease; }\n.visa-tool-container .modal:not(.hidden) .modal-content { transform: scale(1); }\n.visa-tool-container .close-modal { position: absolute; top: 10px; right: 15px; font-size: 1.8em; font-weight: bold; color: #aaa; background: none; border: none; cursor: pointer; line-height: 1; padding: 5px; }\n.visa-tool-container .close-modal:hover { color: #333; }\n.visa-tool-container #modal-visa-details ul { padding-left: 20px; margin-top: 10px; margin-bottom: 1em; }\n.visa-tool-container #modal-visa-details h4 { margin-top: 1.5em; margin-bottom: 0.5em; color: #005a87; border-bottom: 1px solid #eee; padding-bottom: 5px; font-size: 1.1em; }\n.visa-tool-container #modal-visa-details p { margin-bottom: 1em; }\n.visa-tool-container .modal-source-note { margin-top: 20px; font-size: 0.85em; color: #555; text-align: center; }<\/p>\n<p>\/* FAQ Styling & Schema *\/\n.visa-tool-container .faq-section { margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; }\n.visa-tool-container .faq-item { border: 1px solid #ddd; margin-bottom: 10px; border-radius: 4px; overflow: hidden; }\n.visa-tool-container .faq-item summary { padding: 15px; font-weight: bold; cursor: pointer; background-color: #f9f9f9; outline: none; list-style: none; position: relative; }\n.visa-tool-container .faq-item summary::-webkit-details-marker { display: none; }\n.visa-tool-container .faq-item summary::after { content: '+'; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); font-size: 1.2em; color: #007bff; transition: transform 0.2s ease; }\n.visa-tool-container .faq-item[open] summary { background-color: #eef; }\n.visa-tool-container .faq-item[open] summary::after { content: '\u2212'; transform: translateY(-50%) rotate(45deg); }\n.visa-tool-container .faq-item div[itemprop=\"acceptedAnswer\"] p { padding: 15px; margin: 0; background-color: #fff; border-top: 1px solid #ddd; }\n.visa-tool-container .faq-item div[itemprop=\"acceptedAnswer\"] ul { margin-top: 10px; margin-bottom: 10px; padding-left: 35px; background-color:#fff; padding-bottom: 15px; }<\/p>\n<p>\/* Utility Classes *\/\n.visa-tool-container .hidden { display: none !important; }<\/p>\n<p>\/* Responsive *\/\n@media (max-width: 600px) {\n    .visa-tool-container { padding: 15px 20px; }\n    .visa-tool-container .modal-content { padding: 20px; width: 95%; max-height: 90vh; }\n    .visa-tool-container .form-group select, .visa-tool-container .form-group input[type=\"text\"] { font-size: 16px; }\n    .visa-tool-container h1 { font-size: 1.6em; }\n    .visa-tool-container h2 { font-size: 1.4em; }\n    .visa-tool-container h3 { font-size: 1.15em; }\n}\n\/* --- Embedded CSS End --- *\/\n<\/style>\n<div class=\"visa-tool-container\">\n<p>    <!-- SEO Enhanced H1 --><\/p>\n<h2>Thailand Visa Comparison Tool &#038; Requirements Guide<\/h2>\n<p>    <!-- SEO Introductory Text --><\/p>\n<div class=\"visa-tool-intro\">\n<h2>Navigating Thai Visa Options<\/h2>\n<p>When dealing with legal arrangements in Thailand, whether it&#8217;s renting property or planning a long-term stay, understanding the applicable laws and securing the right visa are both essential. This page not only explains the legal framework surrounding automatic lease renewals in Thailand but also provides access to an interactive tool designed to help you find the best visa for Thailand based on your personal situation. Whether you&#8217;re planning to retire, invest, work, or join family in Thailand, our Thai Visa Finder can guide you toward the most suitable visa options currently available.<\/p>\n<p>This interactive tool helps you compare and find the best Thai visa types side-by-side based on your inputs. Below the tool, you&#8217;ll find detailed FAQs and information on seeking personalized legal advice.<\/p>\n<h3>Common Thailand Visa Categories:<\/h3>\n<ul>\n<li><strong>Tourist Visas (TR \/ Visa Exemption):<\/strong> For short-term tourism. Strict limits on stay duration and work is prohibited.<\/li>\n<li><strong>Non-Immigrant Visas:<\/strong> For longer stays with specific purposes like business (Non-B), retirement (Non-O\/O-A\/O-X), family\/marriage (Non-O), or formal education (Non-ED). These often form the basis for long-term residency.<\/li>\n<li><strong>Special Visas:<\/strong> Includes the Destination Thailand Visa (DTV) for digital nomads\/training\/medical, Thailand Elite Visa for long-term privilege stays, SMART Visa for targeted professionals\/investors, and the Long-Term Resident (LTR) visa for high-potential individuals.<\/li>\n<\/ul>\n<p>Use the tool below to find potential matches for your situation.<\/p>\n<\/p><\/div>\n<p>    <!-- Important Notices --><\/p>\n<div class=\"tool-disclaimer\">\n<p><strong>Disclaimer:<\/strong> This tool provides general guidance. Regulations change frequently. Always verify details with official sources like the <a href=\"https:\/\/www.thaievisa.go.th\/\" target=\"_blank\" rel=\"noopener noreferrer\">Thai E-Visa Website<\/a>, official LTR\/SMART portals, <a href=\"https:\/\/www.immigration.go.th\/\" target=\"_blank\" rel=\"noopener noreferrer\">Thai Immigration Bureau<\/a>, or relevant Thai Embassies before applying or traveling. This is not legal advice. Information current as of [Date of Last Manual Check &#8211; *You should update this manually*].<\/p>\n<\/p><\/div>\n<div class=\"tool-notice important-notice\">\n<p><strong>Visa Application Update (Effective Jan 1, 2025):<\/strong> Most Thai visa applications MUST be submitted online ONLY via the official <a href=\"https:\/\/www.thaievisa.go.th\/\" target=\"_blank\" rel=\"noopener noreferrer\">Thai E-Visa Website<\/a> or specific portals (e.g., LTR).<\/p>\n<\/p><\/div>\n<div class=\"tool-notice important-notice\">\n<p><strong>Mandatory Arrival Form (Effective May 1, 2025):<\/strong> The paper TM.6 is replaced by the <strong>Thailand Digital Arrival Card (TDAC)<\/strong>. ALL foreign nationals must complete the TDAC online BEFORE arrival.<\/p>\n<\/p><\/div>\n<p>    <!-- End Notices --><\/p>\n<p>    <!-- Step 1: Questionnaire Section --><\/p>\n<div id=\"visa-questionnaire-section\">\n<h2>Find Your Potential Thai Visa Match<\/h2>\n<form id=\"visa-questionnaire\">\n<div class=\"form-group\">\n                <label for=\"nationality\">Nationality:<\/label><br \/>\n                <select id=\"nationality\" name=\"nationality\" required><option value=\"\">&#8212; Select Nationality &#8212;<\/option><option value=\"Australia\">Australia<\/option><option value=\"Canada\">Canada<\/option><option value=\"China\">China<\/option><option value=\"France\">France<\/option><option value=\"Germany\">Germany<\/option><option value=\"India\">India<\/option><option value=\"Italy\">Italy<\/option><option value=\"Japan\">Japan<\/option><option value=\"Korea_South\">Korea (South)<\/option><option value=\"Spain\">Spain<\/option><option value=\"UK\">UK<\/option><option value=\"USA\">USA<\/option><option value=\"Other_European\">Other European (Check O-X\/LTR eligibility)<\/option><option value=\"Other_Asian\">Other Asian<\/option><option value=\"Other\">Other<\/option><\/select>\n            <\/div>\n<div class=\"form-group\">\n                <label for=\"purpose\">Purpose of Visit:<\/label><br \/>\n                <select id=\"purpose\" name=\"purpose\" required><option value=\"\">&#8212; Select Purpose &#8212;<\/option><option value=\"Tourism\">Tourism<\/option><option value=\"Business\">Business\/Work (Employed by Thai Co.)<\/option><option value=\"Investment\">Business\/Work (Investor\/Own Business)<\/option><option value=\"Retirement\">Retirement (50+)<\/option><option value=\"Marriage\">Family\/Spouse (Thai Spouse\/Family)<\/option><option value=\"Education\">Education (Formal Degree\/Approved School)<\/option><option value=\"DTV\">Destination Thailand Visa (Workcation\/Training\/Medical)<\/option><option value=\"Elite\">Long-Stay Lifestyle (Thailand Elite)<\/option><option value=\"Smart\">Special Talent\/Investor (SMART Visa)<\/option><option value=\"LTR\">Long-Term Resident (LTR Categories)<\/option><option value=\"Other\">Other<\/option><\/select>\n            <\/div>\n<div class=\"form-group\">\n                <label for=\"length_of_stay\">Intended Length of Stay:<\/label><br \/>\n                <select id=\"length_of_stay\" name=\"length_of_stay\" required><option value=\"\">&#8212; Select Duration &#8212;<\/option><option value=\"short\">Under 90 days<\/option><option value=\"medium\">3 months to 1 year<\/option><option value=\"long\">1 year+<\/option><option value=\"very_long\">5 years+<\/option><\/select>\n            <\/div>\n<div class=\"form-group\">\n                <label>Can you provide proof of sufficient funds\/income (if required)?<\/label><\/p>\n<div class=\"radio-group\">\n                    <input type=\"radio\" id=\"finance_yes\" name=\"finance\" value=\"yes\" required> <label for=\"finance_yes\">Yes<\/label><br \/>\n                    <input type=\"radio\" id=\"finance_no\" name=\"finance\" value=\"no\"> <label for=\"finance_no\">No<\/label><br \/>\n                    <input type=\"radio\" id=\"finance_unsure\" name=\"finance\" value=\"unsure\"> <label for=\"finance_unsure\">Unsure<\/label>\n                <\/div>\n<\/p><\/div>\n<p>            <button type=\"submit\" class=\"cta-button\">Show Matching Visas<\/button><br \/>\n        <\/form>\n<\/p><\/div>\n<p>    <!-- Step 2: Results --><\/p>\n<div id=\"visa-results\" class=\"hidden\">\n<h2>Potential Visa Matches<\/h2>\n<div id=\"comparison-table-container\">\n<p>Select your details above to see potential visa matches.<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<p>    <!-- Step 3: Detailed Modal View --><\/p>\n<div id=\"visa-detail-modal\" class=\"modal hidden\">\n<div class=\"modal-content\">\n            <button class=\"close-modal\">\u00d7<\/button><\/p>\n<h3 id=\"modal-visa-name\">Visa Details<\/h3>\n<div id=\"modal-visa-details\">\n                {\/* <!-- Details will be populated by JavaScript --> *\/}\n            <\/div>\n<p class=\"modal-source-note\"><i>Verify all details with official sources. E-Visa mandatory (Jan 2025). TDAC mandatory (May 2025).<\/i><\/p>\n<\/p><\/div>\n<\/p><\/div>\n<p>    <!-- Step 4: FAQ Section with Schema.org Markup --><\/p>\n<div id=\"visa-faq\" class=\"faq-section\" itemscope itemtype=\"https:\/\/schema.org\/FAQPage\">\n<h2>Frequently Asked Questions about Thai Visas<\/h2>\n<p>           <!-- FAQ Item --><\/p>\n<details class=\"faq-item\" itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<summary itemprop=\"name\">What is the Thailand Digital Arrival Card (TDAC)? (NEW &#8211; From May 1, 2025)<\/summary>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">Starting May 1, 2025, the TDAC replaces the old paper TM.6 form. It is a <strong>mandatory online form<\/strong> that ALL foreign nationals must complete BEFORE arriving in Thailand (by air, land, or sea). You will need to provide personal, passport, and travel details on the official TDAC website (URL to be announced by Thai authorities &#8211; check official immigration news). You will likely receive a confirmation to present upon arrival. Ensure accuracy when filling it out.<\/p>\n<\/p><\/div>\n<\/details>\n<p>           <!-- FAQ Item --><\/p>\n<details class=\"faq-item\" itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<summary itemprop=\"name\">How do I apply for a Thai visa now? (NEW &#8211; From Jan 1, 2025)<\/summary>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">As of January 1, 2025, the primary method for applying for most Thai visas (Tourist, Non-Immigrant types, DTV, etc.) before entering Thailand is through the official <strong>Thai E-Visa website: <a href=\"https:\/\/www.thaievisa.go.th\/\" target=\"_blank\" rel=\"noopener noreferrer\">www.thaievisa.go.th<\/a><\/strong>. For specialized visas like the LTR, use its dedicated official portal (search &#8220;BOI LTR Visa&#8221;). You will typically upload required documents and pay fees online. Direct applications at Embassies\/Consulates are generally phased out.<\/p>\n<\/p><\/div>\n<\/details>\n<p>            <!-- FAQ Item --><\/p>\n<details class=\"faq-item\" itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<summary itemprop=\"name\">What is the new Destination Thailand Visa (DTV)?<\/summary>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">The DTV is a multiple-entry visa valid for 180 days, extendable once for another 180 days (total 1 year stay). It costs 10,000 THB and is applied for via the E-Visa system. It targets three main groups:<\/p>\n<ul>\n<li><strong>Digital Nomads \/ Workcation:<\/strong> Working remotely for foreign employers. Requires proof of employment\/income and significant funds (e.g., 500k THB deposit). Does NOT grant a Thai work permit.<\/li>\n<li><strong>Skill Training \/ Non-Formal Study:<\/strong> For short-term courses like Muay Thai, cooking, arts, sports (NOT formal degree programs &#8211; use Non-ED for those). Requires letter from the training institution.<\/li>\n<li><strong>Medical Treatment:<\/strong> For receiving medical care in Thailand. Requires letter from the hospital.<\/li>\n<\/ul>\n<p>                    This visa offers more flexibility than a standard tourist visa for these specific purposes but has its own requirements and limitations. 90-day reporting is likely required during the extended stay.\n                    <\/p>\n<\/p><\/div>\n<\/details>\n<p>            <!-- FAQ Item --><\/p>\n<details class=\"faq-item\" itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<summary itemprop=\"name\">What is 90-Day Reporting and who needs to do it?<\/summary>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">Foreigners staying long-term under most Non-Immigrant visa extensions (e.g., based on retirement, marriage, work, education), the Non-O-X visa, or potentially during the DTV extension period, must report their current address to Immigration every 90 days (often requires TM.30 proof from landlord). LTR and SMART visa holders do annual reporting instead. Failure to report can result in fines.<\/p>\n<\/p><\/div>\n<\/details>\n<p>            <!-- FAQ Item --><\/p>\n<details class=\"faq-item\" itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<summary itemprop=\"name\">Can I work on a Tourist, ED, Retirement, Marriage, or DTV Visa?<\/summary>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">It&#8217;s complex:<\/p>\n<ul>\n<li><strong>Tourist (TR), Education (Non-ED), Retirement (Non-O\/O-A\/O-X):<\/strong> Strictly NO work allowed (paid or unpaid for Thai entity).<\/li>\n<li><strong>Marriage (Non-O based on Thai Spouse):<\/strong> Visa itself doesn&#8217;t grant work rights, but holder CAN apply for a Thai Work Permit if they get a job offer.<\/li>\n<li><strong>DTV (Workcation):<\/strong> Allows remote work for FOREIGN employer ONLY. Does NOT allow work for a Thai company and does NOT typically come with a Thai Work Permit.<\/li>\n<li><strong>To work legally for a Thai company:<\/strong> You generally need a Non-Immigrant B visa + Work Permit, or specific work rights under LTR or SMART visas.<\/li>\n<\/ul>\n<\/p><\/div>\n<\/details>\n<p>            <!-- FAQ Item --><\/p>\n<details class=\"faq-item\" itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<summary itemprop=\"name\">How do I prove my financial status?<\/summary>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">Varies greatly. Examples: Non-O-A Retirement (~800k THB savings \/ ~65k THB income). Non-O-X Retirement (~3M THB savings \/ ~1.8M + 1.2M income). DTV (~500k THB deposit often required). LTR (High assets\/investment\/income depending on category). Check official E-Visa\/LTR\/DTV criteria.<\/p>\n<\/p><\/div>\n<\/details>\n<p>            <!-- FAQ Item --><\/p>\n<details class=\"faq-item\" itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<summary itemprop=\"name\">Do I need Health Insurance?<\/summary>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">Mandatory for Non-Immigrant O-A \/ O-X (high coverage) and LTR (~$50k USD). Checked during E-Visa\/LTR application. HIGHLY recommended for all other visa types, including DTV.<\/p>\n<\/p><\/div>\n<\/details>\n<p>            <!-- FAQ Item --><\/p>\n<details class=\"faq-item\" itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<summary itemprop=\"name\">What is a Re-Entry Permit?<\/summary>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">Essential if you have a long-term extension of stay (1-year+) or a multiple-year visa like Non-O-X \/ DTV (during extended period). Leaving Thailand without a valid Re-Entry Permit invalidates your extension\/visa stamp. Obtain from Immigration *before* departing. LTR usually includes multiple re-entry.<\/p>\n<\/p><\/div>\n<\/details>\n<p>            <!-- FAQ Item --><\/p>\n<details class=\"faq-item\" itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<summary itemprop=\"name\">Can I trust visa information from Facebook groups or forums?<\/summary>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">Use social media and forums with EXTREME caution. While they can offer insights into others&#8217; experiences, information is often anecdotal, quickly outdated, specific to individual circumstances, or sometimes plain wrong or promotes illegal actions (like improper visa runs). Procedures, fees, and requirements change. <strong>ALWAYS prioritize and verify information with official sources:<\/strong> the Thai E-Visa website, official LTR\/SMART visa portals, Thai Immigration Bureau website, and the Thai Embassy\/Consulate website relevant to your location.<\/p>\n<\/p><\/div>\n<\/details>\n<p>            <!-- FAQ Item --><\/p>\n<details class=\"faq-item\" itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<summary itemprop=\"name\">What happens if I overstay my visa?<\/summary>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">Serious offense. Fine (500 THB\/day, max 20k THB) + potential blacklisting (ban from re-entry for 1-10+ years) and deportation for significant overstays. Always extend or depart on time.<\/p>\n<\/p><\/div>\n<\/details>\n<p>            <!-- FAQ Item --><\/p>\n<details class=\"faq-item\" itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<summary itemprop=\"name\">Can I change my visa type while inside Thailand?<\/summary>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">Sometimes possible to change from Tourist\/Visa Exempt to a Non-Immigrant type (Non-B, Non-O) *if* meeting all requirements and applying at Immigration with sufficient time. Changing between Non-Immigrant types is difficult. Changing *to* LTR, O-X, or DTV inside Thailand is generally NOT possible or highly complex; these usually require application from outside via official portals. Consult Immigration.<\/p>\n<\/p><\/div>\n<\/details>\n<p>            <!-- FAQ Item --><\/p>\n<details class=\"faq-item\" itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<summary itemprop=\"name\">What&#8217;s the difference between a Visa and a Work Permit?<\/summary>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">Separate documents. <strong>Visa<\/strong> (via E-Visa\/portal) allows entry\/stay. <strong>Work Permit<\/strong> (from Dept. of Employment) allows legal work for a specific Thai role\/employer. Usually need Non-B first, then WP. LTR\/SMART\/DTV have specific rules about work authorization.<\/p>\n<\/p><\/div>\n<\/details>\n<p>            <!-- FAQ Item --><\/p>\n<details class=\"faq-item\" itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<summary itemprop=\"name\">Can my family come with me? (Dependant Visas)<\/summary>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">Often yes. Holders of long-term visas (Non-Imm B\/O\/ED, Non-O-X, LTR, SMART, possibly DTV &#8211; check rules) can usually bring dependants (spouse, children < 20). Dependants apply for their own visa via relevant portal, linking to the primary holder. Restrictions apply (e.g., dependants usually can't work).<\/p>\n<\/p><\/div>\n<\/details>\n<p>            <!-- FAQ Item --><\/p>\n<details class=\"faq-item\" itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<summary itemprop=\"name\">What is TM.30 (Notification of Residence)?<\/summary>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">Landlord\/hotel must report foreigner&#8217;s stay to Immigration within 24hrs. Proof of TM.30 filing often needed for your own Immigration procedures (extensions, 90-day reports). Confirm with your landlord.<\/p>\n<\/p><\/div>\n<\/details>\n<p>            <!-- FAQ Item --><\/p>\n<details class=\"faq-item\" itemprop=\"mainEntity\" itemscope itemtype=\"https:\/\/schema.org\/Question\">\n<summary itemprop=\"name\">What about &#8220;Visa Runs&#8221; or &#8220;Border Runs&#8221;?<\/summary>\n<div itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<p itemprop=\"text\">Using back-to-back visa exemptions via border crossings for long stays is highly discouraged and risky due to Immigration crackdowns. Obtain the correct long-stay visa via the E-Visa system or relevant portals.<\/p>\n<\/p><\/div>\n<\/details><\/div>\n<p> <!-- end #visa-faq --><\/p>\n<p>    <!-- Call to Action Section --><\/p>\n<div class=\"visa-tool-cta-section\">\n<h2>Need Personalized Thai Visa Advice?<\/h2>\n<p>While this tool provides a helpful overview, Thai immigration laws are complex and subject to change. Your specific circumstances, nationality, and long-term goals might require tailored guidance to ensure you choose the most suitable visa and navigate the application process correctly.<\/p>\n<p>The experienced immigration specialists at ThaiLawOnline can help. We offer expert consultations to assess your situation, explain your options in detail, and guide you through the requirements for visas like Non-Immigrant B, Retirement (O\/O-A\/O-X), Marriage, Education, DTV, LTR, SMART, and more.<\/p>\n<p><strong>Book a 30-minute online consultation for only 1,000 THB.<\/strong> Get clear answers and professional advice tailored to your needs.<\/p>\n<p style=\"text-align: center; margin-top: 20px;\">\n            <!-- !!! IMPORTANT: Replace href with your actual booking page URL !!! --><br \/>\n            <a href=\"\/online-consultation-with-a-thai-lawyer\/\" class=\"consultation-button\" target=\"_blank\" rel=\"noopener noreferrer\">Book Your Visa Consultation Now<\/a>\n        <\/p>\n<\/p><\/div>\n<\/div>\n<p> <!-- end visa-tool-container --><\/p>\n<p><!-- Embedded JavaScript Start --><br \/>\n<script>\n\/\/ Wrap entire JS in a try...catch for basic error handling\ntry {\n    document.addEventListener('DOMContentLoaded', () => {<\/p>\n<p>        const eVisaLink = '<a href=\"https:\/\/www.thaievisa.go.th\/\" target=\"_blank\" rel=\"noopener noreferrer\">Thai E-Visa Website<\/a>';\n        const ltrLinkText = '<a href=\"https:\/\/ltr.boi.go.th\/\" target=\"_blank\" rel=\"noopener noreferrer\">Official LTR Visa Portal<\/a>';\n        const tdacText = \"Complete mandatory TDAC online before arrival (from May 1, 2025).\";<\/p>\n<p>        \/\/ --- VISA DATABASE (Embedded & Updated with DTV) ---\n        const visaDatabase = [\n             { id: 'TR', name: 'Tourist Visa (TR)', purposeTags: ['Tourism'], durationTags: ['short'], financialProofRequired: false, initialDuration: '60 days (E-Visa)', extendable: 'Yes (usually 30 days)', financialReq: `Proof of funds often required for application (~20k THB equiv.). Verify on ${eVisaLink}.`, applicationProcess: `Apply ONLY via the official ${eVisaLink}. ${tdacText}`, checklist: ['Passport (6+ mo)', 'Digital Photo', 'Flight Itin (in\/out)', 'Accommodation', 'Proof of Funds (as req)', 'TDAC confirm (May 2025+)'], extensionInfo: 'Apply at Immigration BEFORE expiry. Fee: 1,900 THB. Needs TM.7, photo, copies.', reporting90Day: 'No', workPermit: 'No', estimatedCost: `E-Visa fee (~$40-50 USD) + Extension (1,900 THB).`, notes: `Tourism ONLY. Working illegal. ${tdacText}` },\n             { id: 'Non-B-Emp', name: 'Non-Immigrant B (Business - Employed)', purposeTags: ['Business'], durationTags: ['medium', 'long'], financialProofRequired: true, initialDuration: '90 days (E-Visa)', extendable: 'Yes (1 yr, with WP)', financialReq: 'Employer docs (WP.3\/BOI letter). Verify on E-Visa portal.', applicationProcess: `Employer initiates pre-approval (WP.3\/BOI). THEN applicant applies ONLY via ${eVisaLink} BEFORE entry. ${tdacText}`, checklist: ['Passport', 'Digital Photo', 'E-Visa Form', 'Invitation Letter', 'Company Docs', 'Approval Letter (WP.3\/BOI)', 'Resume', 'TDAC confirm (May 2025+)'], extensionInfo: 'Apply Immigration\/OSOS (if BOI) with valid WP, Tax ID, company docs, TM.7, photo, fee (1,900 THB).', reporting90Day: 'Yes (after 1yr ext)', workPermit: 'Yes (required, post-entry)', estimatedCost: `E-Visa fee (~$80 USD) + WP Fee + Ext (1,900 THB\/yr) + Re-entry.`, notes: `Paid employment. BOI-promoted companies often use the faster One Stop Service Center (OSOS). ${tdacText}` },\n             { id: 'Non-O-Ret', name: 'Non-Immigrant O (Retirement 50+ \/ O-A)', purposeTags: ['Retirement'], durationTags: ['medium', 'long'], financialProofRequired: true, initialDuration: '90 days \/ 1 yr O-A (E-Visa)', extendable: 'Yes (1 yr)', financialReq: 'EITHER 800k THB bank (seasoned) OR 65k THB\/mo income OR combo=800k. Proof via E-Visa\/Immigration. O-A requires Health Insurance (~3M THB cover).', applicationProcess: `Apply ONLY via ${eVisaLink}. Choose O-A for 1yr+insurance. Conversion inside TH possible but complex. ${tdacText}`, checklist: ['Passport (18mo+ for O-A)', 'Digital Photo', 'E-Visa Form', 'Financial Proof', 'Age Proof (50+)', 'Health Insurance (O-A Mandatory)', 'TDAC confirm (May 2025+)'], extensionInfo: 'Apply Immigration before expiry. Needs updated financial proof, address proof (TM.30), TM.7, photo, fee (1,900 THB). O-A needs current insurance.', reporting90Day: 'Yes', workPermit: 'No', estimatedCost: `E-Visa fee (~$80-200 USD) + Ext (1,900 THB\/yr) + Insurance Cost + Re-entry.`, notes: `50+. No work. O-A requires specific insurance. ${tdacText}` },\n             { id: 'Non-OX-Ret', name: 'Non-Immigrant O-X (10-Year Retirement)', purposeTags: ['Retirement'], durationTags: ['very_long'], financialProofRequired: true, initialDuration: '5 years (Multiple Entry)', extendable: 'Yes (5 more yrs)', financialReq: 'VERY HIGH: EITHER 3M THB bank (seasoned) OR 1.8M bank + >=1.2M\/yr income. Maintain funds. Mandatory Health Insurance (~3M THB cover).', applicationProcess: `Check eligibility (Limited Nationalities!). Apply ONLY via ${eVisaLink} from home country. ${tdacText}`, checklist: ['Passport (Eligible Nat.)', 'Digital Photo', 'E-Visa Form', 'Proof of Nat.', 'Extensive Financial Proof', 'High-Coverage Health Insurance', 'Police Clearance', 'TDAC confirm (May 2025+)'], extensionInfo: 'Apply Immigration before 5 yrs end. Maintain reqs. Fee: 1,900 THB.', reporting90Day: 'Yes', workPermit: 'No', estimatedCost: `E-Visa fee (~10k THB) + Ext (1,900 THB) + VERY HIGH Insurance Cost + Re-entry.`, notes: `ONLY specific nationalities (JP, AU, DK, FI, FR, DE, IT, NL, NO, SE, CH, UK, CA, US - VERIFY LIST!). No work. High financial bar. Dependants possible. ${tdacText}` },\n             { id: 'Non-O-Mar', name: 'Non-Immigrant O (Thai Spouse\/Family)', purposeTags: ['Marriage'], durationTags: ['medium', 'long'], financialProofRequired: true, initialDuration: '90 days (E-Visa)', extendable: 'Yes (1 yr)', financialReq: 'EITHER 400k THB bank (seasoned) OR 40k THB\/mo income. Proof for E-Visa & extensions.', applicationProcess: `Apply ONLY via ${eVisaLink} using marriage cert & spouse docs. Conversion inside TH possible but complex. ${tdacText}`, checklist: ['Passport', 'Digital Photo', 'E-Visa Form', 'Marriage Cert (legalized)', 'Spouse Thai ID\/House Reg.', 'Financial Proof', 'Family Photos', 'TDAC confirm (May 2025+)'], extensionInfo: 'Apply Immigration before expiry. Updated proof needed, spouse presence. TM.7, photo, fee (1,900 THB).', reporting90Day: 'Yes', workPermit: 'No (but CAN apply for WP if hired)', estimatedCost: `E-Visa fee (~$80 USD) + Ext (1,900 THB\/yr) + Re-entry.`, notes: `Legal marriage to Thai citizen. ${tdacText}` },\n             { id: 'Non-ED', name: 'Non-Immigrant ED (Formal Education)', purposeTags: ['Education'], durationTags: ['medium', 'long'], financialProofRequired: true, initialDuration: '90 days (E-Visa)', extendable: 'Yes (course length)', financialReq: `Proof of funds (~20k-50k THB equiv.). Verified via ${eVisaLink}. School enrollment letter primary.`, applicationProcess: `Formal degrees\/approved schools ONLY. Apply ONLY via ${eVisaLink} using Acceptance Letter BEFORE entry. ${tdacText}`, checklist: ['Passport', 'Digital Photo', 'E-Visa Form', 'Official Acceptance Letter', 'School Docs', 'Proof of Funds', 'TDAC confirm (May 2025+)'], extensionInfo: 'Apply Immigration before 90 days end. Needs updated school letter, TM.7, photo, fee (1,900 THB\/ext).', reporting90Day: 'Yes', workPermit: 'No (Except rare approved uni internships)', estimatedCost: `E-Visa fee (~$80 USD) + Ext Fees (1,900 THB each).`, notes: `Approved school\/uni only. NOT short courses (use DTV). No work. ${tdacText}` },\n             { id: 'DTV', name: 'Destination Thailand Visa (DTV)', purposeTags: ['Tourism', 'Workcation', 'Study', 'Medical'], durationTags: ['medium', 'long'], financialProofRequired: true, initialDuration: '180 days (Multiple Entry)', extendable: 'Yes (Once for 180 days)', financialReq: 'Proof of funds often required (~500k THB deposit equiv.). Proof varies by category (Workcation: income; Study: school letter; Medical: hospital letter). Check E-visa portal.', applicationProcess: `Apply ONLY via ${eVisaLink}. Choose sub-category (Workcation, Skill Training\/Study, Medical). ${tdacText}`, checklist: ['Passport', 'Digital Photo', 'E-Visa Form', 'Proof of Funds (~500k THB)', 'Category Proof (Employ contract\/Income proof; School\/Training letter; Hospital letter)', 'Accommodation', 'TDAC confirm (May 2025+)'], extensionInfo: 'Apply Immigration BEFORE 180 days expire for one-time 180-day ext. Fee ~1,900 THB.', reporting90Day: 'Likely Yes (During extension)', workPermit: 'No (Workcation for FOREIGN employer ONLY)', estimatedCost: `E-Visa fee (~10k THB) + Ext fee (~1,900 THB).`, notes: `Flexible up to 1yr total. Good for nomads, non-formal study, medical. NOT formal degrees (use Non-ED) or Thai jobs (use Non-B). ${tdacText}` },\n             { id: 'Elite', name: 'Thailand Elite Visa (Privilege Entry Visa)', purposeTags: ['Elite', 'Long-Stay\/Lifestyle', 'Tourism'], durationTags: ['very_long'], financialProofRequired: true, initialDuration: '5 years (Visa Sticker)', extendable: 'Membership renewable. Stay 1yr\/entry, ext yearly.', financialReq: 'One-time Membership Fee (600k - 2M+ THB).', applicationProcess: `Apply via Thailand Privilege Card Co. They coordinate visa issuance. ${tdacText}`, checklist: ['Passport', 'Application Form', 'Photo', 'Membership Fee Proof', 'TDAC confirm (May 2025+)'], extensionInfo: '1yr stay permit\/entry, easily extended yearly at Immigration (1,900 THB) or via Elite staff.', reporting90Day: 'Yes (often assisted)', workPermit: 'No (Generally)', estimatedCost: 'High membership fee + Annual fees (some) + 1,900 THB ext (if not included).', notes: `Privilege visa, VIP services. ${tdacText}` },\n             { id: 'SMART', name: 'SMART Visa', purposeTags: ['Smart', 'Business', 'Investment'], durationTags: ['long', 'very_long'], financialProofRequired: true, initialDuration: '1-4 years', extendable: 'Yes (linked to status)', financialReq: 'Varies: SMART T(Talent-high salary), I(Investor->=20M THB), E(Exec-high salary), S(Startup-funding). Check official criteria.', applicationProcess: `Requires Agency Endorsement FIRST. THEN apply via ${eVisaLink} (check SMART channel) or OSOS (Verify process). ${tdacText}`, checklist: ['Passport', 'Digital Photo', 'E-Visa Form', 'Endorsement Letter', 'Contract\/Invest\/Startup Proof', 'Degree\/Exp Proof', 'TDAC confirm (May 2025+)'], extensionInfo: 'Apply OSOS before expiry. Proof of continued eligibility.', reporting90Day: 'No (Annual Reporting)', workPermit: 'Yes (Integrated\/simplified. Spouse rights for T,I,E).', estimatedCost: 'Visa fee (10k THB\/yr).', notes: `High-skill\/investor roles. Annual report. Spouse work rights. ${tdacText}` },\n             { id: 'LTR', name: 'Long-Term Resident (LTR) Visa', purposeTags: ['Investment', 'Business', 'Retirement', 'Smart', 'Long-Stay\/Lifestyle', 'Workcation'], durationTags: ['very_long'], financialProofRequired: true, initialDuration: '5 years (Multiple Entry)', extendable: 'Yes (5 more yrs)', financialReq: `HIGH reqs: 1)Wealthy Global Citizen(>=$1M assets+invest\/income). 2)Wealthy Pensioner(>=$80k\/yr pension). 3)Work-From-TH Pro(Remote,>=$80k\/yr). 4)Highly-Skilled Pro(Target industry,>=$80k\/yr). Check ${ltrLinkText}. Mandatory Health Insurance (~$50k cover).`, applicationProcess: `Apply for pre-qualification FIRST via ${ltrLinkText}. Then proceed visa application (via LTR portal\/E-Visa). ${tdacText}`, checklist: ['Passport', 'Digital Photo', 'LTR Forms', 'Proof meeting LTR category (Assets\/Income\/Pension\/Employ\/Degree etc.)', 'Health Insurance Cert', 'TDAC confirm (May 2025+)'], extensionInfo: 'Apply before 5yrs end via LTR system\/Immigration. Maintain eligibility.', reporting90Day: 'No (Annual Reporting)', workPermit: 'Yes (Skilled Pro-digital WP,tax benefit. Remote Work Pro-FOREIGN employer ONLY). No (Wealthy cats).', estimatedCost: `Visa fee (~50k THB\/10yrs) + Health Insurance annually.`, notes: `Targets 4 high-potential groups. Benefits: 10yr stay, annual report, fast-track, multi-re-entry, tax breaks (Skilled). Check ${ltrLinkText} for complex criteria. Dependants possible. ${tdacText}` }\n        ];<\/p>\n<p>        \/\/ --- DOM ELEMENTS ---\n        const container = document.querySelector('.visa-tool-container'); \/\/ Use container to scope queries\n        const form = container?.querySelector('#visa-questionnaire');\n        const resultsContainer = container?.querySelector('#visa-results');\n        const tableContainer = container?.querySelector('#comparison-table-container');\n        const modal = container?.querySelector('#visa-detail-modal');\n        const modalContent = container?.querySelector('#modal-visa-details');\n        const modalVisaName = container?.querySelector('#modal-visa-name');\n        const closeModalButton = modal?.querySelector('.close-modal');<\/p>\n<p>        \/\/ --- Check if elements exist before adding listeners ---\n        if (!form || !resultsContainer || !tableContainer || !modal || !modalContent || !modalVisaName || !closeModalButton) {\n            console.error(\"Visa Tool Error: One or more required HTML elements not found. Check IDs\/Classes.\");\n            \/\/ Optionally display an error message to the user within the container\n            if (container) {\n                 container.innerHTML = '<\/p>\n<p style=\"color: red; font-weight: bold;\">Error loading Visa Tool components. Please contact support.<\/p>\n<p>';\n            }\n            return; \/\/ Stop script execution if essential elements are missing\n        }<\/p>\n<p>        \/\/ --- EVENT LISTENERS ---\n        form.addEventListener('submit', handleFormSubmit);\n        closeModalButton.addEventListener('click', hideModal);\n        modal.addEventListener('click', (e) => { if (e.target === modal) { hideModal(); } });<\/p>\n<p>        \/\/ --- FUNCTIONS ---\n        function handleFormSubmit(event) {\n            event.preventDefault();\n            const formData = new FormData(form);\n            const criteria = {\n                nationality: formData.get('nationality'), purpose: formData.get('purpose'),\n                length: formData.get('length_of_stay'), finance: formData.get('finance')\n            };\n            const matchingVisas = filterVisas(criteria);\n            displayResults(matchingVisas);\n            \/\/ Scroll to results smoothly\n             if (resultsContainer) {\n                resultsContainer.scrollIntoView({ behavior: 'smooth', block: 'start' });\n            }\n        }<\/p>\n<p>        function filterVisas(criteria) {\n             if (!Array.isArray(visaDatabase)) { console.error(\"visaDatabase is not available!\"); return []; }\n             return visaDatabase.filter(visa => {\n                let purposeMatch = false;\n                const visaPurposes = visa.purposeTags || [];\n                if (!criteria.purpose) purposeMatch = true;\n                else if (criteria.purpose === 'Tourism') purposeMatch = visaPurposes.includes('Tourism');\n                else if (criteria.purpose === 'Business') purposeMatch = visaPurposes.includes('Business');\n                else if (criteria.purpose === 'Investment') purposeMatch = visaPurposes.includes('Investment') || visaPurposes.includes('Business') || visaPurposes.includes('Smart') || visaPurposes.includes('LTR');\n                else if (criteria.purpose === 'Retirement') purposeMatch = visaPurposes.includes('Retirement');\n                else if (criteria.purpose === 'Marriage') purposeMatch = visaPurposes.includes('Marriage');\n                else if (criteria.purpose === 'Education') purposeMatch = visaPurposes.includes('Education');\n                else if (criteria.purpose === 'DTV') purposeMatch = (visa.id === 'DTV'); \/\/ Direct match for DTV purpose\n                else if (criteria.purpose === 'Elite') purposeMatch = visaPurposes.includes('Elite');\n                else if (criteria.purpose === 'Smart') purposeMatch = visaPurposes.includes('Smart');\n                else if (criteria.purpose === 'LTR') purposeMatch = visaPurposes.includes('LTR');\n                else if (criteria.purpose === 'Other') purposeMatch = true;\n                else purposeMatch = true;<\/p>\n<p>                let durationMatch = false;\n                const visaDurations = visa.durationTags || [];\n                if (!criteria.length) durationMatch = true;\n                else if (criteria.length === 'short') durationMatch = visaDurations.includes('short') || visaDurations.includes('medium');\n                else if (criteria.length === 'medium') durationMatch = visaDurations.includes('medium') || visaDurations.includes('long') || visaDurations.includes('short');\n                else if (criteria.length === 'long') durationMatch = visaDurations.includes('medium') || visaDurations.includes('long') || visaDurations.includes('very_long');\n                else if (criteria.length === 'very_long') durationMatch = visaDurations.includes('very_long') || visaDurations.includes('long');\n                else durationMatch = true;<\/p>\n<p>                let financeMatch = true;\n                 if (criteria.finance === 'no' && (visa.id === 'Non-OX-Ret' || visa.id === 'LTR' || visa.id === 'Elite' || visa.id === 'SMART')) { \/*financeMatch = false;*\/ }\n                 if (criteria.finance === 'no' && visa.id === 'DTV' && !visaPurposes.includes('Medical')) { \/*financeMatch = false;*\/ }<\/p>\n<p>                let nationalityMatch = true;\n                if (visa.id === 'Non-OX-Ret') {\n                    const oxEligible = ['Australia', 'Canada', 'Denmark', 'Finland', 'France', 'Germany', 'Italy', 'Japan', 'Netherlands', 'Norway', 'Sweden', 'Switzerland', 'UK', 'USA']; \/\/ VERIFY!\n                    if (!oxEligible.includes(criteria.nationality) && !criteria.nationality.startsWith('Other') && criteria.nationality !== '') { \/*nationalityMatch = false;*\/ }\n                }\n                return purposeMatch && durationMatch && financeMatch && nationalityMatch;\n            });\n        }<\/p>\n<p>        function displayResults(visas) {\n            if (!resultsContainer || !tableContainer) return;\n            resultsContainer.classList.remove('hidden');\n            tableContainer.innerHTML = '';\n            if (!Array.isArray(visas) || visas.length === 0) {\n                tableContainer.innerHTML = '<\/p>\n<p>No direct visa matches found. Review inputs or consult official sources\/ThaiLawOnline.<\/p>\n<p>'; return;\n            }\n            const table = document.createElement('table'); table.className = 'comparison-table';\n            table.innerHTML = `<\/p>\n<thead>\n<tr>\n<th>Visa Type<\/th>\n<th>Initial Duration<\/th>\n<th>Extendable?<\/th>\n<th>Financial Proof Needed?<\/th>\n<th>Reporting?<\/th>\n<th>Details<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n                ${visas.map(visa => {\n                    const proofNeededText = (visa.financialProofRequired || visa.financialReq?.toLowerCase().includes('required') || visa.financialReq?.toLowerCase().includes('must')) ? '<span style=\"color: red; font-weight: bold;\">Yes<\/span>' : 'Varies\/Check';\n                    const reportingText = visa.reporting90Day === 'No (Annual Reporting instead)' ? 'Annual' : (visa.reporting90Day || 'N\/A');\n                    return `<\/p>\n<tr>\n<td><strong>${visa.name||'N\/A'} (${visa.id||'N\/A'})<\/strong><\/td>\n<td>${visa.initialDuration||'N\/A'}<\/td>\n<td>${visa.extendable||'N\/A'}<\/td>\n<td>${proofNeededText}<\/td>\n<td>${reportingText}<\/td>\n<td><button class=\"details-button\" data-visa-id=\"${visa.id||''}\">View Details<\/button><\/td>\n<\/tr>\n<p>`\n                }).join('')}<\/tbody>\n<p>`;\n            tableContainer.appendChild(table);\n            tableContainer.removeEventListener('click', handleDetailsButtonClick); tableContainer.addEventListener('click', handleDetailsButtonClick);\n        }<\/p>\n<p>        function handleDetailsButtonClick(event) { if (event.target.classList.contains('details-button')) { const visaId = event.target.getAttribute('data-visa-id'); if (visaId) { showModal(visaId); } } }<\/p>\n<p>        function showModal(visaId) {\n             if (!Array.isArray(visaDatabase)) { console.error(\"visaDatabase missing.\"); return; }\n            const visa = visaDatabase.find(v => v.id === visaId);\n            if (!visa) {\n                modalVisaName.textContent = 'Error'; modalContent.innerHTML = '<\/p>\n<p>Details not found.<\/p>\n<p>';\n                if(modal) modal.classList.remove('hidden'); document.body.style.overflow = 'hidden'; return;\n            }\n            modalVisaName.textContent = `${visa.name||'Visa Details'} (${visa.id||''})`;\n            const checklistHtml = visa.checklist && Array.isArray(visa.checklist) && visa.checklist.length > 0 ? `<\/p>\n<ul>${visa.checklist.map(item => `<\/p>\n<li>${item||''}<\/li>\n<p>`).join('')}<\/ul>\n<p>` : '<\/p>\n<p>Consult official E-Visa\/Portal for definitive documents list.<\/p>\n<p>';\n            \/\/ Sanitize potentially dynamic visa content if it were ever user-generated\n            modalContent.innerHTML = `<\/p>\n<h4>Eligibility \/ Best Suited For<\/h4>\n<p>${(visa.purposeTags&&visa.purposeTags.join(', '))||'Check official criteria.'} Check nationality specifics.<\/p>\n<h4>Financial Requirements<\/h4>\n<p>${visa.financialReq||'Varies. Verify via official portal.'}<\/p>\n<h4>Application Process (via E-Visa\/Portal)<\/h4>\n<p>${visa.applicationProcess||'Check official website\/portal.'}<\/p>\n<h4>Required Documents Checklist (Example - Verify!)<\/h4>\n<p>${checklistHtml}<\/p>\n<h4>Extension Procedures in Thailand<\/h4>\n<p>${visa.extensionInfo||'Apply Immigration before expiry.'}<\/p>\n<h4>Reporting Obligation<\/h4>\n<p>${visa.reporting90Day||'Check requirements.'} (90-Day or Annual)<\/p>\n<h4>Work Permit Possible?<\/h4>\n<p>${visa.workPermit||'Check regulations.'}<\/p>\n<h4>Estimated Costs (Fees Only)<\/h4>\n<p>${visa.estimatedCost||'Varies.'} (Excludes insurance, flights, living, agent fees, re-entry unless stated)<\/p>\n<h4>Important Notes<\/h4>\n<p>${visa.notes||'Read official guidelines carefully.'}<\/p>\n<p>`;\n            if (modal) { modal.classList.remove('hidden'); document.body.style.overflow = 'hidden'; }\n        }<\/p>\n<p>        function hideModal() { if (modal) { modal.classList.add('hidden'); document.body.style.overflow = ''; } }<\/p>\n<p>    }); \/\/ End DOMContentLoaded\n} catch (error) {\n    console.error(\"Error initializing Thai Visa Tool:\", error);\n    \/\/ Optionally display a user-facing error message\n     const container = document.querySelector('.visa-tool-container');\n     if (container) {\n         container.innerHTML = '<\/p>\n<p style=\"color: red; font-weight: bold;\">A critical error occurred loading the Visa Tool. Please try refreshing or contact support.<\/p>\n<p>';\n     }\n}\n<\/script><br \/>\n<!-- Embedded JavaScript End --><\/p>\n<p><!-- End of Comprehensive SEO-Enhanced Thai Visa Tool HTML Block (v5.1 - Corrected Comments) --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thailand Visa Comparison Tool &#038; Requirements Guide Navigating Thai Visa Options When dealing with legal arrangements in Thailand, whether it&#8217;s [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":547,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-193","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.thailawonline.com\/th\/wp-json\/wp\/v2\/pages\/193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thailawonline.com\/th\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.thailawonline.com\/th\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thailawonline.com\/th\/wp-json\/wp\/v2\/comments?post=193"}],"version-history":[{"count":2,"href":"https:\/\/www.thailawonline.com\/th\/wp-json\/wp\/v2\/pages\/193\/revisions"}],"predecessor-version":[{"id":1052,"href":"https:\/\/www.thailawonline.com\/th\/wp-json\/wp\/v2\/pages\/193\/revisions\/1052"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.thailawonline.com\/th\/wp-json\/wp\/v2\/media\/547"}],"wp:attachment":[{"href":"https:\/\/www.thailawonline.com\/th\/wp-json\/wp\/v2\/media?parent=193"}],"curies":[{"name":"\u0e14\u0e31\u0e1a\u0e40\u0e1a\u0e34\u0e25\u0e22\u0e39\u0e1e\u0e35","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}