.contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;

  app-input { flex: 1; }
}

.contact-row__remove {
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-secondary, #6b7280);
  font-size: var(--font-size-lg, 1rem);

  &:hover { color: var(--error-color, #c0392b); }
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0;
}

.footer-column {
  display: grid;
  gap: 8px;
  width: 260px;
  padding: 10px;
  border: 1px solid var(--border-color, #d3dad9);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary, #f7f8f8);

  &.cdk-drag-preview { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
  &.cdk-drag-placeholder { opacity: 0.4; }
}

.footer-column__head {
  display: flex;
  align-items: center;
  gap: 6px;

  app-input { flex: 1; }
}

.footer-column__grip { cursor: grab; color: var(--text-secondary, #6b7280); }

.footer-column__reorder {
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-secondary, #6b7280);

  &:hover:not(:disabled) { color: var(--text-primary, #1e3c38); }

  &:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
}

.footer-column__remove {
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-secondary, #6b7280);
  font-size: var(--font-size-lg, 1rem);

  &:hover { color: var(--error-color, #c0392b); }
}

.footer-column__links {
  display: grid;
  gap: 6px;
  min-height: 20px;
}

.footer-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "grip label remove"
    "source source source"
    "target target target";
  gap: 4px 6px;
  align-items: center;
  padding: 6px;
  border: 1px solid var(--border-color, #d3dad9);
  border-radius: var(--radius-sm);
  background: #fff;

  &.cdk-drag-preview { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
  &.cdk-drag-placeholder { opacity: 0.4; }
}

.footer-link__grip { grid-area: grip; cursor: grab; color: var(--text-secondary, #6b7280); }
.footer-link app-input:first-of-type { grid-area: label; }
.footer-link__actions {
  grid-area: remove;
  display: flex;
  align-items: center;
  gap: 2px;

  button {
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-secondary, #6b7280);

    &:disabled {
      opacity: 0.4;
      cursor: not-allowed;
    }
  }
}
.footer-link__remove {
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-secondary, #6b7280);
}
.footer-link__source { grid-area: source; }
.footer-link app-input[type="url"], .footer-link select:not(.footer-link__source) { grid-area: target; }

.cdk-drag-animating { transition: transform 200ms cubic-bezier(0, 0, 0.2, 1); }
