/* MyWoolbridge toast placement hotfix. */
:root {
  --wb-toast-radius: 9px;
}

.iziToast-wrapper,
.iziToast-wrapper.iziToast-wrapper-topRight,
.iziToast-wrapper.iziToast-wrapper-topLeft,
.iziToast-wrapper.iziToast-wrapper-topCenter,
.iziToast-wrapper.iziToast-wrapper-bottomRight,
.iziToast-wrapper.iziToast-wrapper-bottomLeft,
.iziToast-wrapper.iziToast-wrapper-bottomCenter,
.iziToast-wrapper.iziToast-wrapper-center {
  position: fixed !important;
  top: auto !important;
  right: auto !important;
  bottom: 22px !important;
  left: 50% !important;
  width: auto !important;
  max-width: calc(100vw - 32px) !important;
  min-width: 0 !important;
  padding: 0 !important;
  transform: translateX(-50%) !important;
  z-index: 25000 !important;
  pointer-events: none !important;
}

.iziToast-wrapper .iziToast-capsule {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 10px !important;
  pointer-events: none !important;
}

.iziToast-wrapper .iziToast-capsule:last-child {
  margin-bottom: 0 !important;
}

.iziToast,
.iziToast.wb-toast {
  border-radius: var(--wb-toast-radius) !important;
}

.iziToast::after {
  border-radius: inherit !important;
}

.iziToast > .iziToast-progressbar {
  border-radius: 999px !important;
}

.toastify,
.notyf__toast,
#toast-container > .toast {
  border-radius: var(--wb-toast-radius) !important;
}

@media (max-width: 767.98px) {
  :root {
    --wb-toast-radius: 8px;
  }

  .iziToast-wrapper,
  .iziToast-wrapper.iziToast-wrapper-topRight,
  .iziToast-wrapper.iziToast-wrapper-topLeft,
  .iziToast-wrapper.iziToast-wrapper-topCenter,
  .iziToast-wrapper.iziToast-wrapper-bottomRight,
  .iziToast-wrapper.iziToast-wrapper-bottomLeft,
  .iziToast-wrapper.iziToast-wrapper-bottomCenter,
  .iziToast-wrapper.iziToast-wrapper-center {
    top: 10px !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 12px !important;
    transform: none !important;
  }

  .iziToast-wrapper .iziToast-capsule {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 0 8px !important;
  }

  .iziToast,
  .iziToast.wb-toast {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    border-radius: var(--wb-toast-radius) !important;
  }
}