<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
  <title>Demo-Setup</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"/>

  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/noty/3.2.0-beta/noty.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/noty/3.2.0-beta/themes/mint.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/noty/3.2.0-beta/noty.min.js"></script>


  <link rel="stylesheet" href="/css/style.css"/>
  <style>
    /* ===== Base Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, sans-serif;
}

body.auth-body {
  background: #f5f7fa;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
}

/* ===== Auth Container ===== */
.auth-container {
  width: 100%;
  max-width: 420px;
}

.auth-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.auth-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
}

.auth-subtitle {
  font-size: 1rem;
  color: #666;
}

/* ===== Form Styling ===== */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #444;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: 0.6rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: orangered;
  outline: none;
}

/* ===== Button ===== */
.btn {
  cursor: pointer;
  padding: 0.9rem 1rem;
  border-radius: 0.6rem;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary {
  background: orangered;
  color: #fff;
}

.btn-primary:hover {
  background: orangered;
}

.w-100 {
  width: 100%;
}

/* ===== Footer note ===== */
.auth-footnote {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.auth-footnote a {
  color: orangered;
  font-weight: 600;
  text-decoration: none;
}

.auth-footnote a:hover {
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .auth-card {
    padding: 1.5rem;
  }

  .auth-title {
    font-size: 1.5rem;
  }

  .form-input {
    font-size: 0.95rem;
    padding: 0.75rem 0.9rem;
  }
}

@media (max-width: 480px) {
  .auth-card {
    padding: 1rem;
    border-radius: 0.8rem;
  }

  .auth-title {
    font-size: 1.3rem;
  }

  .auth-subtitle {
    font-size: 0.9rem;
  }

  .btn {
    font-size: 0.95rem;
    padding: 0.8rem;
  }
}

  </style>
</head>
<body class="auth-body">
  <main class="auth-container">
    <section class="auth-card">
      <h1 class="auth-title">Demo Setup</h1>
      <p class="auth-subtitle">It’s quick and easy..</p>

      <form action="/demo-setup" method="POST" class="auth-form">
         <%- include ("./partials/messages"); %>
        <input class="form-input" type="text" name="customerName" placeholder="Your Name" required/>
        <input class="form-input" type="phone" name="phone" placeholder="Your Mobile No." required/>
        <input class="form-input" type="text" name="demoLicenseKey" placeholder="Demo Key" required/>
        <button class="btn btn-primary w-100" type="submit">Start Demo</button>
      </form>
     
    </section>
  </main>
</body>
</html>
