/* Matches the CampusFlow admin design system (see assets/css/admin.css)
   so a certificate scanned via QR code lands on a page that visually
   belongs to the same product that issued it. */
.cf-front-box {
	max-width: 520px;
	margin: 20px auto;
	background: #fff;
	border: 1px solid #E7E1D2;
	border-top: 3px solid #C9A227;
	border-radius: 12px;
	padding: 28px 30px;
	font-family: 'Inter', -apple-system, sans-serif;
	color: #2B2A24;
}
.cf-front-box h3 { margin-top: 0; font-family: 'Fraunces', Georgia, serif; font-weight: 600; color: #1B3A34; font-size: 20px; }

.cf-front-form { display: flex; flex-direction: column; gap: 14px; margin-bottom: 6px; }
.cf-front-form label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 5px; }
.cf-front-form input[type=text] {
	width: 100%; padding: 10px 12px; border: 1px solid #E7E1D2; border-radius: 6px; font-size: 14px;
	font-family: 'IBM Plex Mono', Consolas, monospace;
}
.cf-front-form button {
	background: #1B3A34; color: #fff; border: 0; padding: 11px 20px; border-radius: 6px;
	font-size: 14px; cursor: pointer; align-self: flex-start; font-family: 'Inter', sans-serif; font-weight: 600;
}
.cf-front-form button:hover { background: #2C5049; }

.cf-front-result { margin-top: 20px; padding: 16px 18px; border-radius: 8px; border-left: 3px solid transparent; }
.cf-status-ok { background: #E4F1EA; border-left-color: #2F7D5E; }
.cf-status-error { background: #F8E6E3; border-left-color: #A3342A; }

.cf-front-result table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.cf-front-result table td { padding: 6px 4px; font-size: 13.5px; border-bottom: 1px dashed #D9D2BE; }
.cf-front-result table td:first-child { font-weight: 600; width: 40%; color: #1B3A34; }
.cf-front-result table td:last-child { font-family: 'IBM Plex Mono', Consolas, monospace; }

.cf-verified-badge { color: #2F7D5E; font-weight: 700; font-size: 15px; margin: 0 0 6px; font-family: 'Fraunces', Georgia, serif; }
