/* Language Switcher Styles */
.language-switcher {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.language-switcher a {
    color: #333;
    text-decoration: none;
    padding: 5px 8px;
    margin: 0 2px;
    border-radius: 3px;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.2s ease;
}

.language-switcher a:hover {
    background-color: #f0f0f0;
}

.language-switcher a.active {
    background-color: #1a73e8;
    color: white;
}

/* Hide content until translator is ready to prevent flash of untranslated content */
body:not(.translator-ready) [data-lang-key] {
    visibility: hidden;
}

body.translator-ready [data-lang-key] {
    visibility: visible;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
