.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  width: 100%;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.label {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-base);
  letter-spacing: 0.14px;
}

.field-hint {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.field-error {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-negative);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.flash {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-subtle);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.flash--alert {
  background-color: rgba(243, 114, 127, 0.12);
  color: var(--color-negative);
  border: 1px solid rgba(243, 114, 127, 0.4);
}

.flash--notice {
  background-color: rgba(30, 215, 96, 0.12);
  color: var(--color-accent);
  border: 1px solid rgba(30, 215, 96, 0.4);
}

.divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-border);
  border: none;
  margin: var(--space-5) 0;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.ai-button {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background-color: rgba(30, 215, 96, 0.14);
  color: var(--color-accent);
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.ai-button:hover:not(:disabled) {
  background-color: rgba(30, 215, 96, 0.22);
}

.ai-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ai-button--busy {
  pointer-events: none;
  opacity: 0.7;
}
