/* =========================
   Page Configs Index
   ========================= */

/* Reuse users.css layout entirely */
@import url("/static/admin/css/users.css");

/* Slug styling */
.users-table code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    background: var(--surface-100);
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 13px;
}

/* Status pills (mapped to users status look) */
.status-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.status-pill.active {
    background: color-mix(in srgb, var(--success-600) 20%, var(--white));
    color: var(--success-600);
}

.status-pill.inactive {
    background: var(--danger-bg);
    color: var(--danger-600);
}

/* Actions column spacing */
.users-table td.actions {
    white-space: nowrap;
}

.users-table td.actions .btn {
    margin-right: 6px;
}

.users-table td.actions .btn:last-child {
    margin-right: 0;
}

.config-form {
  display: grid;
  gap: 18px;
}

.config-form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
}

.config-active {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border-200);
  border-radius: var(--r-sm);
  background: var(--surface-50);
  height: 42px;
  white-space: nowrap;
}

.config-active input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-200);
}