/* Custom styling for language selector */
#languageSelector {
    padding: 8px 35px 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
    line-height: 1.5;
    position: absolute;
    top: 32px;
    right: 71px;
    width: 110px;
    border-radius: 0;
}
.main-menu-two #languageSelector ,
.stricked-menu #languageSelector {
    display: none;
}
.custom-btns #languageSelector{
    top: 15px;
    right: 146px;
}
.main-header-three #languageSelector {
    top: 7px;
    right: -125px;
}
@media (max-width: 991px) {
    .main-header-three #languageSelector {
       top: -7px;
    }
}
@media screen and (min-width: 1250) and (max-width: 1520) {
    .main-header-three #languageSelector {
        top: -18px;
    }
}
@media screen and (min-width: 1520px) and (max-width: 1780px) {
    .main-header-three #languageSelector {
        top: -10px;
    }
}




#languageSelector:hover {
    border-color: #ca1f26;
    background-color: #f9f9f9;
}

#languageSelector:focus {
    outline: none;
    border-color: #ca1f26;
    box-shadow: 0 0 0 3px rgba(202, 31, 38, 0.1);
}

/* Style for options to ensure flags display properly */
#languageSelector option {
    padding: 8px;
    font-size: 14px;
}

/* Remove Nice Select styling if applied */
/* #languageSelector.nice-select {
    display: none !important;
} */

/* Hide ALL Google Translate UI elements */

/* Hide top banner */
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.skiptranslate {
    display: none !important;
}

/* Hide loading spinner */
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO,
.VIpgJd-ZVi9od-aZ2wEe {
    display: none !important;
}

/* Hide all Google Translate overlays */
div[class*="VIpgJd"],
div[class*="goog-te"] {
    display: none !important;
}

/* Prevent body shifting */
body {
    top: 0 !important;
    position: static !important;
}

body.translated-ltr,
body.translated-rtl {
    top: 0 !important;
    margin-top: 0 !important;
}

.skiptranslate {
    display: none !important;
}

/* Hide Google Translate branding */
#goog-gt-tt,
.goog-te-gadget,
.goog-te-balloon-frame {
    display: none !important;
}
