@import '../../style/index';

.@{prefix-cls}-sbzj {
  &-overview {
    width: 860px;
    height: 240px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;

    &-top {
      height: 64px;
      display: flex;
      justify-content: center;
      text-align: center;
      align-items: center;
      gap: 15px;
      position: relative;
      color: var(--modal-title-color);

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

      &-dashed {
        width: 1px;
        height: 20px;
        position: absolute;
        left: 50%;
        bottom: -20px;
        border-radius: 8px;
        border: 1px dashed #0fb964;
      }
    }
    &-dashedBox {
      width: 100%;
      height: 20px;
      margin-top: 20px;
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
      border: 1px dashed #21ea85;
      border-bottom: 0px;
    }
    &-devices {
      width: calc(100% + 100px);
      display: flex;
      justify-content: space-between;
      align-items: flex-start; /* 底部对齐 */
      transform: translateX(-50px);

      &-item {
        width: 100px;
        text-align: center;
        color: var(--modal-title-color);
        position: relative;

        &-name {
          overflow: hidden;
        }

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

        &-dashed {
          width: 1px;
          height: 20px;
          position: absolute;
          left: 50%;
          top: -20px;
          border: 0.1px dashed #21ea85;
        }
      }
    }
  }
}
