.add-video-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:24px;
      margin-top:24px;
    }
    .course-ware {
      display: flex;
      align-items: center;
      margin-bottom: 4px;
      &__index {
        width: 18px;
      }
      &__img {
        width: 24px;
        margin-right: 4px;
      }

      &__name {
        color: #333;
      }
    }

    .flex {
      display: flex;
    }
    
    .cover-url__wrap {
      .img-content {
        width: 298px;
        height: 172px;
        position: relative;
        .tag {
          border-radius: 2px;
          background: rgba(51, 51, 51, .2);
          font-size: 12px;
          height: 18px;
          width: 52px;
          text-align: center;
          color: #FFF;
          position: absolute;
          top: 8px;
          left: 8px;
        }
        img {
          width: 100%;
          height: 100%;
          object-fit: contain;
        }
      }
      .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-bottom: 8px;
        .span {
          color: #ccc;
          margin-left: 8px;
        }
        .defalut-span {
          cursor: pointer;
          color: #2966ff;
        }
        .tips {
          margin-top: 8px;
          color: #999;
        }
      }
    }

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

      .has-selected {
        margin-left: 12px;
        color: #333;
      }
    }
    .upload-video {
      display: flex;
      margin-bottom: 24px;
      .sub-content {
        margin-top: 4px;
      .btn-wrap {
        display: flex;
        .course-ware--empty {
          margin-left: 12px;
          line-height: 28px;
        }
      }
        .tips {
          margin-top: 8px;
          color: #999;
        }
      }
    }

    .course-chapter-list-wrap {
      position: relative;
      margin-left: 85px;
      border: 1px solid #E8E8E8;
      width: 630px;
      .course-chapter-total {
        height: 40px;
        font-size: 14px;
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: 500;
        color: #333333;
        z-index: 10;
        background: #fff;
        width: 628px;
        text-indent: 16px;
        line-height: 40px;
      }
      .course-chapter-list {
        margin-top: 8px;
        max-height: 247px;
        min-height: 130px;
        overflow-y: auto ;
        border-radius: 4px;
        padding: 20px 16px;
        .course-ware {
          display: flex;
          align-items: center;
          margin-bottom: 22px;
          color: #666;
          &:last-child {
            margin-bottom: 0;
          }
          &__img {
            width: 24px;
            margin-right: 4px;
            margin-left: 16px;
          }
    
          &__name {
            color: #333;
            width: 356px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
          }
          .course-chapter__opt {
            display: flex;
            color: #2966ff;
            width: 168px;
            .line {
              color: #bfbfbf;
              margin-left: 4px;
              margin-right: 4px;
            }
            .delete,
            .rename,
            .up,
            .down {
              cursor: pointer;
            }
            .up,
            .down {
              &.disabled {
                color: rgba(204, 204, 204, 1);
              }
            }
          }
        }
      }
    }
  }

  .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 #ccc2c2;
    z-index: 999;
    .ant-btn {
      margin-left: 10px;
    }
  }
}

.chapter-popover {
  .ant-popover-message-title {
    padding-left: 0;
  }
  .ant-form-item {
    margin-bottom: 0!important;
  }
  .ant-form-item-explain.ant-form-item-explain-error {
    height: 24px;
  }
  .ant-form-item-explain {
    min-height: 0;
  }
}