* {
	margin: 0;
	padding: 0;
}
body {
	background-color: #C491B2;
	font-size: 12px;
	font-family: '等线 (西文正文),Arial,sans-serif';
}

/* 防止谷歌浏览器图片中间出现白线 */
img{
    margin-top:-1px;
}

/* 外层盒子 */
.outer {
	position: absolute;
	display: flex;
	flex-direction: column;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

/* 登录框的宽度 */
.login-box {
	position: absolute;
	left: 50%;
	bottom: 50px;
	transform: translateX(-50%);
}
/* 文本框上下间隔 */
.login-box .form-group{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px;
}

/* 文本框样式 */
	.login-box input {
		box-sizing: border-box;
		width: 195px;
		height: 25px;
		line-height: 25px;
		padding-left: 8px;
		border: 1px #d9d9d9 solid;
		border-radius: 5px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		transition: all 0.3s ease-out;
		-webkit-transition: all 0.3s ease-out;
		-moz-transition: all 0.3s ease-out;
	}
.login-box input:focus{
	border-color: #03a9f4;
	box-shadow: 0 0 15px #03a9f4;
	-webkit-box-shadow: 0 0 15px #03a9f4;
	-moz-box-shadow: 0 0 15px #03a9f4;
}

/* 验证码 */
#canvas {
    border: 1px solid #6C496F;
    border-radius: 5px;
    cursor: pointer;
    width:100px;
    height:30px;
    background-color:aliceblue;
}

/* 登录按钮 */
.login-box button{
	width: 195px;
	height: 30px;
	line-height: 30px;
	border: 0;
	background-color: #03a9f4;
	border-radius: 5px;
}
	.login-box button a {
		display: block;
		color: white;
	}
.login-box button:hover{
	background-color: #0096da;
    padding-top: 3px;
}

/* 登录按钮 */
.tran {
	transition: all 0.3s ease-out;
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	color: white;
	cursor: pointer;
	font-size: 12pt;
}

/* 底部信息 */
.footer {
	position: fixed;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	height: 40px;
	font-size: 13px;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* 二维码 */
.qrcode-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 50px;
}

.qr-img img {
	width: 300px;
	height: 300px;
}

/* totp */
.totp-box {
	box-sizing: border-box;
	padding: 30px;
	width: 400px;
}

.totp-title {
	font-size: 18px;
	color: rgb(0, 0, 0);
}

.root-box {
	display: flex;
	justify-content: space-around;
	margin-top: 30px;
}

@keyframes shake {
	0% {
		transform: translateX(0);
	}

	25% {
		transform: translateX(-10px);
	}

	50% {
		transform: translateX(10px);
	}

	75% {
		transform: translateX(-10px);
	}

	100% {
		transform: translateX(0);
	}
}

.shake-animation {
	animation-name: shake;
	animation-duration: 0.5s;
	animation-iteration-count: 1; /* 动画的重复次数 */
}

.totp-text {
	color: currentcolor;
	box-sizing: content-box;
	background: none;
	margin: 0px;
	display: block;
	min-width: 0px;
	animation-duration: 10ms;
	padding: 0px;
	border-radius: 4px;
	border: 1px solid rgba(0, 0, 0, 0.7);
	text-align: center;
	width: 35px;
	height: 35px;
	font-size: 16px;
	font-weight: 600;
	text-shadow: rgb(0, 0, 0) 0px 0px 0px;
}

	.totp-text:focus {
		border-color: rgb(15, 198, 194);
	}

	.totp-text::placeholder {
		color: #d9d9d9;
	}

.totp-button {
	position: relative;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 30px;
	line-height: 1.75;
	padding: 6px 16px;
	width: 100%;
	border: 0px;
	cursor: pointer;
	font-weight: 500;
	font-size: 0.875rem;
	border-radius: 4px;
	color: rgb(255, 255, 255);
	background-color: rgb(15, 198, 194);
	box-shadow: none;
}

	.totp-button:hover {
		background-color: rgb(10, 138, 135);
	}