
#toasts {
  position: fixed;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 1500;
}

.toast-child {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  color: #929292;
  font-size: 14px;
  min-width: 500px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  transform: translateX(150%);
  animation: slideIn 4s ease-in-out;
}

.toast-child i {
  font-size: 1.5rem;
  margin-right: 1rem;
}

.toast-child span {
  display: block;
  font-weight: 800;
  color: #000;
}

.toast-child.info {
  border-left: 5px solid var(--toast-primary-color);
}

.toast-child.info i {
  color: var(--toast-primary-color);
}

.toast-child.success {
  border-left: 5px solid var(--toast-success-color);
}

.toast-child.success i {
  color: var(--toast-success-color);
}

.toast-child.error {
  border-left: 5px solid var(--toast-error-color);
}

.toast-child.error i {
  color: var(--toast-error-color);
}

@keyframes slideIn {
  0% {
    transform: translateX(150%);
  }

  10%,
  90% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}