/**
 * AroropIA - Language Toggle Styles
 * Floating language selector and bilingual content display
 */

/* Hide all language content by default */
.lang-content {
    display: none !important;
}

/* Show active language content */
.lang-content.active {
    display: block !important;
}

/* Inline elements (spans, etc) */
span.lang-content.active {
    display: inline !important;
}

/* Floating Language Toggle */
.floating-language-toggle {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 10px 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.floating-language-toggle:hover {
    background: rgba(17, 24, 39, 0.95);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.lang-btn-float {
    display: flex;
    width: 50px;
    height: 50px;
    margin: 8px 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #cbd5e1;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.lang-btn-float:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    color: white;
}

.lang-btn-float.active {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-language-toggle {
        right: 10px;
        top: 80px;
        transform: none;
        flex-direction: row;
        padding: 8px 12px;
    }
    
    .lang-btn-float {
        width: 40px;
        height: 40px;
        margin: 0 4px;
        font-size: 1rem;
    }
}
