[data-component-id="theodor:add_to_google_button"] {
  margin-inline-start: auto;

  .button {
    appearance: none;
    border: none;
    background: #e0e0e0;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: background 0.2s ease;

    &:hover,
    &:focus {
      background: #e0e0e0; /* important! else we would have a green background on hovering!*/
      outline: none;
    }

  }

  .add-to-google-button__icon {
    display: inline-flex;
    width: 1.1rem;
    height: 1.1rem;

    svg {
      width: 1.5rem;
      height: 100%;
      fill: currentColor;
    }
  }

  .add-to-google-button__notice {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  &:hover .add-to-google-button__notice {
    visibility: visible;
    display: block;
    top: calc(2rem + 10px);
    z-index: 1;
    background: #e0e0e0;
    opacity: 1;
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: opacity 0.25s ease;

    &:before {
      content: '';
      display: block;
      position: absolute;
      top: -10px;
      right: 1rem;
      z-index: 1;
      width: 0;
      height: 0;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-bottom: 10px solid #e0e0e0;
    }
  }

}
