:root{
  --ux-snackbar-top-offset: 92px;
}

.ux-snackbar-host{
  position: fixed;
  top: var(--ux-snackbar-top-offset);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2147483647;
  width: min(411px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.ux-snackbar{
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  box-sizing: border-box;
  padding: 10px 14px 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
  color: #1E1E1E;
  font-family: Arial, Helvetica, sans-serif;
  animation: ux-snackbar-in 160ms ease-out;
}

.ux-snackbar--tall{
  min-height: 72px;
  align-items: flex-start;
  padding-top: 14px;
  padding-bottom: 14px;
}

.ux-snackbar__icon{
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 1px;
}

.ux-snackbar__icon svg{
  display: block;
  width: 100%;
  height: 100%;
}

.ux-snackbar__content{
  flex: 1 1 auto;
  min-width: 0;
}

.ux-snackbar__message{
  color: #1E1E1E;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  word-break: break-word;
  white-space: pre-wrap;
}

.ux-snackbar--tall .ux-snackbar__message{
  line-height: 1.32;
}

.ux-snackbar__close{
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-left: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #808080;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ux-snackbar__close svg{
  display: block;
  width: 14px;
  height: 14px;
}

.ux-snackbar.is-leaving{
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

@keyframes ux-snackbar-in{
  from{
    opacity: 0;
    transform: translateY(-6px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
