/* 语言切换按钮样式 */
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 15px;
    position: relative;
    z-index: 100;
    gap: 8px;
    flex-wrap: nowrap;
}

.language-switcher button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    margin: 0 2px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.language-switcher button:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.language-switcher button.active {
    background-color: #0056b3;
    color: white;
    border-color: #0056b3;
    box-shadow: 0 2px 5px rgba(0, 86, 179, 0.2);
}

/* 移动端样式 */
@media (max-width: 768px) {
    .language-switcher {
        margin: 20px 0 10px;
        justify-content: center;
        width: 100%;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding-top: 15px;
        flex-wrap: nowrap;
    }
    
    .language-switcher button {
        padding: 8px 15px;
        min-width: 100px;
        font-size: 15px;
        white-space: nowrap;
    }
    
    .nav-menu .language-switcher {
        margin-top: 25px;
    }
}
