.cpItem {
  border-radius: 12px;
  border: 1px solid var(--main-Line);
  background: var(--main-bg);
  box-shadow: 0px 2px 6px -2px rgba(17, 12, 34, 0.08);
  width: 100%;

  &Inner {
    font-size: 12px;
    padding: 24px;
    position: relative;
  }

  &:hover {
    border-color: var(--Color-base-Purple);
  }

  &Badges {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
  }

  &Badge {
    border-radius: 67px;
    //border-bottom: 1px solid #DEDEEC;
    border-right: 1px solid #DEDEEC;
    //background: #FFF;
    //box-shadow: 0 1px 2px -1px rgba(17, 12, 34, 0.08);
    font-size: 12px;
    padding: 8px 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    &.clickable {
      cursor: pointer;
    }

    &Service {
      text-transform: uppercase;
      padding-left: 2px;
    }

    &IP {
      cursor: pointer;
    }
  }

  &BadgeGreen {
    @extend .cpItemBadge;
    color: #27BE69;
  }

  &BadgePurple {
    @extend .cpItemBadge;
    color: #9E7DFF;
  }

  &BadgeBlack {
    @extend .cpItemBadge;
    color: #40405B;
  }

  &BadgeSemiBlue {
    @extend .cpItemBadge;
    color: #5050FF;
  }

  &Columns {
    display: grid;
    grid-template-columns: 1.5fr repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  &Column {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
  }

  &ColumnGpu {
    @extend .cpItemColumn;
    margin-right: 48px;

    &Name {
      border-radius: 8px;
      border: 1px solid var(--main-Line);
      background: var(--main-bg);
      color: var(--Color-primary-base);
      text-align: center;
      font-size: 14px;
      font-weight: 500;
      line-height: 24px;
      padding: 0 16px;
      height: 42px;
      line-height: 42px;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
    }

    &Split {
      align-items: flex-end;
      display: flex;
      justify-content: space-between;
      margin-top: 16px;
      gap: 41px;
    }

    &Flops {
      strong {
        color: #5050FF;
        font-size: 20px;
        font-weight: 700;
      }
    }

    &GpuRam,
    &GpuBw {
      color: #5050FF;
      font-weight: 700;
    }

    &Cuda,
    &GpuBw {
      margin-top: 4px;
    }
  }

  &ColumnCpu {
    @extend .cpItemColumn;

    &Motherboard,
    &Cpu {
      font-weight: 700;
      margin-top: 16px
    }

    &Pcie,
    &CpuRam {
      margin-top: 8px;
    }
  }

  &ColumnNetwork {
    @extend .cpItemColumn;

    &Upload,
    &Download,
    &Duration,
    &Reliability,
    &PayerEmail,
    &PayerName,
    &Image {
      margin-top: 10px;

      svg {
        transform: translateY(3px);
      }
    }

    &Image {
      display: flex;
      align-items: center;
      gap: 5px;

      strong {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
      }
    }
  }

  &ColumnStatus {
    @extend .cpItemColumn;
    align-items: flex-end;
    box-sizing: border-box;
    text-align: right;

    &Actions {
      box-sizing: border-box;
      display: flex;
      justify-content: space-between;
      gap: 16px;
      flex-direction: column;

      button {
        background: var(--Color-base-white);
        border-radius: 8px;
        border: 1px solid #DEDEEC;
        box-shadow: 0 1px 2px -1px rgba(17, 12, 34, 0.08);
        flex: 1;
        min-width: auto;
        box-sizing: border-box;
        font-family: Montserrat;
        font-size: 14px;
        font-weight: 600;
        line-height: 24px;
        color: var(--main-Label);

        &:hover {
          background: #f8f8f8;
        }

        svg {
          height: 16px;
          width: 16px;
        }
      }
    }

    &Text {
      background: #EEF;
      border-radius: 8px;
      box-shadow: 0 1px 2px -1px rgba(17, 12, 34, 0.08);
      box-sizing: border-box;
      font-size: 14px;
      font-weight: 600;
      padding: 6px 12px;
      text-align: center;
      width: 100%;

      &Blue {
        border: 1px solid #5050FF;
        color: #5050FF;
      }

      &Red {
        border: 1px solid #F2415A;
        color: #F2415A;
      }
    }
  }
}

.deleteBtn {
  width: 40px;
  padding: 11px;
  max-height: 40px;
}

.ipBtn {
  padding: 7px;
}

.groupBtn {
  display: flex;
  align-items: center;
  gap: 12px;
}

.completed {
  border-color: var(--Color-positive-base) !important;
  background: var(--Color-positive-50) !important;
  color: var(--Color-positive-base) !important;
}

.tooltip {
  display: flex;
  align-items: center;
}

.btnDelete {
  cursor: pointer;
}

.modelName {
  font-size: 14px;
  font-weight: 600;
  margin-top: 24px;
}
