@import '@/assets/bundle.scss';

.y-modal {
  position: fixed;
  z-index: 900;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(black, .6);
  animation: bounceInUp .8s ease-in-out;

  .y-modal-wrapper {
    @extend %flex-center;
    height: 80vh;
  }
}

.y-promopt {
  @extend %bgwhite;
  width: 600rpx;
  padding: 40rpx;
  border-radius: 10rpx;
  box-shadow: 0 2rpx 4rpx rgba(black, .3);
  border: 1rpx solid $maincolor;
  @extend %ft30;
  color: $text1;
  box-sizing: border-box;
  // .title {
  // }
  .textarea {
    border: 1rpx solid $border1;
    @extend %pd20;
    @extend %ft30;
    height: 150rpx;
    border-radius: 10rpx;
    margin: 40rpx 0 80rpx;
    width: 100%;
    box-sizing: border-box;
  }
  .btn-group {
    @extend %flex-between;
  }
  .btn-cancel, .btn-confirm {
    @extend %btn-base;
  }
  .btn-cancel {
    margin-right: 20rpx;
    background: $danger;
  }
}

.y-confirm-check {
  @extend %ft32;
  @extend %bgwhite;
  border-radius: 6rpx;
  width: 600rpx;
  .title {
    @extend %ft36;
    padding: 32rpx 0 20rpx;
    text-align: center;
  }
  .icon-text {
    color: $text3;
    @extend %flex-center;
    // line-height: 0;
    margin-top: 20rpx;
    .ipt{
      margin-bottom: 5rpx;
      border: 1rpx solid #cdcdcd;
      border-radius: 10rpx;
    }
  }
  .icon-check {
    @extend %bg-no-repeat-center;
    background-size: 60%;
    width: 30rpx;
    height: 30rpx;
    border: 1rpx solid $border1;
    border-radius: 50%;
    margin-right: 10rpx;
  }
  .checked {
    @extend %icon-checked-main;
    border-color: $maincolor;
  }
  .body {
    padding-bottom: 48rpx;
  }
  .text {
    @extend %ft30;
    color: $text3;
    text-align: center;
  }
  .btn-group {
    box-sizing: border-box;
    border-top: 1rpx solid #eee;
    @extend %flex-left;
  }
  .btn-cancel, .btn-confirm {
    flex: 1;
    @extend %ft36;
    height: 100rpx;
    @extend %flex-center;
  }
  .btn-cancel {
    color: $text3;
    border-right: 1rpx solid #eee;
  }
  .btn-confirm {
    color: $maincolor;
  }
}