
body {
    top: 0px !important;
    min-height: 0px !important;
}

body > .skiptranslate {
    display: none !important;
}

.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
}

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

a[href="https://translate.google.com"] {
    display: none !important;
}



/* Apple-style Google Translate widget */
#google_translate_element {
    display: inline-flex !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Remove default widget borders */
#google_translate_element .goog-te-gadget {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Style the language dropdown */
#google_translate_element .goog-te-combo {
    margin: 0 8px !important;
    padding: 6px 30px 6px 12px !important;
    border: 1px solid #d1d1d6 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    height: auto !important;
    min-height: 32px !important;
    line-height: 1.5 !important;
    font-size: 14px !important;
    color: #1c1c1e !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background-image: url('/app/Plugin/GoogleTranslate/View/Icon.png') !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 16px 16px !important;
}

/* Hover and focus states */
#google_translate_element .goog-te-combo:hover {
    border-color: #8e8e93 !important;
}
#google_translate_element .goog-te-combo:focus {
    outline: none !important;
    border-color: #0a84ff !important;
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.3) !important;
}