.add-graphics-course-page {
  position: relative !important;
  .box {
    margin-bottom: 52px !important;
  }
  .ant-radio-group {
    display: flex;
    flex-direction: column;

    .radio-item {
      margin-bottom: 12px;

      .text {
        color: #333;
      }
      .sub-text {
        color: #999;
      }
    }

    .ant-radio {
      vertical-align: top;
      padding-top: 2px;
    }
  }

  .form {
    margin-top: 16px;
    padding: 0 16px;
    .label {
      display: inline-block;
      text-align: right;
      width: 85px;
    }
    .required {
      position: relative;

      &::before {
        position: absolute;
        content: '*';
        color: red;
        left: 5px;
        top: 6px;
      }

      &.label::before {
        top: 0;
      }
    }
    .course-catalog {
      margin-bottom: 16px;
      margin-top: 16px;
    }
    .course-ware {
      display: flex;
      align-items: center;
      margin-bottom: 4px;

      &__img {
        width: 24px;
        margin-right: 4px;
      }

      &__name {
        color: #333;
      }
    }

    .flex {
      display: flex;
    }

    .course-cover {
      margin-left: 14px;
      display: flex;
      margin-top: 24px;

      &__wrap {
        position: relative;

        .img-content {
          margin-top: 8px;
          margin-right: 20px;
          width: 299px;
          height: 169px;
          position: relative;

          img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 4px;
          }
          .tag {
            border-radius: 2px;
            background: #d6d6d6;
            font-size: 12px;
            height: 18px;
            width: 52px;
            text-align: center;
            color: #fff;
            position: absolute;
            top: 8px;
            left: 8px;
          }
        }

        .opt-btns {
          .default-btn {
            margin-left: 14px;
            color: #2966ff;
            cursor: pointer;

            &.disabled {
              color: #ccc;
              cursor: not-allowed;
            }
          }

          .ant-upload-list {
            display: none;
          }

          .tips {
            margin-top: 8px;
            color: #999;
          }
        }
      }
    }

    // .cover-url__wrap {
    //   .img-content {
    //     width: 298px;
    //     height: 172px;

    //     img {
    //       width: 100%;
    //       height: 100%;
    //       object-fit: contain;
    //       border-radius: 4px;
    //     }
    //   }
    //   .empty-img {
    //     width: 298px;
    //     height: 172px;
    //     border: 1px dashed #EBEBEB;
    //     border-radius: 4px;
    //     padding: 12px;
    //     color: #999;
    //     padding: 52px 24px;
    //     text-align: center;
    //   }

    //   .opt-btns {
    //     margin-top: 8px;
    //     display: flex;
    //     align-items: center;

    //     .tips {
    //       margin-left: 12px;
    //       color: #999;
    //     }
    //   }
    // }

    .select-student {
      align-items: center;
      margin-left: 24px;
      margin-top: 8px;

      .has-selected {
        margin-left: 12px;
        color: #333;
      }
    }

    .sub-content {
      margin-left: 85px;
      margin-top: 4px;

      .tips {
        margin-left: 4px;
        color: #999;
      }
    }
  }

  .footer {
    position: fixed;
    left: 196px;
    bottom: 0;
    height: 58px;
    width: ~'calc(100% - 218px)';
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 72px;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    z-index: 999;
    .ant-btn {
      margin-left: 10px;
    }
  }
}
