/* index.php (Projects) - page-specific deltas only; the shared shell/table kit lives in components/redesign-ui.css. */

/* ---------- Page header row ---------- */

.idx-head__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.idx-head__btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Joined stats box: Active / Paused / Archived. */
.idx-stats {
  display: flex;
  overflow: hidden;
}

.idx-stat {
  padding: 12px 22px;
  text-align: center;
}

.idx-stat + .idx-stat {
  border-left: 1px solid var(--border);
}

.idx-stat__val {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.idx-stat--active .idx-stat__val { color: var(--accent); }
.idx-stat--archived .idx-stat__val { color: var(--faint); }

.idx-stat__label {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Projects table (deltas over the rd-table kit) ---------- */

.idx-tablecard {
  margin-top: 16px;
}

.idx-row-act {
  width: 80px;
}

.idx-row-id {
  width: 70px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  color: var(--muted);
}

/* Sparser table than the experiment lists - give long names more room. */
.idx-row-name {
  max-width: 660px;
}

/* Badges: * = flagged fork site, R = reporting connected. */
.zvds {
  color: var(--danger);
  font-size: 15px;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}

.zvds1 {
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
  background: var(--danger);
  border-radius: 999px;
  padding: 2px 5px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---------- Modals (.close lives in components/redesign-ui.css) ---------- */

.idx-name-lg {
  font-size: 15px;
  font-weight: 600;
}

.idx-action-link {
  margin-right: 26px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
}

.idx-token-row {
  display: flex;
  gap: 10px;
}

.idx-token-row .rd-input {
  flex: 1;
  min-width: 0;
}

.idx-selects-row {
  display: flex;
  gap: 10px;
}

.idx-selects-row select {
  flex: 1;
}

/* Built by JS into #parrentchildpar on the subdomain flow. */
.idx-subdomain-note {
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
}
