/* --- 1. AGGRESSIVE GOOGLE HIDING (The Nuclear Option) --- */

/* Hide the iframe itself */
.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Hide the combo box and other elements */
.goog-te-combo { display: none !important; }
.goog-tooltip { display: none !important; }
.goog-te-balloon-frame { display: none !important; }
#google_translate_element2 { display: none !important; }

/* CRITICAL: Force page to top, ignoring Google's inline styles */
html, body {
    top: 0 !important;
    margin-top: 0 !important;
    position: static !important; 
    height: 100% !important; /* Prevents layout shifting */
}

/* --- 2. WIDGET STYLES --- */
.uwsct-lang-widget { 
    position: fixed; 
    z-index: 2147483647 !important; /* Max Z-Index */
    font-family: sans-serif; 
    pointer-events: auto !important;
}
.uwsct-lang-widget.bottom-right { bottom: 20px; right: 20px; }
.uwsct-lang-widget.bottom-left { bottom: 20px; left: 20px; }
.uwsct-lang-widget.top-right { top: 20px; right: 20px; }
.uwsct-lang-widget.top-left { top: 20px; left: 20px; }

.uwsct-lang-btn {
    background: #2563eb; color: #fff; border: none; padding: 12px 20px;
    border-radius: 50px; cursor: pointer; display: flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 600; box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: transform 0.1s;
}
.uwsct-lang-btn:hover { background: #1d4ed8; transform: translateY(-2px); }

.uwsct-lang-dropdown {
    position: absolute; bottom: 125%; left: 0; background: white; border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3); min-width: 260px; display: none;
    border: 1px solid #cbd5e1; overflow: hidden;
    text-align: left;
}
.uwsct-lang-widget.top-right .uwsct-lang-dropdown, 
.uwsct-lang-widget.top-left .uwsct-lang-dropdown { bottom: auto; top: 125%; }

.uwsct-search-container { padding: 10px; border-bottom: 1px solid #e2e8f0; background: #f8fafc; }
#uwsct-lang-search { width: 100%; padding: 8px; border: 1px solid #94a3b8; border-radius: 6px; box-sizing: border-box; }

/* Scrollbar */
.uwsct-lang-list {
    list-style: none; margin: 0; padding: 0;
    max-height: 350px; 
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #f1f5f9;
}
.uwsct-lang-list::-webkit-scrollbar { width: 8px; }
.uwsct-lang-list::-webkit-scrollbar-track { background: #f1f5f9; }
.uwsct-lang-list::-webkit-scrollbar-thumb { background-color: #94a3b8; border-radius: 4px; }

.uwsct-lang-list li a { 
    display: flex; align-items: center; gap: 10px; padding: 12px 15px; 
    color: #333; text-decoration: none; font-size: 14px; border-bottom: 1px solid #f1f5f9;
}
.uwsct-lang-list li a:hover { background: #eff6ff; color: #2563eb; }