#index-page {
	width: 100vw;
	min-height: 100vh;
	background-image: url("/static/img/bg.png");
	background-color: #000000;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	display: flex;
	flex-direction: column;
	padding-top: 150px;
	align-items: center;
	padding-bottom: 40px;
}

#index-page .logo {
	width: 200px;
	height: 200px;
}

#index-page > .btn-container {
	display: flex;
	flex-direction: column;
	margin-top: 20px;
}

#index-page .btn {
	width: 289px;
	height: 44px;
	border-radius: 2px 2px 2px 2px;
	background-size: 289px 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	font-size: 16px;
	color: #ffffff;
}

#index-page .btn:first-child {
	margin-bottom: 20px;
}

#index-page .btn.btn-1 {
	background-image: url("/static/img/btn-1.png");
	text-decoration: none;
}

#index-page .btn.btn-2 {
	background-image: url("/static/img/btn-2.png");
}

#dialog {
	background-color: rgba(0, 0, 0, 0.7);
	border: none;
	z-index: 2;
}

.register-container {
	width: 100vw;
	height: 100vh;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 3s ease-in-out;
}

.body {
	width: 289px;
	/* background-image: url("/static/img/popup-body.png"); */
	background-size: cover;
	padding: 12px 0;
}

.body > .input {
	width: 289px;
	height: 45px;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 2px 2px 2px 2px;
	border: 1px solid #2e383d;
	display: flex;
	align-items: center;
	padding-right: 12px;
}

.body > .error {
	margin-bottom: 12px;
	font-size: 12px;
	color: #ff0000;
}

.body > .input > input {
	flex: 1;
	background-color: transparent;
	outline: none;
	border: none;
	padding-left: 12px;
	font-weight: 400;
	font-size: 15px;
	color: #fff;
}

.register-btn {
	width: 103px;
	height: 32px;
	background: #384a58;
	font-weight: 400;
	font-size: 14px;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	border: 2px solid #2a2e2e;
}

.register-btn .block {
	position: absolute;
	width: 2px;
	height: 2px;
	background-color: #fff;
}

.register-btn .block-1 {
	left: -2px;
	top: -2px;
}

.register-btn .block-2 {
	right: -2px;
	top: -2px;
}

.register-btn .block-3 {
	left: -2px;
	bottom: -2px;
}

.register-btn .block-4 {
	right: -2px;
	bottom: -2px;
}

#code-btn {
	font-weight: 400;
	font-size: 15px;
	color: #7a97ff;
	white-space: nowrap;
}

::placeholder {
	color: #404e55;
	font-size: 15px;
	opacity: 1;
}

/* 针对不同浏览器的兼容写法 */
:-ms-input-placeholder {
	font-size: 15px;
	color: #b0b6b9;
}

#message {
	position: fixed;
	top: -40px;
	left: 0;
	width: 100vw;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: #fff;
}

#message.success {
	background: rgba(0, 255, 0, 0.6);
}

#message.error {
	background: rgba(253, 2, 2, 0.6);
}

@keyframes show {
	0% {
		top: -40px;
	}
	100% {
		top: 0;
	}
}

@keyframes hide {
	0% {
		top: 0;
	}
	100% {
		top: -40px;
	}
}

#message.hide {
	animation: hide 0.5s;
	top: -40px;
}

#message.show {
	animation: show 0.5s;
	top: 0;
	z-index: 9999;
}

.agree {
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 400;
	margin-top: 12px;
	font-size: 12px;
}

.agree .texts {
	display: flex;
	align-items: center;
	color: #aab8bf;
}

.agree .texts > .deal {
	font-size: 12px;
	color: #7a97ff;
}

.checkbox.checked {
	background-image: url("/static/img/select.png");
	background-size: cover;
	background-color: unset;
	border: none;
}

.checkbox {
	width: 15px;
	height: 15px;
	background-color: #1b2124;
	border-radius: 2px 2px 2px 2px;
	border: 1px solid #2e383d;
	margin-right: 8px;
}
