/* Language Toggle Styles */
.language-toggle {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    background: rgba(162, 32, 232, 0.9) !important;
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 8px;
    display: flex !important;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(162, 32, 232, 0.5);
    border: 3px solid #fff !important;
    min-width: 220px;
    /* Debug styles */
    opacity: 1 !important;
    visibility: visible !important;
}

.language-option {
    padding: 10px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    min-width: 90px;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-1px);
}

.language-option.active {
    background: #A220E8;
    color: white;
    box-shadow: 0 2px 10px rgba(162, 32, 232, 0.3);
}

.language-option.active:hover {
    background: #8B1CC7;
    transform: translateY(-1px);
}

.language-flag {
    font-size: 1.1rem;
    line-height: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .language-toggle {
        top: 15px;
        right: 15px;
        padding: 4px;
        gap: 4px;
    }
    
    .language-option {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .language-flag {
        font-size: 1rem;
    }
}

/* Animation for language switch */
.language-toggle.switching .language-option {
    opacity: 0.7;
    transform: scale(0.95);
}

.language-toggle.switching .language-option.active {
    opacity: 1;
    transform: scale(1.05);
}
