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

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

@keyframes toRight {
  0% {
    background-position: -40px 0;
  }
}

.leftContainer {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 1434px;
  height: 100%;
  padding: 1px 14px;
}
.leftWrapper {
  height: 100%;
  overflow: auto;
  -ms-overflow-style: none;  /* IE 和 Edge */
  scrollbar-width: none;  /* Firefox */
}
.leftWrapper::-webkit-scrollbar {
  display: none;  /* Chrome, Safari 和 Opera */
}

.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%;
}

.Factorycard {
  width: 100%;
  padding-top: 10px;
  padding-left: 20px;
  margin-top: 10px;
  background: #041f5a;
}
.itemContainer {
  width: 100%;
  padding: 10px 0 0 10px;
  display: flex;
  flex-wrap: wrap;
}
.deviceRow {
  display: flex;
  width: 100%;
  &:nth-child(2n + 1) {
    margin-top: 77px;
    flex-direction: row;
  }
  &:nth-child(2n) {
    flex-direction: row-reverse;
    margin-top: 77px;
    .deviceContainer::after {
      left: -55px;
      transform: rotate(180deg);
    }
  }
  &:first-child {
    margin-top: 0;
  }
  &:last-child {
    .deviceContainer:last-child::after{
      display: none;
    }
  }
}
.round {
  position: absolute;
  top: 15px;
  left: 260px;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background: #1be223;
  text-shadow: 0 0 6px #9fc4f5, 0 0 6px #9fc4f5;
}
.deviceContainer {
  width: calc(100% / 4);
  position: relative;
  &::after {
    content: '';
    position: absolute;
    top: 51px;
    left: 280px;
    width: 52px;
    height: 49px;
    background-image: url("./images/right.svg");
    animation: toRight 1s infinite linear;
    background-size: inherit;
    background-position: 0 0;
  }
  &:last-child::after {
    transform: rotate(90deg) !important;
    top: 177px !important;
    left: 130px !important;
  }
}
.deviceInner {
  width: 275px;
  height: 160px;
  padding: 10px;
  background: #062c69;
  margin-right: 10px;
  margin-bottom: 10px;
  position: relative;
}
.deviceTop {
  display: flex;
}
.deviceImg {
  width: 80px;
  height: 70px;
  margin-right: 10px;
  background-image: url('./images/device.jpg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.deviceTopright {
  p {
    font-size: 17px;
    line-height: 17px;
    margin-bottom: 0 !important;
    &:first-child {
      font-weight: 600;
      font-size: 21px;
      line-height: 21px;
    }
  }
}
.deviceBottom {
  font-size: 14px;
  line-height: 20px;
  margin-top: 10px;
  span {
    padding-right: 8px;
  }
  & > div {
    display: flex;
    & > div {
      flex: 1;
    }
  }
}
.process {
  :global {
    .ant-progress-text {
      color: #fff !important;
    }
  }
}
.statusNum {
  font-size: 18px;
  color: #c97152;
}

.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: 17px;
  }
  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: 18px;
    line-height: 18px;
  }
  h2 {
    margin-bottom: 0;
    color: #ffc000;
    font-size: 60px;
    line-height: 60px;
    text-align: right;
  }
}

.rightContainer {
  width: 560px;
}
.rightTopContainer {
  width: 100%;
  height: 288px;
  background: #001855;
  margin-bottom: 10px;
}
.rightTopTitle {
  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%;
}
.rigthTopItemContainer {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}
.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 {
  width: 100%;
  background: #001855;
  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: #001855;
  :global {

    .ant-table-header > table {
      border-top: none !important;
    }
    .ant-table, .ant-card {
      background: transparent !important;
      
    }
    .ant-table-body::-webkit-scrollbar {
      display: none;  /* Chrome, Safari 和 Opera */
    }
    .ant-table-body {
      -ms-overflow-style: none;  /* IE 和 Edge */
      scrollbar-width: none;  /* Firefox */
    }
    .ant-table-cell-scrollbar {
      display: none;
    }
    .ant-table-container {
      border: none !important;
    }
    .ant-table-thead > tr > th {
      color: #0d72c3;
      background: transparent;
      border-bottom: 1px solid #0d72c3;
    }
    .ant-table-cell {
      border-right: none !important;
    }
    .ant-table-tbody > tr > td {
      color: #4d9baa;
      border-bottom: none;
    }
    .ant-empty-img-simple {
      display: none;
    }
    .ant-empty-normal {
      color: #4d9baa;
    }
    tr.ant-table-placeholder {
      pointer-events: none;
    }
    .ant-badge-status-error {
      display: none;
    }
    .ant-badge-status-text {
      color: #ff4d4f;
    }
    .ant-table-tbody > tr > td.ant-table-cell-row-hover {
      background: transparent !important;
    }
  }
}
.rightCenterContainer {
  background: #001855;
  margin-bottom: 10px;
  width: 100%;
  padding: 15px 10px 0 10px;
  height: 148px;
  line-height: 18px;
  display: flex;
  flex-wrap: wrap;
}
.rightCenterInner {
  width: calc(100% / 2);
  padding-left: 30px;
}
.rightLabel {
  font-weight: 600;
  font-size: 18px;
}
.rightValue {
  font-weight: 600;
  font-size: 17px;
}
.rightBottomContainer {
  width: 100%;
  height: 526px;
  background: #001855;
}
.rightBottomTitle {
  padding: 10px 0 0 65px;
  font-weight: 600;
  font-size: 20px;
}
