.b-confirm {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);

  .b-confirm-box {
    width: 460px;
    min-height: 100px;
    background: #FFFFFF;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);

    .b-confirm-btn-close {
      width: 24px;
      height: 24px;
      background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%239CA6B9' fill='none' fill-rule='evenodd'%3E%3Cpath d='M4 4l16 16M20 4L4 20'/%3E%3C/g%3E%3C/svg%3E") no-repeat center center;
      background-size: 100%;
      position: fixed;
      top: 20px;
      right: 20px;
      cursor: pointer;
    }

    .b-confirm-box-content {
      margin: 40px 15px 15px;
      min-height: 336px;

      .b-confirm-image {
        height: 150px;
        margin-bottom: 20px;

        &.b-confirm--default {
          background: url("../images/default.png") no-repeat center center;
          background-size: 50%;
        }

        &.b-confirm--info {
          background: url("../images/info.png") no-repeat center center;
          background-size: 50%;
        }

        &.b-confirm--delete {
          background: url("../images/delete.png") no-repeat center center;
          background-size: 70%;
        }

        img {
          display: block;
          height: 100%;
        }
      }

      .b-confirm-name {
        font-size: 24px;
        line-height: 38px;
        text-align: center;
        color: #000000;
      }

      .b-confirm-tips {
        font-size: 15px;
        line-height: 32px;
        text-align: center;
        color: #9CA6B9;
      }

      .b-confirm-buttons {
        text-align: center;
        margin: 20px auto;

        .b-confirm-button {
          margin: 0 20px;
        }
      }
    }
  }
}

.b-confirm-fade-enter-active {
  animation: confirm-fade-in .3s;
}

.b-confirm-leave-active {
  animation: confirm-fade-out .3s;
}

@keyframes confirm-fade-in {
  0% {
    transform: translate3d(0, -10px, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes confirm-fade-out {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, -10px, 0);
    opacity: 0;
  }
}
