.yc-toast {
  --yc-toaster-padding: 16px 16px 16px 48px;
  box-sizing: border-box;
  position: absolute;
  width: inherit;
  margin-bottom: 10px;
  padding: var(--yc-toaster-padding);
  font-size: 13px;
  border-radius: 8px;
  box-shadow: 0px 0px 15px var(--yc-color-sfx-shadow);
  background-color: var(--yc-color-base-background);
  overflow: hidden;
  z-index: 0;
}
.yc-toast_mobile {
  width: 100%;
}
.yc-toast_appearing {
  opacity: 0;
  height: 0;
  margin-bottom: 0;
  padding: 0;
  transition: height 0.35s ease;
}
.yc-toast_show-animation {
  animation: toast-set-indents 0.35s ease forwards, toast-move-left 0.25s ease forwards 0.35s, toast-display-end 0.0001s forwards 0.6s;
}
.yc-toast_show-animation.yc-toast_default {
  animation: toast-set-symmetrical-indents 0.35s ease forwards, toast-move-left 0.25s ease forwards 0.35s, toast-display-end 0.0001s forwards 0.6s;
}
.yc-toast_show-animation.yc-toast_mobile {
  animation: toast-set-indents 0.35s ease forwards, toast-move-top 0.25s ease forwards 0.35s;
}
.yc-toast_show-animation.yc-toast_mobile.yc-toast_default {
  animation: toast-set-symmetrical-indents 0.35s ease forwards, toast-move-top 0.25s ease forwards 0.35s;
}
.yc-toast_hide-animation {
  animation: toast-move-right 0.25s ease forwards, toast-remove-height 0.35s ease forwards 0.25s, toast-hide-end 0.0001s forwards 0.6s;
}
.yc-toast_hide-animation.yc-toast_mobile {
  animation: toast-move-bottom 0.25s ease forwards, toast-remove-height 0.35s ease forwards 0.25s, toast-hide-end 0.0001s forwards 0.6s;
}
.yc-toast_created {
  position: relative;
}
.yc-toast_default {
  --yc-toaster-padding: 16px;
  background-color: var(--yc-color-base-float);
}
.yc-toast_info .yc-toast__container:before {
  background-color: var(--yc-color-infographics-info-light);
}
.yc-toast_info .yc-toast__icon {
  color: var(--yc-color-infographics-info-heavy);
}
.yc-toast_success .yc-toast__container:before {
  background-color: var(--yc-color-infographics-positive-light);
}
.yc-toast_success .yc-toast__icon {
  color: var(--yc-color-infographics-positive-heavy);
}
.yc-toast_warning .yc-toast__container:before {
  background-color: var(--yc-color-base-warning);
}
.yc-toast_warning .yc-toast__icon {
  color: var(--yc-color-infographics-warning-heavy);
}
.yc-toast_error .yc-toast__container:before {
  background-color: var(--yc-color-infographics-danger-light);
}
.yc-toast_error .yc-toast__icon {
  color: var(--yc-color-infographics-danger-heavy);
}
.yc-toast .yc-toast__container {
  display: grid;
  row-gap: 8px;
  width: 100%;
  height: 100%;
}
.yc-toast .yc-toast__container:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}
.yc-toast__title {
  font-size: var(--yc-text-subheader-2-font-size);
  line-height: var(--yc-text-subheader-2-line-height);
  font-weight: var(--yc-text-subheader-font-weight);
  margin: 0;
  padding-right: 28px;
}
.yc-toast__title {
  line-height: 24px;
}
.yc-toast .yc-toast__icon {
  position: absolute;
  top: 16px;
  left: 16px;
}
.yc-toast__action {
  margin-right: 8px;
}
.yc-toast .yc-toast__btn-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

@keyframes toast-move-right {
  from {
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(10px);
  }
}
@keyframes toast-move-left {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes toast-display-end {}
@keyframes toast-move-top {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes toast-move-bottom {
  from {
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes toast-remove-height {
  to {
    height: 0;
    margin-bottom: 0;
    padding: 0;
  }
}
@keyframes toast-hide-end {}
@keyframes toast-set-indents {
  to {
    margin-bottom: 10px;
    padding: var(--yc-toaster-padding);
  }
}
@keyframes toast-set-symmetrical-indents {
  to {
    margin-bottom: 10px;
    padding: 16px;
  }
}