/* Brochure copy link button styling */
.excalibur-brochure-card {
  position: relative;
}

.brochure-copy-link {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.5em;
  opacity: 0.8;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  z-index: 10;
  filter: brightness(0.7) contrast(1.2);
}

.brochure-copy-link:hover,
.brochure-copy-link:focus {
  opacity: 1;
  background: rgba(128, 128, 128, 0.2);
  transform: scale(1.15);
  filter: brightness(0.6) contrast(1.3);
}

/* Highlight effect for referenced brochure card */
.excalibur-brochure-card.brochure-highlighted {
  animation: brochureHighlight 3s ease;
  border-color: var(--md-primary-fg-color, #2196f3) !important;
  box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4) !important;
}

@keyframes brochureHighlight {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0);
  }
  50% {
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.6);
  }
}
