html,body{
	overflow: unset;
}
.login-page{
	min-height: 100vh;
}
.login-container{
	height: 100%;
	display: flex;
    flex-direction: column;
}
.login-wrapper{
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	padding-top: 60px;
    justify-content: center;
    min-height: 688px;
}
.login-header a{
	display: flex;
}
.login-header a:hover svg path{
	fill: #0f5ada!important;
}
.login-middle{
	background-color: #fff;
	display: flex;
}
.login-header{
	margin-bottom: 30px;
	display: flex;
	justify-content: center;
}
.login-footer{
	margin-top: 40px;
}
.login-box{
	padding: 40px 30px 60px;
	width: 400px;
}
.login-box input,
.login-box button{
	all: unset;
	font-size: inherit;
	box-sizing: border-box;
	color: inherit;
}
.login-box input[type="checkbox"] {
  all: unset; /* 不推荐这样直接用 */
  appearance: checkbox; /* 强制回退外观 */
}
/* Chrome, Safari, Edge, Opera */
.login-box input[type="number"]::-webkit-outer-spin-button,
.login-box input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
.login-box input[type="number"] {
  -moz-appearance: textfield;
}
.login-tabs{
	display: flex;
	gap: 24px;
	align-items: center;
}
.tab-btn{
	width: 50%;
	display: flex;
	justify-content: center;
}
.tab-btn button{
	height: 49px;
	font-size: 16px;
	line-height: 46px;
	position: relative;
	cursor: pointer;
	color: #191b1f;
}
.tab-btn button.active{
	font-weight: 600;
}
.tab-btn button::after{
	background-color: #1772f6;
    bottom: 0;
    content: "";
    display: block;
    height: 3px;
    position: absolute;
    width: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 100px;
    transition: all 0.3s;
}
.tab-btn button.active::after{
    width: 100%;
}
.separation{
	height: 30px;
    width: 1px;
    background: #eee;
}
.login-form{
	margin-top: 20px;
}
.choose{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.register a{
	font-size: 14px;
	display: flex;
	align-items: center;
	color: #2468de;
	font-weight: 600;
}
.register a svg path{
	fill: #2468de;
}
.register a:hover{
	color: #0f5ada;
}
.register a:hover svg path{
	fill: #0f5ada;
}
.login-unit{
	margin-bottom: 16px;
}
.login-form .login-unit:last-of-type{
	margin-bottom: 0;
}
.login-form .field{
	height: 42px;
	border: 1px solid #d8d8d8;
	display: flex;
	font-size: 14px;
	font-weight: 400;
}
.login-form .field .field-name{
	width: 80px;
	display: flex;
	align-items: center;
	padding-left: 16px;
}
.login-form .field .field-input{
	display: flex;
	align-items: center;
	width: calc(100% - 80px);
}
.login-form label{
	all: unset;
	height: 100%;
	width: 100%;
}
.login-form button{
	cursor: pointer;
}
.login-form button:disabled{
	cursor: not-allowed;
}
.login-form label input{
	height: 100%;
	width: 100%;
	padding: 0 16px;
	color: #191b1f;
}
.login-form .field .field-input.code,
.login-form .field .field-input.password{
	position: relative;
}
.login-form .field .field-input.code .send-button,
.login-form .field .field-input.password button{
	position: absolute;
	right: 16px;
	transform: translateY(-50%);
	top: 50%;
	height: 100%;
	display: flex;
	align-items: center;
}
.login-form .field .field-input.password button svg path{
	fill: #555;
}
.login-unit .remember{
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	gap: 10px;
}
.login-unit .remember input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}


.login-unit .remember label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  gap: 6px;
}

.custom-checkbox {
  width: 15px;
  height: 15px;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  position: relative;
  display: inline-block;
  background-color: white;
}

/* √ 的样式（可自定义） */
.login-unit input[type="checkbox"]:checked + .custom-checkbox::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #0f5ada;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.other{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.other .reset-password a{
	font-size: 14px;
    display: flex;
    align-items: center;
    color: #2468de;
    font-weight: 600;
}
.other .reset-password a svg path {
    fill: #2468de;
}
.other .reset-password a:hover {
    color: #0f5ada;
}
.other .reset-password a:hover svg path {
    fill: #0f5ada;
}
.login-unit.submit input{
	display: block;
	width: 100%;
	height: 42px;
	background: #2468de;
	font-size: 14px;
	text-align: center;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	border-radius: 0;
	overflow: hidden;
}
.login-unit.submit input:hover{
	background-color: #0f5ada;
}
.login-unit.register a{
	all: unset;
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 42px;
	border: 1px solid #2468de;
	text-align: center;
	background-color: #fff;
	font-size: 14px;
	color: #1366ec;
	font-weight: 600;
	line-height: 40px;
	cursor: pointer;
	border-radius: 0;
}
.login-unit.register a:hover{
	background-color: #d4dffa;
}
.login-unit input:-webkit-autofill {
  background-color: transparent !important;
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  box-shadow: 0 0 0px 1000px white inset !important;
  transition: background-color 5000s ease-in-out 0s;
}
.login-footer{
	margin-top: 100px;
	max-width: 1000px;
	display: flex;
	justify-content: center;
	flex-direction: column;
	font-size: 14px;
	color: #555;
/*	text-shadow: 0 1px 2px #9196a1;*/
}
.login-footer a{
	color: #3776e1;
}
.cube-foot-copyright{
	line-height: 1.45;
}
@media(max-width: 1023px){
	.login-footer{
		max-width: 430px;
	}
}
@media(max-width: 430px){
	.login-page{
		height: auto;
		min-height: 100vh;
	}
	.login-wrapper{
		display: block;
		min-height: 0;
		height: auto;
		padding: 60px 0;
		align-items: unset;
		background-color: #fff;
	}
	.login-wrapper{
	}
	.login-middle,
	#app,
	.login-box{
		width: 100%;
	}
	.login-page{
		background: #fff!important;
	}
	.login-header{
		margin-bottom: 10px;
	}
	.login-header a svg{
		width: 150px;
	}
	.login-footer{
		padding: 0 30px;
		margin-top: 20px;
	}
}
@media(max-width: 375px){
	.login-wrapper{
		padding: 40px 0;
	}
	.login-header{
		margin-bottom: 0;
	}
	.login-header a svg{
		width: 120px;
	}
	.tab-btn button{
		font-size: 14px;
	}
	.login-tabs{
		gap: 16px;
	}
	.register a,
	.login-unit .remember,
	.other .reset-password a,
	.login-footer{
		font-size: 13px;
	}
	.login-box{
		padding: 30px 20px 50px;
	}
	.login-form .field{
		font-size: 13px;
	}
	.login-form .field .field-name{
		width: 70px;
		padding-left: 10px;
	}
	.login-form .field .field-input{
		width: calc(100% - 70px);
	}
	.login-form label input{
		padding: 0 10px;
	}
	.login-form .field .field-input.code .send-button,
	.login-form .field .field-input.password button{
		right: 10px;
	}
	.login-form .field .field-input.password button svg{
		width: 18px;
		height: 18px;
	}
}