/* Language Switcher Styles */
.language-switcher {
    position: relative;
    margin-right: 10px;
}

.language-current {
    background: none;
    border: none;
    color: #000;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 60px;
    justify-content: center;
}

.language-current::after {
    content: '▼';
    font-size: 8px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.language-switcher:hover .language-current::after {
    transform: rotate(180deg);
}

.language-current:hover {
    color: #666;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1002;
    min-width: 140px;
}

.language-switcher:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 12px 16px;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f8f8f8;
    cursor: pointer;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: #f8f8f8;
    color: #000;
}

.language-option.active {
    background: #000;
    color: white;
}

/* Language Notification */
.language-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: #000;
    color: white;
    padding: 15px 25px;
    border-radius: 0;
    z-index: 10001;
    transform: translateX(100px);
    opacity: 0;
    transition: all 0.4s ease;
    font-family: 'Helvetica Neue Light', sans-serif;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 1px;
}

.language-notification.show {
    transform: translateX(0);
    opacity: 1;
}

/* Mobile Language Styles */
.language-option-mobile {
    text-decoration: none;
    color: #000;
    font-size: 15px;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
    font-family: 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
    position: relative;
    letter-spacing: 0.5px;
}

.language-option-mobile::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

.language-option-mobile:hover::before {
    width: 100%;
}

.language-option-mobile:hover {
    color: #666;
    transform: translateX(5px);
}

.language-option-mobile.active {
    font-weight: 400;
    color: #000;
}

.language-option-mobile.active::before {
    width: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .language-current {
        font-size: 11px;
        padding: 6px 8px;
        min-width: 50px;
    }
    
    .language-dropdown {
        min-width: 120px;
        right: -10px;
    }
    
    .language-notification {
        right: 15px;
        left: 15px;
        transform: translateY(-100px);
    }
    
    .language-notification.show {
        transform: translateY(0);
    }
    
    .language-option-mobile {
        font-size: 14px;
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .language-switcher {
        margin-right: 5px;
    }
    
    .language-current {
        font-size: 11px;
        padding: 6px 8px;
        min-width: 45px;
    }
    
    .language-option-mobile {
        font-size: 13px;
    }
}