// Toast overlay styles
.dnxte-toast-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

// Toast notification styles
.dnxte-toast-noti {
  position: fixed;
  right: unset;
  left: 50%;
  width: fit-content;
  transform: translate(-50%, -50%);
  top: 50%;
  background: #1a1a1a;
  color: #fff;
  padding: 20px 30px !important;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  font-weight: 500;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  min-width: 300px;
  border: 0 !important;
  margin: 0 !important;

  &.show {
    opacity: 1;
  }

  &.success {
    background-color: #46b450;
  }

  &.error {
    background-color: #d63638;
  }

  // Progress bar animation
  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    animation: progressBar 3s linear forwards;
    border-radius: 0 0 10px 10px;
    width: 100%;
  }
}

@keyframes progressBar {
  from {
    width: 100%;
  }
  to {
    width: 0;
  }
}