.lnzi-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 85%;
  font-size: 16px;
  overflow: hidden;
  border-radius: 4px;
  transition: 0.3s;

  &--header {
    width: 100%;
    padding-top: 15px;
    text-align: center;
  }

  &--message {
    line-height: 1.5;
    padding: 15px 20px;
    text-align: center;

    &--has-title {
      color: #999;
      font-size: 14px;
    }
  }

  &--content, &--footer {
    background-color: #fff;
  }

  &--footer--buttons {
    display: flex;
  }

  &.lnzi-dialog--default {
    .lnzi-dialog--header {
      background-color: #fff;
    }
    .lnzi-dialog--footer {
      .lnzi-button {
        border:none!important;
        &:active {
          background-color: rgba(0, 0, 0, 0.3);
        }
        &.lnzi-dialog--confirm {
          border-right: 1px solid #f2f4f5!important;
          margin-right: 1px;
          .lnzi-button--text {
            color: #333;
          }
        }
      }
    }
  }

  &.lnzi-dialog--spacial {
    .lnzi-dialog--header {
      height: 50px;
      line-height: 50px;
      padding: 0;
      color: #fff;
    }
    .lnzi-dialog--footer--hasButton {
      padding: 15px 0 30px;
    }
    .lnzi-dialog--message {
      padding: 15px;
    }
    .lnzi-dialog--footer {
      display: flex;
      justify-content: center;
      &:after {
        display: none;
      }
      .lnzi-button {
        width: 130px;
        height: 40px;
        line-height: 40px;
        border-radius: 5px;
        &.lnzi-dialog--cancel {
          margin-left: 20px;
        }
      }
    }
  }

  &-bounce-enter {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.9);
  }

  &-bounce-leave-active {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.9);
  }
}
