.dfl-copy-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 1;
  vertical-align: middle;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dfl-copy-link--icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0.75;
}

.dfl-copy-link--icon::after {
  content: attr(data-feedback);
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  font-size: 11px;
  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 {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid currentColor;
  opacity: 0.85;
}

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

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

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

.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);
  }
}
