Spaces:
Running
Running
File size: 3,541 Bytes
fb766c5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | <!DOCTYPE html>
<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> |