@import "/styles/variables";

.exploreToolsCard {
  background: $dark-06;
  border: 1px solid $dark-06;
  transition: border 0.3s ease-in-out, background 0.3s ease-in-out;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 16px;
  user-select: none;
  font-weight: 500;

  &[active="active"] {
    background-color: darken(#ecebff, 5%);
  }
  &__wrap {
    padding: 24px 24px 0px 24px;
    @media (max-width: 767.98px) {
      padding: 16px 16px 0 16px;
    }
  }

  &__text {
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
    color: $dark-03;
    margin: 0;
    transition: color 0.3s ease-in-out;
  }

  &__image {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transition: color 0.3s ease-in-out;
    color: $dark-05;
    height: 64px;
  }

  &:hover {
    // fix mobile hover effect
    @media (hover) {
      border: 1px solid $purple-04;
      .exploreToolsCard__text {
        color: $purple-hover;
      }
      .exploreToolsCard__image {
        color: $purple-04;
      }
    }
  }

  &[active="active"] {
    background: $light;
    border: 1px solid $purple-04;
    .exploreToolsCard__text {
      color: $purple-hover;
    }
    .exploreToolsCard__image {
      color: $purple-04;
    }
  }

  &[disabled="disabled"] {
    .exploreToolsCard__text {
      color: $dark-07;
    }
  }
  @media (max-width: 767.98px) {
    margin-bottom: 8px;
  }
}
