@use "src/styles/framework" as *;

.flight-details-icon {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: $space-xl;
  width: 120px;

  cursor: pointer;
  border: none;
  text-decoration: none;
  border-radius: $border-radius;
  transition-duration: 0.2s;

  &:hover {
    background-color: $blue-extra-light;
  }

  @include mobile {
    flex-direction: row;

    padding: $space-m;
    width: 110px;
  }

  &__image {
    width: 32px;
    height: 32px;
    margin-bottom: $space-s2;

    @include smTablet {
      margin-bottom: 4px;
    }

    @include mobile {
      margin-bottom: 0;
      margin-right: $space-m;
    }
  }

  &__description {
    font-size: $font-size-s;
    line-height: 16px;
    font-weight: $font-medium;
    color: $blue-light;

    white-space: normal !important;
    text-align: center;

    @include mobile {
      font-size: $font-size-xs;
      line-height: 13px;
      text-align: left;
    }
  }
}
