/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
@keyframes rotation {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
.nut-toast {
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1300;
}
.nut-toast-overlay-default {
  --nutui-overlay-bg-color: rgba(0, 0, 0, 0);
}
.nut-toast-overlay-default-taro {
  /* #ifdef harmony dynamic*/
  background-color: rgba(0, 0, 0, 0);
  /* #endif */
  /* #ifndef harmony dynamic*/
  --nutui-overlay-bg-color: rgba(0, 0, 0, 0);
  /* #endif */
}
.nut-toast-inner {
  position: absolute;
  top: var(--nutui-toast-inner-top, 50%);
  transform: translate(0, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: var(--nutui-toast-inner-min-width, scale-px(88px));
  max-width: var(--nutui-toast-inner-max-width, scale-px(200px));
  box-sizing: border-box;
  font-size: var(--nutui-toast-text-font-size, 14px);
  text-align: var(--nutui-toast-inner-text-align, center);
  padding: var(--nutui-toast-inner-padding, var(--nutui-spacing-base));
  word-break: break-all;
  background: var(--nutui-toast-inner-bg-color, rgba(0, 0, 0, 0.9));
  border-radius: var(--nutui-toast-inner-border-radius, var(--nutui-radius-xs));
  color: var(--nutui-toast-font-color, #ffffff);
}
.nut-toast-has-icon .nut-toast-inner {
  min-width: var(--nutui-toast-inner-has-icon-min-width, scale-px(97px));
  max-width: var(--nutui-toast-inner-has-icon-max-width, scale-px(225px));
}
.nut-toast-inner-normal {
  word-break: normal;
  word-wrap: normal;
}
.nut-toast-inner-break-word {
  word-break: normal;
  word-wrap: break-word;
}
.nut-toast-inner-small {
  font-size: var(--nutui-font-text-small);
}
.nut-toast-inner-large {
  font-size: var(--nutui-font-text-large);
}
.nut-toast-center {
  top: var(--nutui-toast-inner-top, 48%);
}
.nut-toast-bottom {
  top: var(--nutui-toast-inner-top, 80%);
}
.nut-toast-top {
  top: var(--nutui-toast-inner-top, 20%);
}
.nut-toast-text {
  color: var(--nutui-toast-font-color, var(--nutui-white, #ffffff));
  text-align: var(--nutui-toast-inner-text-align, center);
  font-weight: var(--nutui-toast-text-font-weight, 400);
  /* #ifdef harmony dynamic*/
  line-height: normal;
  /* #endif */
  /* #ifndef harmony dynamic*/
  line-height: scale-px(20px);
  /* #endif */
  height: auto;
}
.nut-toast-title {
  color: var(--nutui-toast-font-color, var(--nutui-white, #ffffff));
  font-size: var(--nutui-toast-title-font-size, 16px);
  font-weight: var(--nutui-toast-title-font-weight, 600);
  text-align: var(--nutui-toast-inner-text-align, center);
  /* #ifdef harmony dynamic*/
  line-height: normal;
  /* #endif */
  /* #ifndef harmony dynamic*/
  line-height: scale-px(22px);
  /* #endif */
}
.nut-toast .nut-icon {
  width: scale-px(20px);
  height: scale-px(20px);
  color: var(--nutui-toast-icon-color, var(--nutui-toast-font-color, var(--nutui-white, #ffffff)));
}
.nut-toast-icon-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: scale-px(10px) 0;
  color: var(--nutui-toast-icon-color, var(--nutui-toast-font-color, var(--nutui-white, #ffffff)));
}
.nut-toast-icon-wrapper-icon {
  width: scale-px(20px);
  height: scale-px(20px);
}
.nut-toast-rtl {
  left: auto;
  right: 0;
}
.nut-toast-rtl-inner {
  left: auto;
  right: 50%;
}

[dir=rtl] .nut-toast,
.nut-rtl .nut-toast {
  left: auto;
  right: 0;
}
[dir=rtl] .nut-toast-inner,
.nut-rtl .nut-toast-inner {
  left: auto;
  right: 50%;
}

.toast-fade-enter-active {
  transition: opacity 0.3s;
}

.toast-fade-leave-active {
  transition: opacity 0.3s;
}

.toast-fade-enter-from,
.toast-fade-leave-to {
  opacity: 0;
}