import React from "react";

export default function DemoLoginButton({ onDemoLogin }) {
  return (
    <button
      className="demo-login-btn px-4 py-2 rounded bg-blue-600 text-white hover:bg-blue-700 transition"
      onClick={onDemoLogin}
      style={{ margin: "1rem auto", display: "block" }}
    >
      Login as Demo User
    </button>
  );
}
