<!doctype html><html lang="id"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Aktivasi Lisensi</title><style>
*{box-sizing:border-box}body{margin:0;font:16px/1.55 system-ui,-apple-system,Segoe UI,sans-serif;background:radial-gradient(circle at top,#243b64,#0b1220 55%);color:#e8eef9;min-height:100vh;display:grid;place-items:center;padding:24px}.card{width:min(520px,100%);background:#111b2eeb;border:1px solid #314260;border-radius:22px;padding:32px;box-shadow:0 28px 80px #0008}h1{margin:0 0 8px;font-size:28px}.muted{color:#9fb0ca}.notice{padding:13px 15px;border-radius:12px;margin:20px 0;background:#172844;border:1px solid #355176}.notice.ok{background:#113529;border-color:#287758}.notice.bad{background:#3a1b25;border-color:#864052}label{display:block;margin:18px 0 8px;font-weight:650}input{width:100%;padding:14px 15px;border:1px solid #405371;border-radius:11px;background:#0a1323;color:white;font:inherit;letter-spacing:.04em}button{border:0;border-radius:11px;padding:13px 18px;margin-top:12px;background:#55d6a6;color:#071811;font-weight:750;cursor:pointer}button.secondary{background:#263958;color:#e8eef9;margin-left:7px}form.inline{display:inline}.code{font:13px ui-monospace,monospace;color:#a9b9d2}</style></head><body><main class="card">
<p class="muted">PUTRI GRAFIKA · LICENSE CENTER</p><h1>Aktivasi aplikasi</h1><p class="muted">Masukkan license key yang diberikan vendor. Key akan dikunci ke server ini.</p>
<?php $message = !empty($flash) ? $flash : $status; if (!empty($message)): ?>
<div class="notice <?= !empty($message['success']) ? 'ok' : 'bad' ?>"><strong><?= html_escape($message['message']) ?></strong><br><span class="code"><?= html_escape($message['code']) ?></span></div>
<?php endif; ?>
<?= form_open('license/activate') ?><label for="license_key">License key</label><input id="license_key" name="license_key" maxlength="120" required autocomplete="off" placeholder="PG-XXXX-XXXX-XXXX"><button type="submit">Aktifkan lisensi</button><?= form_close() ?>
<?= form_open('license/recheck', array('class'=>'inline')) ?><button type="submit" class="secondary">Periksa ulang</button><?= form_close() ?>
</main></body></html>

