
/* 下拉框样式 */
.language-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
}

/* 下拉容器 */
.custom-dropdown,
.custom-select {
    position: relative;
    display: inline-block;
    height: 100%;
	width: 100%; 
}

/* 顶部 下拉按钮 */
.dropdown-btn {
    padding: 5px 30px 5px 12px;
	margin-left: -4px;
	border-left: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    
 }
.dropdown-btn:hover{
    position: relative;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.22);
}
 
.dropdown-btn::after {
    content: "▼";
    font-size: 10px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* 导航 下拉触发区域 */
.lang-bg {
    border-radius: 4px;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.select-trigger {
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 6px;
    height: 100%;
}
.select-trigger .icon-globe {
    flex-shrink: 0;
    display: inline-block;
}

/* 下拉列表 —— 滑开动画核心 */
.dropdown-list,
.select-options {
    position: absolute;
    top: 100%;
    left: -3px;
    right: 0px;
    background: #fff;
    border-top: none;
    border-radius: 0 0 4px 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.26s ease;
    z-index: 9000;
    text-align: left;
	box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.22);
}

/* 鼠标悬停时滑开 */
.custom-select:hover .select-options,
.custom-dropdown:hover .dropdown-list {
    max-height: 600px;
    visibility: visible;
    opacity: 1;
}

/* 下拉项样式 */
.dropdown-list li,
.select-options li {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dropdown-list li:hover,
.select-options li:hover {
    background: #f5f5f5;
}