
<!-- ✅ Nút chuyển ngôn ngữ (Frontend only) -->
<div id="language-switcher-bottom" class="lang-switcher">
    <button id="btn-vi" >🇻🇳</button>
    <button id="btn-en" class="active">🇺🇸</button>
</div>

<script>
document.addEventListener("DOMContentLoaded", function() {
    const lang = "en";
    const switchUrl = "https://aicontinew.com/vi/";
    const btnVi = document.getElementById('btn-vi');
    const btnEn = document.getElementById('btn-en');

    if (lang === 'vi') {
        btnEn.onclick = () => window.location.href = switchUrl;
        btnVi.onclick = () => window.location.href = "https://aicontinew.com/vi/";
    } else {
        btnVi.onclick = () => window.location.href = switchUrl;
        btnEn.onclick = () => window.location.href = "https://aicontinew.com/en/";
    }
});
</script>

<style>
.lang-switcher {
    position: fixed;
    bottom: 125px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 8px 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: flex;
    gap: 8px;
    align-items: center;
}
.lang-switcher button {
    border: none;
    background: transparent;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
}
.lang-switcher button:hover {
    background: #0073aa;
    color: #fff;
}
.lang-switcher button.active {
    background: #0073aa;
    color: #fff;
    font-weight: 600;
}
</style>
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://aicontinew.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://aicontinew.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://aicontinew.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://aicontinew.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://aicontinew.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
