/* iframe适配样式 - 通用样式 */
@font-face {
  font-family: 'PangMenZhengDao';
  src: url('../fonts/PangMenZhengDao.ttf');
}
/* 基础iframe样式 */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
  background: transparent;
  font-family: PangMenZhengDao;
  color: #DFE9FC;
}

/* 数据展示页面通用样式 */
.data-box {
  /* height: 100%; */
  height: calc(100% - 79px);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  /* gap: 10px; */
  /* padding: 10px; */
  box-sizing: border-box;
  color: #fff;
}

.left, .middle, .right {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* 左侧区域 */
.left {
  width: 15%;
  min-width: 200px;
}

/* 中间区域 */
.middle {
  width: 25.8%;
  margin: 0 19px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 右侧区域 */
.right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 内容区域 */
.box-content {
  flex: 1;
  overflow: hidden;
  background-color: rgba(17,43,73,0.3);
}

/* 标题样式 */
.box-title {
  width: 100%;
  height: 27px;
  margin-bottom: 5px;
  background-image: url('../images/title_bg.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  text-indent: 2em;
  font-size: 20px;
  line-height: 16px;
  letter-spacing: 2px;
  flex-shrink: 0;
}

.box-titleName {
  position: relative;
  /* top: -5px; */
}

/* 子区域样式 */
.middle-top, .middle-bottom {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.right-top, .right-bottom {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 首页特定样式 */
.container {
  height: 100vh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  /* padding: 0 50px; */
  background: transparent;
}

.side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* gap: 40px; */
  min-width: 240px;
  height: 100%;
  /* padding: 20px 0; */
}

.side-btn-container {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  /* padding: 20px 0; */
  height: 100%;
}

.center-middle {
  /* flex: 1; */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3vw;
  /* min-height: 320px; */
}

.chart {
  width: 350px;
  height: 320px;
  min-height: 320px;
}

.center-top {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 4vw;
  margin-top: 20px;
  width: 100%;
}

.center-bottom {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 5vw;
  /* margin-bottom: 20px; */
}

/* 按钮样式 */
.side-btn {
  width: 110px;
  height: 110px;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  background-image: url('../images/ball.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  font-family: AlimamaShuHeiTi;
}

.side-btn.big {
  width: 160px;
  height: 160px;
  background-image: url('../images/ball_select.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.bottom-btn {
  font-size: 24px;
  line-height: 24px;
  font-weight: 400;
  cursor: pointer;
  letter-spacing: 4px;
  text-align: center;
  background: linear-gradient(to bottom, #41ECEB, #E6F8FF);
  background-clip: text;
  color: transparent;
  margin-bottom: 5px;
}

.bottom-btn-container {
  width: 13vw;
  height: 7.8vh;
  background-image: url('../images/itemBg.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tab样式 */
.tab-box {
  position: relative;
  z-index: 100;
  /* margin-bottom: 20px; */
}

.tab-item {
  height: 100%;
  margin-top: 30px;
  cursor: pointer;
  color: #C6D0E6;
}

.tab-item.active {
  background-image: url('../images/tab_selected.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 -15px;
}

.tab-item-title {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 3px;
} 