.wasabi-message {
  display: none;
  width: auto;
  max-width: 300px;
  border-radius: 5px;
  overflow: visible;
  padding: 10px 20px 10px 20px;
  position: fixed;
  top: 10%;
  left: calc(50% - 150px);
  z-index: 9999;
  white-space: pre-wrap;
  transition: opacity 2s;
  box-sizing: border-box;
}

.wasabi-message.success {
  background-color: #f0f9eb;
  border-color: #e1f3d8;
  color: var( --success-color);
}

.wasabi-message.error {
  background-color: #fef0f0;
  border-color: #fde2e2;
  color: var(--danger-color);
}

.wasabi-message.alert {
  background-color: #fdf6ec;
  border-color: #faecd8;
  color: var(--warning-color);
}

.wasabi-message .notice {
  font-size: 16px;
  font-weight: normal;
  position: relative;
  transform: translateY(10px);
  animation: wasabi-confirm-text 0.5s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.wasabi-message .notice:before {
  content: "111111";
  color: transparent;
  width: 32px;
  display: inline-block;
  height: 32px;
  background-size: 32px;
  background-repeat: no-repeat;
  position: absolute;
  top: 0px;
  left: -40px;
}

.wasabi-confirm {
  width: 300px;
  position: absolute;
  z-index: 9999;
  display: none;
  left: 0;
  right: 0;
  margin: auto;
  top: 10%;
  transform-origin: center;
  max-width: 80%;
  max-height: 80%;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0px 3px 40px 0px rgba(0, 0, 0, 0.4);
}

.wasabi-confirm .wasabi-confirm-title {
  padding: 15px 0;
  opacity: 0;
  color: var(--color);
  transform: translateY(10px);
  animation: wasabi-confirm-text 0.5s ease forwards;
  animation-delay: 0.3s;
  font-weight: bold;
  font-size: 15px;
  text-align: center;
}

.wasabi-confirm .wasabi-confirm-message {
  font-size: 14px;
  text-align: center;
  color: var(--color);
  line-height: 23px;
  padding: 0 10px;
  opacity: 0;
  transform: translateY(10px);
  animation: wasabi-confirm-text 0.5s ease forwards;
  animation-delay: 0.4s;
}

.wasabi-confirm .buttons {
  display: flex;
  align-items: center;
  border-top: 1px solid #f1f1f1;
  justify-content: center;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(10px);
  animation: wasabi-confirm-text 0.5s ease forwards;
  animation-delay: 0.5s;
}

.wasabi-confirm .buttons button {
  flex: 1;
  color: #999;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 12px;
}

.wasabi-confirm .buttons button.cancel {
  border-right: 1px solid #f1f1f1;
}

.wasabi-confirm .buttons button.ok {
  color: var(--primary-color);
}

@keyframes wasabi-confirm-text {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

.wasabi-loading {
  position: absolute;
  float: left;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.1;
  z-index: 99;
}

.wasabi-load-icon {
  position: absolute;
  left: 50%;
  top: 20%;
  background-image: url("../../img/loading.gif");
  background-size: 16px 16px;
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  z-index: 999;
}