/* TOAST.CSS */

/* toast message container — centered bottom-middle */
.toast-container {
  position: fixed;
  left: 50%;
  bottom: 4rem;
  width: fit-content;
  min-width: 18rem;
  transform: translateX(-50%);
  z-index: 9999;
}

/* toast message, style as you need */
.toast {
  opacity: 0;
  min-height: 2rem;
  margin-top: -2.5rem;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid #e7e5e4; /* stone-200 */
  text-align: center;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
  transform: scale(0.9) translateY(50px);
  transition: margin-top 0.5s, transform 0.5s, opacity 0.5s;
}

/* how the toast transitions when it's transitioned in */
.toast.open {
  margin-top: 0.5rem;
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Create different toasts by providing extraClasses and styling them here. */
.toast.success {
  background-color: #79f04a;
  color: #000000;
  border: 1px solid #356622;
}
.toast.failure {
  background-color: #ed68ff;
  color: #000000;
  border: 1px solid #642d6b;
}
.toast.warning {
  background-color: #ffbe46;
  color: #000000;
  border: 1px solid #8a612d;
}
.toast.error {
  background-color: #fc6363;
  color: #000000;
  border: 1px solid #a13131;
}