:where(:root) {
  --sxnotification-toast-width: 100%;
  --sxnotification-toast-max-width: 60ch;
  --sxnotification-toast-block-offset: 0;
  --sxnotification-toast-inline-offset: 1rem;
  --sxnotification-toast-font-size: 1rem;
  --sxnotification-toast-line-height: 1.2;
  --sxnotification-toast-z-index: 10000;
  --sxnotification-toast-padding: 1em;

  --sxnotification-toast-background: hsla(0, 0%, 100%, 100%);
  --sxnotification-toast-border-color: hsla(0, 0%, 0%, 10%);
  --sxnotification-toast-color: hsla(0, 0%, 0%, 90%); 

  

  --sxnotification-toast-border-radius: 0;

  --sxnotification-toast-hover-background: var(--sxnotification-toast-background);
  --sxnotification-toast-hover-border-color: var(--sxnotification-toast-border-color);
  --sxnotification-toast-hover-color: var(--sxnotification-toast-color);

  --sxnotification-toast-shadow-color: hsla(0, 0%, 0%, 10%);
  --sxnotification-toast-shadow-settings: 0 3px 7px 0;

  --sxnotification-toast-margin: 5px 0;

  --sxnotification-toast-icon-color: hsla(0, 0%, 0%, 0.9);
  --sxnotification-toast-icon-margin: 0 1.4rem 0 0.5rem;
  --sxnotification-toast-icon-size: 1.5rem;
  --sxnotification-toast-icon-stroke-width: 1.2px;

  --sxnotification-toast-body-padding: 0 1rem 0 0;

  --sxnotification-toast-close-button-background-color: hsla(0, 0%, 0%, 0);
  --sxnotification-toast-close-button-hover-background-color: hsla(0, 0%, 0%, 0.04);
  --sxnotification-toast-close-button-color: var(--sxnotification-toast-color);
  --sxnotification-toast-close-button-border-radius: 0.1em;
  --sxnotification-toast-close-button-size: 1.75em;
  --sxnotification-toast-close-button-font-size: 1.33rem;
  --sxnotification-toast-close-button-font-weight: 300;

  --sxnotification-toast-progressbar-background-color: hsla(0, 0%, 0%, 0.05);
  --sxnotification-toast-progressbar-height: 5px;

  /* alert, success, warning, error, info */
  --sxnotification-toast-alert-background: var(--highlight-40);
  --sxnotification-toast-alert-border-color: var(--highlight-60);
  --sxnotification-toast-alert-color: var(--highlight-110);

  --sxnotification-toast-alert-hover-background: var(--highlight-50);
  --sxnotification-toast-alert-hover-border-color: var(--sxnotification-toast-alert-border-color);
  --sxnotification-toast-alert-hover-color: var(--sxnotification-toast-alert-color);

  --sxnotification-toast-alert-shadow-color: var(--highlight-a-40, var(--sxnotification-toast-shadow-color));
  --sxnotification-toast-alert-icon-color: var(--highlight-100);
  --sxnotification-toast-alert-progressbar-background-color: var(--highlight-50, var(--sxnotification-toast-progressbar-background-color));
  --sxnotification-toast-alert-close-button-color: var(--sxnotification-toast-alert-color);

  --sxnotification-toast-success-background: var(--success-40);
  --sxnotification-toast-success-border-color: var(--success-60);
  --sxnotification-toast-success-color: var(--success-110);

  --sxnotification-toast-success-hover-background: var(--success-50);
  --sxnotification-toast-success-hover-border-color: var(--sxnotification-toast-success-border-color);
  --sxnotification-toast-success-hover-color: var(--sxnotification-toast-success-color);

  --sxnotification-toast-success-shadow-color: var(--success-a-40, var(--sxnotification-toast-shadow-color));
  --sxnotification-toast-success-icon-color: var(--success-100);
  --sxnotification-toast-success-progressbar-background-color: var(--success-50, var(--sxnotification-toast-progressbar-background-color));
  --sxnotification-toast-success-close-button-color: var(--sxnotification-toast-success-color);

  --sxnotification-toast-warning-background: var(--danger-40);
  --sxnotification-toast-warning-border-color: var(--danger-60);
  --sxnotification-toast-warning-color: var(--danger-110);

  --sxnotification-toast-warning-hover-background: var(--danger-50);
  --sxnotification-toast-warning-hover-border-color: var(--sxnotification-toast-warning-border-color);
  --sxnotification-toast-warning-hover-color: var(--sxnotification-toast-warning-color);

  --sxnotification-toast-warning-shadow-color: var(--danger-a-40, var(--sxnotification-toast-shadow-color));
  --sxnotification-toast-warning-icon-color: var(--danger-100);
  --sxnotification-toast-warning-progressbar-background-color: var(--danger-50, var(--sxnotification-toast-progressbar-background-color));
  --sxnotification-toast-warning-close-button-color: var(--sxnotification-toast-warning-color);

  --sxnotification-toast-error-background: var(--warning-40);
  --sxnotification-toast-error-border-color: var(--warning-60);
  --sxnotification-toast-error-color: var(--warning-110);

  --sxnotification-toast-error-hover-background: var(--warning-50);
  --sxnotification-toast-error-hover-border-color: var(--sxnotification-toast-error-border-color);
  --sxnotification-toast-error-hover-color: var(--sxnotification-toast-error-color);

  --sxnotification-toast-error-shadow-color: var(--warning-a-40, var(--sxnotification-toast-shadow-color));
  --sxnotification-toast-error-icon-color: var(--warning-100);
  --sxnotification-toast-error-progressbar-background-color: var(--warning-50, var(--sxnotification-toast-progressbar-background-color));
  --sxnotification-toast-error-close-button-color: var(--sxnotification-toast-error-color);

  --sxnotification-toast-info-background: var(--neutral1-40);
  --sxnotification-toast-info-border-color: var(--neutral1-60);
  --sxnotification-toast-info-color: var(--neutral1-110);

  --sxnotification-toast-info-hover-background: var(--neutral1-50);
  --sxnotification-toast-info-hover-border-color: var(--sxnotification-toast-info-border-color);
  --sxnotification-toast-info-hover-color: var(--sxnotification-toast-info-color);

  --sxnotification-toast-info-shadow-color: var(--neutral1-a-40, var(--sxnotification-toast-shadow-color));
  --sxnotification-toast-info-icon-color: var(--neutral1-100);
  --sxnotification-toast-info-progressbar-background-color: var(--neutral1-50, var(--sxnotification-toast-progressbar-background-color));
  --sxnotification-toast-info-close-button-color: var(--sxnotification-toast-info-color);
}

.noty_layout {
  width: var(--sxnotification-toast-width);
  max-width: var(--sxnotification-toast-max-width);
  position: fixed;
  margin: 0;
  padding: 0;
  z-index: var(--sxnotification-toast-z-index);
}

#noty_layout__top {
  top: 0;
  left: var(--sxnotification-toast-block-offset);
  width: 90%;
}

#noty_layout__topLeft {
  top: var(--sxnotification-toast-block-offset);
  left: var(--sxnotification-toast-inline-offset);
}

#noty_layout__topCenter {
  top: var(--sxnotification-toast-block-offset);
  left: 50%;
  transform: translate(calc(-50% - 0.5px)) translateZ(0) scale(1, 1);
}

#noty_layout__topRight {
  top: var(--sxnotification-toast-block-offset);
  right: var(--sxnotification-toast-inline-offset);
}

#noty_layout__bottom {
  bottom: 0;
  left: var(--sxnotification-toast-inline-offset);
  width: 90%;
}

#noty_layout__bottomLeft {
  bottom: var(--sxnotification-toast-block-offset);
  left: var(--sxnotification-toast-inline-offset);
}

#noty_layout__bottomCenter {
  bottom: var(--sxnotification-toast-block-offset);
  left: 50%;
  transform: translate(calc(-50% - 0.5px)) translateZ(0) scale(1, 1);
}

#noty_layout__bottomRight {
  bottom: var(--sxnotification-toast-block-offset);
  right: var(--sxnotification-toast-inline-offset);
}

#noty_layout__center {
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% - 0.5px), calc(-50% - 0.5px)) translateZ(0) scale(1, 1);
}

#noty_layout__centerLeft {
  top: 50%;
  left: var(--sxnotification-toast-inline-offset);
  transform: translate(0, calc(-50% - 0.5px)) translateZ(0) scale(1, 1);
}

#noty_layout__centerRight {
  top: 50%;
  right: var(--sxnotification-toast-inline-offset);
  transform: translate(0, calc(-50% - 0.5px)) translateZ(0) scale(1, 1);
}

.noty_bar {
  transform: translate(0, 0) scale(1, 1);
  overflow: hidden;
  font-size: var(--sxnotification-toast-font-size);
  line-height: var(--sxnotification-toast-line-height);
  padding: var(--sxnotification-toast-padding);
  color: var(--sxnotification-toast-color);
  background: var(--sxnotification-toast-background);
  border: 1px solid var(--sxnotification-toast-border-color);
  border-radius: var(--sxnotification-toast-border-radius);
  box-shadow: var(--sxnotification-toast-shadow-settings) var(--sxnotification-toast-shadow-color);
  transition: all 0.3s ease;
  margin: var(--sxnotification-toast-margin);
  display: flex;
  align-items: center;
}

.noty_bar:hover {
  color: var(--sxnotification-toast-hover-color);
  background: var(--sxnotification-toast-hover-background);
  border: 1px solid var(--sxnotification-toast-hover-border-color);
}

.noty_icon {
  align-self: center;
  margin: var(--sxnotification-toast-icon-margin);
  color: var(--sxnotification-toast-icon-color);
}

.noty_icon .icon {
  width: var(--sxnotification-toast-icon-size);
  height: var(--sxnotification-toast-icon-size);
  stroke-width: var(--sxnotification-toast-icon-stroke-width);
  overflow: visible;
}

.noty_body {
  padding: var(--sxnotification-toast-body-padding);
}

.noty_body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .15em;
  text-decoration-color: color-mix(in oklab, var(--sxnotification-toast-color) 40%, var(--sxnotification-toast-background));
  transition: all .2s ease;
}

.noty_body a:hover {
  color: inherit;
  text-decoration-color: color-mix(in oklab, var(--sxnotification-toast-color) 90%, var(--sxnotification-toast-background));
}

.noty_close_button {
  font-weight: normal;
  display: block;
  flex: 0 0 var(--sxnotification-toast-close-button-size);
  height: var(--sxnotification-toast-close-button-size);
  line-height: 1;
  color: var(--sxnotification-toast-close-button-color);
  font-size: var(--sxnotification-toast-close-button-font-size);
  font-weight: var(--sxnotification-toast-close-button-font-weight);
  text-align: center;
  background-color: var(--sxnotification-toast-close-button-background-color);
  border-radius: var(--sxnotification-toast-close-button-border-radius);
  cursor: pointer;
  transition: all 0.2s ease-out;
  align-self: center;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
}

.noty_close_button:hover {
  background-color: var(--sxnotification-toast-close-button-hover-background-color);
}

.noty_progressbar {
  display: none;
}

.noty_has_timeout.noty_has_progressbar .noty_progressbar {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--sxnotification-toast-progressbar-background-color);
  height: var(--sxnotification-toast-progressbar-height);
}

.noty_modal {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 10000;
  opacity: 0.3;
  left: 0;
  top: 0;
}

.noty_modal.noty_modal_open {
  opacity: 0;
  animation: noty_modal_in 0.3s ease-out;
}

.noty_modal.noty_modal_close {
  animation: noty_modal_out 0.3s ease-out;
  animation-fill-mode: forwards;
}

.noty_theme__ww-base {
}

.noty_effects_open {
  opacity: 0;
  transform: translateY(-50%);
  animation: noty_anim_in 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  animation-fill-mode: forwards;
}

.noty_effects_close {
  animation: noty_anim_out 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  animation-fill-mode: forwards;
}

.noty_fix_effects_height {
  animation: noty_anim_height 75ms ease-out;
}

.noty_close_with_click {
  cursor: pointer;
}

@-webkit-keyframes noty_modal_in {
  100% {
    opacity: 0.3;
  }
}

@keyframes noty_modal_in {
  100% {
    opacity: 0.3;
  }
}

@-webkit-keyframes noty_modal_out {
  100% {
    opacity: 0;
  }
}

@keyframes noty_modal_out {
  100% {
    opacity: 0;
  }
}

@keyframes noty_modal_out {
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes noty_anim_in {
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes noty_anim_in {
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@-webkit-keyframes noty_anim_out {
  100% {
    transform: translateY(-50%);
    opacity: 0;
  }
}

@keyframes noty_anim_out {
  100% {
    transform: translateY(-50%);
    opacity: 0;
  }
}

@-webkit-keyframes noty_anim_height {
  100% {
    height: 0;
  }
}

@keyframes noty_anim_height {
  100% {
    height: 0;
  }
}

.noty_theme__ww-base.noty_type__alert {
  --sxnotification-toast-background: var(--sxnotification-toast-alert-background);
  --sxnotification-toast-border-color: var(--sxnotification-toast-alert-border-color);
  --sxnotification-toast-color: var(--sxnotification-toast-alert-color);

  --sxnotification-toast-hover-background: var(--sxnotification-toast-alert-hover-background);
  --sxnotification-toast-hover-border-color: var(--sxnotification-toast-alert-hover-border-color);
  --sxnotification-toast-hover-color: var(--sxnotification-toast-alert-hover-color);

  --sxnotification-toast-shadow-color: var(--sxnotification-toast-alert-shadow-color);
  --sxnotification-toast-icon-color: var(--sxnotification-toast-alert-icon-color);
  --sxnotification-toast-progressbar-background-color: var(--sxnotification-toast-alert-progressbar-background-color);
  --sxnotification-toast-close-button-color: var(--sxnotification-toast-alert-close-button-color);
}

.noty_theme__ww-base.noty_type__success {
  --sxnotification-toast-background: var(--sxnotification-toast-success-background);
  --sxnotification-toast-border-color: var(--sxnotification-toast-success-border-color);
  --sxnotification-toast-color: var(--sxnotification-toast-success-color);

  --sxnotification-toast-hover-background: var(--sxnotification-toast-success-hover-background);
  --sxnotification-toast-hover-border-color: var(--sxnotification-toast-success-hover-border-color);
  --sxnotification-toast-hover-color: var(--sxnotification-toast-success-hover-color);

  --sxnotification-toast-shadow-color: var(--sxnotification-toast-success-shadow-color);
  --sxnotification-toast-icon-color: var(--sxnotification-toast-success-icon-color);
  --sxnotification-toast-progressbar-background-color: var(--sxnotification-toast-success-progressbar-background-color);
  --sxnotification-toast-close-button-color: var(--sxnotification-toast-success-close-button-color);
}

.noty_theme__ww-base.noty_type__warning {
  --sxnotification-toast-background: var(--sxnotification-toast-warning-background);
  --sxnotification-toast-border-color: var(--sxnotification-toast-warning-border-color);
  --sxnotification-toast-color: var(--sxnotification-toast-warning-color);

  --sxnotification-toast-hover-background: var(--sxnotification-toast-warning-hover-background);
  --sxnotification-toast-hover-border-color: var(--sxnotification-toast-warning-hover-border-color);
  --sxnotification-toast-hover-color: var(--sxnotification-toast-warning-hover-color);

  --sxnotification-toast-shadow-color: var(--sxnotification-toast-warning-shadow-color);
  --sxnotification-toast-icon-color: var(--sxnotification-toast-warning-icon-color);
  --sxnotification-toast-progressbar-background-color: var(--sxnotification-toast-warning-progressbar-background-color);
  --sxnotification-toast-close-button-color: var(--sxnotification-toast-warning-close-button-color);
}

.noty_theme__ww-base.noty_type__error {
  --sxnotification-toast-background: var(--sxnotification-toast-error-background);
  --sxnotification-toast-border-color: var(--sxnotification-toast-error-border-color);
  --sxnotification-toast-color: var(--sxnotification-toast-error-color);

  --sxnotification-toast-hover-background: var(--sxnotification-toast-error-hover-background);
  --sxnotification-toast-hover-border-color: var(--sxnotification-toast-error-hover-border-color);
  --sxnotification-toast-hover-color: var(--sxnotification-toast-error-hover-color);

  --sxnotification-toast-shadow-color: var(--sxnotification-toast-error-shadow-color);
  --sxnotification-toast-icon-color: var(--sxnotification-toast-error-icon-color);
  --sxnotification-toast-progressbar-background-color: var(--sxnotification-toast-error-progressbar-background-color);
  --sxnotification-toast-close-button-color: var(--sxnotification-toast-error-close-button-color);
}

.noty_theme__ww-base.noty_type__info,
.noty_theme__ww-base.noty_type__information {
  /* Es gibt beide Types in Noty */
  --sxnotification-toast-background: var(--sxnotification-toast-info-background);
  --sxnotification-toast-border-color: var(--sxnotification-toast-info-border-color);
  --sxnotification-toast-color: var(--sxnotification-toast-info-color);

  --sxnotification-toast-hover-background: var(--sxnotification-toast-info-hover-background);
  --sxnotification-toast-hover-border-color: var(--sxnotification-toast-info-hover-border-color);
  --sxnotification-toast-hover-color: var(--sxnotification-toast-info-hover-color);

  --sxnotification-toast-shadow-color: var(--sxnotification-toast-info-shadow-color);
  --sxnotification-toast-icon-color: var(--sxnotification-toast-info-icon-color);
  --sxnotification-toast-progressbar-background-color: var(--sxnotification-toast-info-progressbar-background-color); 
  --sxnotification-toast-close-button-color: var(--sxnotification-toast-info-close-button-color);  
}
