#camera-viewport,
#camera-viewport-quagga2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1060;
}

#camera-viewport-quagga2 video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1060;
}

.viewport-highlight {
    position: absolute;
    pointer-events: none;
    z-index: 1060;
}

.viewport-highlight-svg {
    position:absolute;
    width:100%;
    height:100%;
    left:0;
    top:0;
    fill:none;
    stroke:rgba(255, 255, 255, 0.7);
    stroke-width:4;
    stroke-linecap:round;
    stroke-linejoin:round;
}


.viewport-highlight-svg path {
    stroke:rgba(255, 255, 255, 0.7);
}

.viewport-highlight-svg.transition-back path {
    transition: stroke 2s ease;
}

.viewport-label {
    position: relative;
    top: -25px;
}

.viewport-label span {
    background-color: rgba(255, 255, 255, 0.5);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1060;
}

#cameraModal .overlay-btn {
    width: 27px;
    height: 27px;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.5);;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

#cameraModal .dropdown-toggle::after {
    display:none;
}

#cameraModal .btn-close {
    width: 27px;
    height: 27px;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

#cameraModal .btn-check:active+.btn-outline-danger:focus,
#cameraModal .btn-check:checked+.btn-outline-danger:focus,
#cameraModal .btn-outline-danger.active:focus,
#cameraModal .btn-outline-danger.dropdown-toggle.show:focus,
#cameraModal .btn-outline-danger:active:focus,
#cameraModal .btn-check:active+.btn-outline-success:focus,
#cameraModal .btn-check:checked+.btn-outline-success:focus,
#cameraModal .btn-outline-success.active:focus,
#cameraModal .btn-outline-success.dropdown-toggle.show:focus,
#cameraModal .btn-outline-success:active:focus {
    box-shadow: none !important;
}

.scan-results {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    width: 100%;
    z-index: 1060;
    background-color: #fff;
}