/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

:host button {
  margin: 0;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  min-width: auto;
}

:host img {
  padding-inline-end: 8px;
  -moz-context-properties: fill;
  fill: currentColor;
}

:host(create-login-button) img,
:host(.copy-button) img {
  padding: 0;
}

:host([data-copied]) button {
  color: var(--in-content-success-icon-color) !important;
  background-color: transparent;
  opacity: 1;
  /* override common.css fading out disabled buttons */
}

:host([data-copied]) {
  -moz-context-properties: fill;
  fill: currentColor;
}
