354 lines
8.6 KiB
PHP
354 lines
8.6 KiB
PHP
@extends('layouts.auth')
|
|
|
|
@section('content')
|
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
|
|
|
<style>
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
body {
|
|
font-family: 'Plus Jakarta Sans', sans-serif;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
background: #0a3d1e;
|
|
}
|
|
|
|
/* ─── WRAPPER ─── */
|
|
.auth-wrapper {
|
|
display: flex;
|
|
height: 100vh;
|
|
width: 100%;
|
|
}
|
|
|
|
/* ─── LEFT PANEL ─── */
|
|
.auth-left {
|
|
width: 55%;
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
background: #ffffff;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.auth-left::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
radial-gradient(ellipse 60% 50% at 80% 110%, rgba(25,148,84,0.10) 0%, transparent 70%),
|
|
radial-gradient(ellipse 50% 40% at -10% -10%, rgba(16,110,54,0.08) 0%, transparent 70%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.brand-tagline {
|
|
margin-top: 18px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
letter-spacing: 3px;
|
|
text-transform: uppercase;
|
|
color: #2d7a4f;
|
|
opacity: 0.7;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.auth-left img {
|
|
width: 68%;
|
|
max-width: 340px;
|
|
object-fit: contain;
|
|
position: relative;
|
|
z-index: 1;
|
|
filter: drop-shadow(0 12px 32px rgba(15,80,40,0.18));
|
|
animation: floatLogo 5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes floatLogo {
|
|
0%, 100% { transform: translateY(0); }
|
|
50% { transform: translateY(-10px); }
|
|
}
|
|
|
|
.deco-circle {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
border: 1.5px solid rgba(25,148,84,0.12);
|
|
pointer-events: none;
|
|
}
|
|
.deco-circle.c1 { width: 420px; height: 420px; bottom: -120px; right: -120px; }
|
|
.deco-circle.c2 { width: 260px; height: 260px; bottom: -60px; right: -60px; }
|
|
.deco-circle.c3 { width: 160px; height: 160px; top: 30px; left: 30px; }
|
|
|
|
/* ─── RIGHT PANEL ─── */
|
|
/* Warna hijau disamakan persis dengan login (gambar 2) */
|
|
.auth-right {
|
|
width: 45%;
|
|
flex-shrink: 0;
|
|
background: linear-gradient(160deg, #3aaa5c 0%, #2e9e50 40%, #1f8a42 100%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 48px 48px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* noise texture */
|
|
.auth-right::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
|
|
opacity: 0.5;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* decorative blob bottom-right */
|
|
.auth-right::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 340px; height: 340px;
|
|
background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
|
|
bottom: -80px; right: -80px;
|
|
border-radius: 50%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.blob-top {
|
|
position: absolute;
|
|
width: 240px; height: 240px;
|
|
background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
|
|
top: -60px; left: -60px;
|
|
border-radius: 50%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* ─── CARD ─── */
|
|
.auth-card {
|
|
width: 100%;
|
|
max-width: 360px;
|
|
position: relative;
|
|
z-index: 1;
|
|
animation: slideUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from { opacity: 0; transform: translateY(28px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
/* ─── HEADER ─── */
|
|
.card-header-area {
|
|
text-align: center;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.badge-pill {
|
|
display: inline-block;
|
|
background: rgba(255,255,255,0.18);
|
|
backdrop-filter: blur(6px);
|
|
border: 1px solid rgba(255,255,255,0.28);
|
|
color: #fff;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 2px;
|
|
text-transform: uppercase;
|
|
padding: 5px 14px;
|
|
border-radius: 99px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.card-header-area h4 {
|
|
color: #ffffff;
|
|
font-size: 20px;
|
|
font-weight: 800;
|
|
line-height: 1.3;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.card-header-area p {
|
|
color: rgba(255,255,255,0.70);
|
|
font-size: 12.5px;
|
|
margin: 0;
|
|
}
|
|
|
|
/* ─── ALERTS ─── */
|
|
.alert {
|
|
border-radius: 10px;
|
|
font-size: 13px;
|
|
padding: 10px 14px;
|
|
margin-bottom: 16px;
|
|
border: none;
|
|
}
|
|
.alert-danger { background: rgba(220,53,69,0.85); color: #fff; }
|
|
.alert-success { background: rgba(25,135,84,0.85); color: #fff; }
|
|
|
|
/* ─── FORM GROUP ─── */
|
|
.form-group {
|
|
margin-bottom: 18px;
|
|
width: 100%;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
color: rgba(255,255,255,0.88);
|
|
font-size: 12.5px;
|
|
font-weight: 600;
|
|
margin-bottom: 7px;
|
|
letter-spacing: 0.4px;
|
|
}
|
|
|
|
.input-wrap {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.input-wrap .icon {
|
|
position: absolute;
|
|
left: 13px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: rgba(0,0,0,0.3);
|
|
font-size: 15px;
|
|
pointer-events: none;
|
|
z-index: 2;
|
|
}
|
|
|
|
.form-control {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 11px 12px 11px 38px;
|
|
border-radius: 10px;
|
|
border: 1.5px solid rgba(255,255,255,0.2);
|
|
background: rgba(255,255,255,0.94);
|
|
color: #1a2e1a;
|
|
font-size: 14px;
|
|
font-family: inherit;
|
|
outline: none;
|
|
transition: border 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
.form-control::placeholder { color: #aab7aa; }
|
|
|
|
.form-control:focus {
|
|
border-color: rgba(255,255,255,0.6);
|
|
box-shadow: 0 0 0 3px rgba(255,255,255,0.18);
|
|
background: #ffffff;
|
|
}
|
|
|
|
/* ─── BUTTON ─── */
|
|
.btn-login {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
border: none;
|
|
background: #ffffff;
|
|
color: #1a6e3a;
|
|
font-size: 14.5px;
|
|
font-weight: 800;
|
|
font-family: inherit;
|
|
letter-spacing: 0.5px;
|
|
cursor: pointer;
|
|
transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
|
|
box-shadow: 0 4px 18px rgba(0,0,0,0.15);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.btn-login:hover {
|
|
background: #f0faf4;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 24px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.btn-login:active { transform: translateY(0); }
|
|
|
|
/* ─── LINKS ─── */
|
|
.links-area {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.links-area a {
|
|
color: rgba(255,255,255,0.75);
|
|
font-size: 12.5px;
|
|
text-decoration: none;
|
|
transition: color 0.15s;
|
|
}
|
|
|
|
.links-area a:hover { color: #fff; }
|
|
|
|
/* ─── RESPONSIVE ─── */
|
|
@media (max-width: 768px) {
|
|
.auth-left { display: none; }
|
|
.auth-right { width: 100%; padding: 40px 28px; }
|
|
}
|
|
</style>
|
|
|
|
<div class="auth-wrapper">
|
|
|
|
{{-- LEFT: Logo Panel --}}
|
|
<div class="auth-left">
|
|
<div class="deco-circle c1"></div>
|
|
<div class="deco-circle c2"></div>
|
|
<div class="deco-circle c3"></div>
|
|
<img src="{{ asset('tunggal.png') }}" alt="Green View Logo">
|
|
<span class="brand-tagline">Real Estate • Bondowoso</span>
|
|
</div>
|
|
|
|
{{-- RIGHT: Form Panel --}}
|
|
<div class="auth-right">
|
|
<div class="blob-top"></div>
|
|
|
|
<div class="auth-card">
|
|
|
|
<div class="card-header-area">
|
|
<div class="badge-pill">🔐 Verifikasi</div>
|
|
<h4>Verifikasi OTP</h4>
|
|
<p>Masukkan kode OTP yang dikirim ke email Anda</p>
|
|
</div>
|
|
|
|
@if(session('error'))
|
|
<div class="alert alert-danger">{{ session('error') }}</div>
|
|
@endif
|
|
|
|
@if(session('success'))
|
|
<div class="alert alert-success">{{ session('success') }}</div>
|
|
@endif
|
|
|
|
<form method="POST" action="{{ route('password.verifyOtp') }}">
|
|
@csrf
|
|
|
|
<div class="form-group">
|
|
<label>Kode OTP</label>
|
|
<div class="input-wrap">
|
|
<span class="icon">🔑</span>
|
|
<input
|
|
type="text"
|
|
name="otp"
|
|
class="form-control"
|
|
placeholder="Masukkan kode OTP"
|
|
required
|
|
maxlength="6"
|
|
autocomplete="one-time-code"
|
|
>
|
|
</div>
|
|
</div>
|
|
|
|
<button type="submit" class="btn-login">Verifikasi</button>
|
|
|
|
</form>
|
|
|
|
<div class="links-area">
|
|
<a href="{{ route('login') }}">← Kembali ke Login</a>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|