@use "lib/viewport";

.empty-state {
  &__container {
    &.--with-image {
      text-align: center;
    }

    &.--text-only {
      .empty-state__title {
        font-weight: bold;
        font-size: var(--font-up-1);
      }
    }

    &.--empty-topic-filter {
      margin: 0 auto;
      width: 75%;

      @include viewport.from(sm) {
        padding-top: 7rem;
      }
    }

    &.--empty-channels-list {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      height: 100%;

      .empty-state__image {
        margin-top: 0;
      }
    }
  }

  &__image {
    svg {
      width: 200px;

      @include viewport.until(sm) {
        width: 65vw;
      }
    }

    @include viewport.until(sm) {
      margin-top: 8vh;
    }
  }

  &__cta {
    margin-top: 2rem;
  }

  &__tip {
    margin-top: 2rem;
    font-size: var(--font-down-1);
    color: var(--primary-medium);

    .d-icon {
      font-size: var(--font-down-1);
    }

    @include viewport.until(sm) {
      position: absolute;
      bottom: 3rem;
      margin-inline: auto;
      margin-top: 0;
      left: 0;
    }
  }
}
