/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--nutui-overlay-bg-color, var(--nutui-color-mask, rgba(0, 0, 0, 0.7)));
  z-index: var(--nutui-overlay-zIndex, 1000);
}

.nut-overflow-hidden {
  overflow: hidden !important;
}

@keyframes nut-fade-in {
  0% {
    opacity: 0;
  }
  1% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes nut-fade-out {
  0% {
    opacity: 1;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.nut-overlay-slide-enter-active, .nut-overlay-slide-appear-active {
  animation-fill-mode: both;
  animation-name: nut-fade-in;
  animation-duration: var(--nutui-overlay-animation-duration, 0.3s);
}
.nut-overlay-slide-exit-active {
  animation-fill-mode: both;
  animation-name: nut-fade-out;
  animation-duration: var(--nutui-overlay-animation-duration, 0.3s);
}

[dir=rtl] .nut-overlay,
.nut-rtl .nut-overlay {
  left: auto;
  right: 0;
}

@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 */
  background-color: rgba(0, 0, 0, 0);
  /* #endif */
  /* #ifndef harmony */
  --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: 96px;
  max-width: 60%;
  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, 13px 16px);
  word-break: break-all;
  background: var(--nutui-toast-inner-bg-color, var(--nutui-color-mask, rgba(0, 0, 0, 0.7)));
  border-radius: var(--nutui-toast-inner-border-radius, var(--nutui-radius-xl, 12px));
  color: var(--nutui-toast-font-color, #ffffff);
}
.nut-toast-inner-descrption {
  max-width: 68.2%;
}
.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-size-s, 12px);
}
.nut-toast-inner-large {
  font-size: var(--nutui-font-size-l, 16px);
}
.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: #ffffff;
  text-align: var(--nutui-toast-inner-text-align, center);
  line-height: 20px;
}
.nut-toast-title {
  color: #ffffff;
  font-size: var(--nutui-toast-title-font-size, 16px);
  font-weight: 600;
  text-align: var(--nutui-toast-inner-text-align, center);
  line-height: 22px;
}
.nut-toast .nut-icon {
  width: 24px;
  height: 24px;
  color: #ffffff;
}
.nut-toast-icon-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3px 0 5px;
  color: #ffffff;
}
.nut-toast-icon-wrapper-icon {
  width: 24px;
  height: 24px;
}
.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;
}