.uploadModal {
  padding-top: 40px;
}

.mb12 {
  margin-bottom: 12px;
}

.formModal {
  min-height: 45vh;
  padding: 0 40px 0;

  .formSpace {
    gap: 40px 24px !important;
  }

  .previewModal {
    position: relative;
    width: 320px;
    height: 180px;
    margin-bottom: 12px;
    border: 1px solid #DCE2F1;
    border-radius: 10px;
    overflow: hidden;

    &:hover {
      border-color: #198CFE;
    }

    .image {
      width: 320px;
      height: 180px;

      img {
        width: inherit;
        height: fit-content;
        min-height: 100%;
      }
    }

    .titleType {
      position: absolute;
      top: 6px;
      left: 6px;
      width: 22px;
      height: 22px;
      z-index: 99;
    }

    &:hover {
      .iconUploadDelete {
        opacity: 1;
        display: block;
      }
    }

    .iconUploadDelete {
      position: absolute;
      top: 7px;
      right: 7px;
      width: 27px;
      height: 27px;
      z-index: 99;
      cursor: pointer;
      opacity: 0;
      display: none;
    }

    .commonType {
      display: flex;
      align-items: center;
      position: absolute;
      bottom: 0;
      left: 0;
      font-size: 12Px;
      font-weight: 600;
      color: #FFFFFF;
      height: 43px;
      // background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
      width: 100%;
      border-radius: 0 0 10px 10px;
      justify-content: space-between;
      padding-right: 12px;
      padding-left: 12px;
      z-index: 99;
      background: rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(1px);

      .changeCover {
        background: #FFFFFF;
        border-radius: 4px;
        color: #131415 !important;
        --n-height: 24px !important;
        --n-padding: 0 8px !important;
        font-size: max(14px, 12Px);
      }

      :global {
        .n-switch {
          margin-left: 8px;
        }

        .n-switch__rail {
          background-color: #ccc;
        }

        .n-switch.n-switch--active .n-switch__rail {
          background-color: var(--n-rail-color-active);
        }
      }
    }
  }

  .formItem {
    width: 320px;

    :global {

      .n-input {
        margin-bottom: 12px;
      }

      .n-input,
      .n-base-selection {
        border-radius: 8px;
        font-size: 18px;

        .n-input__input-el,
        .n-input__input-el::placeholder,
        .n-tag__content {
          font-size: 18px;
        }
      }

      .n-form-item-feedback-wrapper {
        min-height: 12px;
      }

      .n-upload-trigger+.n-upload-file-list {
        margin-top: 12px;
      }
    }
  }
}

.btnGroup {
  padding: 32px 0;

  :global {
    .n-button {
      height: 47px;
      min-width: 156px;
    }
  }
}



.uploadFile {
  margin-bottom: 12px;

  :global {
    .n-upload-dragger {
      padding: 0;
      border: none;
    }
  }

  .uploadBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 320px;
    height: 180px;
    padding-top: 20px;
    background: #F9FAFD;
    border-radius: 10px;
    border: 1px solid #DCE2F1;
    font-size: 18px;
    color: #9EADD9;

    &:hover {
      border-color: #198CFE;
    }

    .iconUploadAdd {
      width: 50px;
      height: 50px;
      margin-bottom: 20px;
    }
  }
}


.uploadCover {
  width: 920px;

  :global {

    .n-card-header {
      padding-top: 0;
      padding-bottom: 0;

      .n-card-header__close {
        margin-top: 65px;
      }
    }
  }
}
