<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Setup — OneSalesFlow</title>
<style>
  *{box-sizing:border-box;margin:0;padding:0}
  body{font-family:'Segoe UI',Roboto,-apple-system,sans-serif;background:#F4F1FB;color:#241E42;
       display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px}
  .card{background:#fff;border-radius:18px;box-shadow:0 18px 50px rgba(88,28,135,.13);
        width:100%;max-width:460px;overflow:hidden}
  .head{background:linear-gradient(135deg,#EC4899,#8B5CF6);color:#fff;padding:26px 28px}
  .head h1{font-size:19px;margin-bottom:5px}
  .head p{font-size:13px;opacity:.92}
  .body{padding:26px 28px 30px}
  label{display:block;font-size:13px;font-weight:600;margin:16px 0 6px}
  input[type=text],input[type=password]{width:100%;padding:11px 13px;border:1.5px solid #E4DDF3;
        border-radius:9px;font-size:14px;font-family:inherit;background:#FCFAFF}
  input:focus{outline:none;border-color:#8B5CF6}
  button{width:100%;margin-top:22px;background:linear-gradient(135deg,#EC4899,#8B5CF6);color:#fff;
         border:none;padding:13px;border-radius:9px;font-size:14px;font-weight:700;cursor:pointer;
         font-family:inherit}
  button:hover{opacity:.92}
  .msg{padding:12px 14px;border-radius:9px;font-size:13px;line-height:1.5;margin-bottom:4px}
  .err{background:#FEF2F2;color:#B91C1C;border:1px solid #FECACA}
  .ok{background:#F0FDF4;color:#15803D;border:1px solid #BBF7D0}
  .warn{background:#FFFBEB;color:#92400E;border:1px solid #FDE68A}
  .hint{font-size:12px;color:#6B6485;margin-top:7px;line-height:1.5}
  pre{background:#1E1B33;color:#E9E4FF;padding:14px;border-radius:9px;font-size:11.5px;
      overflow:auto;margin-top:12px;line-height:1.5}
  a.btn{display:block;text-align:center;margin-top:18px;background:linear-gradient(135deg,#EC4899,#8B5CF6);
        color:#fff;padding:13px;border-radius:9px;text-decoration:none;font-weight:700;font-size:14px}
  code{background:#F3EFFC;padding:2px 6px;border-radius:5px;font-size:12.5px}
</style>
<link rel="stylesheet" href="/mobile.css?v=1790414507">
</head>
<body>
<div class="card">
  <div class="head">
    <h1>Admin Account Setup</h1>
    <p>OneSalesFlow — one-time setup</p>
  </div>
  <div class="body">

  
    
          <form method="post" autocomplete="off">
        <label for="u">Username</label>
        <input id="u" type="text" name="username" required autofocus
               value="">

        <label for="p">Password</label>
        <input id="p" type="password" name="password" required minlength="10">
        <p class="hint">At least 10 characters. Do not reuse your cPanel or email password.</p>

        <label for="p2">Confirm password</label>
        <input id="p2" type="password" name="password2" required minlength="10">

        <button type="submit">Create admin account</button>
      </form>
      <p class="hint">Your password is never stored — only a bcrypt hash of it.</p>
    
  
  </div>
</div>
</body>
</html>
