<style>
@import url('https://fonts.bunny.net/css?family=figtree:400,500,600,700&display=swap');
:root {
    --accent: #c04849;
    --accent-dark: #a23a3b;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}
html, body { margin: 0 !important; padding: 0 !important; background: #0f172a !important; min-height: 100%; font-family: 'Figtree', ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.auth-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #334155 100%);
    position: relative;
    overflow: hidden;
}
.auth-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(192,72,73,0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(13,148,136,0.1) 0%, transparent 50%);
    animation: authPulse 8s ease-in-out infinite alternate;
}
@keyframes authPulse {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(3deg); }
}
.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 44px 36px 36px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1) inset;
    animation: cardSlideUp 0.5s ease-out;
}
@keyframes cardSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.auth-card .brand-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent) 0%, #e05252 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(192,72,73,0.35);
}
.auth-card .brand-icon svg { color: #fff; }
.auth-card h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}
.auth-card .subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 30px;
}
.auth-card label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.auth-card .input-group {
    position: relative;
    margin-bottom: 20px;
}
.auth-card .input-group .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
    transition: color .2s;
}
.auth-card .input-group input {
    width: 100%;
    padding: 12px 14px 12px 44px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: all .2s;
    outline: none;
}
.auth-card .input-group input::placeholder { color: var(--gray-400); }
.auth-card .input-group input:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(192,72,73,0.1);
}
.auth-card .input-group input:focus + .input-icon,
.auth-card .input-group input:focus ~ .input-icon { color: var(--accent); }
.auth-card .input-group .toggle-pw {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    padding: 4px;
    border-radius: 6px;
    transition: all .2s;
}
.auth-card .input-group .toggle-pw:hover { color: var(--gray-600); background: var(--gray-100); }
.auth-card .input-error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.auth-card .options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.auth-card .options-row label {
    margin-bottom: 0;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    color: var(--gray-600);
}
.auth-card .options-row label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
}
.auth-card .options-row a {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    transition: color .2s;
}
.auth-card .options-row a:hover { color: var(--accent-dark); }
.auth-card .btn-submit {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, #e05252 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 4px 16px rgba(192,72,73,0.35);
    position: relative;
    overflow: hidden;
}
.auth-card .btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
    opacity: 0;
    transition: opacity .2s;
}
.auth-card .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192,72,73,0.4);
}
.auth-card .btn-submit:hover::before { opacity: 1; }
.auth-card .btn-submit:active { transform: translateY(0); }
.auth-card .btn-submit-secondary {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all .2s;
    margin-top: 12px;
}
.auth-card .btn-submit-secondary:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
    color: var(--gray-800);
}
.auth-card .divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    gap: 12px;
}
.auth-card .divider::before,
.auth-card .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}
.auth-card .divider span {
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.auth-card .links {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--gray-500);
}
.auth-card .links a {
    color: var(--accent);
    font-weight: 700;
    transition: color .2s;
}
.auth-card .links a:hover { color: var(--accent-dark); }
.auth-card .alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.auth-card .alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.auth-card .alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
</style>
<div style="position:fixed;top:0;left:0;right:0;z-index:10;padding:16px 24px;">
    <a href="{{ url('/' . request()->segment(1)) }}" style="display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:rgba(255,255,255,0.8);text-decoration:none;transition:color .2s;padding:8px 16px;border-radius:10px;background:rgba(255,255,255,0.1);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.1);">
        <svg width="18" height="18" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 19l-7-7m0 0l7-7m-7 7h18"/></svg>
        Back to Home
    </a>
</div>
<div class="auth-bg">
    <div class="auth-card" style="text-align:center;">
        <div class="brand-icon" style="background:linear-gradient(135deg,#10b981,#059669);">
            <svg width="28" height="28" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"/></svg>
        </div>
        <h2>Email Verified!</h2>
        <p class="subtitle">Your email has been successfully verified. You can now sign in to your account.</p>

        <a href="{{ url('/' . ($siteSlug ?: \App\Http\Helpers\SettingHelper::defaultSiteSlug()) . '/login-web') }}" class="btn-submit" style="display:inline-block;text-decoration:none;">Sign In</a>
    </div>
</div>