@charset "utf-8";

/* 基础样式 */
html, body {
	height: 100%;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	line-height: 1.42857143;
	color: #333;
	background: #d4e7ed;
	max-width: 720px;
	margin: 0 auto;
}

/* 错误提示框 */
.errorbox {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 100vh;
	display: none;
	z-index: 9999999;
	align-items: center;
	justify-content: center;
}

.error-content {
	padding: 20px;
	line-height: 18px;
	word-break: break-all;
	overflow: hidden;
	font-size: 18px;
	color: #fff;
	background: rgba(0, 0, 0, 0.8);
}

/* AI模态框 */
.ai-modal {
	position: fixed;
	display: none;
	right: 0px;
	left: 0px;
	top: 0px;
	bottom: 0px;
	justify-content: center;
	width: 100vw;
	height: 100vh;
	z-index: 9999;
	align-items: center;
	background: rgba(0, 0, 0, 0.7);
	color: white;
}

/* 进度条样式 */
.ai-progress {
	width: 95%;
}

.pro-box {
	background: rgb(9 76 137);
	border-radius: 12px;
	padding: 32px 18px;
	max-width: 680px;
	margin: 60px auto;
}

.title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	font-size: 1rem;
	font-weight: 600;
	color: #ffa200;
	text-align: center;
	width: 100%;
}

.title .word {
	font-size: 30px;
	font-weight: bold;
}

.progress-box .item {
	margin-bottom: 16px;
}

.progress-box .i-title {
	font-size: 25px;
}

.layui-progress {
	background: #eee;
	border-radius: 8px;
	height: 16px;
}

.layui-progress-bar {
	background: #00dcf4;
	height: 100%;
	border-radius: 8px;
	width: 0%;
}

/* 结果框样式 */
.ai-result {
	display: none;
}

.result-box {
	background: rgb(9 76 137);
	border-radius: 12px;
	padding: 32px 18px;
	height: inherit;
	margin: 26px;
	max-width: 680px;
}

.result-con .con {
	font-size: 15px;
	margin-bottom: 18px;
}

#tips-code {
	color: #15a223;
}

.btn.anniu {
	background: #15a223;
	color: #fff;
	padding: 12px 0;
	border-radius: 8px;
	text-align: center;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 0 auto;
	font-size: 22px;
}

/* 主体内容 */
.wrapper {
	position: relative;
	text-align: center;
	overflow: hidden;
	max-width: none;
	margin: -15% auto;
	background: url("./bg.gif") top center no-repeat;
	background-size: cover;
}

.wrapper .robot {
	background-size: cover;
}

.header {
	margin: 0 auto;
}

.imgbox {
	margin-top: 64%;
}

.imgbox img {
	display: block;
	margin: auto;
}

/* 输入框和按钮 */
.step0 {
	margin-bottom: 100%;
}

.step0 .inputStockCode {
	font-size: 20px;
	width: 80%;
	height: 60px;
	margin-left: 10%;
	margin-right: 10%;
	text-align: center;
	margin-top: 10px;
	border: 3px solid #00ffff;
	border-radius: 15px;
	background: rgba(0, 0, 0, 0);
	color: white;
}

input:focus {
	outline: none;
}

.step0 .btnAnalysis {
	width: 80%;
	height: auto;
	color: white;
	margin: 0 auto;
	cursor: pointer;
	margin-top: 10px;
}

/* 占位符样式 */
::-webkit-input-placeholder {
	color: #333;
	opacity: 1 !important;
}

::-moz-placeholder {
	color: #333;
	opacity: 1 !important;
}

:-ms-input-placeholder {
	color: #333 !important;
	opacity: 1 !important;
}

:-moz-placeholder {
	color: #333;
	opacity: 1 !important;
}

.placeholder {
	color: #333 !important;
	opacity: 1 !important;
}

::placeholder {
	color: #999;
}

/* 响应式样式 */
@media all and (max-width: 1000px) {
	.imgbox img {
		display: block;
		margin: auto;
		width: 100%;
	}
}

@media all and (max-width: 767px) {
	html, body {
		font-size: 22px;
	}

	.imgbox img {
		display: block;
		margin: auto;
		width: 95%;
	}

	.step0 {
		margin-bottom: 30%;
	}

	.step0 .inputStockCode {
		width: 80%;
	}

	.wrapper .robot {
		padding: 10px 0 0 0;
	}
}