@import "modal.css";

* {
	box-sizing: border-box;
}
a {
	color: #474F62;
	text-decoration: none;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
	-webkit-text-fill-color: #555;
	-webkit-box-shadow: 0 0 0px 1000px #fff inset;
}
input,
button {
	outline: none;
	border: none;
}
button {
	cursor: pointer;
}
button[disabled] {
	color: #999999;
    border-color: #999999;
    background: #efefef;
}
button:active {
	opacity: .8
}
body,
html {
	height: 100%;
}
.container {
	min-height: 100%;
}
body {
	padding: 0;
	margin: 0;
	background-color: #f5f5f5;
}
.notice {
	font-size: 14px;
    display: flex;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 45px;
}
.notice.error {
    background: rgba(251, 81, 81, 0.2);
    color: #fb5151;
    border: 1px solid #fb5151;
}
.notice.success {
    background: rgba(24, 202, 65, 0.2);
    color: #18ca41;
    border: 1px solid #18ca41;
}
.notice.info {
    background: rgba(0, 128, 255, 0.2);
    color: #0080FF;
    border: 1px solid #0080FF;
}
.link {
	color: #474F62;
	position: relative;
}
.link:hover:after {
    transform-origin: left;
    transform: scaleX(1) scaleY(50%) translateY(2px) translate3d(0,0,0);
}
.link:after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    left: 0;
	transform: scaleX(0) scaleY(50%) translateY(2px) translate3d(0,0,0);
    transition: transform .5s;
    transform-origin: right;
}
.container {
	padding: 55px 20px;
	background: linear-gradient(-135deg, #FAB2FF, #4C83FF);
	width: 100%;
	overflow: hidden;
}
.middle {
	width: 560px;
	margin: 0 auto;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0px 1px 6px 0px rgba(0,0,0,0.06);
	padding: 65px 75px;
}
.logo {
	display: flex;
	justify-content: center;
	user-select: none;
}
.logo .logo-img {
	width: 100px;
	height: 100px;
	display: block;
	margin: auto;
	border-radius: 10px;
	box-shadow: 0 5px 15px 0px rgba(77, 73, 222, 0.3);
	-webkit-mask-size: cover;
}
.logo-left {
	
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
	margin-top: 65px;
}
.header .title {
	line-height: 1;
	font-size: 30px;
	margin: 0;
	user-select: none;
}
.header .subtitle {
	line-height: 1;
	display: flex;
	color: #909090;
	font-size: 14px;
}
.header .subtitle span:not(:last-child) {
	padding: 0 10px;
	border-right: 1px solid #909090;
}
.header .subtitle span:last-child {
	padding-left: 10px;
}
.form {
	margin-top: 65px;
}
.field {
	position: relative;
	margin-bottom: 40px;
}
.field .wrap {
	display: flex;
	position: relative;
	border-bottom: 1px solid #dddddd;
}
.field .desc {
    display: inline-block;
    color: #aaa;
    font-size: 14px;
    margin-top: 7px;
    margin-left: 5px;
	user-select: none;
}
.field input {
    font-size: 19px;
    color: #555555;
    line-height: 1.2;
    display: block;
    width: 100%;
    height: 45px;
    background: transparent;
    padding: 0 5px;
}
.field .focus-text {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	pointer-events: none;
}
.field .focus-text::before {
	content: "";
	display: block;
	width: 100%;
	position: absolute;
	bottom: -1px;
	left: 0;
	transform: scaleX(0) scaleY(25%) translateY(-1px) translate3d(0,0,0);
	transform-origin: left;
	height: 1px;
	transition: all 0.4s;
	background: #000;
}
.field input:focus + .focus-text::before,
.field input:-webkit-autofill + .focus-text::before,
.field.has-val .focus-text::before {
    transform: scaleX(1) scaleY(25%) translateY(-1px) translate3d(0,0,0);
}
.field .focus-text::after {
    font-size: 16px;
    color: #999999;
    content: attr(data-placeholder);
    display: block;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0px;
	line-height: 1;
	transform: translateY(-50%);
    padding-left: 5px;
    transition: all 0.4s cubic-bezier(0, 0, 0.2, 1)
}
.field input:focus + .focus-text::after,
.field input:-webkit-autofill + .focus-text::after,
.field.has-val .focus-text::after {
    top: -8px;
	color: #474F62;
	font-size: 14px;
}
.field .input-actions {
	display: flex;
	align-items: center;
}
.field .input-action {
	cursor: pointer;
	font-size: 22px !important;
	width: 24px !important;
	height: 24px !important;
	padding: 5px;
	box-sizing: content-box;
	color: #555555;
	display: flex !important;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	transition: all .2s
}
.field .input-action:hover {
	background:#f5f5f5;
}
.field .input-action:active {
	background:#ddd;
}
.progress {
    height: 1px;
    overflow: hidden;
    background-color: #f5f5f5;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}
.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    color: #fff;
    text-align: center;
    background-color: #e75757;
    transition: width .6s;
}
.progress {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
}
.progress-text {
	position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    font-size: 12px;
	user-select: none;
}
.password-field .focus-text::before {
    display: none
}
.password-field input:focus ~ .progress,
.password-field.has-val .progress {
	height: 3px;
	border-radius: 5px;
}
.password-field.score-0 .password-strength,
.password-field.score-1 .password-strength {
	width: 25%;
	background-color: #e75757;
}
.password-field.score-2 .password-strength {
	width: 50%;
	background-color: #e4902c;
}
.password-field.score-3 .password-strength {
	width: 75%;
	background-color: #67ace7;
}
.password-field.score-4 .password-strength {
	width: 100%;
	background-color: #02b502;
}
.password-field.score-0 .progress-text,
.password-field.score-1 .progress-text {
	color: #e75757;
}
.password-field.score-2 .progress-text {
	color: #e4902c;
}
.password-field.score-3 .progress-text {
	color: #67ace7;
}
.password-field.score-4 .progress-text {
	color: #02b502;
}
.password-field inpit {
	padding-right: 27px;
}
.submit {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 50px;
	background: #e9effb;
	border-radius: 10px;
	font-size: 18px;
	text-align: center;
	color: #576cf7;
	user-select: none;
}
@keyframes stretch {
	0% {
		transform: scale(1);
		background-color: rgba(87, 108, 247, .7);
	}
	100% {
		transform: scale(0.5);
		background-color: rgba(87, 108, 247, .3);
	}
}
.btn-load.btn-loading {
	font-size: 0;
}
.btn-load.btn-loading .spinner {
	display: flex;
}
.btn-load.btn-loading .spinner b {
	animation-direction: alternate;
	animation-duration: 0.5s;
	animation-fill-mode: none;
	animation-iteration-count: infinite;
	animation-name: stretch;
	animation-play-state: running;
	animation-timing-function: ease-in;
	border-radius: 100%;
	display: block;
	height: 10px;
	margin: 0 1px;
	width: 10px;
	animation-delay: 0.1s;
	margin: 0 4px;
	background-color: rgba(87, 108, 247, .7);
}
.btn-load.btn-loading .spinner b:first-child {
	animation-delay: 0s;
}
.btn-load.btn-loading .spinner b:last-child {
	animation-delay: 0.2s;
}
.btn-load .spinner b {
	font-weight: normal;
}
.btn-load .spinner {
	display: none;
}
.footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 10px;
}
.social {
	margin-top: 50px;
}
.social .title {
	color: #909090;
	user-select: none;
}
.social .title:before {
	content: "";
}
.social .title:after {
	content: "";
}
.social .icons {
	display: flex;
	justify-content: center;
}
.social .icons .social-link {
	display: block;
	width: 45px;
	height: 45px;
	margin: 0 5px;
	padding: 0;
	background-color: transparent;
	user-select: none;
}
.social .icons .social-link img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
}
.social .title,
.footer .link {
	display: block;
	text-align: center;
	font-size: 14px;
}
.social .title {
	margin-bottom: 20px;
}
.powered {
	margin-top: 30px;
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    text-shadow: 0 1px rgba(0, 0, 0, .1);
    display: inline-block;
    width: 100%;
    text-align: center;
    user-select: none;
}
.powered a {
    color: inherit;
}
.code-field {
	display: flex;
}
.code-field .wrap {
	flex-grow: 1;
}
.get-code {
	color: #474F62;
	padding: 10px 30px;
	font-size: 14px;
	margin-left: 30px;
	background: #ffffff;
	border: 1px solid #909090;
	border-radius: 23px;
	white-space: nowrap;
	flex-shrink: 0;
	transition: all 0.2s;
	user-select: none;
}
.phone-field {
	display: flex;
}
.phone-field .wrap {
	flex-grow: 1;
}
.phone-field.verified .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center
}
.phone-field .phone-value {
    display: flex;
    align-items: center;
	padding: 0 5px;
    height: 45px;
    user-select: none;
    color: #909090
}
.phone-field .link {
	color: #909090;
	font-size: 14px;
}
.phone-field.phone-code-yes .wrap {
	padding-left: 85px;
}
.phone-field.phone-code-yes .focus-text::after {
	left: 85px;
}
.phone-field.phone-code-fixed .wrap {
	padding-left: 30px;
}
.phone-field.phone-code-fixed .focus-text::after {
	left: 30px;
}
.phone-field .phone-code {
	position: absolute;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
}
.country-select {
	min-width: 100px;
    outline: none;
    border: none;
}
.select2,
.select2 .selection,
.select2 .select2-selection {
	outline: 0 !important;
}
.select2 {
	position: absolute !important;
	height: 100%;
	z-index: 1;
    font-size: 13px;
}
.select2-container {
	font-size: 13px;
}
.select2 .selection {
    height: 100%;
}
.select2-container--default .select2-selection--single {
	background-color: transparent !important;
    height: 100% !important;
    border-radius: 0 !important;
    border: 0 !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 45px;
    height: 100%;
    display: flex;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%);
}
.select2-container--default .select2-results__group {
	font-size: 14px;
}
.select2-container--default .select2-results__option .select2-results__option {
	padding: 6px !important;
}
.select2-container--default .select2-results>.select2-results__options {
	max-height: 270px !important;
}
.select2-option-inner {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
}
.select2-dropdown {
    width: 220px !important;
}
.country-flag {
    width: 18px;
}
.country-name {
    margin-left: 5px;
    white-space: nowrap;
    flex-grow: 1;
	line-height: 1;
    text-overflow: ellipsis;
    overflow: hidden;
}
.country-code {
    margin-left: 2px;
    flex-shrink: 0;
	line-height: 1;
}
@media (max-width: 600px) {
	.container {
		padding-bottom: 55px;
	}
	.middle {
		width: 100%;
		padding: 45px 25px;
	}
	.logo .logo-img {
		width: 90px;
		height: 90px;
	}
	.header,
	.form {
		margin-top: 45px;
	}
	.header .title {
		font-size: 26px;
	}
	.field {
		margin-bottom: 30px;
	}
	.get-code {
		padding: 5px 30px;
	}
	.submit {
		margin-top: 10px;
	}
	.social {
		margin-top: 30px;
	}
	.social .icons .social-link {
		width: 40px;
		height: 40px;
	}
}
@media (max-width: 380px) {
	.header {
		flex-direction: column;
		align-items: flex-start;
	}
	.header .subtitle {
		margin-top: 10px;
	}
	.header .subtitle span:first-child {
		padding-left: 0;
		padding-right: 10px;
	}
	.header .subtitle span:not(:first-child) {
		padding: 0 10px;
	}
}

/* 完善信息 */
.logo.auth > div {
    display: flex;
    align-items: center;
}
.logo.auth .logo-connect {
	padding: 0 30px;
}
.logo.auth .logo-connect img {
	width: 30px;
}
.logo.auth .logo-left img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 10px solid rgba(0,0,0,0.05);
    box-sizing: content-box;
}
.logo.auth .user-img {
	margin-left: -10px;
}
.logo.auth .logo-img {
	width: 72px;
	height: 72px;
}
@media (max-width: 600px) {
	.logo.auth .logo-connect {
		padding: 0 20px;
	}
	.logo.auth .logo-connect img {
		width: 25px;
	}
	.logo.auth .logo-left img {
		width: 50px;
		height: 50px;
	}
	.logo.auth .logo-img {
		width: 62px;
		height: 62px;
	}
}

/* 二维码 */
.qrcode {
    margin: 30px 0;
    text-align: center;
}
.qrcode .scan-text {
	font-size: 14px;
	display: inline-block;
    color: #909090;
    margin-top: 10px;
	user-select: none
}
.qrcode .qrcode-img-wrap {
    max-width: 260px;
    margin: auto;
}
.qrcode .qrcode-img-inner {
	position: relative;
	padding-bottom: 100%;	
}
.qrcode img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #dedede;
    border-radius: 8px;
    background-color: #efefef;
}
.qrcode .mask {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 8px;
	background-color: rgba(0,0,0,.7);
	display: none;
	justify-content: center;
	align-items: center;
}
.qrcode .mask .mask-text {
	color: #fff;
	font-size: 14px;
	user-select: none;
}