@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*:focus {
	outline: 0;
}
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	position: relative;
	font-family: Roboto, Arial, Tahoma, Helvetica, sans-serif;
	font-size: 16px;
	color: #1f1f1f;
	background: #fff;
	font-weight: 400;
	margin: 0 auto;
	padding: 0;
	overflow:auto;
	-webkit-overflow-scrolling: touch;
}
a img {border: none;}
img {max-width: 100%;}

button {cursor: pointer;line-height: 1;font-family: Roboto, Arial, Tahoma, Helvetica, sans-serif;}

.flex {display: flex;}
.justify-center {justify-content: center;}
.gap8 {gap: 8px;}
.gap16 {gap: 16px;}

.fs14 {font-size: 14px;}

.red_color {color: #E52E4C}

.btn {
	display: inline-flex;
	height: 40px;
	padding: 0 24px;
	justify-content: center;
	align-items: center;
	gap: 8px;
	border-radius: 8px;
	background: #E52E4C;
	color: #FFF;
	text-align: center;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 150%;
	border: 1px solid #E52E4C;
	cursor: pointer;
	transition-duration: .2s;
	text-decoration: none;
}
.btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}
.btn:hover {
	background: #f03547;
}
.btn:has(svg) {
	padding: 0 16px 0 24px;
}
.btn.just_icon:has(svg) {
	padding: 0;
    min-width: 40px;
}
.btn svg {
	width: 24px;
	height: 24px;
	fill: #fff;
}
.btn.ico-l {
	padding: 0 24px 0 16px;
}
.btn.size1 {
	min-height: 48px;
}

.btn.outline {
	background: #fff;
	border-color: #E52E4C;
	color: #E52E4C;
}
.btn.outline svg {
	fill: #E52E4C;
	--fill-color: #E52E4C;
}

.btn.plain {
	background: transparent;
	border-color: transparent;
}
.btn.plain svg {
	fill: #111111;
	--fill-color: #111111;
}

.demo_container {
	width: 100%;
	max-width: 648px;
	margin: 0 auto;
}

@media (max-width: 768px) {
	.demo_container {
		max-width: 100%;
		padding: 0 16px;
	}
}

#wasmApp {
	position: fixed;
    z-index: 99;
    left: 0;
    top: 64px;
    width: 100%;
    margin: auto;
    height: auto;
    bottom: 0;
}

#wasmApp svg {
	overflow: visible;
}

[v-cloak] {display: none;}

html {
	scroll-behavior: smooth;
}

.demo-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	display: flex;
	height: 64px;
	justify-content: center;
	align-items: flex-start;
	gap: 160px;
	align-self: stretch;
	background: #FFF;
	box-shadow: 0 1px 1px 0 rgba(12, 12, 13, .05);
}

.demo-header .demo_container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 64px;
}
.demo-header .demo_container .logo {
	width: 120px;
}
.demo-header .demo_container .logo img {
	width: 100%;
	max-width: 120px;
}
.demo-header .demo_container nav.main-navigation {
	display: flex;
	padding: 4px;
	gap: 4px;
	justify-content: center;
	align-items: center;
	margin-left: auto;
	background: #F5F7FA;
	border-radius: 100px;
}
.demo-header .demo_container nav.main-navigation a {
	color: #000;
	font-size: 16px;
	text-decoration: none;
	transition-duration: .2s;
	display: flex;
	padding: 4px 16px;
	justify-content: center;
	align-items: center;
	border-radius: 999px;
	font-style: normal;
	font-weight: 400;
	min-height: 32px;
}
.demo-header .demo_container nav.main-navigation a:hover{
	background: #e7e9ec;
}
.demo-header .demo_container nav.main-navigation a.active {
	background: #E52E4C;
	color: #FFF;
}

.demo-header .demo_container .hamburger-menu {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	margin-left: auto;
	color: #000;
	transition: color 0.2s;
}
.demo-header .demo_container .hamburger-menu:hover {
	color: #E52E4C;
}

@media (max-width: 768px) {
	.demo-header .demo_container .hamburger-menu {
		display: block;
	}

	.demo-header .demo_container nav.main-navigation {
		position: fixed;
		top: 64px;
		left: 0;
		right: 0;
		background-color: #fff;
		flex-direction: column;
		padding: 16px;
		border-radius: 0;
		border-top: 1px solid #e0e0e0;
		border-bottom: 1px solid #e0e0e0;
		transform: scale(0.9) translateY(10px);
		opacity: 0;
		visibility: hidden;
		transition-duration: .1s;
		margin-left: 0;
		gap: 12px;
		width: 100%;
	}
	
	.demo-header .demo_container nav.main-navigation.active {
		transform: scale(1) translateY(0);
		opacity: 1;
		visibility: visible;
		gap: 2px;
		padding: 8px;
	}
	
	.demo-header .demo_container nav.main-navigation a {
		width: 100%;
		text-align: center;
		padding: 12px;
		border-radius: 4px;
	}
}

.initial_screen {
	height: auto;
	margin: auto;
	top: 64px;
	bottom: 0;
	width: 100%;
	position: fixed;
	z-index: 2;
	padding: 32px 0 0;
	overflow: auto;
}

.initial_screen .demo_container {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.initial_screen .action {
    position: sticky;
    bottom: 0;
    width: 100%;
    max-width: 100%;
	padding: 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 2;
	background: rgba(255, 255, 255, 0.50);
	box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.10);
	backdrop-filter: blur(2.5px);
}

@media (max-width: 768px) {
	.initial_screen .start_scanner {
		width: 100%;
	}
}

.initial_screen .description {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.initial_screen .description h1,
.initial_screen .description h2 {
	color: #111;
	font-weight: 500;
	font-size: 20px;
	margin: 0;
}
.initial_screen .description p {
	line-height: 150%;
	margin: 0;
}
.initial_screen .description p a {
	text-decoration: underline;
	color: #E52E4C;
}

.initial_screen .types_container {
	display: flex;
	flex-direction: column;
	margin-bottom: 74px;
	gap: 4px;
}

#startDemo {
	width: 100vw;
	height: calc(100vh - 64px);
	display: flex;
	flex-direction: column;
	margin: 64px auto 0 auto;
	justify-content: center;
	align-items: center;
	gap: 24px;
	position: relative;
	z-index: 3;
	transition-duration: .2s;
	text-align: center;
	padding: 20px;
}
#startDemo.hide {transform: translateY(-20px);opacity: 0;visibility: hidden;}
#startDemo .logo {
    width: 100%;
    margin-bottom: 24px;
}
#startDemo .logo img {
    width: 100%;
    max-width: 200px;
}
#startDemo h1 {
    font-size: 24px;
}
#startDemo p a {
    text-decoration: underline;
    color: #FF3347;
}
#startDemo .actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
#startDemo .button {
	height: auto;
	background-color: #FF3347;
	color: #fff;
	border-radius: 5px;
	font-size: 16px;
	padding: 12px 20px;
	display: inline-block;
	border: 1px solid #ab3a46;
	line-height: 1;
	text-align: center;
	transition-duration: .2s;
}
#startDemo .button:hover {
    background-color: #f03547;
}

.d-flex {
	display: flex;
}

.align-center {
	align-items: center;
}



.noActiveCamera {
	width: 100vw;
	height: 100vh;
	display: flex;
	flex-direction: column;
	margin: 0 auto;
	justify-content: center;
	align-items: center;
	gap: 24px;
	position: relative;
	z-index: 3;
	background: #fff;
}
.noActiveCamera .demo_container {
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: center;
	text-align: center;
}
.noActiveCamera .icon {
	width: 104px;
	height: 104px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	border-radius: 32px;
	background: #FFF1F2;
}
.noActiveCamera .icon svg {
	width: 72px;
	height: 72px;
	fill: #E52E4C;
}
.noActiveCamera p {
	font-size: 20px;
	color: #111;
	font-weight: 400;
	margin: 0;
}

#barkoder-container {
	position: fixed; 
	top: 64px; 
	left: 0;
	bottom: 0;
	width: 100% !important; 
	height: auto !important;
	margin: auto;
	background-color:#FFFFFF;
	z-index: 1;
}



#startAgain {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.cameraLoader {
	position: fixed;
	width: 30px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.cameraLoader.initial {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition-duration: .3s;
	visibility: hidden;
	opacity: 0;
}
.cameraLoader.initial.visible {
	visibility: visible;
	opacity: 1;
}

.controlsOverlay {
	position: fixed; 
	top: 0; 
	left: 0;
	width: 100%; 
	height: 100%; 
	z-index: 7;
}

#controls {
	position: fixed; 
	top: 64px;
	bottom: 64px;  /* leave space for footer */
	left: 0;
	width: 100%; 
	z-index: 2;
	height: auto;
}

/* Modern browsers */
@supports (height: 100dvh) {
	#controls {
		min-height: calc(100svh - 64px); /* stable baseline (no jump) */
		height: calc(100dvh - 64px);     /* adapt to visible area */
	}
}

.mainActions {
	position: fixed;
    top: 64px;
	left: 0;
	z-index: 8;
	width: 100%;
	background: rgba(255, 255, 255, 0.50);
	backdrop-filter: blur(2.5px);
}
.mainActions.no_scanning {
	box-shadow: 0 1px 1px 0 rgba(12, 12, 13, .05);
}

.mainActions .demo_container {
	display: flex;
	gap: 8px;
	height: 56px;
	align-items: center;
}
.mainActions .demo_container > button {
	border: none;
	transition-duration: .2s;
	display: flex;
	width: 40px;
	height: 40px;
	justify-content: center;
	align-items: center;
	gap: 8px;
	aspect-ratio: 1/1;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.50);
}

.mainActions .demo_container > button svg {
	--fill-color: #fff;
	--fill-red-color: #fff;
	--stroke-color: #fff;
	transition-duration: .2s;
}

.mainActions .demo_container > button svg.arrow {
	position: absolute;
	bottom: 4px;
}

.mainActions .demo_container > button.active {
	background: #E52E4C;
}

.mainActions .demo_container > button.stop_scanner {
    height: 32px;
	width: 32px;
    background-color: #F5F7FA;
	margin-left: auto;
}

.mainActions .demo_container > button.stop_scanner svg {
	fill: #1f1f1f;
	width: 24px;
}

.start_scanner_result_img {
	position: absolute;
    top: -48px;
    z-index: 2;
    font-size: 12px;
    font-weight: 400;
    color: #1f1f1f;
    padding: 2px 18px;
    border-radius: 24px;
    background-color: rgba(255, 255, 255, .5);
    box-shadow: 0px 0px 16px rgba(15, 23, 42, 0.1);
}

.resultBoxParent {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	left: 0;
	top: 20px;
	width: 100%;
	height: 90vh;
	margin: auto;
	z-index: 3;
	padding: 0 15px;
	flex-wrap: wrap;
}

.resultBox {
	padding: 24px;
	border-radius: 16px;
	background: #fff;
	display: flex;
	gap: 24px;
	flex-direction: column;
	text-align: center;
	position: relative;
	width: max-content;
}

.resultBox .close {
	position: absolute;
	top: 10px;
	right: 10px;
	height: auto;
	background: none;
	z-index: 2;
	color: #fff;
	border-radius: 5px;
	font-size: 16px;
	padding: 12px;
	border: none;
	line-height: 1;
}

.resultBox h2 {
	font-size: 20px;
	margin: 0;
}
.resultBox p {
	word-break: break-all;
}

.box_options {
	box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.10);
	position: fixed;
	z-index: 9;
	top: 128px;
	left: 50%;
	display: flex;
	flex-direction: column;
	max-height: calc(var(--app-height) - 128px);
	background: #FFF;
	border-radius: 16px;
	transform: translateX(-50%);
}

.box_options.fullpage{
	top: 64px;
	height: calc(var(--app-height) - 64px);
	max-height: calc(var(--app-height) - 64px);
}

.box_options .box_heading {
	border-radius: 16px 16px 0 0;
	position: relative;
	display: flex;
	align-items: center;
	background: #FFF;
	padding: 16px;
	position: sticky;
	top: 0;
	z-index: 2;
}
.box_options .box_content {
	padding: 0 16px 16px 16px;
	display: flex;
	gap: 16px;
	flex-direction: column;
	position: relative;
	z-index: 1;
	overflow: auto;
}
.box_options .box_content.pb0 {
	padding-bottom: 0;
}

.box_options .box_heading h2 {
	font-size: 16px;
	font-weight: 500;
	text-align: center;
	margin: 0;
}

.box_options .box_heading .close {
	margin-left: auto;
	background: #fff;
	z-index: 2;
	color: #fff;
	border-radius: 5px;
	font-size: 16px;
	padding: 0;
	border: none;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	width: 24px;
	height: 24px;
}
.box_options .box_heading .close svg {
	fill: #1f1f1f;
	width: 24px;
}

.box_options .line {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.box_options .line > label {
	display: block;
	color: #6D6D6D;
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
}

.box_options .line input,
.box_options .line select {
	border-radius: var(--Radius-200, 8px);
	border: 1px solid #E7E7E7;
	background: #fff;
	padding: 8px 8px 8px 16px;
	width: 100%;
	height: 40px;
	color: #000;
	font-size: 14px;
	font-weight: 400;
	line-height: 16px;
}

.box_options .line button {
	height: 44px;
	border: 1px solid #E52E4C;
	border-radius: 5px;
	font-size: 16px;
	width: 100%;
	padding: 0 10px;
	background: inherit;
	cursor: pointer;
}

.box_options .dropdowns {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* About (fullpage box_options) */
.box_options.fullpage .box_content.about_content {
	padding-top: 16px;
}

.about_grid {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.about_card {
	border-radius: 12px;
	background: #F5F7FA;
	padding: 16px;
}

.about_card h3 {
	margin: 0 0 12px 0;
	font-size: 14px;
	font-weight: 600;
	color: #111;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.about_card .details_row {
	padding: 10px 0;
	align-items: center;
}

.about_card .details_row + .details_row {
	border-top: 1px solid #E7E7E7;
}

.about_mono {
	font-weight: 500;
}

.box_options .report_issue {
	margin-top: 0;
}

.box_options .report_issue .dropdowns {
	gap: 10px;
}

.box_options .report_issue .btn {
	width: 100%;
	justify-content: center;
}

@media (max-width: 768px) {
	.box_options {
		top: 120px;
		max-width: 100%;
		height: calc(var(--app-height) - 120px);
		max-height: calc(var(--app-height) - 120px);
		border-radius: 0;
		margin: 0;
	}
	.box_options.top_radius {
		border-radius: 16px 16px 0 0;
	}
	.box_options.details {
		top: 124px;
	}
	.box_options.no_footer {
		max-height: 100%;
		bottom: 0;
		margin: auto;
		height: auto;
	}
	.box_options .box_heading {
		border-radius: 0;
		padding: 16px 0;
	}
	.box_options .box_content {
		border-radius: 0;
		flex-grow: 1;
		padding: 0 0 16px;
	}
	.box_options .box_content.pb0 {
		padding-bottom: 0;
	}
	.about_grid {
		grid-template-columns: 1fr;
	}
}

.parsed_data_container {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.parsed_data_container .parsed_data_item {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.parsed_data_container .parsed_data_item .btn_wrapper {
	position: sticky;
	bottom: 0;
	background: rgba(255, 255, 255, 0.50);
	box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.10);
	backdrop-filter: blur(2.5px);
	padding: 16px;
	margin: 0 -16px;
	border-radius: 0 0 16px 16px;
}

@media (max-width: 768px) {
	.parsed_data_container .parsed_data_item .btn_wrapper {
		margin: 0;
		border-radius: 0 0 0 0;
	}
}

.parsed_data_container .parsed_data_item .btn_wrapper .btn {
	width: 100%;
}
.parsed_data_container .parsed_data_item pre {
	padding: 8px;
	background: #FAFAFA;
	border-radius: 8px;
	word-break: break-all;
	overflow-wrap: break-word;
	white-space: pre-wrap;
}

.fade-enter-active,
.fade-leave-active {
	transition: all 0.2s ease-out;
}

.fade-enter-from,
.fade-leave-to {
	opacity: 0;
}

.showBox-enter-active,
.showBox-leave-active {
	transition: all 0.2s ease-out;
}

.showBox-enter-from,
.showBox-leave-to {
	transform: translate(-50%, 10px);
	opacity: 0;
}

.cameraPicker {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: center;
}

.cameraPicker button {
	border-radius: 8px;
	background: rgba(229, 46, 76, 0.10);
	display: flex;
	height: 48px;
	padding: 0 8px 0 16px;
	justify-content: space-between;
	align-items: center;
	align-self: stretch;
	color: #E52E4C;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	line-height: 150%;
	border: none;
}
.cameraPicker button svg {
	fill: #E52E4C;
}
.cameraPicker button.active {
	color: #fff;
	background: #E52E4C;
}
.cameraPicker button.active svg {
	fill: #fff;
	width: 24px;
	height: 24px;
}

.symPicker {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	grid-column-gap: 8px;
	grid-row-gap: 8px;
	background: #FAFAFA;
	padding: 8px;
	border-radius: 8px;
}
.symPicker .btn_toggle{
	text-align: center;
}

.btn_toggle {
	position: relative;
}
.btn_toggle input {
	position: absolute;
	opacity: 0;
	visibility: hidden;
	left: 0;
	top: 0;
}
.btn_toggle label {
	min-height: 40px;
	background: rgba(255, 51, 71, 0.05);
	padding: 8px 38px 8px 16px;
	border-radius: 24px;
	gap: 8px;
	display: flex;
	color: #E52E4C;
	font-size: 16px;
	border: 1px solid transparent;
	position: relative;
	transition-duration: .2s;
	justify-content: center;
}
.btn_toggle label svg {
	fill: #E52E4C;
	position: absolute;
}
.btn_toggle label svg.close {
	right: 15px;
	top: 11px;
	width: 12px;
	height: 12px;
}
.btn_toggle label svg.check {
	width: 16px;
	height: 16px;
	top: 9px;
	right: 12px;
}
.btn_toggle label .check {
	display: none;
}
.btn_toggle input:checked + label .check {
	display: block;
}
.btn_toggle input:checked + label .close {
	display: none;
}

.btn_toggle input:checked + label {
	background: #fff;
	color: #E52E4C;
	border-color: #E52E4C;
}

.types_filter_name {
	flex: 0 0 auto;
}

.types_filter_name label {
	padding: 7px 16px;
	display: block;
	color: #000000;
	font-size: 16px;
	font-weight: 400;
	position: relative;
	transition-duration: .2s;
	cursor: pointer;
	transition: color 0.3s, border 0.3s;
	text-align: center;
	border-radius: 20px;
}

.types_filter_name input:checked + label {
	background: #E52E4C;
	color: #fff;
}

.symPickerType input[type="checkbox"] {
	display: none;
}

.symPickerType {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
}

.symPickerAll {
	background: #fff;
}

.btn_toggle.v1 {
	flex-grow: 1;
}

.btn_toggle.v1 label {
	font-weight: 500;
	justify-content: center;
	padding: 8px 16px;
	background: none;
	color: #1f1f1f;
}

.btn_toggle.v1 input:checked + label {
	background: #E52E4C;
	color: #fff;
}

.btn_toggle.v2 label {
	font-weight: 500;
	background: none;
	justify-content: center;
	padding: 8px 16px;
	border-color: #E52E4C;
}
.btn_toggle.v2 input:checked + label {
	background: #E52E4C;
	color: #fff;
}

.list-enter-active,
.list-leave-active {
	transition: all 0.5s ease;
}
.list-enter-from,
.list-leave-to {
	opacity: 0;
	transform: translateX(30px);
}

.notifications {
    position: fixed;
    top: 136px;
    left: 16px;
    z-index: 10;
    flex-direction: column;
    max-width: calc(100% - 32px);
    height: auto;
    bottom: 88px; /* keep above footer */
    margin: auto;
    overflow: auto;
}

/* Footer (re-open results + current mode + key settings) */
.demo-footer {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	height: 64px;
	z-index: 5;
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(2.5px);
}
.demo-footer .footer_inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	height: 64px;
}
.demo-footer .footer_inner.left {
	flex-direction: row;
	justify-content: flex-start;
}
.footer_left {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.footer_mode {
	font-size: 14px;
	font-weight: 500;
	color: #111;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.footer_right {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.status_pill {
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .5);
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    color: #1f1f1f;
}
.status_pill .pill_state {
	margin-left: 6px;
	font-weight: 600;
	opacity: .9;
}
.status_pill:focus-visible {
	outline: 2px solid rgba(229, 46, 76, .35);
	outline-offset: 2px;
}

/* Floating vertical status stack (bottom-left) */
.footer_pills_floating {
	position: fixed;
	right: 16px;
	bottom: 80px; /* above footer */
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 6px;
	pointer-events: none; /* read-only */
	align-items: center;
}
.footer_pills_floating .status_pill {
	pointer-events: none;
}
.footer_open_results {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	padding: 0 12px;
	border-radius: 999px;
}
.footer_open_results .count {
	opacity: .9;
	font-weight: 600;
}
.footer_open_results svg {
	fill: #1f1f1f;
	width: 24px;
	height: 24px;
}

/* Bottom sheet scan list (expanded) */
.scans_list {
	margin-top: 12px;
	background: #FAFAFA;
	border-radius: 12px;
	padding: 8px;
	max-height: 260px;
	overflow: auto;
}
.scan_item {
	background: #FFF;
	border-radius: 10px;
	padding: 10px 12px;
	box-shadow: 0 1px 1px rgba(12, 12, 13, .05);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.scan_item_text {
	min-width: 0;
	flex: 1;
}
.scan_item + .scan_item {
	margin-top: 8px;
}
.scan_item .desc {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: #111;
	word-break: break-all;
}
.scan_item .title {
	margin: 4px 0 0;
	font-size: 12px;
	color: #3D3D3D;
}
.scan_item_info {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: .75;
}
.scan_item:hover .scan_item_info {
	opacity: .95;
}
.scan_item_info svg {
	width: 18px;
	height: 18px;
	fill: #6D6D6D;
}

/* About/Details */
.details_container {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 16px;
	background: #FAFAFA;
	border-radius: 12px;
}
.details_row {
	display: flex;
	gap: 16px;
	align-items: start;
	padding: 12px 0;
	border-bottom: 1px solid #E7E7E7;
}
.details_row:last-child {
	border-bottom: none;
}
.details_label {
	color: #6D6D6D;
	font-size: 12px;
	letter-spacing: 0.5px;
	line-height: 1.4;
}
.details_value {
	margin-left: auto;
	color: #111;
	font-size: 14px;
	font-weight: 400;
	word-break: break-word;
	line-height: 1.5;
}
.details_block {
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid #E7E7E7;
}
.details_block:first-of-type {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}
.details_block h3 {
	margin: 0 0 12px 0;
	font-size: 14px;
	font-weight: 600;
	color: #111;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.details_block pre {
	margin: 0;
	padding: 12px 16px;
	background: #FFFFFF;
	border: 1px solid #E7E7E7;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.6;
	color: #111;
	word-break: break-word;
	overflow-wrap: break-word;
	white-space: pre-wrap;
	font-family: 'Roboto Mono', 'Courier New', monospace;
	overflow-x: auto;
}
.details_block pre + pre {
	margin-top: 12px;
}
.details_block .details_row {
	padding: 0;
	border-bottom: none;
}
.details_block canvas {
	display: block;
	margin: 0 auto;
	background: #FFFFFF;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	max-width: 100%;
	height: auto;
	border: 1px solid #E7E7E7;
	border-radius: 8px;
}
#barkoder-detail-image {
	max-width: 100%;
	height: auto;
}

/* Scan Details (more expressive layout) */
.details_container.scan_details {
	background: radial-gradient(1200px 600px at 0% 0%, rgba(229, 46, 76, 0.10) 0%, rgba(250, 250, 250, 1) 50%);
	border: 1px solid #E7E7E7;
	box-shadow: 0 8px 24px rgba(12, 12, 13, 0.08);
}

.scan_details_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.scan_details_meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	min-width: 0;
}

.scan_type_chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(229, 46, 76, 0.12);
	color: #E52E4C;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.scan_time {
	font-size: 12px;
	color: #3D3D3D;
	background: rgba(255, 255, 255, 0.70);
	border: 1px solid rgba(231, 231, 231, 0.9);
	padding: 6px 10px;
	border-radius: 999px;
	line-height: 1;
	white-space: nowrap;
}

.scan_details_actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.icon_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: 1px solid rgba(229, 46, 76, 0.25);
	background: rgba(255, 255, 255, 0.85);
	transition-duration: .2s;
}
.icon_btn svg {
	width: 18px;
	height: 18px;
	fill: #E52E4C;
}
.icon_btn:hover {
	transform: translateY(-1px);
	border-color: rgba(229, 46, 76, 0.45);
	box-shadow: 0 6px 16px rgba(229, 46, 76, 0.18);
}
.icon_btn:active {
	transform: translateY(0);
}

.scan_value_card {
	padding: 14px 14px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(229, 46, 76, 0.10) 0%, rgba(255, 255, 255, 0.95) 55%);
	border: 1px solid rgba(229, 46, 76, 0.18);
}

.scan_value_label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: #6D6D6D;
	margin-bottom: 8px;
}

.scan_value_text {
	color: #111;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	word-break: break-word;
	font-family: 'Roboto Mono', 'Courier New', monospace;
}

.scan_kv {
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.scan_kv_item {
	margin: 0;
	padding: 12px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid #E7E7E7;
	border-radius: 12px;
}
.scan_kv_item dt {
	margin: 0 0 6px;
	color: #6D6D6D;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}
.scan_kv_item dd {
	margin: 0;
	color: #111;
	font-size: 13px;
	font-weight: 500;
	word-break: break-word;
}

.scan_section {
	border-radius: 12px;
	border: 1px solid #E7E7E7;
	background: rgba(255, 255, 255, 0.92);
	overflow: hidden;
}
.scan_section_header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	background: rgba(245, 247, 250, 0.75);
	border-bottom: 1px solid #E7E7E7;
}
.scan_section_header img {
	max-width: 40%;
}
.scan_section_actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.icon_btn.icon_btn_sm {
	width: auto;
	height: 30px;
	padding: 0 10px;
	border-radius: 999px;
	gap: 6px;
}
.icon_btn.icon_btn_sm svg {
	width: 16px;
	height: 16px;
}
.icon_btn.icon_btn_sm span {
	font-size: 12px;
	font-weight: 600;
	color: #E52E4C;
	line-height: 1;
}
.scan_section_header h3 {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: #111;
}
.scan_section_body {
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.scan_section_body pre {
	margin: 0;
	padding: 12px 12px;
	border-radius: 10px;
	border: 1px solid rgba(231, 231, 231, 0.9);
	background: #FAFAFA;
	white-space: pre-wrap;
	word-break: break-word;
	overflow-x: auto;
	font-size: 13px;
	line-height: 1.6;
	font-family: 'Roboto Mono', 'Courier New', monospace;
}

.scan_preview {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	border-radius: 12px;
	background: #FFFFFF;
	border: 1px dashed rgba(229, 46, 76, 0.35);
}
.scan_preview canvas {
	display: block;
	width: 100%;
	max-width: 420px;
	height: auto;
	border-radius: 10px;
	border: 1px solid #E7E7E7;
	box-shadow: 0 4px 16px rgba(12, 12, 13, 0.10);
}

@media (max-width: 520px) {
	.scan_kv {
		grid-template-columns: 1fr;
	}
	.scan_value_text {
		font-size: 15px;
	}
}
.report_issue h3 {
	margin: 12px 0 8px;
	font-size: 14px;
	font-weight: 600;
}

.box_options .line textarea {
	border-radius: var(--Radius-200, 8px);
	border: 1px solid #E7E7E7;
	background: #fff;
	padding: 10px 12px;
	width: 100%;
	color: #000;
	font-size: 14px;
	font-weight: 400;
	line-height: 16px;
	resize: vertical;
	min-height: 96px;
}

.hp {
	display: none !important;
}

.field_error {
	margin: 6px 0 0;
	color: #E52E4C;
	font-size: 12px;
	line-height: 16px;
	font-weight: 400;
}

.notifications .notification {
	margin: 0;
    color: #000;
    padding: 4px 8px;
    overflow: hidden;
    word-break: break-all;
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	border-radius: 24px;
	background: #FFF;
	box-shadow: 0 4px 4px -1px #0000001a, 0 4px 4px -1px #0000001a;
}
.notifications .notification + .notification {
	margin-top: 4px;
}

.fade-enter-active, .fade-leave-active {
	transition: opacity 0.5s;
}
.fade-enter, .fade-leave-to  {
	opacity: 0;
}

.toggle-btn {
	padding: 5px 10px;
	font-size: 14px;
	color: #fff;
	background-color: #007bff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.toggle-btn:hover {
	background-color: #0056b3;
}

.status {
	font-size: 16px;
	color: #000000;
	line-height: 24px; 
}

.scan_result_title {
	word-wrap: break-word;
}

#barkoder-result-image {
	height: 100px !important;
    object-fit: contain;
	max-width: 100%;
}

.barkoder-result-image {
	height: 100%;
	width: 100%;
	position: relative;
	z-index: 1;
}
#barkoder-result-image-full {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain; /* Ensure image scales with aspect ratio */
}

.barcodesList {
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: center;
	align-items: center;
	background-color: #FFFFFF;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 8;
	border-radius: 24px 24px 0 0;
	box-shadow: 0px 0px 16px rgba(15, 23, 42, 0.1);
}

/* Initial state of the element before entering */
.slide-up-enter-active,
.slide-up-leave-active {
  transition: all 0.5s ease;
}

.slide-up-enter-from {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.slide-up-enter-to {
  max-height: 80vh; /* allow expanded scan list */
}

.slide-up-leave-from {
  max-height: 80vh; /* allow expanded scan list */
}

.slide-up-leave-to {
  max-height: 0;
  overflow: hidden;
}


.show-up-enter-active,
.show-up-leave-active{transition:opacity .5s}
.show-up-enter,
.show-up-leave-to{opacity:0}

.show-up-enter-active {
    transition: all 0.2s ease;
}

.show-up-leave-active {
    transition: all 0.2s ease;
}

.show-up-enter-from,
.show-up-leave-to {
    transform: translateY(10px);
    opacity: 0;
}

.resultContainer {
	width: 100%;
	transition-duration: .2s;
}


.result_text_img {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.result_text_img .result_title {
	color: #000000;
	font-size: 18px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}
.result_text_img .result_title span {
	margin: auto;
}
.result_text_img .result_title button {
	background-color: #fff;
	color: #fff;
	border-radius: 5px;
	border: 1px solid #ab3a46;
	line-height: 1;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.result_text_img .result_title button svg {
	fill: #E52E4C;
	width: 17px;
}


.results_btn_container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.main_btn {
	background: inherit;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: 8px;
	padding: 16px;
	min-width: 72px;
	min-height: 72px;
	color: #111;
	font-size: 12px;
	line-height: 16px;
	font-weight: 400;
	font-style: normal;
	text-align: center;
}
.main_btn svg {
	width: 24px;
	height: 24px;
}

.d-flex {
	display: flex !important;
}


.switch_toggle input[type="checkbox"] {
	display: none; 
}

.switch_toggle label {
	cursor: pointer;
	position: relative;
	border-radius: 8px;
	background: #FAFAFA;
	display: flex;
	padding: 8px;
	gap: 8px;
	align-items: center;
	align-self: stretch;
}

.switch_toggle.v1 label {
	padding: 8px 16px;
	min-height: 56px;
}

.switch_toggle label .right_content {
	margin-left: auto;
	display: flex;
	gap: 8px;
	align-items: center;
}
.switch_toggle label .label_text {
	color: #000;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
}
.switch_toggle label .label_val {
	color: #000;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
}
.switch_toggle label .slider {
	width: 40px;
	height: 24px;
	flex-shrink: 0;
	background: #fff;
	border: 1px solid #6D6D6D;
	border-radius: 20px;
	transition-duration: .3s;
	position: relative;
}

.switch_toggle label .slider:before {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	background-color: #6D6D6D;
	border-radius: 50%;
	transition-duration: .3s;
}

.switch_toggle input:checked + label .slider {
	background-color: #E52E40;
	border-color: #E52E40;
}

.switch_toggle input:checked + label .slider:before {
	left: 19px;
	background-color: #FFDFE2;
}


input[type="radio"] {
	display: none;
}

.radio-label {
	display: inline-block;
	vertical-align: middle;
	line-height: 20px;
	color: #111;
	font-size: 16px;
	line-height: 24px;
	margin: 0;
}

.radio_description {
	margin: 0;
	color: #3d3d3d; 
	font-size: 12px; 
	line-height: 16px;
}

.radio_option label {
	display: flex;
	padding: 16px;
	align-items: center;
	gap: 16px;
	align-self: stretch;
	cursor: pointer;
	border-radius: 16px;
	background: #F5F7FA;
	transition-duration: 0.2s;
}
.radio_option label:hover {
	background: #e3e6e9;
}

.radio_option input[type="radio"]:checked + label .custom-radio::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 12px;
	background-color: red;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.radio_option .custom-radio {
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1.5px solid #5D5F62;
	vertical-align: middle;
	position: relative;
	cursor: pointer;
	flex: 0 0 auto;
	margin-left: auto;
}

.radio_option .desc {
	display: flex; 
	flex-direction: column; 
	width: fit-content;
}

.radio_option .icon_container {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	width: 40px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.25);
}
.radio_option .icon_container img {
	max-width: 24px;
	max-height: 24px;
}

.popup_expansion {
	overflow: hidden;
	transition: height 0.3s ease-in-out;
	position: relative;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
@media (max-width: 768px) {
	.popup_expansion {
		padding: 16px 0;
	}
}

.popup_expansion .total_scanned_barcodes {
    margin: 0;
    color: #111;
    font-feature-settings: 'liga' off;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    display: flex;
    align-items: center;
}
.popup_expansion .total_scanned_barcodes button {
	background: none;
    border: none;
    margin-left: auto;
    fill: #1f1f1f;
    margin: 0;
    margin-left: auto;
}
.popup_expansion .total_scanned_barcodes button svg {
	fill: #1f1f1f;
	width: 24px;
	height: 24px;
}

.popup_expansion .scanResContainer {
	display: flex;
	flex-direction: column;
	gap: 16px;
	background: #FAFAFA;
	border-radius: 8px;
	padding: 8px;
}

.popup_expansion .scanRes {
	display: flex;
	gap: 8px;
	align-items: center;
}

.popup_expansion .scanRes button {
	background: none;
	border: none;
	margin: 0;
	padding: 0;
	cursor: pointer;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.popup_expansion .scanRes button svg {
	fill: #3d3d3d;
	width: 24px;
	height: 24px;
}
.popup_expansion .scanRes button.btn_expanded svg {
	transform: rotate(90deg);
}
.popup_expansion .scanRes button.active svg {
	fill: #FF3347;
}

.popup_expansion .latest_scan {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1 0 0;
}
.popup_expansion .latest_scan p {margin: 0;}
.popup_expansion .latest_scan .title {
	color: #3D3D3D;
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	text-overflow: ellipsis;
	overflow: hidden;
	width: 100%;
}
.popup_expansion .latest_scan .desc {
	overflow: hidden;
	color: #111;
	text-overflow: ellipsis;
	width: 100%;
	font-size: 14px;
	font-weight: 500;
	line-height: 16px;
}

/* Result Fields Styling */
.result_mrz_list {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex: 1;
    flex-wrap: wrap;
    width: 100%;
}
.result_mrz_field {
    padding: 6px 8px;
    background-color: #f8f9fa;
    flex: 1 1 auto;
    text-align: left;
    border-left: 3px solid #FF3347;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.res_label {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.res_value {
    font-size: 14px;
    font-weight: 500;
    color: #212529;
    line-height: 1.4;
    word-break: break-word;
}

/* Scan History */
.scan_history_content {
	padding: 16px;
}

.scan_history_grid {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.scan_history_day {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.history_day_header {
	margin: 0;
	color: #6D6D6D;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
}

.scan_history_items {
	display: flex;
	flex-direction: column;
	gap: 8px;
    background: #FAFAFA;
    border-radius: 8px;
    padding: 8px;
}

.scan_history_item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	background: #FFF;
	border-radius: 10px;
	border: 1px solid #E7E7E7;
	box-shadow: 0 1px 1px rgba(12, 12, 13, .05);
	cursor: pointer;
}

.scan_history_item:hover {
	border-color: #DADADA;
	box-shadow: 0 6px 16px rgba(12, 12, 13, .10);
}

.scan_history_item:active {
	box-shadow: 0 1px 1px rgba(12, 12, 13, .05);
}

.scan_history_item_text {
	min-width: 0;
	flex: 1;
}

.scan_history_item_text .scan_value {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: #111;
	word-break: break-all;
}

.scan_history_item_text .scan_type {
	margin: 4px 0 0;
	font-size: 12px;
	color: #3D3D3D;
}

.scan_history_item_actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

/* Reuse the existing .icon_btn base styling but ensure it looks good inside history rows */
.scan_history_item_actions .icon_btn {
	width: 32px;
	height: 32px;
	padding: 0;
}

.scan_history_item_arrow {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: .6;
}

.scan_history_item_arrow svg {
	width: 18px;
	height: 18px;
	fill: #6D6D6D;
	transition: transform .2s ease, opacity .2s ease;
}

.scan_history_item:hover .scan_history_item_arrow svg {
	transform: translateX(2px);
	opacity: .95;
}

.no_history {
	padding: 36px 16px;
	text-align: center;
	color: #6D6D6D;
}

.no_history p {
	margin: 0;
	font-size: 14px;
}

.history_actions {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #E7E7E7;
	background: #fff;
	display: flex;
	justify-content: center;
}