MIF_E31221353/resources/views/auth/forgot-password.blade.php

68 lines
3.4 KiB
PHP

<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lupa Password - Absensi</title>
<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=Inter:wght@400;600;700&display=swap" rel="stylesheet">
<style>
:root { --bg: #0f172a; --card: #111827; --muted: #9ca3af; --text: #e5e7eb; --primary: #3b82f6; }
* { box-sizing: border-box; }
body {
margin: 0;
font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
color: var(--text);
min-height: 100vh;
display: grid;
place-items: center;
background:
linear-gradient(180deg, rgba(2,6,23,0.70), rgba(2,6,23,0.85)),
url('{{ asset('images/bg-truck.jpg') }}') center center / cover no-repeat fixed;
background-color: #0b1220;
}
.card { width: 100%; max-width: 480px; background: rgba(17, 24, 39, 0.85); border: 1px solid rgba(148, 163, 184, 0.1); border-radius: 16px; padding: 28px; box-shadow: 0 10px 30px rgba(0,0,0,0.35); backdrop-filter: blur(6px); }
h1 { margin: 0 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
p.sub { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.alert { background: rgba(34,197,94,0.12); border:1px solid rgba(34,197,94,0.4); color:#bbf7d0; padding:10px 12px; border-radius:10px; margin-bottom:12px; font-size:13px; }
.errors { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.35); color: #fecaca; padding: 10px 12px; border-radius: 10px; margin-bottom: 12px; font-size: 13px; }
.footer { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }
a { color: #93c5fd; text-decoration: none; }
</style>
</head>
<body>
<div class="card">
<h1>Lupa Password</h1>
<p class="sub">Masukkan email Anda. Kami akan mengirim kode OTP untuk reset password.</p>
@if (session('status'))
<div class="alert">{{ session('status') }}</div>
@endif
@if ($errors->any())
<div class="errors">
<ul style="margin:0; padding-left: 18px;">
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<form method="POST" action="{{ route('password.email') }}">
@csrf
<div class="field">
<label for="email" style="font-size:13px; margin-bottom:6px; display:block; color:#cbd5e1;">Email</label>
<input id="email" type="email" name="email" value="{{ old('email') }}" required style="width:100%; padding:10px; border-radius:8px; border:1px solid #334155; background:#1e293b; color:#e5e7eb;" />
</div>
<button type="submit" style="width:100%; padding:12px; border:none; border-radius:10px; background:#2563eb; color:#fff; font-weight:700;">Kirim OTP</button>
</form>
<div class="footer">
Kembali ke <a href="{{ route('login') }}">Login</a> atau <a href="{{ route('register') }}">Daftar</a>
</div>
</div>
</body>
</html>