/* 语言切换器样式 */
.header__lang-switcher,
.header__lang_switcher_mobile {
    position: relative;
}

.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-switcher__current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--suncell-dark);
}

.lang-switcher__current:hover {
    border-color: var(--suncell-green);
    background-color: #f8f9fa;
}

.lang-switcher__text {
    font-weight: 500;
}

.lang-switcher__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.lang-switcher:hover .lang-switcher__dropdown,
.lang-switcher.active .lang-switcher__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher__dropdown li {
    border-bottom: 1px solid #eee;
}

.lang-switcher__dropdown li:last-child {
    border-bottom: none;
}

.lang-switcher__dropdown a {
    display: block;
    padding: 10px 15px;
    color: var(--suncell-dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-switcher__dropdown a:hover {
    background-color: var(--suncell-green);
    color: white;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .header__lang_switcher_mobile .lang-switcher__current {
        padding: 6px 10px;
        font-size: 13px;
        border: none;
        /* border-color: #999; */
    }
    
    .header__lang_switcher_mobile .lang-switcher__dropdown {
        right: 0;
        min-width: 100px;
    }
    
    .header__lang_switcher_mobile .lang-switcher__dropdown a {
        padding: 8px 12px;
        font-size: 13px;
    }
    .lang-switcher__current {
        gap:0;
    }
}

