<img class="brand-logo auth-logo" src="<?= e(asset('img/aosware-crm-logo.jpg')) ?>" alt="AOSWARE CRM">
<h1 class="auth-title">Sign in</h1>
<p class="auth-sub">Use your work email to open the CRM.</p>
<?php if (!empty($error)): ?><div class="alert alert-danger py-2"><?= e($error) ?></div><?php endif; ?>
<form class="auth-form" method="post" action="<?= e(url('login')) ?>">
  <?= csrf_field() ?>
  <label class="form-label" for="email">Email</label>
  <div class="auth-field">
    <i class="bi bi-envelope"></i>
    <input class="form-control" id="email" type="email" name="email" required placeholder="you@company.com">
  </div>
  <label class="form-label" for="password">Password</label>
  <div class="auth-field">
    <i class="bi bi-lock"></i>
    <input class="form-control" id="password" type="password" name="password" required placeholder="••••••••">
  </div>
  <button class="btn btn-primary auth-submit" type="submit">Sign in</button>
</form>
<p class="auth-demo">Demo: john.manager@aosware.local / Welcome1!</p>
