@charset "utf-8";
/* CSS Document */


/* 26.06.02 新增 */
*{
	margin: 0;
	padding: 0;
}

.login_back{
	width: 100%;
	height: 100%;
	float: left;
	position: absolute;
	min-width: 700px;
	background: url(images/nexBridge.png) no-repeat;
	background-size: 100% 100%;
}

.login_head{
	width: 360px;
	height: 150px;
	position:relative;
}
.logo{
	position: relative;
	background: url(images/nexBridge_loginlogo.png) no-repeat center;
	background-size: contain;
	width: 100%;
	height: 100%; 
	margin:0 auto;
}

.h_text{
	text-align: center;
	color: #FFF;
	font-size: 24px;
    font-weight: bold;
    
    
	font-family: "微软雅黑", "Microsoft YaHei", sans-serif;
	font-style: italic;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    
    background: linear-gradient(135deg, #135E57 0%, #578981 100%);
    border-radius: 5px;
    width: fit-content;
    padding:0px 110px;
    margin:0px auto 0 auto;
}
.login_form{
	position: absolute;
    top: 6%;
    left: 10%;
	width: 25%;
	height: auto;
	min-height: 300px;
	/* float: left;
	position: absolute; */
	margin:11% auto;
}
.login_body{
	margin-top: 30px;
	/* display: flex;
    flex-direction: column; */
}
.login_input{
	width: 100%;
	margin: 0 auto;
}
.login_body input{
	width: 300px;
	height: 35px;
	background-color: #FFF;
	border-radius: 5px;
	font-size: 18px;
	/* border: 0; */
	/* margin-top: 20px; */
	padding:2px 8px;
	outline: none;
	margin: 20px 22px 0 22px;
	border: 1px solid #135E57;
	
}
#username{
	background:#FFF url(images/user.png) no-repeat 280px  ;
	background-size: 5%;
}
#password{
	background:#FFF url(images/password.png) no-repeat 280px  ;
	background-size: 5%;
}
/* 高亮 */
#username:focus,
#password:focus {
    border: 1px solid #135E57;
    box-shadow: 0 0 4px rgba(19, 94, 87, 0.4);
}

#sub{
	width: 316px ;
	cursor: pointer;
	height: 39px;
	font-weight: bold;
	border-radius: 8px;
	
	/* 切换语言过渡样式 */
	border: none;
    outline: none;
    font-family: "微软雅黑", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    background: linear-gradient(135deg, #135E57 0%, #578981 100%);
    color: #FFF;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px #135E57;
}

/* 按钮 hover 效果 */
#sub:hover {
    background: linear-gradient(135deg, #578981 0%, #135E57 150%);
    box-shadow: 0 6px 15px rgb(13 81 40 / 60%);
    transform: translateY(-2px);
}

/* 按钮点击效果 */
#sub:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(255, 186, 0, 0.4);
}

/* 文字切换淡出 */
#sub.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

/* 文字切换淡入 */
#sub.fade-in {
    opacity: 1;
    transform: scale(1);
}


.login_foot{
	color: #FFF;
	margin-top: 55px;
	font-size: 17px;
	text-align: center;
	font-weight: bold;
	
	/* 新增样式 */
	font-family: "微软雅黑", "Microsoft YaHei", sans-serif;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}
/* 淡出状态 */
.text-fade-out {
    opacity: 0 !important;
    transform: translateY(-5px) !important;
}

/* 淡入状态 */
.text-fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}




/* 语言下拉框容器 */
.lang-box {
    /* float: right; */
    width: 88px;
    height: 30px;
    position: absolute;
    /* margin-bottom: 10px;
    align-self: flex-end;
    margin-right:22px; */
    top:78%;
    right:3%; /* 贴着login_head右上角，锁定不动 */
}

/* 语言输入框 - 关键：用更具体的选择器提高优先级 */
.lang-box .lang-input {
    width: 70% !important;
    height: 75% !important;
    background-color: #FFF;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold; 
    border: 0;
    padding: 0 6px 0 6px !important;
    outline: none;
    cursor: pointer;
    color: #666;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    /* float: right;
    margin: 25px!important; */
}

/* 下拉菜单 */
.lang-dropdown {
    position: absolute;
    top: 78%;
    right: 18%;
    width: 82%;
    background-color: #FFF;
    border-radius: 5px;
   /*  box-shadow: 0 4px 10px rgba(0,0,0,0.15); */
   	box-shadow: 0 0 0 rgba(0,0,0,0);  
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 动效属性 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    display: block;
    z-index: 100;
    overflow: hidden;
}
/* 显示状态 */
.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);  
}

/* 下拉选项 */
.lang-option {
    height: 35px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.2s ease;
    font-family: "微软雅黑", "Microsoft YaHei", sans-serif !important;
}

/* 显示时选项依次淡入 */
.lang-dropdown.show .lang-option {
    opacity: 1;
    transform: translateX(0);
}

/* 第一个选项 */
.lang-dropdown.show .lang-option:nth-child(1) {
    transition-delay: 0.05s;
}

/* 第二个选项 */
.lang-dropdown.show .lang-option:nth-child(2) {
    transition-delay: 0.1s;
}

.lang-option:hover {
    background-color: #f5f5f5;
    color: #135E57;
    font-weight: bold;
}


/* 全局字体设置 - 确保微软雅黑 */
body, input, button, select, textarea {
    font-family: "微软雅黑", "Microsoft YaHei", sans-serif;
}

/* 语言输入框字体 */
.lang-box .lang-input {
    font-family: "微软雅黑", "Microsoft YaHei", sans-serif !important;
}

/* 用户名密码输入框字体 */
.login_body input {
    font-family: "微软雅黑", "Microsoft YaHei", sans-serif;
}
