body {
    font-family: "Inter", sans-serif;
    margin: 0;
    position: relative;
    background: #efefef;
}

card1 {
    height: 210px;
    margin-top: 150px;
    width: 500px;
    max-width: 100%;
    border-radius: 10px;
    background: #fdfcfd;
    box-shadow: 5px 10px 100px rgba(0, 0, 0, 0.3);
}

card2 {
    height: 210px;
    border-radius: 10px;
    width: 500px;
    max-width: 100%;
    background: #fdfcfd;
    box-shadow: 2px 10px 100px rgba(0, 0, 0, 0.3);
}

innercard1 {
    background: linear-gradient(to left bottom, #78e393, #3dd263);
    height: 150px;
    color: rgba(255, 255, 255, 0.8);
    font-family: sans-serif;
    text-align: center;
    font-weight: 200;
    width: 200px;
    position: absolute;
    margin-left: 330px;
    margin-top: 30px;
    border-radius: 10px;
}

.try-again {
    background: linear-gradient(to left bottom, #e27777, #ef5656);
    height: 100px;
    color: rgba(255, 255, 255, 0.8);
    font-family: sans-serif;
    text-align: center;
    font-weight: 100;
    width: 110px;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    border-radius: 10px;
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
    cursor: pointer;

}

.fa-check-circle {
    font-size: 2em;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 40px;
}

.fa-redo {
    font-size: 1.5em;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 22px;
}

h1 {
    text-shadow: 1px 0px 1px #8fe4a5, 0px 1px 1px #66d483, 2px 1px 1px #8fe4a5, 1px 2px 1px #66d483, 3px 2px 1px #8fe4a5, 2px 3px 1px #66d483, 4px 3px 1px #8fe4a5, 3px 4px 1px #66d483, 5px 4px 1px #8fe4a5, 4px 5px 1px #66d483, 6px 5px 1px #8fe4a5, 5px 6px 1px #66d483, 7px 6px 1px #8fe4a5, 2px 2px 2px rgba(206, 89, 55, 0);
    letter-spacing: 2px;
    font-size: 5em;
    margin-top: 20px;
    color: #5e5d59;
    margin-left: 70px;
    font-family: sans-serif;
}

h2 {
    color: #5e5d59;
    font-family: sans-serif;
    font-size: 1.2em;
}

h4:not(.scan_result) {
    text-shadow: 1px 0px 1px #e27776, 0px 1px 1px #e27776, 2px 1px 1px #e27776, 1px 2px 1px #e27776, 3px 2px 1px #e27776, 2px 3px 1px #e27776, 4px 3px 1px #e27776, 3px 4px 1px #e27776, 5px 4px 1px #e27776, 4px 5px 1px #e27776, 6px 5px 1px #e27776, 5px 6px 1px #e27776, 7px 6px 1px #e27776, 2px 2px 2px rgba(206, 89, 55, 0);
    letter-spacing: 2px;
    font-size: 3em;
    margin-top: 0px;
    color: #5e5d59;
    margin-left: 0;
    font-family: sans-serif;
    margin-bottom: 0;

}

.info-unauthorize {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.text-wrapper {
    margin: 20px 0;
}






.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.wrapper {
    height: 100%;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.unauthorize-page:has(card2) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    /* background: url("abstract.jpg"); */
    background-size: cover;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.info-inner-wrapper {
    width: 100%;
    max-width: 500px;
    position: relative;
    height: 100%;
    margin: 0 auto;
}

.info-unauthorize {
    height: 250px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    background: #fdfcfd;
    box-shadow: 2px 10px 100px rgba(0, 0, 0, 0.3);
}


.text-center {
    text-align: center;
}


div#reader__dashboard_section_csr {
    margin-bottom: 20px;
}

button {
    padding: 20px;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    line-height: 24px;
    border: 2px solid #525252;
}

button:hover {
    background: #4e589c;
    color: white;
    border: 2px solid #4e589c;
    transition: .2s ease-in all;
}

h4.scan_result,
#result {
    text-align: center;
    font-size: 24px;
    line-height: 30px;
    margin: 0;
}

h4.scan_result {
    margin-bottom: 10px;
}

img[alt~="Info"] {
    display: none;
}

div#reader__dashboard_section_fsr {
    margin-bottom: 1rem;
    display: flex !important;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

input::file-selector-button {
    font-weight: bold;
    color: dodgerblue;
    padding: 12px;
    border: thin solid grey;
    border-radius: 4px;
}

a#reader__dashboard_section_swaplink {
    font-size: 18px;
    line-height: 24px;
}

.qr-wrapper {
    position: relative;
    height: 100%;
}

.centered-div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}


#reader {
    border: 0 !Important;

}

.card-wrap {
    padding: 60px 20px;
    border-radius: 4px;
    box-shadow: 0 0 12px -7px black;
    background: white;
}


div#reader__dashboard_section_fsr span {
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
}


.qr-section {
    /* background: url(abstract.jpg); */
    background-size: cover;
    height: 100%;
    width: 100%;
    overflow: hidden;
    overflow-y: scroll;
}


div#result {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.popup-content {
    max-width: 500px;
    text-align: center;
    border-radius: 4px;
}

.popup-container h3 {
    color: green;
    font-size: 30px;
    font-weight: 500;
    line-height: 40px;
}

.info-unauthorize-wrapper {
    height: 100%;
    width: 100%;
}


#reader__dashboard_section_csr span:first-child {
    margin-bottom: 16px;
    display: block;
    margin-right: 0 !important;
}

input::select {
    padding: 10px;
    font-size: 16px;
}

@media (max-width: 767px) {
    h4:not(.scan_result) {
        font-size: 2rem;
    }

    .card-wrap {
        padding: 40px 20px;
    }
}

@media (max-width: 375px) {
    h4:not(.scan_result) {
        font-size: 1.5rem;
    }

    .info-unauthorize {
        height: 220px;
    }

    .text-wrapper {
        margin: 20px 0 0;
    }

    .try-again {
        height: 87px;
        width: 99px;
    }

    .fa-redo {
        font-size: 1em;
    }

    .try-again h3 {
        font-size: 1rem;
        margin: 10px;
    }
}


/* Qr app custom css */
.popup-container {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform: scale(1.3);
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 17, 17, 0.61);
    display: flex;
    align-items: center;
}

.popup-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
}

.popup-content p {
    font-size: 17px;
    padding: 10px;
    line-height: 20px;
}

.popup-content a.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    background: none;
    padding: 0;
    margin: 0;
    text-decoration: none;
}

.popup-content a.close:hover {
    color: #333;
}

.popup-content span:hover,
.popup-content span:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.popup-container.open {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.popup-container h3 {
    margin: 10px;
}

button.button.button-secondary {
    padding: 5px 21px;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    line-height: 24px;
    border: 2px solid rgb(253, 172, 25);
    text-transform: uppercase;
    background-color: rgb(253, 172, 25);
    font-weight: 600;
}

.hide {
    display: none !important;
}

#loadingOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
}

.loadingSpinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #333;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.loadingText {
    margin-top: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
span.textColor {
    color: #0ba16b;
}
.result-fulfill-container p {
    font-size: 18px;
    line-height: normal;
}
.textColorRed{
    color: #db2c00;
}
.btnWrapper button {
    padding: 10px 20px;
    border: 1px #b5b5b5 solid;
    font-size: 15px;
    letter-spacing: 0;
    font-weight: 700;
    background: #00a374;
    color: #eee;
}
.result-fulfill-container p > span {
    /*width: 50%;*/
    display: inline-block;
}
.result-fulfill-container p {
    display: flex;
    text-align: left;
   gap: 10px;
}
.result-fulfill-container {
    width: 100%;
} 
.line-item,
.tableHeaderWrapper {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 5px 10px;
    border-bottom: 1px #eee solid;
}

.line-item .product_title,
.tableHeaderWrapper .table_header,
.tableHeaderWrapper .table_image {
    width: 50%;
    display: inline-block;
    text-align: left;
    font-size: 16px;
}

.product_image {
    width: 50%;
    text-align: left;
}

.line-item img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.product_infoWrapper {
    background-color: #fff;
}

.product_title p {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
}