@import "mixins/mixins";
@import "common/var";

@include b(empty) {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  // text-align: center;
  box-sizing: border-box;
  // padding: $--empty-padding;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);

  @include e(image) {
    width: $--empty-image-width;

    img {
      user-select: none;
      width: 100%;
      height: 100%;
      vertical-align: top;
      object-fit: contain;
    }

    svg {
      width: 100%;
      height: 100%;
      vertical-align: top;
    }
  }

  @include e(description) {
    p {
      margin: 0;
      font-size: $--font-size-extra-small;
      color: $--color-text-secondary;
    }
  }

  @include e(bottom) {
    margin-top: $--empty-bottom-margin-top;
  }
}
