/* Google Translate Fixes for Bottom Placement */
body {
    top: 0 !important;
}

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

#google_translate_element {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 2rem auto;
    text-align: center;
    display: block;
    width: fit-content;
}

/* Hide Google branding */
.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}

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

.goog-te-combo {
    color: #000;
    font-size: 14px; /* or whatever matches your theme */
    padding: 0.25rem;
    border-radius: 4px;
}

.VIpgJd-ZVi9od-ORHb-OEVmcd.skiptranslate {
    visibility: hidden !important;
}

/* Responsive Fixes */
@media only screen and (max-width: 600px) {
    #google_translate_element {
        margin: 1rem auto;
    }

    header {
        padding-top: 1.25rem !important;
    }
}

/* Optional: Add a container class if needed */
.translate-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

