
.courseDialog {
  padding: 20px !important;
  max-width: 295px !important;
  min-width: 295px !important;
  border-radius: 20px !important;
  overflow: hidden;
  background-color: #fff;
  box-sizing: border-box;

  &::before {
    content: '';
    width: 100%;
    height: 49px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background: linear-gradient(to bottom, #FFEAEE, #ffffff);
  }

  .iconClose {
    position: relative;
    width: 18px;
    height: 19px;
    position: absolute;
    top: 23px;
    right: 20px;
    z-index: 9;
    background: url('./icon-close.png') no-repeat center;
    background-size: contain;
  }

  .title {
    position: relative;
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    line-height: 25px;
    text-align: center;
  }

  .content {
    padding: 20px 0 25px;
    font-size: 16px;
    color: #666666;
    line-height: 24px;
    text-align: center;
  }

  .popupBtnGroup {
    display: flex;
    align-items: center;

    &>button {
      flex: 1;
      font-weight: 500;
      font-size: 16px !important;

      &:last-child {
        margin-left: 15px;
      }
    }

    :global {
      --van-button-default-height: 40px;
      .van-button--primary {
        background: #FE2451 !important;
        border-color: #FE2451 !important;
      }
    }
  }
}