
    /* Reuse the previous styles */
    :root {
      --primary-color: #6366f1;
      --secondary-color: #1e293b;
      --text-color: #e2e8f0;
      --glass-bg: rgba(255, 255, 255, 0.1);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Arial', sans-serif;
      background: linear-gradient(to bottom, #0f172a, #1e293b);
      color: var(--text-color);
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      overflow: hidden;
    }

    .container {
      background: var(--glass-bg);
      --webkit-backdrop-filter: blur(10px);
      border-radius: 16px;
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
      width: 350px;
      padding: 24px;
      text-align: center;
    }

    h1 {
      font-size: 1.5rem;
      margin-bottom: 16px;
    }

    button {
      display: inline-block;
      margin-top: 16px;
      padding: 10px 20px;
      font-size: 1rem;
      color: var(--text-color);
      background: var(--primary-color);
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    button:hover {
      background: #4c51bf;
    }

    .camera-feed {
      position: relative;
      margin: 16px auto;
      width: 200px;
      height: 200px;
      border: 4px solid var(--primary-color);
      border-radius: 50%;
      overflow: hidden;
    }

    .camera-feed video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .scan-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      color: var(--primary-color);
      font-size: 1.2rem;
      animation: scanning 2s infinite;
    }

    @keyframes scanning {
      0% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.1);
      }
      100% {
        transform: scale(1);
      }
    }

    form {
      display: flex;
      flex-direction: column;
    }

    input {
      margin: 8px 0;
      padding: 10px;
      border: 1px solid var(--primary-color);
      border-radius: 8px;
    }

    .error-message {
      margin-top: 16px;
      color: #f87171;
      font-size: 0.9rem;
    }

    .alternative-login {
      margin-top: 16px;
      font-size: 0.9rem;
    }

    .alternative-login a {
      color: var(--primary-color);
      text-decoration: none;
    }

    .alternative-login a:hover {
      text-decoration: underline;
    }
