/* Language Switcher – Shared Styles */
.language-switcher {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 99990;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 5px 10px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: background 0.3s, box-shadow 0.3s;
}

.language-switcher:hover {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.language-switcher span {
    margin-right: 4px;
    font-size: 0.8rem;
    opacity: 0.6;
}

.language-switcher ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 2px;
}

.language-switcher li {
    filter: grayscale(100%);
    opacity: 0.55;
    transition: filter 0.25s, opacity 0.25s, transform 0.25s;
}

.language-switcher li.active {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transform: scale(1.25);
    pointer-events: none;
}

.language-switcher li:hover {
    filter: grayscale(0%) !important;
    opacity: 1;
}

.language-switcher a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    border-radius: 3px;
    transition: transform 0.2s ease;
}

.language-switcher a:hover {
    transform: scale(1.2);
}

.language-switcher img {
    display: block;
    width: 18px;
    height: auto;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

/* Mobile */
@media (max-width: 768px) {
    .language-switcher {
        top: 8px;
        right: 8px;
        padding: 4px 8px;
    }

    .language-switcher img {
        width: 16px;
    }
}

/* Print */
@media print {
    .language-switcher {
        display: none !important;
    }
}
