/* Google Translate Widget Styling */
.translate-bar {
    background: rgba(0,0,0,0.2);
    padding: 5px 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.8);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.translate-bar span {
    font-size: 0.9rem;
}
/* Make Google's widget blend in */
.goog-te-gadget-simple {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    border-radius: 4px !important;
    padding: 2px 8px !important;
    font-size: 0.78rem !important;
    cursor: pointer;
}
.goog-te-gadget-simple .goog-te-menu-value span {
    color: rgba(255,255,255,0.9) !important;
    font-size: 0.78rem !important;
}
.goog-te-gadget-simple img { display: none !important; }
.goog-te-gadget-simple .goog-te-menu-value span:last-child { display: none !important; }

/* Hide Google's intrusive top banner */
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0 !important; }

@media (max-width: 768px) {
    .translate-bar { justify-content: center; padding: 4px 1rem; }
}
