.toast-wrapper.center,
.toast-wrapper.right {
  max-width: fit-content;
  right: 0;
}
.toast,
.toast-wrapper {
  padding: 0.5rem 1rem;
  display: flex;
}
.toast,
.toast .toast-icon {
  overflow: hidden;
}
.toast-wrapper {
  align-items: center;
}
.toast-wrapper.left {
  left: 0;
  max-width: fit-content;
}
.toast-wrapper.center {
  margin-left: auto;
  margin-right: auto;
  left: 0;
}
.toast {
  align-items: center;
  border-radius: 0.75rem;
  width: 100%;
  gap: 0.5rem;
  position: relative;
}
.toast .toast-content-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}
.toast .toast-content-wrapper .toast-title {
  text-transform: capitalize;
  font-size: 1.5rem;
  font-weight: 600;
}
.toast .toast-content-wrapper .toast-message {
  text-align: left;
  font-size: 1rem;
}
.toast .toast-close-button,
.toast .toast-icon {
  display: flex;
  max-width: 32px;
  max-height: 32px;
  font-family: serif;
  font-size: 1.5rem;
  line-height: 2rem;
}
.toast .progress-bar {
  width: 100%;
  height: 4px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  animation: linear shrink-width;
}
.toast:hover .progress-bar {
  animation-play-state: paused;
}
@keyframes shrink-width {
  from {
    width: 100%;
  }
  to {
    width: 0;
  }
}
