       
.container1 { max-width: 800px; margin: auto; background: white; padding: 30px; border-radius: 10px; }
.js-lang-switcher { }
.js-lang-btn {
    color: white; border: none; padding: 10px 16px;
    border-radius: 6px; cursor: pointer; font-size: 14px; display: flex; align-items: center; gap: 8px;
}
.js-lang-dropdown1 {
    position: absolute; top: 100%; left: 0; background: white; border: 1px solid #ddd;
    border-radius: 6px; list-style: none; padding: 8px 0; margin: 5px 0 0; min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1); display: none; z-index: 1000; color: #0A2540;
}
.js-lang-switcher.open .js-lang-dropdown { display: block; }
.js-lang-option { padding: 6px; cursor: pointer; display: flex; gap: 10px; align-items: center; border-radius: 2px; }
.js-lang-option:hover { background-color: rgba(255, 255, 255, 0.2); }
.js-lang-option.active { background-color: rgba(255, 255, 255, 0.2); }
.demo { margin-top: 40px; line-height: 1.7; }
#google_translate_element { display: none; }
@media (max-width: 768px) {
    .desktop { display: none; }
}


.body_1 {
    font-family: Arial, sans-serif;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.menu {
    background: #333;
    padding: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-links {
    display: flex;
}

.menu a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}

.content {
    line-height: 1.6;
}

.h1_, .h2_ {
    color: #2c3e50;
}

/* ===== GOOGLE TRANSLATE FIXES ===== */

/* 1. Hide the feedback overlay tooltip */
#goog-gt-tt,
.VIpgJd-suEOdc,
.goog-tooltip {
    display: none !important;
}

/* 2. Hide the top translation bar */
.VIpgJd-ZVi9od-ORHb-OEVmcd.skiptranslate,
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}

/* 3. Reset body position (remove top offset from translate bar) */
body {
    top: 0 !important;
}

/* 4. Remove purple color and text-shadow from translated text */
font[style*="color: rgb(150, 102, 255)"],
font[style*="color: rgb(150,102,255)"],
font[style*="color:#9666ff"],
.translated-ltr font,
.translated-rtl font {
    color: inherit !important;
    text-shadow: none !important;
}

/* 5. Ensure menu links stay white */
.menu a font {
    color: white !important;
}

/* 6. Remove any background colors added by translate */
font[style*="background-color"] {
    background-color: transparent !important;
}

/* 7. Disable pointer events on translate overlay elements */
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
    pointer-events: none !important;
    display: none !important;
}

/* 8. Disable the hover highlight effect on translated text */
.VIpgJd-yAWNEb-VIpgJD-fmcmS-sn54Q,
font.VIpgJd-yAWNEb-VIpgJD-fmcmS-sn54Q {
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    color: inherit !important;
}

/* 9. Prevent any hover effects on font elements */
font[dir="auto"]:hover,
font[dir="auto"] {
    background-color: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
}

/* 10. Disable ALL Google Translate visual feedback classes */
[class*="VIpgJd-yAWNEb"] {
    background-color: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* 11. Keep menu font elements inheriting link color */
.menu a font,
.menu a font[dir="auto"] {
    color: inherit !important;
    background-color: transparent !important;
}

/* 12. Hide default Google Translate widget */
#google_translate_element {
    display: none !important;
}

/* ===== CUSTOM LANGUAGE SWITCHER STYLES ===== */

.language-switcher {
    position: relative;
    display: inline-block;
}

.language-btn {
    /*background-color: #4285f4;*/
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.language-btn:hover {
    /*background-color: #3367d6;*/
}

.language-btn::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
}

.language-switcher.open .language-btn::after {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.language-switcher.open .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s ease;
    color: #333;
    font-size: 14px;
}

.language-option:first-child {
    border-radius: 8px 8px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 8px 8px;
}

.language-option:hover {
    background-color: #f1f3f4;
}

.language-option.active {
    background-color: #e8f0fe;
    color: #1967d2;
    font-weight: 500;
}

.language-flag {
    font-size: 14px;
    /*width: 24px;*/
    text-align: center;
}
