.toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1805;
  width: 350px;
  max-width: calc(100% - 2rem);
  font-size: 0.875rem;
  pointer-events: auto;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.toast-header {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  color: #333;
  background-color: #f8f8f8;
  border-bottom: 1px solid #f2f2f2;
  border-top-left-radius: calc(0.5rem - 1px);
  border-top-right-radius: calc(0.5rem - 1px);
}

.toast-body {
  padding: 0.75rem;
}

.toast-icon {
  margin-right: 0.5rem;
  font-size: 1.25rem;
}

.toast-success .toast-header {
  background-color: #9ff1b2;
  color: #008a20;
  border-color: #9af0ae;
}

.toast-success .toast-icon {
  color: #00a110;
}

.toast-error .toast-header {
  background-color: #ffbcbc;
  color: #e20000;
  border-color: #ffbcbc;
}

.toast-error .toast-icon {
  color: #d40000;
}

.toast-info .toast-header {
  background-color: #1795ac;
  color: #ebebeb;
  border-color: #bee5eb;
}

.toast-info .toast-icon {
  color: #9ad4dd;
}
