@import '../common/index.less';

.ph-dialog-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.ph-dialog {
  width: 308px;
  min-height: 186px;
  border-radius: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.ph-dialog-confirm {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  .ph-dialog-content {
    padding: 20px 32px;
    color: rgb(32, 43, 67);
    font-size: 18px;
    line-height: 24px;
    word-break: break-all;
    display: flex;
    align-items: center;
    flex: 1;
  }
  .ph-dialog-btn-area {
    display: flex;
    justify-content: space-between;
    padding: 0 16px 14px;
  }
  .ph-dialog-btn {
    width: 128px;
    height: 54px;
    text-align: center;
    line-height: 54px;
    font-size: 20px;
    border-radius: 28px;
  }
  .ph-dialog-cancelbtn {
    background: rgb(244, 246, 248);
    color: rgb(120, 130, 149);
  }
  .ph-dialog-confirmbtn {
    background: rgb(255, 180, 0);
    color: #fff;
  }
}

.ph-dialog-pad {
  width: @r * 308px;
  min-height: @r * 186px;
  border-radius: @r * 24px;

  .ph-dialog-confirm {
    .ph-dialog-content {
      padding: @r * 20px @r * 32px;
      font-size: @r * 18px;
      line-height: @r * 24px;
    }
    .ph-dialog-btn-area {
      padding: 0 @r * 16px @r * 14px;
    }
    .ph-dialog-btn {
      width: @r * 128px;
      height: @r * 54px;
      text-align: center;
      line-height: @r * 54px;
      font-size: @r * 20px;
      border-radius: @r * 28px;
    }
  }
}
