.dialog-wraper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  user-select: none;
  perspective: 1300px;
  font-size: 0;
  text-align: center;
  transition: all 0.3s;
}
.dialog-wraper:not(:first-child) {
  background: rgba(0, 0, 0, 0);
}
.dialog-wraper:after {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.dialog-wraper .dialog-header {
  padding: 10px 10px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}
.dialog-wraper .dialog-close {
  padding: 0;
  background: transparent;
  color: #aaa;
  font-size: 26px;
}
.dialog-wraper .dialog-title {
  flex: 1;
}
.dialog-wraper .dialog-body {
  text-align: left;
  font-size: 16px;
  background: #fff;
  display: inline-block;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  overflow: hidden;
  overflow-y: auto;
  transition: all 0.3s;
  opacity: 0;
  transform-origin: 50% 0;
  vertical-align: middle;
  transform: rotateX(5deg);
}
.dialog-wraper.show .dialog-body {
  opacity: 1;
  transform: rotateX(0);
}
.dialog-wraper.close {
  background: rgba(0, 0, 0, 0);
}
.dialog-wraper.close .dialog-body {
  transform: rotateX(-5deg);
}
.dialog-wraper.hide {
  background: rgba(0, 0, 0, 0) !important;
  display: none;
}
.dialog-wraper.hide .dialog-body {
  transform: rotateX(-5deg);
}
.dialog-wraper.dialog-type-loading {
  background: rgba(0, 0, 0, 0.4);
  z-index: 100001;
}
.dialog-wraper.dialog-type-loading .dialog-body {
  padding: 15px 20px 15px 48px;
  background: url(imgs/spin.svg) #fff;
  background-size: 44px 44px;
  background-position: 5px center;
  background-repeat: no-repeat;
}
.dialog-wraper.dialog-type-dialog .dialog-body {
  min-width: 300px;
  min-height: 150px;
}
.dialog-wraper.dialog-type-alert .dialog-body {
  min-width: 300px;
  min-height: 150px;
}
.dialog-wraper.dialog-type-alert .dialog-content {
  display: flex;
  flex-direction: column;
}
.dialog-wraper.dialog-type-alert .dialog-content button {
  background: var(--light-bg);
  color: #333;
}
.dialog-wraper.dialog-type-alert .alert-msg {
  padding: 50px;
  flex: 1;
  border-bottom: 1px solid var(--light-border);
}
.dialog-wraper.dialog-type-tip {
  background: rgba(0, 0, 0, 0);
  z-index: 100001;
  position: relative;
  margin: 20px;
}
.dialog-wraper.dialog-type-tip .dialog-body {
  background-size: 44px 44px;
  background-position: 5px center;
  background-repeat: no-repeat;
  position: relative;
}
.dialog-wraper.dialog-type-tip .dialog-body .dialog-content {
  padding: 15px 20px 15px 15px;
  display: flex;
  align-items: center;
}
.dialog-wraper.dialog-type-tip .dialog-body .dialog-content:before {
  margin-right: 10px;
  position: relative;
  bottom: -1px;
  font-size: 18px;
}
.dialog-wraper.dialog-type-tip .dialog-body .dialog-content.success {
  background: #e9f9e9;
  color: green;
}
.dialog-wraper.dialog-type-tip .dialog-body .dialog-content.error {
  background: #ffeaea;
  color: red;
}
.dialog-wraper.dialog-type-tip .dialog-body .dialog-content.warn {
  background: #ffeddd;
  color: #e68835;
}
#haodian-tip-dialog-container {
  z-index: 1000001;
  position: fixed;
  left: 50%;
  top: 0;
  bottom: 0;
  pointer-events: none;
  padding-top: 60px;
  text-align: right;
  transform: translateX(-50%);
}
