/*
 * Super Admin → Export connections (super_admin/export_connections): the
 * environment badge, the details table's label column, and section headings.
 * Everything else uses the shared card, table, form and button classes.
 */

.xconn-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}

.xconn-subtitle {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 0;
}

/* Environment badge: which kind of destination the connection writes to. */
.xconn-env {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.xconn-env--test {
  background: var(--blue-tint);
  color: var(--blue);
}

.xconn-env--production {
  background: var(--red-tint);
  color: var(--red);
}

.xconn-status--ok {
  color: var(--green);
  font-weight: 600;
}

.xconn-status--failed {
  color: var(--red);
  font-weight: 600;
}

/* Details table: a fixed label column beside the values. */
.xconn-details th {
  width: 200px;
  text-align: left;
}

.xconn-test-error {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.xconn-actions {
  text-align: right;
  white-space: nowrap;
}

.xconn-adapter-note {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 12px;
}
