.container {
  position: fixed;
}

.containerNoMask {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%)
}

.containerShowMask {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999
}

.container .toast-bg {
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, .5);
  position: absolute;
  top: 0;
  left: 0
}

.container .toast-top {
  flex-direction: column-reverse
}

.container .toast-right {
  flex-direction: row
}

.container .toast-bottom {
  flex-direction: column
}

.container .toast-left {
  flex-direction: row-reverse
}

.container .toast {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 400rpx;
  min-width: 280rpx;
  min-height: 88rpx;
  background: rgba(0, 0, 0, .7);
  border-radius: 12rpx;
  color: #fff;
  font-size: 28rpx;
  line-height: 40rpx;
  box-sizing: border-box;
  padding: 30rpx 50rpx;
  z-index: 999
}

.container .toast .toast-icon {
  margin-top: 20rpx;
  margin-bottom: 20rpx
}

.container .toast .toast-icon-loading {
  animation: loading-fadein 1.5s linear 0s infinite
}

.container .toast .toast-text {
  display: inline-block;
  text-align: center
}

.container .toast .toast-text-right {
  display: inline-block;
  text-align: center;
  margin-left: 20rpx
}

.container .toast .toast-text-left {
  display: inline-block;
  text-align: center;
  margin-right: 20rpx
}

.container .toast .toast-text-top {
  margin-bottom: 10rpx
}

@keyframes loading-fadein {
  0% {
      transform: rotate(0)
  }

  100% {
      transform: rotate(360deg)
  }
}