268 lines
6.9 KiB
HTML
268 lines
6.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>HR Portal v4 — Sign In</title>
|
|
<style>
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, #0f2744 0%, #1e3a5f 40%, #1e40af 100%);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
body::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -200px; left: -200px;
|
|
width: 600px; height: 600px;
|
|
background: rgba(37,99,235,0.15);
|
|
border-radius: 50%;
|
|
}
|
|
body::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -150px; right: -150px;
|
|
width: 500px; height: 500px;
|
|
background: rgba(30,58,95,0.3);
|
|
border-radius: 50%;
|
|
}
|
|
.login-card {
|
|
background: #ffffff;
|
|
border-radius: 16px;
|
|
box-shadow: 0 25px 60px rgba(0,0,0,0.35);
|
|
padding: 48px 40px 40px;
|
|
width: 100%;
|
|
max-width: 420px;
|
|
position: relative;
|
|
z-index: 10;
|
|
}
|
|
.logo-area {
|
|
text-align: center;
|
|
margin-bottom: 36px;
|
|
}
|
|
.logo-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 56px; height: 56px;
|
|
background: #1e3a5f;
|
|
border-radius: 14px;
|
|
margin-bottom: 16px;
|
|
}
|
|
.logo-text {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: #0f172a;
|
|
letter-spacing: -0.3px;
|
|
}
|
|
.logo-sub {
|
|
font-size: 13px;
|
|
color: #64748b;
|
|
margin-top: 4px;
|
|
}
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
label {
|
|
display: block;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #374151;
|
|
margin-bottom: 6px;
|
|
}
|
|
.input-wrapper {
|
|
position: relative;
|
|
}
|
|
.input-icon {
|
|
position: absolute;
|
|
left: 12px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: #94a3b8;
|
|
}
|
|
input[type="email"], input[type="password"] {
|
|
width: 100%;
|
|
padding: 11px 14px 11px 40px;
|
|
border: 1.5px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
color: #0f172a;
|
|
background: #f8fafc;
|
|
transition: border-color 0.15s, box-shadow 0.15s;
|
|
outline: none;
|
|
font-family: inherit;
|
|
}
|
|
input:focus {
|
|
border-color: #2563eb;
|
|
box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
|
|
background: #ffffff;
|
|
}
|
|
.form-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 24px;
|
|
}
|
|
.remember-me {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
color: #64748b;
|
|
cursor: pointer;
|
|
}
|
|
.remember-me input[type="checkbox"] {
|
|
width: 15px; height: 15px;
|
|
padding: 0;
|
|
accent-color: #2563eb;
|
|
}
|
|
.forgot-link {
|
|
font-size: 13px;
|
|
color: #2563eb;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
.forgot-link:hover { text-decoration: underline; }
|
|
.btn-signin {
|
|
width: 100%;
|
|
padding: 12px;
|
|
background: #2563eb;
|
|
color: #ffffff;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
letter-spacing: 0.1px;
|
|
transition: background 0.15s, transform 0.1s;
|
|
}
|
|
.btn-signin:hover { background: #1d4ed8; transform: translateY(-1px); }
|
|
.btn-signin:active { transform: translateY(0); }
|
|
.divider {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin: 24px 0;
|
|
color: #cbd5e1;
|
|
font-size: 12px;
|
|
}
|
|
.divider::before, .divider::after {
|
|
content: ''; flex: 1;
|
|
height: 1px; background: #e2e8f0;
|
|
}
|
|
.sso-btn {
|
|
width: 100%;
|
|
padding: 11px;
|
|
background: #ffffff;
|
|
border: 1.5px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: #374151;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
transition: border-color 0.15s, background 0.15s;
|
|
}
|
|
.sso-btn:hover { border-color: #2563eb; background: #f8fafc; }
|
|
.card-footer {
|
|
text-align: center;
|
|
margin-top: 28px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #f1f5f9;
|
|
font-size: 12px;
|
|
color: #94a3b8;
|
|
}
|
|
.version-badge {
|
|
display: inline-block;
|
|
background: #eff6ff;
|
|
color: #2563eb;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
padding: 2px 8px;
|
|
border-radius: 20px;
|
|
margin-top: 6px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="login-card">
|
|
<div class="logo-area">
|
|
<div class="logo-icon">
|
|
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<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>
|
|
<div class="logo-text">HR Portal v4</div>
|
|
<div class="logo-sub">Human Resource Management System</div>
|
|
</div>
|
|
|
|
<form>
|
|
<div class="form-group">
|
|
<label for="email">Email Address</label>
|
|
<div class="input-wrapper">
|
|
<span class="input-icon">
|
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/>
|
|
<polyline points="22,6 12,13 2,6"/>
|
|
</svg>
|
|
</span>
|
|
<input type="email" id="email" placeholder="you@company.com" value="admin@hrportal.in">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="password">Password</label>
|
|
<div class="input-wrapper">
|
|
<span class="input-icon">
|
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<rect x="3" y="11" width="18" height="11" rx="2" ry="2"/>
|
|
<path d="M7 11V7a5 5 0 0 1 10 0v4"/>
|
|
</svg>
|
|
</span>
|
|
<input type="password" id="password" placeholder="Enter your password" value="••••••••••">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-footer">
|
|
<label class="remember-me">
|
|
<input type="checkbox" checked> Remember me
|
|
</label>
|
|
<a href="#" class="forgot-link">Forgot password?</a>
|
|
</div>
|
|
|
|
<button type="button" class="btn-signin">Sign In to HR Portal</button>
|
|
|
|
<div class="divider">or continue with</div>
|
|
|
|
<button type="button" class="sso-btn">
|
|
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<rect x="3" y="3" width="7" height="7"/><rect x="14" y="3" width="7" height="7"/>
|
|
<rect x="14" y="14" width="7" height="7"/><rect x="3" y="14" width="7" height="7"/>
|
|
</svg>
|
|
Sign in with Microsoft SSO
|
|
</button>
|
|
</form>
|
|
|
|
<div class="card-footer">
|
|
Secured by HR Portal v4 • © 2026 All rights reserved
|
|
<br>
|
|
<span class="version-badge">v4.2.1</span>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|