.Toast {
  position: fixed;
  top: 30%;
  left: 0;
  right: 0;
  z-index: $zindex-toast; // Assumes a SCSS variable for z-index
  display: flex;
  justify-content: center;
  transition: all 300ms ease 0s;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;

  &[data-type='success'] .Icon {
    color: var(--green);
  }

  &[data-type='error'] .Icon {
    color: var(--red);
  }

  &[data-type='loading'] .Icon {
    color: var(--brand-1);
  }

  &.show {
    opacity: 1;
    visibility: visible;
  }

  .Icon {
    margin-right: 6px;
    font-size: 24px;
  }
}

.Toast-content {
  display: flex;
  max-width: 300px;
  padding: $toast-content-padding; // Assumes a SCSS variable for padding
  border-radius: $toast-content-border-radius; // Assumes a SCSS variable for border radius
  background: $toast-content-bg; // Assumes a SCSS variable for background
  box-sizing: border-box;
}

.Toast-message {
  flex: 1;
  margin: $toast-message-margin; // Assumes a SCSS variable for margin
  color: $toast-message-color; // Assumes a SCSS variable for text color
  font-size: $toast-message-font-size; // Assumes a SCSS variable for font size
  word-break: break-word;
}
