.host-count-card {
  // TODO: Figure out how to move this to Card/_styles.scss
  a {
    font-weight: normal;
    color: $core-fleet-black;
    text-decoration: none;
  }
  // TODO: keyboard accessibility styling

  &__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: $pad-xsmall;
    text-align: left;
    height: fit-content;
    padding: $pad-xlarge;
    border: 1px solid $ui-fleet-black-10;
    background: $core-fleet-white;
    //done

    &:hover {
      border-color: $ui-fleet-black-50;
    }

    &:focus-visible {
      outline: 0px;
      border-radius: $border-radius;
      border-color: $core-focused-outline;
    }
  }

  &__icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  &__count-description {
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: $pad-xsmall;
  }

  &__count {
    font-size: $large;
    white-space: nowrap;
  }

  &__not-supported {
    color: $ui-fleet-black-50;

    &-text {
      font-size: $medium;
    }

    // Do not show hover outline for non clickable card
    &:hover {
      border-color: $ui-fleet-black-10;
    }
  }

  &__description {
    color: $ui-fleet-black-75;

    .component__tooltip-wrapper__element {
      font-size: $x-small;
    }

    .component__tooltip-wrapper__tip-text {
      max-width: 200px;
      white-space: initial;
    }
  }
}

@media (max-width: 980px) {
  .host-count-card {
    &__card {
      text-align: center;
      flex-direction: column;
      gap: 0.75rem;
      .component__tooltip-wrapper__tip-text {
        text-align: initial;
      }
    }

    &__card-icon {
      margin-right: 0;
    }
  }
}
