<?php
$pageTitle = 'PetCare | Login';
include __DIR__ . '/includes/header.php';
?>
<section class="auth-section">
  <div class="container auth-grid">
    <div class="auth-card reveal">
      <span class="eyebrow">Inicia sesión</span>
      <h2>Bienvenido de nuevo</h2>
      <p>Ingresa tus datos para continuar con tus pedidos y recomendaciones.</p>

      <form class="auth-form" id="loginForm" method="post" action="index.php?page=auth&action=login">
        <label>
          Usuario
          <div class="input-icon">
            <span class="field-icon">👤</span>
            <input type="text" name="usuario" placeholder="Nombre de usuario" class="validate-input" data-type="text" required />
          </div>
        </label>
        <label>
          Contraseña
          <div class="input-icon">
            <span class="field-icon">🔒</span>
            <input type="password" name="password" placeholder="Contraseña" class="validate-input" data-type="password" required />
          </div>
        </label>
        <button type="submit" class="btn btn-primary">Ingresar</button>
      </form>
    </div>
  </div>
</section>
<?php include __DIR__ . '/includes/footer.php';
