.leftImg_zh {
    min-width: 520px;
    width: 28%;
    /* width: 480px; */
    height: 100%;
    background: url("../../images/bytedance/background.png") no-repeat;
    background-size: cover;
}

.rightForm {
    display: flex;
    /* width: calc(100% - 480px); */
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    position: relative;
    min-width: 600px;
}

.rightForm .leftTopClass {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 14px;
    cursor: pointer;
    display: none;
}

.rightForm .rightTopClass {
    position: absolute;
    top: 16px;
    right: 16px;
}

.loginMethod {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 440px;
    height: 264px;
    border-radius: 10px;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1);
}

.externalLogin {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 440px;
    border-radius: 10px;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1);
}

.iptClass {
    /* width: 360px;
    height: 40px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    padding-left: 10px;
    line-height: 40px; */
    width: 360px;
    height: 40px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    padding-left: 10px;
    line-height: 38px;
    /* 调整 line-height */
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    vertical-align: middle;
}

.nextBtnClass {
    /* width: 360px;
    height: 40px; */
    width: 100%;
    height: 100%;
    border: 0px;
    background-color: #1456F0;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    line-height: 40px;
    color: #FFFFFF;
    font-size: 16px;
}


.loginMethod ul li {
    width: 360px;
    height: 56px;
    margin-top: 10px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    text-align: left;
    line-height: 56px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.loginMethod ul .spanClass {
    flex: 2;
}

.loginMethod ul .iconLeftClass {
    margin-right: 10px;
}

.loginMethod ul .iconUserClass {
    display: inline-block;
    background: url("../../images/bytedance/user2.png") no-repeat;
    background-position: center;
    background-color: #E0E0E0;
    background-size: cover;
    border-radius: 5px;
    margin: 0 10px;
    width: 40px;
    height: 40px;
    vertical-align: middle;
}

.loginMethod ul .iconListClass {
    display: inline-block;
    background: url("../../images/bytedance/list4.png") no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    margin: 0 10px;
    width: 40px;
    height: 40px;
    vertical-align: middle;
}

.borderRed {
    border-color: red !important;
}

.emailVerifyCode {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 440px;
    border-radius: 10px;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1);
}

.emailVerifyCodeTipClass {
    width: 100%;
    font-size: 14px;
    color: #8f959e;
    margin-top: 10px;
    word-break: break-all;
    /* 关键：强制换行 */
    white-space: normal;
    /* 允许换行 */
    overflow-wrap: break-word;
    /* 兼容旧浏览器 */
}

#userName {
    font-size: 16px;
    color: #000000
}

.loginMethod li:hover {
    border-color: #1456F0;
}

.loginTitleCss {
    width: 360px;
    height: 24px;
    text-align: left;
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: 48px;
    font-weight: bold;
    color: #1F2329;
}

.errorTip {
    position: absolute;
    bottom: -40px;
    font-size: 14px;
    display: none;
    width: 360px;
    clear: both;
    margin-top: 10px;
    color: Red;
    font-family: 微软雅黑;
}

input::placeholder {
    font-size: 14px;
    color: #8F959E;
}

.loginInputStyle {
    font-size: 14px;
    font-weight: 100;
}

.iconRightClass {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
}

.selectRoleTitle {
    width: 360px;
    height: 24px;
    text-align: left;
    font-size: 16px;
    margin-bottom: 10px;
}

.leftImgContent {
    box-sizing: border-box;
    width: 100%;
    padding: 45% 10% 0 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}


/* 容器样式：关键是让容器包含按钮和菜单，确保鼠标在容器内时菜单不消失 */
.language-dropdown {
    position: relative;
    display: inline-block;
    margin-left: auto;
    /* 增加容器内边距，避免鼠标从按钮移到菜单时触发mouseout */
    padding: 2px;
}

/* 触发按钮样式 */
.dropdown-trigger {
    padding: 8px 12px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 下拉菜单样式：调整定位，确保与按钮无缝衔接 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    /* 取消margin-top，避免按钮和菜单之间有间隙导致鼠标判定离开 */
    margin-top: 0;
    padding: 4px 0;
    list-style: none;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    display: none;
}

/* 关键：鼠标悬停在整个容器上时显示菜单（容器包含按钮和菜单） */
.language-dropdown:hover .dropdown-menu {
    display: block;
}

/* 菜单项样式 */
.dropdown-menu li {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    /* 增加菜单项点击区域 */
    user-select: none;
}

.dropdown-menu li.active {
    color: #409eff;
    background-color: #f5faff;
}

.dropdown-menu li:hover:not(.active) {
    background-color: #f5f5f5;
}

/* 箭头样式 */
.arrow {
    font-style: normal;
    font-size: 12px;
    transition: transform 0.2s;
}

.language-dropdown:hover .arrow {
    transform: rotate(180deg);
}