html,body{
	overflow: unset;
}
.register-page{
	min-height: 100vh;
}
.register-container{
	height: 100%;
	display: flex;
    flex-direction: column;
}
.register-wrapper{
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	padding-top: 60px;
    justify-content: center;
    min-height: 688px;
}
.register-header a{
	display: flex;
}
.register-header a:hover svg path{
	fill: #0f5ada!important;
}
.register-middle{
	background-color: #fff;
	display: flex;
}
.register-header{
	margin-bottom: 30px;
	display: flex;
	justify-content: center;
}
.register-footer{
	margin-top: 40px;
}
.register-box{
	padding: 40px 30px 60px;
	width: 400px;
}
.register-box input,
.register-box button{
	all: unset;
	font-size: inherit;
	box-sizing: border-box;
	color: inherit;
}
.register-box input[type="checkbox"] {
  all: unset; /* 不推荐这样直接用 */
  appearance: checkbox; /* 强制回退外观 */
}
/* Chrome, Safari, Edge, Opera */
.register-box input[type="number"]::-webkit-outer-spin-button,
.register-box input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
.register-box input[type="number"] {
  -moz-appearance: textfield;
}
.register-form{
	margin-top: 20px;
}
.choose{
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.login a{
	font-size: 14px;
	display: flex;
	align-items: center;
	color: #2468de;
	font-weight: 600;
}
.login a svg path{
	fill: #2468de;
}
.login a:hover{
	color: #0f5ada;
}
.login a:hover svg path{
	fill: #0f5ada;
}

.register-unit{
	margin-bottom: 16px;
}
.register-form .field{
	height: 42px;
	border: 1px solid #d8d8d8;
	display: flex;
	font-size: 14px;
	font-weight: 400;
}
.register-form .field .field-name{
	width: 80px;
	display: flex;
	align-items: center;
	padding-left: 16px;
}
.register-form .field .field-input{
	display: flex;
	align-items: center;
	width: calc(100% - 80px);
}
.register-form label{
	all: unset;
	height: 100%;
	width: 100%;
}
.register-form button{
	cursor: pointer;
}
.register-form button:disabled{
	cursor: not-allowed;
}
.register-form label input{
	height: 100%;
	width: 100%;
	padding: 0 16px;
	color: #191b1f;
}
.register-form .field .field-input.code,
.register-form .field .field-input.password{
	position: relative;
}
.register-form .field .field-input.code .send-button,
.register-form .field .field-input.password button{
	position: absolute;
	right: 16px;
	transform: translateY(-50%);
	top: 50%;
	height: 100%;
	display: flex;
	align-items: center;
}
.register-form .field .field-input.password button svg path{
	fill: #555;
}

.register-unit .agreement{
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	gap: 10px;
}
.register-unit .agreement input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}


.register-unit .agreement 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;
}

/* √ 的样式（可自定义） */
.register-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);
}

.register-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;
}
.register-unit.submit input:hover{
	background-color: #0f5ada;
}

.register-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;
}
.register-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;*/
}
.register-footer a{
	color: #3776e1;
}
.cube-foot-copyright{
	line-height: 1.45;
}

.optional-unit-box{
	margin-top: 32px;
}
.unit-title{
	display: flex;
	align-items: center;
	font-size: 14px;
	gap: 6px;
	margin-bottom: 16px;
}
@media(max-width: 1023px){
	.register-footer{
		max-width: 430px;
	}
}

@media(max-width: 430px){
	.register-page{
		height: auto;
		min-height: 100vh;
	}
	.register-wrapper{
		display: block;
		min-height: 0;
		height: auto;
		padding: 60px 0;
		align-items: unset;
		background-color: #fff;
	}
	.register-wrapper{
	}
	.register-middle,
	#app,
	.register-box{
		width: 100%;
	}
	.register-page{
		background: #fff!important;
	}
	.register-header{
		margin-bottom: 10px;
	}
	.register-header a svg{
		width: 150px;
	}
	.register-footer{
		padding: 0 30px;
		margin-top: 20px;
	}
}
@media(max-width: 375px){
	.register-wrapper{
		padding: 40px 0;
	}
	.register-header{
		margin-bottom: 0;
	}
	.register-header a svg{
		width: 120px;
	}
	.login a,
	.register-unit .agreement,
	.unit-title,
	.register-footer{
		font-size: 13px;
	}
	.optional-unit-box .unit-title svg{
		width: 15px;
		height: 15px;
	}
	.register-box{
		padding: 30px 20px 50px;
	}
	.register-form .field{
		font-size: 13px;
	}
	.register-form .field .field-name{
		width: 70px;
		padding-left: 10px;
	}
	.register-form .field .field-input{
		width: calc(100% - 70px);
	}
	.register-form label input{
		padding: 0 10px;
	}
	.register-form .field .field-input.code .send-button,
	.register-form .field .field-input.password button{
		right: 10px;
	}
	.register-form .field .field-input.password button svg{
		width: 18px;
		height: 18px;
	}
	.custom-checkbox{
		width: 13px;
		height: 13px;
	}
	.register-unit input[type="checkbox"]:checked + .custom-checkbox::after{
		top: 0;
		left: 3px;
	}
}