<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <title>Verifikasi Akun Anda</title>
    <style>
        body {
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background-color: #f9fafb;
            color: #333;
            margin: 0;
            padding: 0;
        }
        .email-container {
            max-width: 600px;
            margin: 40px auto;
            background: #ffffff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            border: 1px solid #f3f4f6;
        }
        .email-header {
            background-color: #f97316;
            color: white;
            padding: 20px 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }
        .email-header img {
            width: 42px;
            height: 42px;
            border-radius: 8px;
            background: white;
            padding: 4px;
            object-fit: contain;
        }
        .email-header h1 {
            font-size: 22px;
            margin: 0;
            letter-spacing: 0.5px;
        }
        .email-body {
            padding: 25px 30px;
        }
        .email-body p {
            line-height: 1.6;
        }
        .otp-box {
            background: #fff7ed;
            border: 2px dashed #f97316;
            color: #f97316;
            text-align: center;
            font-size: 28px;
            font-weight: bold;
            letter-spacing: 4px;
            padding: 15px 0;
            border-radius: 10px;
            margin: 20px 0;
        }
        .email-footer {
            background: #f3f4f6;
            color: #6b7280;
            text-align: center;
            padding: 15px;
            font-size: 13px;
        }
    </style>
</head>
<body>
    <div class="email-container">
        <div class="email-header">
            <img src="{{ asset('images/kartu.png') }}" alt="Logo Pustaka Nawasena">
            <h1>Verifikasi Akun</h1>
        </div>

        <div class="email-body">
            <h3>Halo, {{ $name }} 👋</h3>
            <p>Berikut adalah kode verifikasi akun Anda:</p>

            <div class="otp-box">{{ $otp }}</div>

            <p>Kode ini berlaku selama <strong>1 menit</strong>.  
            Silakan masukkan kode di halaman verifikasi untuk mengaktifkan akun Anda.</p>

            <p>Terima kasih,<br>
            <strong>Pustaka Nawasena Bakorwil III Malang</strong></p>
        </div>

        <div class="email-footer">
            <p>📖 Sistem Manajemen Perpustakaan Digital</p>
            <p><small>Email ini dikirim otomatis, mohon tidak membalas pesan ini.</small></p>
        </div>
    </div>
</body>
</html>

