:root {
  --bytm-toast-bg-color: #323232;
  --bytm-toast-text-color: #fff;
  --bytm-toast-offset-ver: 80px;
  --bytm-toast-offset-hor: 25px;
  --bytm-toast-transition-time: 0.5s;
  --bytm-toast-transform-distance: 175px;
}

#bytm-toast {
  position: fixed;
  z-index: 1042069;
  opacity: 0.000001;
  pointer-events: none;
  padding: 10px 16px;
  border-radius: 3px;
  font-size: 1.5rem;
  cursor: default;

  background-color: var(--bytm-toast-bg-color);
  color: var(--bytm-toast-text-color);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);

  transition:
    opacity var(--bytm-toast-transition-time) ease,
    transform var(--bytm-toast-transition-time) ease;
}

#bytm-toast.clickable {
  cursor: pointer;
}

#bytm-toast.visible {
  pointer-events: auto;
  opacity: 1;
}

#bytm-toast.pos-tl {
  top: var(--bytm-toast-offset-ver);
  left: var(--bytm-toast-offset-hor);
  transform: translate(0, calc(var(--bytm-toast-transform-distance) * -1));
}

#bytm-toast.pos-tr {
  top: var(--bytm-toast-offset-ver);
  right: var(--bytm-toast-offset-hor);
  transform: translate(0, calc(var(--bytm-toast-transform-distance) * -1));
}

#bytm-toast.pos-br {
  bottom: var(--bytm-toast-offset-ver);
  right: var(--bytm-toast-offset-hor);
  transform: translate(0, var(--bytm-toast-transform-distance));
}

#bytm-toast.pos-bl {
  bottom: var(--bytm-toast-offset-ver);
  left: var(--bytm-toast-offset-hor);
  transform: translate(0, var(--bytm-toast-transform-distance));
}

#bytm-toast.visible.pos-tl,
#bytm-toast.visible.pos-tr,
#bytm-toast.visible.pos-br,
#bytm-toast.visible.pos-bl {
  transform: translate(0, 0);
}

.bytm-toast-flex-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.bytm-toast-icon.img,
.bytm-toast-icon svg {
  width: 24px;
  height: 24px;
}

.bytm-toast-icon path {
  fill: var(--toast-icon-fill, #fff);
}

.bytm-toast-subtitle {
  color: #ccc;
  font-size: 1.2rem;
  font-weight: 400;
}
