/* language-switcher.css */

.language-switcher-fixed {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    gap: 5px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid #eea21e;
    border-radius: 40px;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    animation: slideInLeft 0.3s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border: none;
    border-radius: 30px;
    font-family: 'BebasNeue-Regular', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
}

/* Стили для флагов - чуть меньше */
.lang-flag {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.lang-option.active {
    background: linear-gradient(135deg, #fe2b0d, #eea21e);
    color: black;
    box-shadow: 0 4px 10px rgba(238, 162, 30, 0.3);
}

.lang-option:hover:not(.active) {
    color: #eea21e;
    background: rgba(238, 162, 30, 0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .language-switcher-fixed {
        bottom: 15px;
        left: 15px;
        padding: 4px;
    }
    
    .lang-option {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .lang-flag {
        width: 16px;
        height: 11px;
    }
}

@media (max-width: 480px) {
    .language-switcher-fixed {
        bottom: 10px;
        left: 10px;
    }
    
    .lang-option {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .lang-flag {
        width: 14px;
        height: 10px;
    }
}