.container {
  width: 1433px;
  height: 723px;
  position: relative;
  background: rgba(8, 24, 63, 0.9);
  border-radius: 20px;
  overflow: hidden;

  .tabBar {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;

    .tabBtn {
      background: rgba(30, 107, 180, 0.5);
      border-radius: 10px;
      padding: 8px 20px;
      color: #fff;
      font-family: 'DingTalk JinBuTi';
      font-size: 22px;
      cursor: pointer;
      transition: all 0.3s;

      &.active {
        background: rgba(30, 107, 180, 1);
        // background: rgb(0, 153, 247);
      }
    }
  }

  .mapInfo {
    position: absolute;
    width: 239px;
    height: 196px;
    right: 90px;
    bottom: 30px;
    z-index: 1;
    padding: 15px;
    background: rgba(12, 60, 112, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(20px);

    .infoItem {
      width: 100%;
      display: flex;
      align-items: flex-start;

      .label {
        color: #bccee9;
        font-size: 18px;
        text-align: left;
        min-width: 90px;
      }

      .value {
        color: #fff;
        font-family: 'D-DIN';
        font-size: 18px;
        text-align: left;
      }
    }
  }

  .mapInfoRoad {
    position: absolute;
    width: 239px;
    height: 262px;
    right: 90px;
    bottom: 30px;
    z-index: 1;
    padding: 15px;
    background: rgba(12, 60, 112, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(20px);
  }

  .mapContainer {
    // width: 1430px;
    // height: 723px;
    width: 100%;
    height: 100%;
  }

  // 标记样式
  .marker {
    .markerContent {
      padding: 4px 8px;
      background: rgba(0, 0, 0, 0.6);
      border-radius: 4px;
      color: #fff;
      font-size: 14px;
      white-space: nowrap;
    }

    .markerIcon {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      margin: 4px auto 0;

      &.normal {
        background: #00ff00;
      }

      &.warning {
        background: #ff0000;
      }
    }
  }

  .monitorStats {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 902px;
    height: 60px;
    background: rgba(60, 92, 143, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;

    .statGroup {
      padding: 0 20px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .icon {
      width: 22px;
      height: 22px;

      img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }

      &.largeIcon {
        width: 34px;
        height: 34px;
      }
    }

    .name {
      color: #bccee9;
      font-size: 14px;
      line-height: 1;
    }

    .valueWrapper {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .count {
      font-family: 'D-DIN';
      font-size: 20px;
      font-weight: 700;
      line-height: 1;

      &.count0 {
        color: #ffffff;
      }
      &.count1 {
        color: #ffffff;
      }
      &.count2 {
        color: #ffe546;
      }
      &.count3 {
        color: #ff9b6e;
      }
      &.count4 {
        color: #ff8888;
      }
    }

    .unit {
      color: #bccee9;
      font-size: 14px;
      line-height: 1;
    }
  }

  .collapseBtn {
    position: absolute;
    top: 40px;
    right: 350px;
    width: 30px;
    height: 82px;
    background: rgba(12, 60, 112, 0.7);
    border-radius: 10px 0 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s;

    .btnText {
      display: flex;
      flex-direction: column;
      align-items: center;

      span {
        color: rgb(179, 214, 247);
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;
      }
    }

    .collapseIcon {
      color: rgb(179, 214, 247);
      font-size: 12px;
      transition: all 0.3s;
    }

    &.collapsed {
      right: 0;
      .collapseIcon {
        transform: rotate(180deg);
      }
    }
  }

  .bridgeList {
    position: absolute;
    top: 20px;
    right: 0;
    width: 352px;
    height: 479px;
    background: rgba(12, 60, 112, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.3s;
    z-index: 2;

    &.collapsed {
      width: 0;
      padding: 0;
      overflow: hidden;
    }

    .listHeader {
      height: 50px;
      display: flex;
      align-items: center;
      padding: 0 20px;
      color: #cbedff;
      font-family: 'DingTalk JinBuTi';
      font-size: 22px;
    }

    .listContent {
      height: 410px;
  
      overflow-y: auto;
      padding: 0 20px;

      .bridgeItem {
        width: 313px;
        height: 60px;
        background: rgba(67, 177, 255, 0.13);
        border-radius: 18px;
        margin-bottom: 10px;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;

        .bridgeName {
          width: 230px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          color: #e4edff;
          font-size: 20px;
          font-weight: 700;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }

        .locationIcon {
          width: 22px;
          height: 22px;
          border-radius: 50%;
          background: linear-gradient(
            180deg,
            rgb(28, 192, 255),
            rgb(82, 148, 255)
          );
          display: flex;
          align-items: center;
          justify-content: center;
          margin-right: 8px;
          //   margin-left: 128px;
          cursor: pointer;
          flex-shrink: 0;
        }
      }
    }
  }
}

.item {
  width: 136px;
  height: 82px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 8px;
  background-image: url(@/assets/images/mapCard.png);
  background-size: 100% 100%;
}

.num {
  color: rgb(255, 255, 255);
  font-family: D-DIN;
  line-height: 1;
  font-size: 24px;
  font-weight: 700;
}

.unit {
  color: rgb(225, 237, 255);
  font-size: 16px;
  margin-left: 4px;
  line-height: 1;
}

.name {
  color: rgb(255, 255, 255);
  font-size: 16px;
}
.window {
  box-sizing: border-box;
  border: 2px solid rgba(64, 146, 217, 0.95);
  border-radius: 10px;
  background: rgb(3, 85, 135);
  width: 180px;

  &::after {
    position: absolute;
    content: '';
    /**三角形 */
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: rgb(3, 85, 135) transparent transparent transparent;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
  }

  &::before {
    position: absolute;
    content: '';
    /**三角形 */
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: rgba(64, 146, 217, 0.95) transparent transparent transparent;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 998;
  }
}
.markWrap {
  max-width: 130px;
  height: 90px;
  cursor: pointer;

  .name {
    text-align: center;
    width: 100%;
    height: 40px;
    background-color: rgb(30, 37, 84);
    border-radius: 10px;
    padding: 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
   line-height: 40px;
  }

  .iconWrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;

    img {
      width: 40px;
      height: 40px;
    }
  }
}