/* @font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Regular.woff2') format('woff2'),
      url('../fonts/Montserrat-Regular.woff') format('woff');
  font-style: normal;
  font-display: swap;
}

@font-face {
  
  src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2'),
      url('../fonts/Montserrat-SemiBold.woff') format('woff');
  font-style: normal;
  font-display: swap;
} */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');


html, body{
 font-family: 'Bebas Neue', sans-serif;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  max-width: 520px;
  background-color: black;
 
  margin: 0 auto;
  position: relative;
}

*{
  box-sizing: border-box;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.splash{
  background-image: url(../images/logo.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto;
  position: absolute;
  color: #E3FE01;
  background-color: #000;
  font-size: 16px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0;
  z-index: 99999;
}

.loader{
  background-image: url(../images/logo.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto;
  position: absolute;
  color: #E3FE01;
  background-color: #000;
  display: none;
  font-size: 20px;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0;
  z-index: 9999;
}

.bg-main{
	background-color: #E3FE01 !important;
}
.spinner-wrapper{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 26vh;
}

.spinner-wrapper > small{
  color: #fff;
}


.wrapper{
  height: 100%;
  position: relative;
}

.front,
.viewport{
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
}

.front{
  color: #fff;
  text-align: center;
}

.viewport{
  display: none;
}

.intro{
  font-size: 22px;
  position: absolute;
  line-height: 24px;
  padding: 0 15px;
  top: 36vh;
  width: 100%;
}

.home-image{
  height: 21vh;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}

.home-image img{
  height: 100%;
  margin: 0 auto;
  display: table;
}

p.no-data{
  text-align: center !important;
  font-size: 24px;
  margin-top: 30px;
  color: #fff;
}

.close{
  position: absolute;
  top: 12px;
  left: 12px;
  line-height: 30px;
  display: flex;
  cursor: pointer;
  z-index: 1;
  width: 35px;
  aspect-ratio: 1/1;

}

.close img{
	width: 100%;
}

.modal-footer{
  border-top: 1px solid #8F8F8F;
}

.modal-footer .btn{
	border-radius: 0;
	font-size: 22px;
	color: #000;
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal-footer .btn:not(:last-child){
  border-right: 1px solid #8F8F8F;
}

#interactive{
  height: 100%;
  position: relative;
}

#interactive > video{
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#interactive > canvas{
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.counter{
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 5px;
}


.counter .count {
color: #000;
    font-size: 16px;
    padding: 0 2px;
    min-width: 28px;
    text-align: center;
	font-weight: bold;
	pointer-events: none;
}

.counter .calc{
    width: 20px;
    height: 20px;
    font-size: 28px;
    line-height: 22px;
    border-radius: 50%;
    font-weight: bold;
    color: #000;
    border: 1px solid;
    cursor: pointer;
    text-align: center;
	
}
/*Prevent text selection*/
span{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
input{  
    border: 0;
    width: 2%;
}
nput::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input:disabled{
    background-color:white;
}


.scanner{
  background-image: url(../images/bg-scanner.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto;
  position: absolute;
  aspect-ratio: 1/1;
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.line-scanner{
  position: relative;
  width: 100%;
  height: 100%;
}

.line-scanner img{
  position: absolute;
  width: 100%;
  top: 0;
  animation: MoveUpDown 1.5s linear infinite;
}

body.cassier .scanner{
  top: 33%;
}

@keyframes MoveUpDown {
  0%, 100% {
    top: 0;
  }
  50% {
    top: 80%;
  }
}

.button-wrapper{
  position: absolute;
  cursor: pointer;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  top: 50.5vh;
}

.button{
font-size: 21px;
  background-color: transparent;
  color: #fff;
  border: 2px solid #E3FE01;
  padding: 6px 18px;
  display: block;
  min-width: 140px;
}

.button-icon{
	padding: 6px 18px;
    position: relative;
    text-align: left;
    min-width: 152px;
}

.button.button-icon > .fa{
  font-size: 10px;
  color: #E3FE01;
  margin-right: 12px;
  /* position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%); */
}

#barcode_result{
  height: 100%;
  background-color: #ececec;
  background-color: #000;
}

#barcode_result > span{
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 60px;
  line-height: 30px;
  display: none;
  cursor: pointer;
  z-index: 1;
}

#barcode_result.opened{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 3;
  overflow: auto;
}

#barcode_result.opened > span{
  display: block;
}

.logo{
    max-width: 52.5vh;
    width: 100%;
    margin: 0 auto;
}

.logo > img{
  width: 100%;
}

.content .content-list{
	color: #fff;
  font-size: 30px;
  padding: 20px 14px;
  width: 100%;
  text-align: right;
}

.btn-sm{
	font-size: 13px;
	min-width: 80px;
}

.print-button,
.clear-button{
	display: none;
}

.clear-button .fa{
	font-size: 24px;
    position: absolute;
    right: -2px;
    top: -2px;
}

.content-list .btn{
  background-color: #E3FE01;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  cursor: pointer;
}

.content .content-list span{
  width: 100%;
  text-align: left;
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
}

.product-price {
    justify-content: end;
    width: 50%;
}

.product-name {
    width: 100%;
}

.content .content-list:first-child,
.content .content-list:nth-child(4){
  background-color: #000;
}

.content .content-list:nth-child(2),
.content .content-list:nth-child(5){
  background-color: #3C3C3F;
}

.content .content-list:nth-child(3){
  background-color: #E3FE01;
  color: #000;
}

.scanned-product-price{
	position: absolute;
    height: 40%;
    z-index: 2;
    bottom: 0;
    width: 100%;
    background-color: #ffffff;
    left: 0;
    padding: 11px 20px;
    border-radius: 20px 20px 0 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 14px;
}

.content-head{
	text-align: center;
    margin-top: 0;
    font-size: 20px;
    line-height: 20px;
    display: flex;
	min-height: 46px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #000;
}

ul.list-scanned{
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  margin: 0;
}

ul.list-scanned li{
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  width: 100%;
}

.list-i{
	display: flex;
    align-items: center;
    flex-wrap: wrap;
    line-height: 19px;
    font-size: 15px;
}

body.check .scanned-product-price{
  display: none;
  width: 100%;
}

body.cassier .button-edit{
  display: none;
}

.input-edit{
    display: none;
    max-width: 140px;
    text-align: center;
    font-size: 28px;
    line-height: 38px;
    padding: 0 20px;
    margin-left: auto;
}

.print-list{
  display: none;
}

.total-price-wrapper{
  margin-bottom: 0;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px dashed #000;
  font-size: 17px;
  text-align: right;
  width: 100%;
}

.header-captured{
background-color: #E3FE01;
    height: 66px;
    display: flex;
    justify-content: center;
    line-height: 0;
    align-items: center;
    font-size: 26px;
    position: absolute;
    top: 0;
    width: 100%;
}

.header-captured .close{
	top: 15px;
	left: 12px;
}

.header-captured-text > img{
	margin-right: 12px;
}

.image-captured{
	margin-top: 70px;
}

@supports (-webkit-hyphens:none){
.image-captured{
padding-top: 20px;
	margin-top: 190px;
}
}


.print-preview{
font-family: "Oswald", sans-serif;
  width: 100%;
  min-height: 100%;
  position: absolute;
  background-color: #fff;
  top: 0;
  left: 0;
  z-index: -9999;
  pointer-events: none;
  min-height: calc(100vh - 70px);
}

.print-preview .logo{
	margin-top: 22px;
    margin-bottom: 15px;
    width: 90%;
	max-width: 400px;
}

.print-preview .intro-preview{
	font-size: 13px;
	line-height: 17px;
	text-align: center;
	color: #8F8F8F;
}


.print-preview .headline-preview{
    margin-bottom: 35px;
    padding-bottom: 16px;
    padding-top: 15px;
    border-top: 1px dashed #8F8F8F;
    border-bottom: 1px dashed #8F8F8F;
}

.print-preview .footer-preview{
    position: absolute;
    font-size: 10px;
    line-height: 18px;
    bottom: 14px;
    left: 0;
}

.print-preview .print-inner{
  min-height: calc(100vh - 70px);
    padding-bottom: 64px;

}


.print-preview .calc{
	display: none;
}

.print-preview .count{
	color: #8F8F8F;
}
.print-preview .list-i{
	color: #8F8F8F;
}

.print-preview .counter{
	justify-content: start;
}

.print-preview .total-price-wrapper{
	margin-top: 30px;
	padding-top: 30px;
  border-color: #8F8F8F;
  color: #8F8F8F;
}

#modal_capture{
	background-color: #fff;
}