Build an Auth Code Input component in React.
Requirements:
- Display six individual input boxes for a 6-digit code.
- Automatically move focus to the next input when a digit is entered.
- Support backspace to move focus back to the previous input.
- Allow pasting the full code into the first input and populate all fields.
- Collect the digits into a single value and call a callback on completion.
- Focus on functionality over styling.