<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sign in — Nowills SQC ERP</title>
<link rel="stylesheet" href="{{ asset('css/erp.css') }}">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' rx='18' fill='%23f26a1b'/><text x='50' y='68' font-size='55' text-anchor='middle' fill='white' font-family='Arial' font-weight='bold'>N</text></svg>">
</head>
<body>
<div class="login-wrap">
  <div class="login-l">
    <div><span class="bdg b-warn">Stone Quarry & Construction ERP</span></div>
    <h1>NOWILLS <em>SQC</em> ERP</h1>
    <p>One industrial platform for the pit, the crusher, the weighbridge, the fleet, the site and the boardroom — production, dispatch, projects, fleet, HR, payroll and finance in a single MySQL-backed system.</p>
    <div class="login-feats">
      <div><b>⛏ Quarry</b><br>Blasting, extraction, crushing & stockpiles</div>
      <div><b>⚖ Dispatch</b><br>Weighbridge, gate pass & invoicing</div>
      <div><b>🚛 Fleet</b><br>Fuel, trips, tyres & maintenance</div>
      <div><b>🏗 Projects</b><br>BOQ, WBS, IPCs & site diaries</div>
      <div><b>👷 HR & Payroll</b><br>Attendance, PAYE, SSNIT & payslips</div>
      <div><b>📒 Finance</b><br>GL, VAT, WHT, budgets & assets</div>
    </div>
  </div>
  <div class="login-r">
    <div class="login-card">
      <div class="hazard" style="border-radius:6px;margin-bottom:16px"></div>
      <h2>Sign in</h2>
      <p class="muted small">Use your username or email address.</p>
      @include('partials.flash')
      <form method="POST" action="{{ route('login.post') }}">
        @csrf
        <div class="fld"><label>Username or email</label><input type="text" name="login" value="{{ old('login') }}" required autofocus autocomplete="username"></div>
        <div class="fld"><label>Password</label><input type="password" name="password" required autocomplete="current-password"></div>
        <label class="checkline"><input type="checkbox" name="remember" value="1"> Remember me</label>
        <button class="btn btn-pri" style="width:100%;justify-content:center;padding:11px">Sign in →</button>
      </form>
      <p class="muted small c" style="margin-top:16px">Nowills Stone Quarry & Construction Ltd · Accra, Ghana</p>
    </div>
  </div>
</div>
</body>
</html>
