/* Language Switcher Styles */

.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 0.5rem;
    opacity: 0.7;
    transition: var(--transition);
    padding: 0;
    position: relative;
    /* Add touch-friendly properties */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    touch-action: manipulation;
    /* Increase touch target size */
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    opacity: 1;
}

.lang-btn.active {
    opacity: 1;
}

.lang-btn img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* Responsive styles */
@media (max-width: 576px) {
    .language-switcher {
        margin-left: auto;
    }
    
    .lang-btn img {
        width: 28px;
        height: 28px;
    }
    
    /* Ensure buttons are easily tappable on mobile */
    .lang-btn {
        padding: 8px;
    }
}
