// 模态框组件
.cts-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
  .cts-modal-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: -1;
  }

  .cts-modal-home {
    // width: 662px;
    width: 560px;
    border-radius: 10px;
    background-color: $color-white;
    font-size: $font-size-30;
    padding: 40px 44px 50px 44px;

    .cts-modal-title{
      text-align: center;
      font-size: $font-size-38;
      color: #222222;
    }

    .cts-modal-content {
      .content-text {
        text-align: center;
        margin-top: 40px;
      }
    }

    .cts-modal-footer {
      width: 100%;
      display: flex;
      margin-top: 50px;

      view, cover-view {
        flex: 1;
        height: 72px;
        line-height: 72px;
        text-align: center;
        border-radius: 10px;
      }

      .btn-return {
        color: $theme;
        background: $theme-sub2;
        margin-right: 30px;
      }

      .btn-submit {
        color: $color-white;
        background-color: $theme;

        &.btn-cancel {
          color: $color-white;
          background-color: $theme;
        }
      }
    }
  }
}
