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

.@{prefix-cls}-tabs {
  display: flex;
  gap: 16px;
  color: var(--modal-title-color);
  font-size: 14px;
  &-item {
    cursor: pointer;
    &.active {
      border: 1px solid var(--blue-color);
      color: var(--blue-color);
    }
  }
}

.@{prefix-cls}-overview {
  display: flex;
  gap: 16px;

  &-left {
    height: 100%;
    width: 400px;

    &-img {
      margin-bottom: 16px;
      img {
        width: 100%;
        height: 207px;
      }
    }
  }
  &-right {
    height: 100%;
    width: calc(100% - 416px);
  }
  &-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  &-hot {
    height: 381px;

    &-btns {
      .ant-radio-button-wrapper {
        background: transparent;
        border: 1px solid var(--modal-head-split-line-color);
        color: var(--modal-title-color);

        &::before {
          display: none;
        }
      }
      .ant-radio-button-wrapper:first-child {
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
      }
      .ant-radio-button-wrapper:last-child {
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
      }
      .ant-radio-button-wrapper-checked:not(
          .ant-radio-button-wrapper-disabled
        ) {
        border-color: var(--blue-color);
      }
    }

    &-summary {
      display: flex;
      justify-content: space-around;
      align-items: center;
      height: 60px;
    }
  }

  &-manage {
    height: 322px;

    &-bottom {
      margin-top: 14px;
      overflow: hidden;

      &-item {
        display: flex;
        align-items: center;
        gap: 24px;
        margin-bottom: 12px;
        &-left {
          width: 85px;
          img {
            display: block;
            width: 58px;
            height: 58px;
            margin: 0 auto;
          }
        }

        &-right {
          flex: 1;

          &-item {
            height: 26px;
            padding-left: 24px;
            position: relative;
            color: var(--modal-title-color);
            margin: 7px 0;
            display: flex;
            justify-content: space-between;

            > div[class*='blue'] {
              color: #1677ff;
            }
            > div[class*='green'] {
              color: #0fb964;
            }
            > div[class*='cyan'] {
              color: #2facff;
            }

            img {
              display: block;
              width: 258px;
              height: 18px;
              position: absolute;
              left: 0;
              bottom: 0;
            }
          }
        }
      }
    }
  }
  &-rightbottom {
    color: var(--modal-title-color);

    &-progress {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 12px;
      &-item {
        height: 106px;
        overflow-y: hidden;
        position: relative;

        > div:first-child {
          padding-bottom: 4px;
          text-align: center;
        }
      }
      &-desc {
        position: absolute;
        left: 50%;
        bottom: 8px;
        transform: translateX(-50%);
        text-align: center;
        color: #9b9fa8;
      }
    }
  }
}
