.modals-root-container {
  z-index: 9000;
}

x-modal {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  max-height: 100vh;
  margin: 0px;
  padding: 0px;
  transition: 0.2s opacity;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  z-index: 9000;
  overflow: hidden;
  overflow-y: auto;
  display: block;
  pointer-events: none;
}
.is-dark-mode x-modal {
  background-color: rgba(var(--color-dark-rgb, 31, 31, 31), 0.5);
}
x-modal.modal-closable {
  cursor: pointer;
}
x-modal.modal-show {
  pointer-events: all;
  visibility: visible;
  opacity: 1;
}
x-modal.modal-show .modal-container > div {
  width: 100% !important;
  opacity: 1;
  transform: translateY(0px);
}
x-modal .modal-interval-indicator {
  display: block;
  width: 100%;
  background-color: rgba(var(--color-border-rgb, 200, 199, 204), 0.2);
  height: 0.5rem;
  position: fixed;
  top: 0px;
  z-index: 10002;
  overflow: hidden;
}
.is-dark-mode x-modal .modal-interval-indicator {
  background-color: rgba(255, 255, 255, 0.2);
}
x-modal .modal-interval-indicator > span {
  animation-name: interval;
  animation-timing-function: linear;
  display: block;
  width: 100%;
  height: 0.5rem;
  background-color: rgba(var(--color-border-rgb, 200, 199, 204), 0.3);
}
.is-dark-mode x-modal .modal-interval-indicator > span {
  background-color: rgba(255, 255, 255, 0.3);
}
x-modal .modal-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-height: 100vh;
  max-width: 100vw;
  z-index: 9000;
}
x-modal .modal-container > div {
  position: relative;
  min-width: 18rem;
  width: 100%;
  height: auto;
  cursor: default;
  margin: 0;
  padding: 0;
  opacity: 0;
  transition-delay: 0.2s;
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateY(100px);
}
x-modal .modal-container > div.modal-small {
  max-width: 18rem;
}
x-modal .modal-container > div.modal-regular {
  max-width: 24rem;
}
x-modal .modal-container > div.modal-normal {
  max-width: 28rem;
}
x-modal .modal-container > div.modal-medium {
  max-width: 38rem;
}
x-modal .modal-container > div.modal-big {
  max-width: 48rem;
}
x-modal .modal-container > div.modal-large {
  max-width: 58rem;
}
x-modal .modal-container > div.modal-full {
  max-width: calc(100% - 1rem);
}
x-modal .modal-container > div .modal-loading {
  width: 18rem;
  height: 0.5rem;
  border-radius: 0.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  margin: 1rem auto;
}
.is-dark-mode x-modal .modal-container > div .modal-loading {
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0px 0px 0px 3px rgba(255, 255, 255, 0.1);
}
x-modal .modal-container > div .modal-loading > span {
  display: block;
  position: absolute;
  content: "";
  left: -200px;
  width: 200px;
  height: 0.5rem;
  background-color: rgba(0, 0, 0, 0.5);
  animation: loading 1s linear infinite;
  -moz-animation: loading 1s linear infinite;
  -webkit-animation: loading 1s linear infinite;
  border-radius: 0.5rem;
  background-color: var(--color-primary-tint, #5e8af4);
}
x-modal .modal-container > div .modal-body {
  background-color: var(--color-white, #FFFFFF);
  box-shadow: 0px 3px 1rem rgba(var(--color-border-rgb, 200, 199, 204), 0.2), inset 0 0 0 1px rgba(var(--color-border-rgb, 200, 199, 204), 0.35);
  border: none;
  margin: 0;
  border-radius: 0.5rem;
  width: 100%;
}
.is-dark-mode x-modal .modal-container > div .modal-body {
  background-color: var(--color-black, #000000);
  box-shadow: 0px 3px 1rem rgba(var(--color-black-rgb, 0, 0, 0), 0.35), inset 0 0 0 1px var(--color-dark-tint, #414141);
}