<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Norman MCP - Login</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
background-color: #f5f5f5;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.login-container {
background-color: white;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
padding: 32px;
width: 100%;
max-width: 400px;
}
.logo-container {
text-align: center;
margin-bottom: 24px;
}
.logo {
font-size: 24px;
font-weight: bold;
color: #333;
}
h1 {
font-size: 24px;
font-weight: 600;
color: #333;
margin-bottom: 24px;
text-align: center;
}
.form-group {
margin-bottom: 16px;
}
label {
display: block;
font-size: 14px;
font-weight: 500;
margin-bottom: 8px;
color: #555;
}
input[type="email"],
input[type="password"] {
width: 100%;
padding: 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
box-sizing: border-box;
transition: border-color 0.3s;
}
input[type="email"]:focus,
input[type="password"]:focus {
border-color: #4b4b4b;
outline: none;
}
button {
width: 100%;
padding: 12px;
background-color: #080809;
color: white;
border: none;
border-radius: 4px;
font-size: 16px;
font-weight: 500;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #4b4b4b;
}
.error-message {
color: #e53935;
font-size: 14px;
margin-top: 16px;
text-align: center;
}
</style>
</head>
<body>
<div class="login-container">
<div class="logo-container">
<div class="logo">Norman</div>
</div>
<h1>Sign in to Norman</h1>
{% if error %}
<div class="error-message">
{{ error }}
</div>
{% endif %}
<form method="post" action="/norman/login">
<input type="hidden" name="state" value="{{ state }}">
<div class="form-group">
<label for="email">Email Address</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" id="password" name="password" required>
</div>
<button type="submit">Sign In</button>
<div class="register-link" style="text-align: center; margin-top: 16px;">New to Norman? <a href="https://app.norman.finance/sign-up" target="_blank" style="color: #080809; text-decoration: none; font-weight: 600;">Register</a></div>
</form>
</div>
</body>
</html>