/* HFS Copy/Paste v2.2 — native-like toolbar button */
.hfs-copy-paste-paste {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 2.65rem;
  padding: .35rem .7rem;
  margin: 0;
  border: 0;
  border-radius: .58rem;
  background: var(--button-bg, var(--background-good, rgba(82, 101, 122, .95)));
  color: var(--button-color, inherit);
  font: inherit;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  opacity: 1;
  vertical-align: middle;
  -webkit-tap-highlight-color: transparent;
}

.hfs-copy-paste-paste:hover {
  filter: brightness(1.06);
}

.hfs-copy-paste-paste:active {
  filter: brightness(.96);
}

.hfs-copy-paste-paste:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.hfs-copy-paste-paste svg,
.hfs-copy-paste-paste .icon {
  width: 1.45em;
  height: 1.45em;
  flex: 0 0 auto;
}

.hfs-copy-paste-paste.is-empty {
  opacity: .72;
}

.hfs-copy-paste-paste.is-ready {
  opacity: 1;
}

.hfs-copy-paste-label {
  display: none !important;
}

/* On touch/mobile keep exactly the same compact icon-button behaviour */
@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .hfs-copy-paste-paste {
    width: 3rem;
    min-width: 3rem;
    padding: .35rem .5rem;
  }
}
