
body{
    min-height: 0;
    height: 100vh;
    overflow: hidden;
    background-image: url("../images/login_background.png");
    background-position: center;
}

#main_content{
    position: relative;
    width: 40vw;
    margin-left: auto;
    margin-right: auto;
}


#qr_code_popup{
    width: 250px;
    height: 250px;
    background-color: white;
    position: fixed;
    z-index: 3;
    left: calc(50% - 145px);
    top: calc(50% - 200px);
    padding: 20px;
}


#qr_logo{
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}


#qr_code_container{
    border-radius: 20px;
    
}

#scan_qr_container{
    position: fixed;
    width: 290px;
    left: calc(50% - 165px);
    top: calc(10%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3;
    background-color: white;
    border-radius: 5px;
    padding: 20px;
}

#scan_qr_container>button{
    margin: auto;
    background-color: var(--primary);
    height: 35px;
    padding: 0 10px;
    border: 3px solid white;
    outline: none;
    border-radius: 5px;
    color: white;
    width: 100%;
}

#currency_details_container{
    margin-top: 30px;
    width: 100%;
    justify-content: center;
    display: flex;
}
#currency_details_container>h1{
    text-align: center;
    width: 100%;
    font-size: larger;
    color:white;
    font-family: montserrat_bold;
}

.currency_detail{
    margin: 0 10px;
    margin-top: 10px;
    display: flex;
    height: 40px;
    align-items: center;
    width: fit-content;
    color: white;
    
}


.currency_detail>img{
    height: 100%;
}

#promo_history_button_container{
    width: 30px;
    height: 30px;
    margin: auto;
    margin-right: 0;
}

#promo_history_button_container> a{
    background-color: transparent;
    outline: none;
    border: none;
    height: 100%;
    width: 100%;
    
}

#promo_history_button_container> a>img{
    height: 100%;
    width: 100%;
}


#scan_qr_button{
    position: fixed;
    background-color: var(--primary);
    height: fit-content;
    padding: 10px 10px!important;
    border: 3px solid white;
    outline: none;
    border-radius: 5px;
    color: white;
    width: 200px;
    left: calc(50% - 100px);
    top: 70%;
}

/* QR Scanner Section */

#reader__scan_region{
    border: 1px solid var(--text-color-dark);
}

#reader{
    border: none!important;

}

#reader>div>img{
    display: none!important;
}

#html5-qrcode-button-camera-permission{
    margin: auto;
    background-color: var(--primary);
    height: fit-content;
    padding: 10px 10px!important;
    border: 3px solid white;
    outline: none;
    border-radius: 5px;
    color: white;
    width: 100%;
}

#html5-qrcode-button-file-selection{
margin: auto;
    background-color: var(--primary);
    height: fit-content;
    padding: 10px 10px!important;
    border: 3px solid white;
    outline: none;
    border-radius: 5px;
    color: white;
    width: 100%;
}

.html5-qrcode-element{
    line-height: 30px!important;
}


#reader__dashboard_section>div{
    width: 100%!important;
}
#reader__dashboard_section_csr+div{
    width: calc(100% - 12px)!important;
    padding: 20px 0!important;
    border: 2px  dashed var(--primary)!important;
}

#reader__dashboard_section_csr+div>div{
    margin-top: 15px;
}
#reader__dashboard_section_csr+div>label{
    width: 60%;
}

#overlay{
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.185);
    position: fixed;
    left: 0;
    top:0;
    z-index: 3;
}

#scanner_header{
    display: flex;
}

#scan_qr_close_button{
    margin-left: auto;
    border: none;
    color: var(--danger);
    background-color: transparent;
    font-size: large;
}
#html5-qrcode-select-camera{
    padding: 5px 0px;
}

#html5-qrcode-button-camera-start{
    background-color: var(--primary);
    height: fit-content;
    padding: 10px 10px!important;
    border: 3px solid white;
    outline: none;
    border-radius: 5px;
    color: white;
    margin-top: 10px;
}

#html5-qrcode-button-camera-stop{
    background-color: var(--primary);
    height: fit-content;
    padding: 10px 10px!important;
    border: 3px solid white;
    outline: none;
    border-radius: 5px;
    color: white;
    margin-top: 10px;
}

#reader__header_message{
    display: none!important;
}