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

    .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;
    .basic-info__wrap {
      .title {
        font-size: 16px;
        color: #333;
        font-weight: 500;
        line-height: 22px;
        margin-bottom: 16px;
        margin-left: -16px;
        position: relative;
        padding-left: 14px;
        &::before {
          content: '';
          position: absolute;
          left: 0px;
          top: 50%;
          transform: translateY(-50%);
          width: 4px;
          height: 10px;
          background: #2966ff;
        }
      }
    }
    .label {
      display: inline-block;
      text-align: right;
      width: 120px;
      flex-shrink: 0;
      &.special {
        line-height: 32px;
      }
    }
    .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;
      display: flex;
      .switch-box {
        .switch-item {
          display: flex;
          align-items: center;
          margin-bottom: 16px;
          &:last-child {
            margin-bottom: 0;
          }
          .switch-label {
            color: #666;
          }
          .switch-tip {
            color: #999;
            margin-left: 4px;
          }
        }
      }
    }
    .require {
      color: red;
    }
    .introduce {
      display: flex;
      flex-direction: row;
    }
    .day {
      display: flex;
      flex-direction: row;
      margin-bottom: 16px;
      .select-day {
        margin-bottom: 4px;
        .mark-day {
          color: #2966ff;
        }
      }
    }
    .allow-tourist-join {
      display: flex;
      margin-bottom: 16px;
      .desc {
        color: #999;
        margin-left: 12px;
      }
      .content {
        display: flex;
      }
    }
    .course-ware {
      display: flex;
      align-items: center;
      margin-bottom: 4px;

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

      &__name {
        color: #333;
      }
    }

    .flex {
      display: flex;
    }
    .course-cover {
      display: flex;
      margin-top: 16px;

      &__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;
          }
        }
      }
    }

    .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;
    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;
    }
  }
}

.offline-dropdown-box {
  .rc-virtual-list-scrollbar {
    display: none;
    position: absolute;
    left: 20000px;
  }
}
