/**
 * @file
 * Space form styling.
 */

/* Form wrapper */
.space-form {
  max-width: 100%;
}

/* Basic info section - full width at top */
.space-form__basic {
  margin-bottom: 1.5rem;
}

.space-form__basic .form-item-label-0-value input {
  font-size: 1.5rem;
  font-weight: 600;
}

/* API Key styling */
.space-form__apikey {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--gin-color-layer-2, #f3f4f6);
  border: 1px solid var(--gin-color-neutral-200, #e5e7eb);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8125rem;
  word-break: break-all;
  user-select: all;
}

/* Content types checkboxes */
.space-form [data-drupal-selector="edit-content-types"] .form-checkboxes,
.space-form .field--name-content-types .form-checkboxes {
  display: block !important;
}

.space-form [data-drupal-selector="edit-content-types"] .form-checkboxes .form-item,
.space-form .field--name-content-types .form-checkboxes .form-item {
  margin: 0 0 0.25rem 0;
}

/* Entity reference autocomplete */
.space-form .form-autocomplete {
  max-width: 100%;
}

/* Actions/buttons */
.space-form .form-actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gin-color-neutral-200, #e5e7eb);
}
