.alicom-search-wrapper {
position: relative;
display: flex;
justify-content: flex-end;
padding: 10px;
}
.alicom-search-icon {
display: inline-block;
width: 40px;
height: 40px;
background-image: url(//www.alicom.it/wp-content/plugins/alicom-search-lightbox-multiple/assets/searchicon.svg);
background-size: contain;
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
}
.alicom-search-lightbox {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 9999;
}
.alicom-search-lightbox.active {
display: block;
}
.alicom-search-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
}
.alicom-search-modal {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #fff;
padding: 20px;
border-radius: 8px;
max-width: 90%;
width: 400px;
box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.alicom-search-close {
position: absolute;
top: 10px;
right: 10px;
font-size: 24px;
cursor: pointer;
}
.alicom-search-modal input[type="text"] {
width: 100%;
padding: 8px;
margin-bottom: 10px;
box-sizing: border-box;
}
.alicom-search-modal button[type="submit"] {
padding: 10px 20px;
background: #3D6214;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
width: 100%;
}
.alicom-search-modal button[type="submit"]:hover {
background: #005177;
} .barcode-scan-btn {
display: block;
margin: 10px auto 0;
padding: 8px;
background: #f5f5f5 !important;
color: #000 !important;
border: 1px solid #ccc;
border-radius: 5px;
width: 100%;
text-align: center;
cursor: pointer;
} #barcode-scanner-container {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0,0,0,0.9);
z-index: 10000;
display: flex;
justify-content: center;
align-items: center;
}
#barcode-scanner-container video {
width: 100%;
height: 100%;
object-fit: cover;
}
#barcode-scanner-container .bcl-close-btn {
position: absolute;
top: 10px;
right: 10px;
padding: 10px 14px;
font-size: 16px;
background: #ffffff;
color: #000000;
border: none;
border-radius: 6px;
cursor: pointer;
z-index: 10001;
}
#barcode-scanner-container {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0,0,0,0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}
#barcode-scanner-container video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
#barcode-scanner-container .scan-area {
position: relative;
width: 60vw;
height: calc(60vw * 0.65);
max-width: 400px;
max-height: 260px;
border: 2px dashed #fff;
box-sizing: border-box;
background: rgba(255,255,255,0.1);
z-index: 1;
}
#barcode-scanner-container .bcl-close-btn {
position: absolute;
top: 16px;
right: 16px;
z-index: 2;
padding: 8px 12px;
background: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
}