/*
 * affiliate-link-cleaner.css — result list for the Affiliate Link Cleaner.
 * Tokens only; no inline styles (CSP). Layout leans on shared utilities.
 */

.alc-toggle { margin-top: var(--space-3); }

/* Result list — one card per cleaned URL, comfortably stacked. */
.alc-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.alc-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Head row: status badges left, per-URL copy button pushed to the right. */
.alc-item-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.alc-item-head .alc-copy-one { margin-left: auto; }

/* Before / after URL lines — mono, wrap anywhere so long URLs never overflow. */
.alc-url {
  display: flex;
  gap: var(--space-2);
  align-items: baseline;
}
.alc-label {
  flex: none;
  width: 48px;
  font: 600 11px var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
}
.alc-url-text {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  min-width: 0;
}
.alc-url-before .alc-url-text {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--error-300);
}
.alc-url-after .alc-url-text { color: var(--text-primary); }

/* Removed-parameter chips — muted, struck through to read as "deleted". */
.alc-removed { margin-top: var(--space-1); }
.alc-param {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--neutral-100);
  color: var(--text-muted);
  font: 500 11px var(--font-mono);
  text-decoration: line-through;
}
