.info-bubble {
  position: relative;
  background-color: $color-white;
  border-radius: 0 $margin-triple $margin-triple $margin-triple;
  margin-bottom: $margin-double;
  margin-left: 10px;
  padding: $margin-normal $margin-normal;
  display: flex;
  max-width: 552px;

  &::before {
    display: block;
    position: absolute;
    top: 0;
    left: -10px;
    background-color: $color-climate-green;
    width: 20px;
    height: 20px;
    border: 6px solid $color-white;
    border-radius: 10px;
    content: '';
  }

  &.warning::before {
    background-color: $color-yellow;
  }

  &:last-child {
    margin-bottom: 0;
  }

  .info-content {
    display: flex;
    flex-direction: column;
    padding: $margin-half $margin-normal;
  }

  .text-content {
    position: relative;
    display: inline-block;
    z-index: 1;
    margin-right: $margin-double;

    .highlight {
      position: absolute;
      bottom: 3px;
      left: 0;
      background-color: rgba($color-green, .4);
      width: 100%;
      height: 11px;
      z-index: 0;
    }
  }

  .icon-circle {
    display: flex;
    flex-shrink: 0;
    margin-left: auto;
    border-radius: 27px;
    height: 54px;
    width: 54px;
    align-items: center;
    justify-content: center;
    color: $color-white;
    background-image: linear-gradient(180deg, $color-climate-green, $color-green);

    .pictogram {
      width: 32px;
      height: 32px;
    }
  }

  &.warning {
    .icon-circle {
      background-image: linear-gradient(180deg, $color-yellow, #ffb700);
    }

    .highlight {
      background-color: rgba($color-yellow, .4);
    }
  }
}
