/* UTM-Builder – ergänzt tool-kit.css */

#utm-result {
  width: 100%;
  min-height: 84px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  color: #bfdbfe;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 0.9rem 1rem;
  resize: vertical;
  word-break: break-all;
}

#utm-result:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }

.utm-empty {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
  padding: 1rem 0 0;
}

.utm-result-card { border-color: rgba(59, 130, 246, 0.28); }

/* Parameterübersicht */
#utm-preview { margin-top: 1.25rem; }

#utm-preview .data-table td:first-child { width: 34%; white-space: nowrap; }

/* Gesammelte Links */
.utm-list-url {
  color: #bfdbfe;
  display: block;
  font-size: 0.74rem;
  line-height: 1.4;
  word-break: break-all;
}

.utm-list-actions { white-space: nowrap; }
.utm-list-actions .btn-small { margin-left: 0.35rem; }

#utm-list-count {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin: 0 0 0.75rem;
}

.utm-list-table td { vertical-align: middle; }
.utm-list-table td:first-child { font-weight: 600; color: var(--text-main); white-space: nowrap; }

@media (max-width: 640px) {
  .utm-list-table thead { display: none; }
  .utm-list-table tr {
    display: grid;
    gap: 0.3rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--glass-border);
  }
  .utm-list-table td { border: none; padding: 0; }
  .utm-list-actions { display: flex; gap: 0.4rem; }
  .utm-list-actions .btn-small { margin-left: 0; }
}
