<?php
$user_id = $_GET['user_id'] ?? '';
?>

<!DOCTYPE html>
<html lang="ko">
<head>
  <meta charset="UTF-8" />
  <title>인증코드 확인</title>
</head>
<body>
  <div class="login-wrapper">
    <h2>인증코드 입력</h2>
    <form action="reset-password.php" method="POST">
      <input type="hidden" name="user_id" value="<?php echo htmlspecialchars($user_id); ?>" />
      <label for="code">6자리 인증코드</label>
      <input type="text" id="code" name="code" required maxlength="6" pattern="\d{6}" />
      <button type="submit">확인</button>
    </form>
  </div>
</body>
</html>
