<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<!doctype html>
<html lang="id">
<head>
	<meta charset="utf-8">
	<title><?php echo e($title); ?></title>
	<style>
		body{ font-family: DejaVu Sans, Arial, sans-serif; color:#111; font-size: 12px; }
		.mono{ font-family: DejaVu Sans Mono, ui-monospace, Menlo, Consolas, monospace; }
		.receipt-paper{ max-width: 760px; margin: 0 auto; padding: 18px; border: 1px solid #ddd; border-radius: 12px; }
		.receipt-head{ display:flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
		.receipt-brand{ font-weight: 800; font-size: 18px; }
		.receipt-sub{ color:#666; margin-top: 2px; }
		.receipt-right{ text-align:right; }
		.receipt-code{ font-weight: 800; font-size: 16px; }
		.receipt-badge{ display:inline-block; padding: 4px 10px; border-radius: 999px; border:1px solid #ddd; font-size: 11px; margin-top: 6px; }
		.receipt-hr{ border:0; border-top:1px dashed #ddd; margin: 14px 0; }
		.receipt-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
		.receipt-kv .k{ color:#666; font-size: 11px; }
		.receipt-kv .v{ font-weight: 700; margin-top: 2px; }
		.receipt-foot{ margin-top: 6px; color:#666; font-size: 11px; }
	</style>
</head>
<body>
<?php $this->load->view('public/receipt_snippet', get_defined_vars()); ?>
</body>
</html>

