{{ define "register.html" }}
<!DOCTYPE html>
<html>
<head><title>Register</title><link rel="stylesheet" href="/static/style.css"></head>
<body>
    <div class="center-container">
        <div class="auth-box">
            <h2 style="color: white;">Start Free Trial</h2>
            {{ if .Error }}<div style="color: red; margin-bottom: 10px;">{{ .Error }}</div>{{ end }}
            <form action="/register" method="POST">
                <input type="email" name="email" placeholder="Email" required>
                <input type="password" name="password" placeholder="Password" required>
                <button type="submit">Create Account</button>
            </form>
            <p style="margin-top: 15px;"><a href="/login">Already have an account?</a></p>
        </div>
    </div>
</body>
</html>
{{ end }}