.vb-loading {
  &--block {
    position: relative;
  }

  &--inline {
    display: inline-block;
  }

  &__fade-enter,
  &__fade-exit {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  &__fade-enter-active,
  &__fade-enter-done {
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  &__cover {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: $vbOverlayZIndex;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    &--coverAll {
      position: fixed;
      z-index: $vbMaxZIndex;
    }
  }

  &__animation {
    position: relative;
    width: 3rem;
    height: 3rem;
    max-width: 100%;
    max-height: 100%;

    &--coverAll {
      width: 31.5rem;
      height: 10.5rem;
      max-width: 80vw;
    }
  }

  &__message {
    font: $vbNormalFont;
    color: $vbBlackColor;
    margin-top: $vbLargeSize;
  }
}
