/* Google Translate Styles */
.translate-wrapper {
    min-width: 150px;
    padding: 0 15px;
    position: relative;
}

#google_translate_element {
    display: inline-block;
    width: 100%;
    line-height: normal;
}

.goog-te-gadget {
    font-family: 'Poppins', sans-serif !important;
    color: transparent !important;
    height: auto !important;
    line-height: normal !important;
    margin-bottom: 0 !important;
}

.goog-te-gadget .goog-te-combo {
    width: 100%;
    padding: 8px 10px;
    border-radius: 20px;
    border: 1px solid var(--secondary-color);
    outline: none;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    background-color: white;
    cursor: pointer;
    margin: 0 !important;
    position: relative;
    top: 0;
    line-height: normal;
    height: auto;
}

/* Hide Google Translate elements */
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

/* Hide Google Translate attribution */
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
.goog-logo-link {
    display: none !important;
}

.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

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

body {
    top: 0 !important;
    position: static !important;
}

/* Fix for spacing and alignment */
.goog-te-gadget > div {
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: normal !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.goog-te-gadget span {
    display: none !important;
}

/* Remove any extra spacing */
.goog-te-gadget br {
    display: none !important;
}