/* Language Switcher Styles */
.language-switcher {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-switcher .lang-btn {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    min-width: 50px;
    text-align: center;
}

.language-switcher .lang-btn:hover {
    background: #28a745;
    color: white;
    transform: scale(1.05);
}

.language-switcher .lang-btn.active {
    background: #28a745;
    color: white;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.language-switcher .lang-btn.active:hover {
    background: #218838;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-switcher {
        right: 10px;
        top: 20px;
        transform: none;
        flex-direction: row;
        border-radius: 20px;
    }
    
    .language-switcher .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 40px;
    }
}

@media (max-width: 480px) {
    .language-switcher {
        right: 5px;
        top: 15px;
        padding: 3px;
    }
    
    .language-switcher .lang-btn {
        padding: 5px 10px;
        font-size: 11px;
        min-width: 35px;
    }
}

/* Animation for smooth appearance */
.language-switcher {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

@media (max-width: 768px) {
    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(100px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}
