.component-toast {
  --toast-color: var( --color-success );
  position: fixed;
  top: 30px;
  right: 30px;
  padding: 10px 30px;
  background-color: white;
  color: var( --toast-color );
  z-index: 9999;
  border-radius: 0 5px 5px 0;
  font-weight: 700;
  box-shadow: 0 0 8px -3px var( --toast-color );
  min-width: 200px;
}

.component-toast::before {
  content: '';
  display: block;
  width: 4px;
  height: 100%;
  left: -4px;
  top: 0;
  background: var(--toast-color );
  position: absolute;
  border-radius: 5px 0 0 5px;
}

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

.component-toast.warning {
  --toast-color: var( --color-warning );
}