/* GT CSS */

@import url('https://cdn.jsdelivr.net/npm/flag-icons/css/flag-icons.min.css');


/* GTranslate */
.translate-wrapper { font-family: sans-serif; position: relative; display: inline-block; }
        
        /* The Header (Matches your image) */
        .lang-selected {
            display: flex; align-items: center; gap: 8px;
            padding: 8px 16px; cursor: pointer;
            border-radius: 8px; font-weight: 600; color: #333;
        }
        .lang-selected::after { content: '▼'; font-size: 10px; margin-left: 4px; }

        /* The Dropdown Scrollbox */
        .lang-menu {
            position: absolute; top: 110%; left: 0;
            background: white; border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
            display: none; max-height: 300px; overflow-y: auto;
            min-width: 160px; z-index: 9999;
        }
        .lang-menu.show { display: block; }

        .lang-item {
            padding: 10px 16px; cursor: pointer; font-size: 14px;
            transition: background 0.2s; color: #555;
        }
        .lang-item:hover { background: #f0f2f5; color: #000; }

        /* Hide Google's default ugly UI */
        #google_translate_element, .skiptranslate.goog-te-gadget { display: none !important; }
        body { top: 0px !important; }
/* GTranslate */


.language-switcher {
position: relative;
width: 150px;
}

.selected-language {
display: flex;
align-items: center;
justify-content: space-between;
background: #fff;
padding: 5px 20px;
border-radius: 20px;
cursor: pointer;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
font-size: 16px;
font-weight: 500;
}

.selected-left {
display: flex;
align-items: center;
gap: 12px;
}

.fi {
width: 19px;
height: 16px;
border-radius: 0;
overflow: hidden;
flex-shrink: 0;
}

.arrow {
font-size: 18px;
color: #111;
transition: transform 0.3s ease;
}

.selected-language.active .arrow {
transform: rotate(180deg);
}

.dropdown {
position: absolute;
top: 100%;
left: 0;
width: 100%;
background: white;
border-radius: 10px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
display: none;
max-height: 230px;
overflow-y: auto;
z-index: 999;
padding: 5px 0;
}

.dropdown.active {
display: block;
}

.dropdown div {
display: flex;
align-items: center;
gap: 12px;
padding: 5px 15px;
cursor: pointer;
font-size: 18px;
transition: 0.3s;
}

.dropdown div:hover {
background: #f47221;
color: #fff;
}

#google_translate_element {
position: absolute;
opacity: 0;
pointer-events: none;
}

.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate {
display: none !important;
}

body {
top: 0 !important;
}

::-webkit-scrollbar {
width: 6px;
}

::-webkit-scrollbar-thumb {
background: #cfd8e3;
border-radius: 10px;
}