@charset "UTF-8";

.chart:empty {
	border: 1px dashed;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	opacity: 0.3;
}

.chart:empty::after {
	/* content: "图表"; */
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -1rem;
	margin-left: -1rem;
}

body {
	color: #FFF;
	margin: 0 0;
	padding: 0 0;
	background: url(images/bg.png);
}

.fill-parent {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.head {
	height: 4rem;
}

.head .title {
	font-size: 1.8rem;
	text-align: center;
	margin-top: 0.5rem;
	height: 3rem;
	line-height: 3rem;
	position: relative;
}

/* LOGO位置 */
.title-left_img {
	width: 7%;
	/* 宽度占屏幕的 20%（可调整） */
	height: auto;
	/* 高度自动适应（保持宽高比） */
	/* aspect-ratio: 16/9; 可选：强制固定宽高比（如 16:9） */
	overflow: hidden;
	/* 防止图片溢出 */
}

.title-left_img img {
	width: 100%;
	/* height: 100%; */
	object-fit: contain;
	/* 等比例缩放，保持宽高比 */
	object-position: left top;
	/* 固定在左上角 */
}

.head .title .title-left {
	position: absolute;
	top: 50%;
	left: 7.5%;
	width: 27.5%;
	height: 3px;
	margin-top: -1.5px;
	background: #0089ff;
}

.head .title .title-value {
	position: absolute;
	top: 0;
	left: 35%;
	right: 35%;
	bottom: 0;
	border-right: 3px solid #0089ff;
	border-left: 3px solid #0089ff;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.head .title .title-right {
	position: absolute;
	top: 50%;
	right: 0;
	width: 35%;
	height: 3px;
	margin-top: -1.5px;
	background: #0089ff;
}

.title-right input {
	margin-right: 100px;
}

.content {
	position: absolute;
	top: 4.5rem;
	right: 0;
	bottom: 0;
	left: 0;
}

.layout {
	position: absolute;
	width: 25%;
}

.layout-left-top {
	left: 0;
	top: 0;
	height: 33.33%;
}

.layout-left-center {
	left: 0;
	top: 33.33%;
	height: 33.33%;
}

.layout-left-bottom {
	left: 0;
	top: 66.66%;
	height: 33.33%;
}

.layout-center-top {
	top: 0;
	left: 25%;
	right: 25%;
	width: 50%;
	height: 66.6%;
}

.layout-center-bottom {
	top: 66.6%;
	left: 25%;
	right: 25%;
	bottom: 0;
	width: 50%;
}

.layout-right-top {
	top: 0;
	right: 0;
	height: 50%;
}

.layout-right-bottom {
	top: 50%;
	right: 0;
	bottom: 0;
}

.panel {
	position: absolute;
	left: 0.5rem;
	top: 0.8rem;
	right: 0.5rem;
	bottom: 0.8rem;
	border: 1px solid #20558b;
	-webkit-box-shadow: #07417a 0 0 10px;
	-moz-box-shadow: #07417a 0 0 10px;
	box-shadow: inset 0 0 30px #07417a;
}

.panel.border-left-top:before,
.panel.border-all:before {
	position: absolute;
	width: 1rem;
	height: 1rem;
	content: "";
	border-top: 3px solid #488aff;
	border-left: 3px solid #488aff;
	left: -1px;
	top: -1px;
}

.panel.border-right-top:after,
.panel.border-all:after {
	position: absolute;
	width: 1rem;
	height: 1rem;
	content: "";
	border-top: 3px solid #488aff;
	border-right: 3px solid #488aff;
	right: -1px;
	top: -1px;
}

.panel.border-left-bottom .border-foot:before,
.panel.border-all .border-foot:before {
	position: absolute;
	width: 1rem;
	height: 1rem;
	content: "";
	border-bottom: 3px solid #488aff;
	border-left: 3px solid #488aff;
	left: -1px;
	bottom: -1px;
}

.panel.border-right-bottom .border-foot:after,
.panel.border-all .border-foot:after {
	position: absolute;
	width: 1rem;
	height: 1rem;
	content: "";
	border-bottom: 3px solid #488aff;
	border-right: 3px solid #488aff;
	right: -1px;
	bottom: -1px;
}

.panel>.title {
	position: absolute;
	top: 0.2rem;
	right: 0.5rem;
	left: 0.5rem;
	line-height: 2rem;
	font-size: 1.1rem;
	font-weight: bold;
}

.panel.title-bg>.title {
	position: absolute;
	top: -0.8rem;
	right: 20%;
	left: 20%;
	text-align: center;
	color: #fff;
	background: url(images/title-bg.png);
	background-size: 100% 100%;
}

.panel .chart {
	position: absolute;
	top: 2rem;
	right: 0.3rem;
	bottom: 0.3rem;
	left: 0.3rem;
}

.panel.title-bg .chart {
	top: 1.4rem;
}

.layout-center-bottom .panel {
	background-image: -webkit-radial-gradient(250px 250px at 50% 50%, hsla(209, 99%, 32%, 28), hsla(228, 100%, 0%, 0));
	background-image: radial-gradient(250px 250px at 50% 50%, hsla(209, 99%, 32%, 28), hsla(228, 100%, 0%, 0));
}




/* 表格基础样式 */
.fixed-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

/* 表头固定样式 - 重要修改 */
.fixed-table thead {
	position: sticky;
	top: 0;
	z-index: 10;
}

/* 表头单元格样式 */
.fixed-table .header {
	text-align: center;
	/* padding: 8px; */
	border: 1px solid #a4a5a6;
	background-color: rgb(141, 143, 145);
	box-shadow: 0 1px 0 #a4a5a6;
	color: white;
	font-weight: bold;
}

/* 表格内容单元格样式 */
.fixed-table td {
	text-align: center;
	padding: 8px;
	border: 1px solid #a4a5a6;
	vertical-align: middle;
	overflow: hidden;
}

/* 单元格内容容器 - 重要修改 */
.table-cell-div {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
	font-size: 12px;
}

/* 需要滚动的文本样式 */
.scroll-text {
	display: inline-block;
	white-space: nowrap;
	position: relative;
	padding-right: 20px;
	animation: scrollText 8s linear infinite;
	will-change: transform;
}

/* 滚动动画关键帧 */
@keyframes scrollText {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(calc(-100% + 10px));
	}
}

/* 悬停暂停滚动 */
.scroll-text:hover {
	animation-play-state: paused;
}

/* 滚动条隐藏 */
/* div::-webkit-scrollbar {
	display: none;
} */

/* div {
	scrollbar-width: none;
	-ms-overflow-style: none;
} */


/* 容器div，占满整个视口 */
.container {
	height: 100%;
	width: 100%;
	display: flex;
	/* 使用flex布局实现左右分栏 */
}

/* 左侧div */
.container-left {
	width: 40%;
	height: 100%;
	/* 仅为演示，可自定义 */
	box-sizing: border-box;
	/* 确保内边距不影响宽度计算 */
	/* border-right: 1px solid white; 添加白色分隔线 */
}

/* 右侧div */
.container-right {
	width: 60%;
	height: 100%;
	/* 仅为演示，可自定义 */
	box-sizing: border-box;
	/* 确保内边距不影响宽度计算 */

}

.chart_whole {

	display: flex;

	flex-direction: column;
	/* 垂直排列子元素 */

	height: 100%;
	/* 视口高度，确保占满整个屏幕 */

	width: 100%;
	/* 宽度自适应 */

	margin: 0;

	padding: 0;

	box-sizing: border-box;

}


.chart_up,
.chart_down {

	flex: 1;
	/* 均分剩余空间 */

	width: 100%;
	/* 宽度自适应 */

}