104 lines
4.5 KiB
PHP
104 lines
4.5 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Candidate Assessment Login | SingleLogin</title>
|
|
@vite(['resources/css/app.css', 'resources/js/app.js'])
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Outfit:wght@500;600;700&display=swap" rel="stylesheet">
|
|
<style>
|
|
:root {
|
|
--bg-color: #0b0f19;
|
|
--card-bg: rgba(15, 23, 42, 0.7);
|
|
--card-border: rgba(255, 255, 255, 0.22);
|
|
--accent-primary: #6366f1;
|
|
--accent-secondary: #0078d4;
|
|
}
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body {
|
|
font-family: 'Instrument Sans', sans-serif;
|
|
background-color: var(--bg-color);
|
|
color: white;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
body::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -15%;
|
|
left: -15%;
|
|
width: 60%;
|
|
height: 60%;
|
|
background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(0,0,0,0) 70%);
|
|
z-index: 0;
|
|
}
|
|
.login-card {
|
|
background: var(--card-bg);
|
|
border: 1px solid var(--card-border);
|
|
border-radius: 24px;
|
|
padding: 36px;
|
|
width: 100%;
|
|
max-width: 440px;
|
|
backdrop-filter: blur(24px);
|
|
box-shadow: 0 25px 50px rgba(0,0,0,0.5);
|
|
z-index: 10;
|
|
}
|
|
.form-input {
|
|
width: 100%;
|
|
padding: 12px 14px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid var(--card-border);
|
|
border-radius: 10px;
|
|
color: white;
|
|
font-size: 0.9rem;
|
|
outline: none;
|
|
margin-bottom: 16px;
|
|
}
|
|
.form-input:focus {
|
|
border-color: var(--accent-primary);
|
|
box-shadow: 0 0 12px rgba(99, 102, 241, 0.35);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="login-card">
|
|
<div style="text-align: center; margin-bottom: 24px;">
|
|
<div style="width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, #6366f1 0%, #0078d4 100%); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 12px auto;">
|
|
⚡
|
|
</div>
|
|
<h2 style="font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700; color: white;">Candidate Assessment Portal</h2>
|
|
<div style="font-size: 0.8rem; color: #94a3b8; margin-top: 4px;">Enter temporary login credentials provided by HR</div>
|
|
</div>
|
|
|
|
@if(session('error'))
|
|
<div style="margin-bottom: 16px; background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; padding: 10px 14px; border-radius: 10px; font-size: 0.8rem;">
|
|
{{ session('error') }}
|
|
</div>
|
|
@endif
|
|
|
|
<form action="{{ route('interview.candidate.login.submit') }}" method="POST">
|
|
@csrf
|
|
<label style="display:block; font-size:0.8rem; color:#cbd5e1; margin-bottom:6px; font-weight:500;">Email or Phone Number</label>
|
|
<input type="text" name="identifier" required placeholder="alex@company.com or 9876543210" class="form-input">
|
|
|
|
<label style="display:block; font-size:0.8rem; color:#cbd5e1; margin-bottom:6px; font-weight:500;">Temporary Password</label>
|
|
<input type="password" name="temp_password" required placeholder="e.g. Pass-829103" class="form-input">
|
|
|
|
<button type="submit" style="width: 100%; padding: 12px; border-radius: 10px; background: linear-gradient(135deg, #6366f1 0%, #0078d4 100%); color: white; border: none; font-weight: 700; font-size: 0.95rem; cursor: pointer; margin-top: 10px;">
|
|
Enter Proctored Assessment Room
|
|
</button>
|
|
</form>
|
|
|
|
<div style="text-align: center; margin-top: 20px;">
|
|
<a href="{{ route('login') }}" style="color: #94a3b8; font-size: 0.8rem; text-decoration: none;">← Back to Corporate SSO Login</a>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|