.training {

  padding: 78px 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;

  >h4 {
    width: 100%;
    font-weight: 600;
    border-bottom: 1px solid var(--Grey-800);
    padding: 20px 0;
    margin-bottom: 20px;
  }

  .grid-item {
    .favor {
      .pinkBtn {
        border-radius: 100px;
        padding: 4px 10px 2px 10px;
        display: flex;
        align-items: center;
        gap: 4px;
      }
    }

    .progress {
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      background: rgba(0, 0, 0, 0.6);
      width: 100%;
      height: 100%;
      backdrop-filter: blur(6px);

      .con {
        display: block;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        text-align: center;

        i {
          width: 24px;
          height: 24px;
          display: inline-block;
        }

        p {
          font-weight: 600;
          font-size: 14px;
        }

        em {
          padding: 10px;
          font-size: 12px;
          font-weight: 500;
          color: var(--Grey-400);
        }
      }
    }
  }

  .search {
    border-radius: 6px;
    background: var(--Grey-800);
    color: var(--Grey-500);
    width: 230px;
    display: flex;
    padding: 7px 10px;
    justify-content: flex-start;
    align-items: center;

    i {
      font-size: 16px;
      margin: 0;
    }

    input {
      width: calc(100% - 30px);
      height: 100%;
      background: transparent;
      border: none;
      /* padding: 0 10px; */
      color: var(--Grey-500);
      font-size: 14px;

      &:-webkit-autofill,
      &:-webkit-autofill:hover,
      &:-webkit-autofill:focus,
      &:-webkit-autofill:active {
        -webkit-text-fill-color: var(--Grey-500);
        /* 원하는 글자색 */
        -webkit-box-shadow: 0 0 0px 1000px var(--Grey-500) inset;
        /* 원하는 배경색 */
        box-shadow: 0 0 0px 1000px var(--Grey-800) inset;
        transition: background-color 5000s ease-in-out 0s;
      }
    }
  }

  button {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    line-height: 140%;

    i {
      font-size: 16px;
      margin-right: 4px;
    }
  }


  .tabBox {
    width: 100%;
    margin-bottom: 22px;
    display: flex;
    color: var(--fff);
    justify-content: space-between;
    border-bottom: 1px solid var(--Grey-800);
    margin-top: 60px;
    align-items: flex-start;

    div {
      display: flex;
      align-items: center;
      gap: 6px;

      >ul {
        display: flex;
        gap: 20px;
        margin-bottom: -1px;
        align-items: center;

        >h4 {
          font-weight: 600;
          line-height: 140%;
        }

        >li>a {


          font-size: 16px;
          font-weight: 500;
          background: none;
          color: var(--Grey-600);
          padding: 12px 4px;
          border-bottom: 3px solid transparent;
          cursor: pointer;
          display: flex;
          align-items: center;
          gap: 6px;
          font-size: 14px;

          >i {
            font-size: 22px;
          }

          >span em {
            font-size: 12px;
            font-weight: 300;
          }

        }

        .active {
          color: var(--fff);
          border-bottom: 3px solid var(--fff);
        }

        h4.pc {
          color: var(--fff);
        }
      }
    }
  }

  .tab {
    background: #000000;
    height: 31px;
    border-radius: 15px;
    margin: 0 14px 0 0;
    display: flex;

    div {
      padding: 6px 16px;
      border-radius: 15px;
      color: var(--fff);
      font-size: 16px;
      cursor: pointer;
      display: flex;
      align-items: center;
    }

    &.active {
      background: var(--Pink-900);
      color: var(--fff);
    }

    i {
      font-size: 20px;
      margin: 0 8px 0 0;
    }
  }

  .dataset_list {
    /* margin: 0; */
    /* display: none; */






    &.active {
      display: flex;
    }
  }
}

/* trainingDatasets */
.trainingDatasets {
  >.rsWrapper {
    margin: 110px auto 50px auto;
    text-align: right;

    .topWrap {
      margin-bottom: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 36px;
      max-width: 1140px;
      margin: 0 auto 60px;

      i.icon-arrow_left_large {
        font-size: 24px;
        cursor: pointer;
      }

      .previewWrap {
        border-radius: 6px;
        overflow: hidden;
        position: relative;
        width: 148px;
        height: 148px;
        background: url(../image/empty.jpg);

        .dim {
          content: '';
          background: rgba(0, 0, 0, 0.30);
          display: block;
          position: absolute;
          left: 0;
          right: 0;
          top: 0;
          bottom: 0;
        }

        i.icon-add_small {
          font-size: 24px;
          position: absolute;
          left: 50%;
          top: 50%;
          transform: translate(-50%, -50%);
          z-index: 1;
        }

        img {
          display: block;
          position: relative;
          z-index: 2;
        }
      }

      .inputWrap {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: left;
        position: relative;
        width: calc(100% - 244px);

        >div {
          display: inline-flex;
          justify-content: space-between;
          border: 1px solid var(--white-opacity-10);
          border-radius: 5px;
          padding: 7px 16px;
          position: relative;
          align-items: flex-start;
          gap: 20px;

          &.active {
            border-color: var(--gray-3200);
          }

          label {
            position: absolute;
            opacity: 0.7;
            cursor: default;
            top: 10px;
            font-weight: 600;
          }

          i {
            color: var(--Grey-400);
            display: flex;
            align-items: center;
            line-height: 24px;
            font-size: 20px;

            &:hover {
              color: var(--fff);
              cursor: pointer;
            }

          }
        }

        >p.share {
          display: flex;
          justify-content: flex-end;
          gap: 8px;
          font-size: 14px;
          align-items: center;
          position: absolute;
          right: 16px;
          bottom: -29px;

          .onOff[type="checkbox"] {
            width: 38px;
            height: 20px;

            &:checked:before {
              left: 19px;
              /* top: 0; */
            }

            &:before {
              width: 15px;
              height: 15px;
              /* top: 1px; */
            }
          }
        }

        input[type=text] {
          margin-left: 54px;
          font-weight: 500;

          &:-webkit-autofill,
          &:-webkit-autofill:hover,
          &:-webkit-autofill:focus,
          &:-webkit-autofill:active {
            -webkit-text-fill-color: var(--Grey-100);
            /* 원하는 글자색 */
            -webkit-box-shadow: 0 0 0px 1000px var(--Grey-100) inset;
            /* 원하는 배경색 */
            box-shadow: 0 0 0px 1000px var(--Grey-950) inset;
            transition: background-color 5000s ease-in-out 0s;
          }

        }

        textarea {
          height: 92px;
          padding-left: 174px;
          width: calc(100% - 100px);
          font-weight: 500;

          &:-webkit-autofill,
          &:-webkit-autofill:hover,
          &:-webkit-autofill:focus,
          &:-webkit-autofill:active {
            -webkit-text-fill-color: var(--Grey-100);
            /* 원하는 글자색 */
            -webkit-box-shadow: 0 0 0px 1000px var(--Grey-100) inset;
            /* 원하는 배경색 */
            box-shadow: 0 0 0px 1000px var(--Grey-950) inset;
            transition: background-color 5000s ease-in-out 0s;
          }
        }

        button.greyBtn500 {
          padding: 4px 14px;
          font-size: 14px;
          border-radius: 3px;
        }
      }
    }

    .chooseFile {
      min-height: 547px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      border: 1.2px dashed #7F7F7F;
      box-shadow: 0px 0px 5.872px 0px rgba(0, 0, 0, 0.15);
      border-radius: 8px;
      padding: 24px 0;
      position: relative;

      .dragzone {
        display: flex;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        position: absolute;
        height: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;

        p {
          font-size: 14px;
          font-weight: 700;

          a {
            text-decoration: underline;
          }
        }

        >span {
          font-size: 12px;
          color: var(--Grey-400);
          display: block;
          font-weight: 500;
        }

      }

      ul {
        display: grid;
        gap: 14px;
        width: 100%;
        padding: 0 24px;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        max-width: 100%;

        li {
          display: block;
          position: relative;
          border-radius: 6px;
          overflow: hidden;

          img {
            aspect-ratio: 1 / 1;
            display: block;
            object-fit: contain;
            min-width: 100%;
            min-height: 100%;
            background-color: #000;
          }

          i.icon-close_small {
            position: absolute;
            top: 10px;
            right: 10px;
            cursor: pointer;
            background: var(--Grey-800);
            border-radius: 50%;
          }
        }
      }

    }

    .btnWrap {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;

      .greyBtnfffOpa1 {
        font-size: 14px;
        font-weight: 500;
      }
    }
  }


}

/* newDatasetPop */
.newDatasetPop {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(19, 19, 19, 0.80);
  backdrop-filter: blur(10px);
  z-index: 10;
  display: none;

  .pop {
    padding: 36px 52px;
    display: flex;
    flex-direction: column;
    gap: 37px;

    .tit {
      display: flex;
      justify-content: space-between;
      font-size: 20px;
      font-weight: 700;

      span {
        display: flex;
        gap: 6px;

        i {
          font-size: 24px;
        }
      }

      >i {
        cursor: pointer;
        font-size: 24px
      }
    }

    label {
      font-weight: 600;
      width: 100%;
      text-align: left;
      margin-bottom: 12px;

      i.icon-info {

        color: var(--Grey-500);
      }
    }

    input[type=text] {
      background: var(--Grey-850);
      border-radius: 8px;
      line-height: 40px;
      margin-bottom: 24px;
      padding: 0 16px;
      font-weight: 500;
    }

    textarea {
      background: var(--Grey-850);
      padding: 10px 16px;
      color: var(--fff);
      font-size: 16px;
      border-radius: 8px;
      margin-bottom: 40px;
      font-weight: 500;

      &::placeholder {
        color: var(--Grey-400);
      }
    }

    .send {
      float: right;
      font-weight: 700;
    }


  }

  .deletePop {
    display: none;
  }

}

.TrainDatasetPop {
  .pop {
    max-width: 1045px;
    width: calc(100% - 40px);
    max-height: 92%;
    overflow: auto;

    .previewWrap {
      display: flex;
      text-align: left;
      gap: 22px;
      line-height: 140%;
      align-items: flex-start;


      img {
        width: 105px;
        display: block;
        border-radius: 6px;
      }

      >div {
        &.imgWrap {
          min-width: 105px;
          min-height: 105px;
          object-fit: cover;
        }

        >h6 {
          font-weight: 700;
          margin-bottom: 10px;
        }

        p {
          font-weight: 500;
        }

        >span {
          display: block;
          margin-top: 13px;
          color: var(--Grey-500);
          font-size: 14px;
          font-weight: 700;
          line-height: 1;


          i {
            font-size: 16px;
            margin-right: 7px;
          }
        }
      }

    }

    .infoWrap {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      justify-content: space-between;

      >li {
        width: 420px;
        max-width: calc(50% - 12px);

        input[type=text] {
          margin: 0;
        }
      }
    }

    .onOffWrap {
      display: flex;
      flex-direction: column;
      gap: 24px;

      >div {
        display: flex;
        gap: 26px;

        label {
          margin-bottom: 0;
        }

      }
    }
  }

  .retryPop {
    z-index: 1;
    width: auto;
    display: none;
  }

}

@media (max-width: 768px) {

  .fileManager {
    #fileManager {

      padding: 56px 20px 0;
    }

    .tabBox {
      margin-top: 0;
      align-items: center;

      >div {

        i {
          font-size: 24px;
        }
      }
    }

  }
}