.dfl-copy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: 0.625rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  line-height: 1;
  vertical-align: middle;
  appearance: none;
  opacity: 0.78;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dfl-copy-link:hover {
  transform: translateY(-1px);
}

.dfl-copy-link:focus-visible {
  opacity: 1;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.dfl-copy-link--icon {
  position: relative;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
}

.dfl-copy-link--icon::after {
  content: attr(data-feedback);
  position: absolute;
  inset-block-start: calc(100% + 0.375rem);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  font-size: 0.6875rem;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.dfl-copy-link--icon.dfl-copied::after {
  opacity: 1;
}

.dfl-copy-link--text {
  min-height: 1.75rem;
  padding: 0.25rem 0.625rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.75rem;
}

.et_pb_toggle_title:hover .dfl-copy-link,
.et_pb_module_header:hover .dfl-copy-link,
.dfl-copy-link:focus-visible,
.dfl-copy-link.dfl-copied {
  opacity: 1;
}

.dfl-copy-live-region {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  clip: rect(0 0 0 0);
  border: 0;
  white-space: nowrap;
}

.dfl-highlighted-target {
  animation: dflPulseHighlight 1.2s ease;
}

@keyframes dflPulseHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.16);
  }

  30% {
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.08);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}
