Spaces:
Running
Running
| <html lang="en" dir="ltr"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>DataSaffron - Login</title> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| :root { | |
| --primary: #f97316; | |
| --primary-light: #fb923c; | |
| --dark: #1f2937; | |
| --light: #f9fafb; | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| font-family: 'Inter', sans-serif; | |
| } | |
| body { | |
| background-color: var(--light); | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| min-height: 100vh; | |
| } | |
| .login-container { | |
| background: white; | |
| border-radius: 16px; | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); | |
| width: 400px; | |
| padding: 40px; | |
| text-align: center; | |
| } | |
| .logo { | |
| color: var(--primary); | |
| font-size: 3rem; | |
| margin-bottom: 20px; | |
| } | |
| h1 { | |
| color: var(--dark); | |
| margin-bottom: 30px; | |
| font-size: 1.8rem; | |
| } | |
| .form-group { | |
| margin-bottom: 20px; | |
| text-align: left; | |
| } | |
| .form-group label { | |
| display: block; | |
| margin-bottom: 8px; | |
| color: var(--dark); | |
| font-weight: 500; | |
| } | |
| .form-group input { | |
| width: 100%; | |
| padding: 12px 15px; | |
| border: 2px solid #e5e7eb; | |
| border-radius: 8px; | |
| font-size: 16px; | |
| transition: all 0.3s; | |
| } | |
| .form-group input:focus { | |
| outline: none; | |
| border-color: var(--primary); | |
| box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2); | |
| } | |
| .btn-login { | |
| background-color: var(--primary); | |
| color: white; | |
| border: none; | |
| padding: 12px; | |
| width: 100%; | |
| border-radius: 8px; | |
| font-size: 16px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: background 0.3s; | |
| margin-top: 10px; | |
| } | |
| .btn-login:hover { | |
| background-color: var(--primary-light); | |
| } | |
| .forgot-password { | |
| display: block; | |
| margin-top: 15px; | |
| color: var(--primary); | |
| text-decoration: none; | |
| font-size: 14px; | |
| } | |
| .forgot-password:hover { | |
| text-decoration: underline; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="login-container"> | |
| <div class="logo"> | |
| <i class="fas fa-chart-line"></i> | |
| </div> | |
| <h1>Welcome to DataSaffron</h1> | |
| <form id="loginForm"> | |
| <div class="form-group"> | |
| <label for="username">Username</label> | |
| <input type="text" id="username" placeholder="Enter your username" required> | |
| </div> | |
| <div class="form-group"> | |
| <label for="password">Password</label> | |
| <input type="password" id="password" placeholder="Enter your password" required> | |
| </div> | |
| <button type="submit" class="btn-login">Login</button> | |
| <a href="#" class="forgot-password">Forgot password?</a> | |
| </form> | |
| </div> | |
| <script src="script.js"></script> | |
| </body> | |
| </html> |