<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>403 — Access Denied | SwiftPOS</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  <style>
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #1a0a00, #4a1000, #2d0000);
      font-family: 'Segoe UI', sans-serif;
      color: #fff;
    }
    .shield-anim {
      font-size: 80px;
      animation: shake 2s ease-in-out infinite;
    }
    @keyframes shake {
      0%,100%{transform:rotate(0)} 25%{transform:rotate(-5deg)} 75%{transform:rotate(5deg)}
    }
    .error-number {
      font-size: clamp(90px, 18vw, 148px);
      font-weight: 900;
      line-height: 1;
      background: linear-gradient(135deg, #f5576c, #fa709a);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      letter-spacing: -6px;
    }
    .error-card { text-align: center; max-width: 500px; padding: 60px 36px; }
    .error-title { font-size: 26px; font-weight: 700; margin: 16px 0 10px; }
    .error-desc { opacity: .7; line-height: 1.7; margin-bottom: 36px; }
    .btn-home {
      background: linear-gradient(135deg, #f5576c, #fa709a);
      color: white; border: none;
      padding: 14px 36px; border-radius: 50px;
      font-size: 16px; font-weight: 600;
      text-decoration: none;
      display: inline-flex; align-items: center; gap: 10px;
      transition: transform .2s, box-shadow .2s;
    }
    .btn-home:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(245,87,108,.5); color: white; }
    .btn-back {
      background: rgba(255,255,255,.1); color: white;
      border: 1px solid rgba(255,255,255,.2);
      padding: 14px 28px; border-radius: 50px;
      font-size: 16px; font-weight: 500;
      text-decoration: none; margin-left: 12px;
      display: inline-flex; align-items: center; gap: 8px;
      transition: background .2s;
    }
    .btn-back:hover { background: rgba(255,255,255,.2); color: white; }
    .brand { font-size: 13px; opacity: .35; margin-top: 40px; letter-spacing: 2px; text-transform: uppercase; }
  </style>
</head>
<body>
  <div class="error-card">
    <div class="error-number">403</div>
    <div class="shield-anim">🔒</div>
    <h1 class="error-title">Access Denied</h1>
    <p class="error-desc">
      You don't have permission to access this page.<br>
      If you think this is a mistake, contact your administrator.
    </p>
    <div>
      <a href="/" class="btn-home"><i class="fas fa-home"></i> Go Home</a>
      <a href="javascript:history.back()" class="btn-back"><i class="fas fa-arrow-left"></i> Go Back</a>
    </div>
    <p class="brand">SwiftPOS Software</p>
  </div>
</body>
</html>
