/*---------------------------------------------------
QR code scanner
-----------------------------------------------------*/
.qr-scanner {
    align-items: center;
    justify-content: center;
    display: none;
    position: fixed;
    height: 100vh;
    width: 100%;
    z-index: 99999;
}

.qr-scanner video { 
    height: 72% !important;
    margin-top: -3rem;
    width: 100%;
    z-index: 2;;
}
  
.qr-scanner video * { 
    height: 100% !important;
    width: 100% !important;
}
 
.qr-scanner.active { 
    display: flex;
    flex-direction: column;
    width: 100%;
}

.qr-scanner::before {
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    background-color: rgba(41, 41, 41, .7);
    z-index: 0;
}

.qr-scanner__stop {
    z-index: 2;
    margin-bottom: 2rem;
}
 
#qr-controls {
    display: inline-block; 
    position: relative;
    z-index: 9999999;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 80px;
    right: 10px;
}
 
.qr-controls__btn,
.qr-scanner__stop  {
    align-items: center;
    background: linear-gradient(60deg, #ab47bc, #8e24aa);
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    color: #fff;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: .5rem;
    text-transform: uppercase;
    width: 100%; 
    font-weight: 400;
    font-size: 12px;
}


.qr-controls__btn {
    width: auto;
    background: #0a5dae;
    top: 0 !important;
}

.qr-scanner__stop  { 
    margin-top: 1rem;
    width: 75%;
}
