.toasts {
  position: fixed;
  top: 40px;
  right: 10px;
  z-index: 1000;
}

.toasts .toast {
  background-color: #fff;
  color: black;
  padding: 10px;
  overflow: clip;
  border-radius: 5px;
  margin-bottom: 5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s;
  font-size: 0.8em;
}

.toasts .toast div {
  display: flex;
  align-items: baseline;
}
.toasts .toast .toast-content {
  width: 100%;
}
.toasts .toast .toast-close {
  border-radius: 5px;
  margin-left: 10px;
  padding: 5px 10px;
}
.toasts .toast .toast-progress {
  height: 2px;
  width: calc(100% + 20px);
  margin: -10px;
  margin-top: 8px;
}

.toasts .toast.info {
  background-color: #99dadc;
  color: black;
}
.toasts .toast.info .toast-progress,
.toasts .toast.info .toast-close {
  background-color: #00A3A8;
}

.toasts .toast.warn {
  background-color: #FFC266;
  color: black;
}
.toasts .toast.warn .toast-progress,
.toasts .toast.warn .toast-close {
  background-color: #FF9900;
}

.toasts .toast.success {
  background-color: #C1DBA3;
  color: black;
}
.toasts .toast.success .toast-progress,
.toasts .toast.success .toast-close {
  background-color: #65A518;
}

.toasts .toast.error {
  background-color: #FCE5E7;
  color: black;
}
.toasts .toast.error .toast-progress,
.toasts .toast.error .toast-close {
  background-color: #8D1429;
}