:host {
  display: inline-block;
}

.ifx-toast {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  width: 320px;
  min-height: 48px;
  padding: 13px 16px;
  background-color: #ffffff;
  color: #1d1d1d;
  font-family: var(--ifx-font-family);
  font-size: 0.875rem;
  line-height: 1.25rem;
  border: 1px solid #eeeded;
  border-radius: 1px;
  box-shadow: 0 0 16px 0 rgba(29, 29, 29, 0.1);
}
.ifx-toast .ifx-toast__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 1.25rem;
}
.ifx-toast .ifx-toast__icon ifx-spinner {
  transform: scale(0.667);
}
.ifx-toast.ifx-toast--success .ifx-toast__icon {
  color: #4ca460;
}
.ifx-toast.ifx-toast--warning .ifx-toast__icon {
  color: #e16b25;
}
.ifx-toast.ifx-toast--danger .ifx-toast__icon {
  color: #cd002f;
}
.ifx-toast.ifx-toast--loading .ifx-toast__icon {
  color: #0a8276;
}
.ifx-toast .ifx-toast__body {
  flex-grow: 1;
  word-break: break-word;
}
.ifx-toast .ifx-toast__action {
  flex-shrink: 0;
}
.ifx-toast .ifx-toast__action button {
  all: unset;
  cursor: pointer;
  color: #0a8276;
  font-size: 0.875rem;
  font-weight: 600;
}
.ifx-toast .ifx-toast__action button:focus-visible {
  outline: 2px solid #0a8276;
  outline-offset: 2px;
}
@media (max-width: 375px) {
  .ifx-toast {
    width: 100%;
  }
}