<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Authentication Complete</title>
  <style>
    :root {
      --bg: #eef1f4;
      --card-border: #ffffff;
      --card-bg: #ffffff;
      --text-primary: #1d2d3c;
      --text-secondary: #4d5c69;
      --brand: #c8102e;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      min-height: 100vh;
      display: grid;
      place-items: center;
      background: var(--bg);
      font-family: "Segoe UI", Arial, sans-serif;
      color: var(--text-primary);
    }
    .card {
      width: min(700px, 92vw);
      border: 2px solid var(--card-border);
      background: var(--card-bg);
      border-radius: 4px;
      padding: 28px 24px;
      text-align: center;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }
    .logo {
      width: 112px;
      height: auto;
      margin: 0 auto 26px auto;
      background: var(--brand);
      overflow: hidden;
      border-radius: 2px;
    }
    .logo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    h1 {
      margin: 0 0 14px 0;
      font-size: 32px;
      line-height: 1.1;
      font-weight: 500;
    }
    p {
      margin: 0;
      font-size: 18px;
      font-weight: 400;
      color: var(--text-secondary);
    }
    @media (max-width: 720px) {
      h1 { font-size: 30px; }
      p { font-size: 18px; }
      .card { padding: 24px 20px; }
    }
  </style>
</head>
<body>
  <main class="card">
    <div class="logo">
      <img src={{LOGO_DATA_URI}} alt="TYPSA" width="100%" height="100%" />
    </div>
    <h1>Authentication complete</h1>
    <p>You can close this window and return to the application.</p>
  </main>
</body>
</html>
