/* 移动端语言切换样式 */
.lang-switch-box {
    position: absolute;
    top: 10px;
    right: 60px;
    z-index: 1000;
}

.header-lang-switch {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    z-index: 1000;
}

.lang-switch-dropdown {
    position: relative;
    display: inline-block;
}

.lang-switch-btn {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    outline: none;
    min-width: 50px;
    text-align: center;
}

.lang-switch-btn:hover {
    background: rgba(0, 0, 0, 0.2);
}

.lang-arrow {
    margin-left: 5px;
    font-size: 10px;
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    min-width: 80px;
    z-index: 1001;
}

.lang-option {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    border-bottom: 1px solid #f0f0f0;
}

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

.lang-option:hover {
    background: #f5f5f5;
}

.lang-option.active {
    background: #007bff;
    color: #fff;
}

.lang-option.active:hover {
    background: #0056b3;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .lang-switch-btn {
        padding: 4px 8px;
        font-size: 11px;
        min-width: 40px;
    }
    
    .lang-option {
        padding: 6px 10px;
        font-size: 11px;
    }
}