@import '~antd/es/style/themes/default.less';

.main {
  display: flex;
  width: 1920px;
  height: 970px;
  padding-top: 10px;
}

.leftContainer {
  display: flex;
  flex-direction: column;
  width: 540px;
  height: 100%;
  padding: 54px 40px;
  background-image: url('./images/box-bg1.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.topContainer {
  width: 100%;
  height: 70px;
  padding-left: 40px;
  font-weight: 600;
  font-size: 20px;
  line-height: 70px;
  background-image: url('./images/bg1.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.itemContainer {
  width: 100%;
  height: 210px;
  margin-top: 10px;
  padding: 0 20px;
  background: #040f24;
}

.bottomContainer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
}

.bottomItem {
  flex: 1;
  height: 110px;
  padding: 10px;
  background: #040f24;
  p {
    margin-bottom: 0;
    font-size: 20px;
  }
  h2 {
    margin-bottom: 0;
    color: #0070c0;
    font-size: 60px;
    line-height: 60px;
    text-align: right;
  }
}
.bottomItemRight {
  flex: 1;
  height: 110px;
  padding: 10px 20px 10px 10px;
  background-image: url('./images/bg2.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  p {
    margin-bottom: 0;
    font-size: 20px;
  }
  h2 {
    margin-bottom: 0;
    color: #ffc000;
    font-size: 60px;
    line-height: 60px;
    text-align: right;
  }
}

.centerContainer {
  display: flex;
  flex-direction: column;
  width: 894px;
  height: 100%;
}
.centerTopContainer {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 40px 30px 0 30px;
}
.centerTopChart {
  width: 100%;
  height: 320px;
  margin-bottom: 20px;
  // background: red;
}
.centerTopTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  h4 {
    margin-bottom: 0;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
  }
  p {
    margin-bottom: 0;
    font-size: 20px;
    span {
      color: #ffc000;
      font-size: 40px;
    }
  }
}
.centerTopItemContainer {
  display: flex;
  justify-content: space-between;
}
.centerTopItem {
  flex: 1;
  height: 120px;
  margin-right: 10px;
  padding: 10px;
  text-align: center;
  background: #040f24;
  p {
    margin-bottom: 15px;
    font-size: 20px;
  }
  h2 {
    display: inline-block;
    margin: 0 auto;
    margin-bottom: 0;
    color: #ffc000;
    font-size: 40px;
    line-height: 40px;
    cursor: pointer;
  }
}

.centerBottomContainer {
  width: 100%;
  height: 410px;
  padding: 50px 44px;
  background-image: url('./images/bg8.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.centerBottomBg {
  width: 100%;
  height: 100%;
  background-image: url('./images/bg9.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.centerBottomTitle {
  padding: 10px 0 0 40px;
  font-weight: 600;
  font-size: 20px;
}

.rightContainer {
  width: 560px;
}
.rightTopContainer {
  width: 100%;
  height: 430px;
  padding: 50px 44px;
  background-image: url('./images/bg3.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.rightTopTitle {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  padding-left: 40px;
  font-weight: 600;
  font-size: 20px;
  line-height: 50px;
  background-image: url('./images/bg4.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.device-tip {
  font-size: 14px;
  .normal {
    position: relative;
    &::after {
      position: absolute;
      top: -2px;
      left: -30px;
      width: 20px;
      height: 20px;
      background: #92d050;
      border-radius: 50%;
      content: '';
    }
  }
  .error {
    position: relative;
    margin-left: 60px;
    &::after {
      position: absolute;
      top: -2px;
      left: -30px;
      width: 20px;
      height: 20px;
      background: #ff0000;
      border-radius: 50%;
      content: '';
    }
  }
}
.rigthTopItemContainer {
  display: grid;
  // grid-template-rows: repeat(5, 80px);
  grid-template-columns: repeat(2, auto);
  gap: 10px 10px;
  height: 270px;
  margin-top: 5px;
  padding-bottom: 10px;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  &::-webkit-scrollbar {
    display: none;
  }
  .item {
    position: relative;
    padding: 10px 20px 0;
    font-size: 18px;
    background: #031024;
    .code {
      position: relative;
      padding-left: 30px;
      &::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background-color: #00ffff;
        content: '';
      }
    }
    &::after {
      position: absolute;
      top: 20px;
      right: 10px;
      width: 40px;
      height: 40px;
      background: #92d050;
      border-radius: 50%;
      content: '';
    }
    &.error::after {
      background: #ff0000;
    }
  }
}
.rightTopItem {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 70px;
  margin-right: 5px;
  background: #040f24;
  p {
    display: flex;
    align-items: center;
    height: 100%;
    margin-bottom: 0;
    padding-left: 10px;
    font-size: 18px;
    span {
      color: #ffc000;
      font-size: 20px;
    }
  }
}
.rightTopBottomContainer {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}
.rightTopBottomItem {
  flex: 1;
  height: 190px;
  margin-right: 10px;
  padding: 10px 0 0 10px;
  background-image: url('./images/bg5.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  p {
    margin-bottom: 0;
    font-size: 16px;
  }
}

.rightBottomContent {
  width: 100%;
  height: 100%;
  background-image: url('./images/bg7.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.rightBottomContainer {
  width: 100%;
  height: 526px;
  padding: 50px 44px;
  background-image: url('./images/bg6.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.rightBottomTitle {
  padding: 10px 0 0 65px;
  font-weight: 600;
  font-size: 20px;
}
