/* 语言切换器 - 下拉式 */
.lang-switcher {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 9999;
    font-size: 13px;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.95);
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: all 0.2s;
    white-space: nowrap;
}
.lang-current:hover {
    border-color: #1890ff;
    box-shadow: 0 2px 8px rgba(24,144,255,0.15);
}
.lang-current-name {
    font-weight: 500;
    color: #333;
}
.lang-arrow {
    font-size: 10px;
    color: #999;
    transition: transform 0.2s;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 4px;
    background: transparent;
    min-width: 140px;
    z-index: 10000;
}
.lang-dropdown-inner {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    overflow: hidden;
}

.lang-switcher:hover .lang-dropdown {
    display: block;
}
.lang-switcher:hover .lang-arrow {
    transform: rotate(180deg);
}

.lang-option {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    transition: background 0.15s;
    font-size: 13px;
    white-space: nowrap;
}
.lang-option:hover {
    background: #f5f5f5;
    color: #1890ff;
}
.lang-option.active {
    background: #e6f7ff;
    color: #1890ff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .lang-switcher {
        top: 8px;
        right: 60px;
    }
    .lang-current {
        padding: 4px 10px;
        font-size: 12px;
    }
    .lang-option {
        padding: 8px 12px;
        font-size: 12px;
    }
}
