/**
 * Public "check my card" panel ([shh_card_check]). Theme-neutral, self-contained
 * styling that sits comfortably inside the Sugar Hill Hop block theme.
 */
.shh-card-check {
	max-width: 28rem;
	margin: 1.5rem auto;
	font-size: 1rem;
	line-height: 1.5;
}
.shh-card-check .shh-cc-intro {
	margin: 0 0 1rem;
}
.shh-card-check .shh-cc-actions {
	margin-bottom: 1rem;
}
.shh-card-check .shh-cc-scan-btn {
	display: inline-block;
	width: 100%;
	padding: 0.85rem 1rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: #fff;
	background: #1f2a44;
	border: 0;
	border-radius: 0.5rem;
	cursor: pointer;
}
.shh-card-check .shh-cc-scan-btn:hover {
	background: #2b3a5e;
}

/* Scanner */
.shh-card-check .shh-cc-scanner {
	margin-bottom: 1rem;
	text-align: center;
}
.shh-card-check .shh-cc-video {
	width: 100%;
	max-height: 20rem;
	background: #000;
	border-radius: 0.5rem;
	object-fit: cover;
}
.shh-card-check .shh-cc-scan-status {
	margin: 0.5rem 0;
	font-size: 0.9rem;
	color: #555;
}
.shh-card-check .shh-cc-scan-cancel {
	padding: 0.5rem 1rem;
	background: transparent;
	border: 1px solid #aaa;
	border-radius: 0.4rem;
	cursor: pointer;
}

/* Manual entry */
.shh-card-check .shh-cc-manual {
	margin-bottom: 1rem;
}
.shh-card-check .shh-cc-manual label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.9rem;
	color: #555;
}
.shh-card-check .shh-cc-manual-row {
	display: flex;
	gap: 0.5rem;
}
.shh-card-check .shh-cc-ref {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.6rem 0.7rem;
	font-size: 1rem;
	border: 1px solid #bbb;
	border-radius: 0.4rem;
}
.shh-card-check .shh-cc-check-btn {
	flex: 0 0 auto;
	padding: 0.6rem 1.1rem;
	font-weight: 600;
	color: #1f2a44;
	background: #f0c14b;
	border: 0;
	border-radius: 0.4rem;
	cursor: pointer;
}

/* Result */
.shh-card-check .shh-cc-result:empty {
	display: none;
}
.shh-card-check .shh-cc-result {
	margin-top: 0.5rem;
}
.shh-card-check .shh-cc-card {
	padding: 1.1rem 1.2rem;
	border: 1px solid #e2e2e2;
	border-radius: 0.6rem;
	background: #fafafa;
}
.shh-card-check .shh-cc-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
}
.shh-card-check .shh-cc-big {
	margin: 0.4rem 0;
	font-size: 1.4rem;
	font-weight: 700;
}
.shh-card-check .shh-cc-sub {
	margin: 0.4rem 0 0;
}
.shh-card-check .shh-cc-note {
	margin: 0.6rem 0 0;
	font-size: 0.82rem;
	color: #777;
}
.shh-card-check .shh-cc-badge {
	display: inline-block;
	padding: 0.15rem 0.6rem;
	font-size: 0.8rem;
	font-weight: 600;
	border-radius: 1rem;
}
.shh-card-check .shh-cc-badge--ok { background: #d9f2e0; color: #1a7f37; }
.shh-card-check .shh-cc-badge--soon { background: #fdf0cf; color: #8a6d1a; }
.shh-card-check .shh-cc-badge--spent { background: #f7d9d9; color: #b32d2e; }
.shh-card-check .shh-cc-result.shh-cc-error p {
	padding: 0.9rem 1rem;
	border: 1px solid #f0c9c9;
	border-radius: 0.5rem;
	background: #fdf3f3;
	color: #b32d2e;
	margin: 0;
}
.shh-card-check .shh-cc-loading {
	color: #555;
}
