@include prefix(loading-mask) {
  color: plv(primary-6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: plv(loading-mask-color);
  transition: all linear 300ms;
  transform-origin: center center;
  cursor: progress;
  pointer-events: auto;

  @include prefix(loading) {
    margin-bottom: 20px;
    font-size: 32px;
    & + span {
      font-size: 14px;
    }
  }

  &.loading-no-mask {
    pointer-events: none;
    background-color: transparent;
  }

  &.loading-mask-fixed-position {
    position: fixed;
  }
}
