/* Founding Pilot — success card copy link (dark organism surface) */

.kyc-fb-intake .kyc-fb-confirm .kyc-copy-link-row {
  margin-top: 1.25rem;
  padding: 0 0.25rem;
}

.kyc-fb-intake .kyc-fb-copy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  min-width: min(100%, 20rem);
  padding: 0.75rem 1.35rem;
  margin: 0 auto;
  border-radius: var(--kyc-radius-sm, 8px);
  border: 1px solid rgba(100, 200, 255, 0.55);
  background: linear-gradient(180deg, #0c1a2e 0%, #081220 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  cursor: pointer;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(100, 200, 255, 0.12),
    0 0 18px rgba(80, 180, 255, 0.18);
  transition:
    transform 0.12s ease,
    border-color 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.kyc-fb-intake .kyc-fb-copy-link:hover {
  transform: translateY(-2px);
  border-color: rgba(120, 220, 255, 0.85);
  background: linear-gradient(180deg, #122a45 0%, #0c1a2e 100%);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(120, 220, 255, 0.25),
    0 0 28px rgba(100, 200, 255, 0.35);
}

.kyc-fb-intake .kyc-fb-copy-link:active {
  transform: translateY(0);
  border-color: rgba(80, 160, 220, 0.9);
  background: #0a1524;
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.45),
    inset 0 2px 6px rgba(0, 0, 0, 0.25);
}

.kyc-fb-intake .kyc-fb-copy-link:focus {
  outline: none;
}

.kyc-fb-intake .kyc-fb-copy-link:focus-visible {
  outline: 2px solid #7ec8ff;
  outline-offset: 3px;
}

.kyc-fb-intake .kyc-fb-copy-link.is-copied {
  border-color: rgba(20, 199, 132, 0.85);
  background: linear-gradient(180deg, #0d2a22 0%, #0a1a16 100%);
  color: #e8fff6;
  animation: kyc-fb-copy-success 1.5s ease-out;
}

.kyc-fb-intake .kyc-fb-copy-link.is-copy-flash {
  transform: translateY(-1px) scale(0.99);
}

.kyc-fb-intake .kyc-fb-copy-link:disabled,
.kyc-fb-intake .kyc-fb-copy-link[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@keyframes kyc-fb-copy-success {
  0% {
    box-shadow:
      0 0 0 0 rgba(20, 199, 132, 0.55),
      0 0 24px rgba(100, 220, 255, 0.35);
  }
  40% {
    box-shadow:
      0 0 0 6px rgba(20, 199, 132, 0.2),
      0 0 32px rgba(20, 199, 132, 0.45);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(20, 199, 132, 0),
      0 2px 8px rgba(0, 0, 0, 0.35);
  }
}

@media (max-width: 480px) {
  .kyc-fb-intake .kyc-fb-copy-link {
    width: 100%;
    min-width: 0;
    padding: 0.85rem 1rem;
  }
}
