| 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | <title>Reasonix — Login</title> |
| 7 | <style> |
| 8 | *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } |
| 9 | body { |
| 10 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; |
| 11 | background: #1a1a2e; |
| 12 | color: #e0e0e0; |
| 13 | display: flex; align-items: center; justify-content: center; |
| 14 | min-height: 100vh; |
| 15 | } |
| 16 | .login-box { |
| 17 | background: #16213e; |
| 18 | border: 1px solid #0f3460; |
| 19 | border-radius: 12px; |
| 20 | padding: 40px 36px; |
| 21 | width: 100%; |
| 22 | max-width: 380px; |
| 23 | box-shadow: 0 8px 32px rgba(0,0,0,0.3); |
| 24 | } |
| 25 | .login-box h1 { |
| 26 | font-size: 22px; |
| 27 | font-weight: 600; |
| 28 | text-align: center; |
| 29 | margin-bottom: 8px; |
| 30 | color: #e94560; |
| 31 | } |
| 32 | .login-box .subtitle { |
| 33 | text-align: center; |
| 34 | font-size: 13px; |
| 35 | color: #888; |
| 36 | margin-bottom: 28px; |
| 37 | } |
| 38 | .login-box label { |
| 39 | display: block; |
| 40 | font-size: 13px; |
| 41 | color: #aaa; |
| 42 | margin-bottom: 6px; |
| 43 | } |
| 44 | .login-box input[type="password"] { |
| 45 | width: 100%; |
| 46 | padding: 10px 14px; |
| 47 | border: 1px solid #0f3460; |
| 48 | border-radius: 8px; |
| 49 | background: #1a1a2e; |
| 50 | color: #e0e0e0; |
| 51 | font-size: 15px; |
| 52 | outline: none; |
| 53 | transition: border-color 0.2s; |
| 54 | } |
| 55 | .login-box input[type="password"]:focus { |
| 56 | border-color: #e94560; |
| 57 | } |
| 58 | .login-box button { |
| 59 | width: 100%; |
| 60 | margin-top: 20px; |
| 61 | padding: 10px 0; |
| 62 | border: none; |
| 63 | border-radius: 8px; |
| 64 | background: #e94560; |
| 65 | color: #fff; |
| 66 | font-size: 15px; |
| 67 | font-weight: 600; |
| 68 | cursor: pointer; |
| 69 | transition: background 0.2s; |
| 70 | } |
| 71 | .login-box button:hover { background: #d63851; } |
| 72 | .error { |
| 73 | background: rgba(233, 69, 96, 0.15); |
| 74 | border: 1px solid #e94560; |
| 75 | border-radius: 8px; |
| 76 | padding: 10px 14px; |
| 77 | font-size: 13px; |
| 78 | color: #e94560; |
| 79 | margin-bottom: 18px; |
| 80 | text-align: center; |
| 81 | } |
| 82 | </style> |
| 83 | </head> |
| 84 | <body> |
| 85 | <div class="login-box"> |
| 86 | <h1>Reasonix</h1> |
| 87 | <p class="subtitle">Enter the password to continue</p> |
| 88 | <!--ERROR--> |
| 89 | <form method="post" action="/login"> |
| 90 | <label for="password">Password</label> |
| 91 | <input type="password" id="password" name="password" autofocus autocomplete="current-password" placeholder="••••••••"> |
| 92 | <button type="submit">Sign in</button> |
| 93 | </form> |
| 94 | </div> |
| 95 | </body> |
| 96 | </html> |
| 97 |