/* v1.0.1 — REMARK ACF QR Scanner Field */

/* Wrapper: input + button side by side */
.remark-acf-qr-scanner-wrap {
	display: flex;
	gap: 6px;
	align-items: center;
}

.remark-acf-qr-scanner-wrap .remark-acf-qr-scanner-input {
	flex: 1;
	min-width: 0;
}

.remark-acf-qr-scan-btn {
	white-space: nowrap;
	flex-shrink: 0;
}

.remark-acf-qr-scan-icon {
	font-style: normal;
}

/* Full-viewport overlay */
.remark-acf-qr-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba( 0, 0, 0, 0.88 );
	display: flex;
	align-items: center;
	justify-content: center;
}

.remark-acf-qr-overlay-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 24px;
	background: #1e1e1e;
	border-radius: 8px;
	max-width: 480px;
	width: 100%;
}

.remark-acf-qr-video {
	width: 100%;
	max-width: 440px;
	border-radius: 4px;
	background: #000;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.remark-acf-qr-status {
	margin: 0;
	color: #ccc;
	font-size: 13px;
	text-align: center;
}

.remark-acf-qr-close-btn {
	margin-top: 4px;
}
