
.apim-barcode-field {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}
.apim-camera-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 14px;
	cursor: pointer;
}
.apim-camera-scanner[hidden] {
	display: none !important;
}
.apim-camera-scanner {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0,0,0,.82);
}
.apim-camera-scanner__panel {
	width: min(680px, 100%);
	padding: 16px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.apim-camera-scanner__video-wrap {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	background: #111;
}
.apim-camera-scanner video {
	display: block;
	width: 100%;
	max-height: 65vh;
	object-fit: cover;
}
.apim-camera-scanner__guide {
	position: absolute;
	inset: 24%;
	border: 3px solid #fff;
	border-radius: 8px;
	box-shadow: 0 0 0 999px rgba(0,0,0,.25);
	pointer-events: none;
}
.apim-camera-scanner__actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
}
#apim-scanner-status {
	margin: 0;
	font-weight: 600;
}
@media (max-width: 600px) {
	.apim-camera-scanner {
		padding: 0;
	}
	.apim-camera-scanner__panel {
		width: 100%;
		min-height: 100%;
		border-radius: 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}
