236 lines
7.5 KiB
HTML
236 lines
7.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Sign In — HR Portal</title>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
<style>
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
background: #FAFAFA;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.page-wrapper {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 48px 24px;
|
|
}
|
|
.login-card {
|
|
background: #FFFFFF;
|
|
border-radius: 12px;
|
|
border: 1px solid #E5E7EB;
|
|
box-shadow: 0 4px 24px rgba(0,0,0,0.06);
|
|
padding: 48px;
|
|
width: 100%;
|
|
max-width: 420px;
|
|
}
|
|
.card-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
margin-bottom: 32px;
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: #111827;
|
|
}
|
|
.logo-icon {
|
|
width: 36px; height: 36px;
|
|
background: #4F46E5;
|
|
border-radius: 8px;
|
|
display: flex; align-items: center; justify-content: center;
|
|
}
|
|
.logo-icon svg { width: 20px; height: 20px; }
|
|
.card-heading {
|
|
text-align: center;
|
|
margin-bottom: 28px;
|
|
}
|
|
.card-heading h1 {
|
|
font-size: 24px; font-weight: 700; color: #111827; margin-bottom: 6px;
|
|
}
|
|
.card-heading p {
|
|
font-size: 14px; color: #6B7280;
|
|
}
|
|
.form-group { margin-bottom: 20px; }
|
|
.form-label {
|
|
display: block;
|
|
font-size: 14px; font-weight: 500; color: #374151;
|
|
margin-bottom: 6px;
|
|
}
|
|
.form-input {
|
|
width: 100%;
|
|
padding: 10px 14px;
|
|
border: 1.5px solid #E5E7EB;
|
|
border-radius: 6px;
|
|
font-size: 14px; font-family: 'Inter', sans-serif;
|
|
color: #111827;
|
|
background: #FFFFFF;
|
|
transition: border-color 0.15s;
|
|
outline: none;
|
|
}
|
|
.form-input:focus { border-color: #4F46E5; box-shadow: 0 0 0 3px rgba(79,70,229,0.08); }
|
|
.form-input::placeholder { color: #9CA3AF; }
|
|
.form-row-between {
|
|
display: flex; align-items: center; justify-content: space-between;
|
|
margin-bottom: 6px;
|
|
}
|
|
.forgot-link {
|
|
font-size: 13px; color: #4F46E5; text-decoration: none; font-weight: 500;
|
|
}
|
|
.forgot-link:hover { text-decoration: underline; }
|
|
.password-wrapper { position: relative; }
|
|
.password-toggle {
|
|
position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
|
|
background: none; border: none; cursor: pointer; color: #9CA3AF;
|
|
display: flex; align-items: center;
|
|
}
|
|
.checkbox-row {
|
|
display: flex; align-items: center; gap: 8px; margin-bottom: 24px;
|
|
}
|
|
.checkbox-row input[type="checkbox"] {
|
|
width: 16px; height: 16px; accent-color: #4F46E5; cursor: pointer;
|
|
}
|
|
.checkbox-row label { font-size: 14px; color: #374151; cursor: pointer; }
|
|
.btn-submit {
|
|
width: 100%;
|
|
padding: 11px;
|
|
background: #4F46E5;
|
|
color: #FFFFFF;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
font-family: 'Inter', sans-serif;
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
margin-bottom: 20px;
|
|
}
|
|
.btn-submit:hover { background: #4338CA; }
|
|
.divider {
|
|
display: flex; align-items: center; gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
.divider-line { flex: 1; height: 1px; background: #E5E7EB; }
|
|
.divider-text { font-size: 12px; color: #9CA3AF; }
|
|
.btn-sso {
|
|
width: 100%;
|
|
padding: 10px;
|
|
background: #FFFFFF;
|
|
color: #374151;
|
|
border: 1.5px solid #E5E7EB;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
font-family: 'Inter', sans-serif;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
display: flex; align-items: center; justify-content: center; gap: 8px;
|
|
margin-bottom: 24px;
|
|
}
|
|
.btn-sso:hover { border-color: #9CA3AF; background: #F9FAFB; }
|
|
.card-footer {
|
|
text-align: center;
|
|
font-size: 14px;
|
|
color: #6B7280;
|
|
}
|
|
.card-footer a {
|
|
color: #4F46E5; text-decoration: none; font-weight: 500;
|
|
}
|
|
.card-footer a:hover { text-decoration: underline; }
|
|
.top-bar {
|
|
display: flex; justify-content: space-between; align-items: center;
|
|
padding: 16px 32px;
|
|
background: #FFFFFF; border-bottom: 1px solid #E5E7EB;
|
|
}
|
|
.top-bar-logo {
|
|
display: flex; align-items: center; gap: 10px;
|
|
font-size: 18px; font-weight: 700; color: #111827;
|
|
text-decoration: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="top-bar">
|
|
<a href="01-landing.html" class="top-bar-logo">
|
|
<div class="logo-icon">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="#FFFFFF" stroke-width="2">
|
|
<path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/>
|
|
<circle cx="9" cy="7" r="4"/>
|
|
<path d="M23 21v-2a4 4 0 0 0-3-3.87"/>
|
|
<path d="M16 3.13a4 4 0 0 1 0 7.75"/>
|
|
</svg>
|
|
</div>
|
|
HR Portal
|
|
</a>
|
|
<a href="03-register.html" style="font-size:14px;color:#6B7280;text-decoration:none;">New to HR Portal? <strong style="color:#4F46E5;">Create account</strong></a>
|
|
</div>
|
|
|
|
<div class="page-wrapper">
|
|
<div class="login-card">
|
|
<div class="card-heading">
|
|
<h1>Welcome back</h1>
|
|
<p>Sign in to your HR Portal account</p>
|
|
</div>
|
|
|
|
<form>
|
|
<div class="form-group">
|
|
<label class="form-label" for="email">Work Email</label>
|
|
<input class="form-input" type="email" id="email" placeholder="sarah@company.com" value="sarah@techflow.com">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<div class="form-row-between">
|
|
<label class="form-label" for="password" style="margin-bottom:0;">Password</label>
|
|
<a href="#" class="forgot-link">Forgot password?</a>
|
|
</div>
|
|
<div class="password-wrapper">
|
|
<input class="form-input" type="password" id="password" placeholder="Enter your password" value="••••••••••" style="padding-right:44px;">
|
|
<button type="button" class="password-toggle">
|
|
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/>
|
|
<circle cx="12" cy="12" r="3"/>
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="checkbox-row">
|
|
<input type="checkbox" id="remember" checked>
|
|
<label for="remember">Keep me signed in for 30 days</label>
|
|
</div>
|
|
|
|
<button type="submit" class="btn-submit">Sign In</button>
|
|
|
|
<div class="divider">
|
|
<div class="divider-line"></div>
|
|
<span class="divider-text">or continue with</span>
|
|
<div class="divider-line"></div>
|
|
</div>
|
|
|
|
<button type="button" class="btn-sso">
|
|
<svg width="18" height="18" viewBox="0 0 24 24">
|
|
<path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z" fill="#4285F4"/>
|
|
<path d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z" fill="#34A853"/>
|
|
<path d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z" fill="#FBBC05"/>
|
|
<path d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z" fill="#EA4335"/>
|
|
</svg>
|
|
Continue with Google Workspace
|
|
</button>
|
|
</form>
|
|
|
|
<div class="card-footer">
|
|
Don't have an account? <a href="03-register.html">Register your company</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|