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

.language-switcher .lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 35px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.language-switcher .lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.language-switcher .lang-btn:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .language-switcher {
        margin-left: 10px;
    }
    
    .language-switcher .lang-btn {
        min-width: 40px;
        height: 32px;
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* RTL support for Arabic version */
[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 20px;
}

[dir="rtl"] @media (max-width: 768px) {
    .language-switcher {
        margin-right: 10px;
    }
}