.fui-toast,
.fui-toast .fui-toast-box {
  transition: 230ms cubic-bezier(0.21, 1.02, 0.73, 1);
  display: flex;
}
#fui-toast {
  position: fixed;
  inset: 32px;
  z-index: 999999999999;
  pointer-events: none;
}
.fui-toast {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  justify-content: center;
}
.fui-toast.top-eff-show .fui-toast-box {
  animation: 0.35s cubic-bezier(0.21, 1.02, 0.73, 1) forwards slideTopShow;
}
.fui-toast.top-eff-hidden {
  z-index: 0;
}
.fui-toast.top-eff-hidden .fui-toast-box {
  animation: 0.45s cubic-bezier(0.06, 0.71, 0.55, 1) forwards slideTopHidden;
}
.fui-toast-success .fui-toast-icon svg {
  width: 20px;
  height: 20px;
  color: #61d345;
}
.fui-toast-error .fui-toast-icon svg {
  width: 20px;
  height: 20px;
  color: #ff4b4b;
}
.fui-toast-info .fui-toast-icon svg {
  width: 20px;
  height: 20px;
  color: #0ea5e9;
}
.fui-toast-warning .fui-toast-icon svg {
  width: 20px;
  height: 20px;
  color: #f59e0b;
}
.fui-toast.dark-mode .fui-toast-box {
  background-color: #404040;
  color: #fff;
}
.fui-toast .fui-toast-box {
  position: relative;
  flex-direction: column;
  pointer-events: auto;
  min-width: 200px;
  max-width: 450px;
  background-color: #fff;
  border-radius: 8px;
  line-height: 1.3;
  padding: 12px 10px;
  will-change: transform;
  box-shadow: 0 10px 15px -3px rgba(27, 27, 27, 0.1),
    0 4px 6px -4px rgba(27, 27, 27, 0.1);
  color: #000;
}

.dark .fui-toast .fui-toast-box {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
  background-color: rgb(30 41 59/1);
}

.fui-toast .fui-toast-box::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 100%;
  width: 100%;
  height: var(--fui-toast-spacing);
}
.fui-toast .fui-toast-box.iconCss {
  padding-left: 48px;
}
.fui-toast .fui-toast-box.custom2 {
  padding-right: 44px;
}
.fui-toast .fui-toast-box.custom2.iconCss {
  /* padding-left: 56px; */
}
.fui-toast .fui-toast-box.custom2 .fui-toast-head {
  margin-bottom: unset;
}
.fui-toast .fui-toast-box.custom2 .fui-toast-close {
  position: absolute;
  top: 11px;
  right: 16px;
}
.fui-toast .fui-toast-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.fui-toast .fui-toast-title {
  font-weight: 500;
}
.fui-toast .fui-toast-close {
  position: relative;
  margin-left: auto;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: 0.25s linear;
}
.fui-toast .fui-toast-close::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 40px;
  height: 42px;
}
.fui-toast .fui-toast-close:hover {
  background-color: #e5e7eb;
}

.dark .fui-toast .fui-toast-close:hover {
    background-color: #525e70;
}
.fui-toast .fui-toast-close:hover svg {
  color: #374151;
}
.fui-toast .fui-toast-close svg {
  width: 12px;
  height: 12px;
  transition: 0.25s linear;
  color: #9ca3af;
}
.fui-toast .fui-toast-icon {
  position: absolute;
  left: 16px;
  top: 10px;
  font-size: 18px;
  animation: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.12s forwards
    zoomInCenter;
}
.fui-toast .fui-toast-icon .fui-loading-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid #9ca3af;
  border-top-color: transparent;
}
.fui-toast-body {
  font-size: 0.875rem;
}
.dark .fui-toast .fui-toast-box {
  color: white !important;
}
.fui-loading-spinner {
  width: 80px;
  height: 80px;
  border: 7px solid #1dc071;
  border-top-color: transparent;
  border-radius: 50%;
  animation: 1s linear infinite GJWA5;
}
@keyframes GJWA5 {
  to {
    transform: rotate(360deg);
  }
}
@keyframes slideTopShow {
  0% {
    transform: translate3d(0, -200%, 0) scale(0.6);
    opacity: 0.5;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
}
@keyframes slideTopHidden {
  0% {
    transform: translate3d(0, 0, -1px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, -150%, -1px) scale(0.6);
    opacity: 0;
  }
}
@keyframes zoomInCenter {
  0% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
