/*@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

*,
body {
    font-family: 'poppins', sans-serif;
    transition: .5s ease-in-out !important;
}

body {
    /* background-image: url('../img/desktop-bg.png'); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    background-attachment: fixed;
    height: 100vh;
    background-color: #F3F5FB;
}

@font-face {
    font-family: poppins;
    src: url(https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);
}

@font-face {
    font-family: 'Arial';
    src: url("/fonts/arial/ARIAL.TTF") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Arial';
    src: url("/fonts/arial/ARIALBD.TTF") format('truetype');
    font-weight: bold;
    font-style: normal;
}
.modal-backdrop {
    width: 100%;
    height: 100%;
}
#qrModal,
#qrModal * {
    font-family: "Avenir Medium", sans-serif !important;
}
    #qrModal .modal-body {
        min-height: 150px;
    }

    #qrModal .qr-card {
        width: 400px;
        /*height: 475px;*/
        aspect-ratio: 20/29;
    }

    #qrModal .qr-card-header {
        height: 18.5%;
    }

    #qrModal .custom-line {
        position: absolute;
        top: 40%;
        left: 0;
        width: 100%;
        height: 7px;
        z-index: 0;
        background-color: #FDB814;
    }

    #qrModal .qr-header-img {
        /*height: 100%;*/
    }

        #qrModal .qr-header-img img {
            width: 17.5%;
            /*width: 40px;*/
            /*height: auto;*/
            /*object-fit: fill;*/
            z-index: 1;
        }

    #qrModal .qr-card-body {
        height: 78.5%;
        line-height: 1.4;
    }

    #qrModal .qr-merchant-info {
        padding-left: 16% !important;
        border-bottom: 2px dotted #FBD913;
        height: 23.57%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        color: black;
    }

    #qrModal .qr-text {
        color: black;
        height: 7.65%;
        display: flex;
        justify-content: center;
        align-items: end;
    }

    #qrModal .qr-image {
        /*height: 56.75%;*/
        width: 75%!important;
        text-align: center;
    }

    #qrModal .qr-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    #qrModal .qr-bottom-space {
        height: 12.03%;
    }

    #qrModal .qr-card-footer {
        height: 3%;
    }

    #qrModal .footer-line {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background-color: #17479E;
    }

    #qrModal .qr-expiry-info {
        color: #DB810B;
    }

    #qrModal .qr-instructions {
        margin-top: 20px;
    }

    #qrModal .qr-instructions ol {
        list-style: decimal;
        padding-top: 15px;
    }

    #qrModal .qr-instructions li {
        margin-bottom: 15px;
    }

    #qrModal .qr-save-button {
        background-color: #003684;
        width:300px;
        border-radius:10px;
    }
    #qrModal .qr-save-button-img img{
        width: 20px;
        height: 20px;
        object-fit: contain;
        margin-right: 5px;
    }
.payment-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-label {
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
/*.payment-icons {
    display: flex;
    align-items: center;
    justify-content: center;
}*/
.payment-icons {
    margin-top: 9px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.payment-item {
    text-align: center;
}

@media (min-width: 200px) {
    .payment-icons {
        grid-template-columns: repeat(5, 1fr); 
    }
}

@media (min-width: 992px) {
    .payment-icons {
        grid-template-columns: repeat(5, 1fr); 
    }
}


    .payment-icons img {
        width: 32px !important;
        height: 32px !important;
        aspect-ratio: 1 / 1; 
        object-fit: fill;
    }

#mmqr-payments .payment-name{
    font-size:10px;
}
#mobileNumberModal .mobile-modal {
    max-width: 400px;
}

#mobileNumberModal .mobile-modal-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 1rem;
    min-height: 150px;
}

#mobileNumberModal .mobile-expired-info {
    color: #DB810B;
    text-align: center;
}

#mobileNumberModal .mobile-submit-btn {
    background-color: #003684;
    width: 100%;
}

.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.poppins-thin-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.poppins-extralight-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.poppins-light-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}


/* Reset Properties */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
}

.nav-pills .nav-link {
    background-color: #F7F7F7;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

    blockquote:before,
    blockquote:after,
    q:before,
    q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.main-title {
    font-size: 32px;
}

.sub-title {
    font-size: 20px;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #003684;
}

.payment-type > * {
    text-decoration: none;
    color: #333;
}

.payment-icons img {
    height: 32px;
    width: auto;
}

.payment-icons:last-child img {
    height: 24px;
}

.top-border {
    border-top: 8px solid #0075FF;
}

.payment-selected {
    border: 2.4px solid #DDD;
    cursor: pointer;
    display: block;
}

img.payment-logo {
    height: 40px;
    width: auto;
}

.cancel-emoji {
    width: 90px;
    margin: 2em auto;
}

.payment-radio {
    cursor: pointer;
}

.paymentInfo-table {
    font-size: 14px;
}

    .paymentInfo-table tr td:first-child {
        font-weight: 900 !important;
        color: #888;
    }

    .paymentInfo-table tr td:last-child {
        font-weight: 900 !important;
    }

    .paymentInfo-table tr:last-child td:last-child {
        font-size: 16px;
    }

input.payment-methods-radio:checked ~ .payment-selected {
    background-color: white;
    border: 2.4px solid #0075FF;
    /* box-shadow: 0px 0px 12px rgb(234, 234, 234); */
    transition: .2s ease-in-out;
}

.logo img {
    /* width: 320px; */
}


/* Full-screen overlay */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 9999;
    /* ensure it appears on top */
}


/* Centered loading gif */

.loading-gif {
    width: 120px;
    /* Adjust the size of the GIF */
    height: auto;
}


/* loading */

.loading-text {
    font-size: 16px;
    color: #fff;
    display: block;
}


/*progressbar*/

#progressbar {
    margin-bottom: 16px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
}

    #progressbar li {
        list-style-type: none;
        color: #333;
        text-transform: uppercase;
        font-size: 12px;
        width: 33.33%;
        float: left;
        position: relative;
        /* text-align: center; */
    }

        #progressbar li:before {
            content: counter(step);
            counter-increment: step;
            width: 20px;
            line-height: 20px;
            /* text-align: center !important; */
            display: block;
            font-size: 14px;
            color: #333;
            background: #efefef;
            border-radius: 3px;
            margin: 0 auto 5px auto;
            border-radius: 20px;
            padding: 5px 20px 5px 12px;
        }


        /*progressbar connectors*/

        #progressbar li:after {
            content: '';
            width: 100%;
            height: 2px;
            background: rgb(244, 244, 244);
            position: absolute;
            left: -50%;
            top: 9px;
            z-index: -1;
            /*put it behind the numbers*/
        }

        #progressbar li:first-child:after {
            /*connector not needed before the first step*/
            content: none;
        }


        /*marking active/completed steps green*/


        /*The number of the step and the connector before it = green*/

        #progressbar li.active:before,
        #progressbar li.active:after {
            background: #0075FF;
            color: white;
        }

        #progressbar li.active span {
            color: #0075FF;
            font-weight: 700;
        }

        #progressbar li span {
            display: block;
            margin-top: 12px;
        }


/* OTP box */

.digit-group input {
    width: 14%;
    height: 60px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    line-height: 50px;
    /* text-align: center; */
    font-size: 24px;
    font-family: "Raleway", sans-serif;
    font-weight: 200;
    color: #333;
    margin: 0 2px;
}

.digit-group .splitter {
    padding: 0 5px;
    color: white;
    font-size: 24px;
}


/* CSS for the loading spinner */

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #7983ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}


/* radio select box */

.tab-section-wrapper {
    padding: 30px 0;
}

.grid-wrapper {
    display: grid;
    grid-gap: 30px;
    place-items: center;
    place-content: center;
}

.grid-col-auto {
    grid-auto-flow: column;
    grid-template-rows: auto;
}


/* ******************* Main Styeles : Radio Card */

label.radio-card {
    cursor: pointer;
    width: 100%;
}

    label.radio-card .card-content-wrapper {
        text-align: left !important;
        position: relative;
        background: #fff;
        border-radius: 5px;
        display: block;
        min-height: 80px;
        padding: 15px;
        display: grid;
        box-shadow: 0 2px 4px 0 rgba(219, 215, 215, 0.04);
        transition: 200ms linear;
        border: 1px solid #dddddd;
    }

    label.radio-card .check-icon {
        width: 20px;
        height: 20px;
        display: inline-block;
        border: solid 2px #e3e3e3;
        border-radius: 50%;
        transition: 200ms linear;
        position: absolute;
        top: 12px;
        right: 12px;
    }

        label.radio-card .check-icon:before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.93552 4.58423C0.890286 4.53718 0.854262 4.48209 0.829309 4.42179C0.779553 4.28741 0.779553 4.13965 0.829309 4.00527C0.853759 3.94471 0.889842 3.88952 0.93552 3.84283L1.68941 3.12018C1.73378 3.06821 1.7893 3.02692 1.85185 2.99939C1.91206 2.97215 1.97736 2.95796 2.04345 2.95774C2.11507 2.95635 2.18613 2.97056 2.2517 2.99939C2.31652 3.02822 2.3752 3.06922 2.42456 3.12018L4.69872 5.39851L9.58026 0.516971C9.62828 0.466328 9.68554 0.42533 9.74895 0.396182C9.81468 0.367844 9.88563 0.353653 9.95721 0.354531C10.0244 0.354903 10.0907 0.369582 10.1517 0.397592C10.2128 0.425602 10.2672 0.466298 10.3112 0.516971L11.0651 1.25003C11.1108 1.29672 11.1469 1.35191 11.1713 1.41247C11.2211 1.54686 11.2211 1.69461 11.1713 1.82899C11.1464 1.88929 11.1104 1.94439 11.0651 1.99143L5.06525 7.96007C5.02054 8.0122 4.96514 8.0541 4.90281 8.08294C4.76944 8.13802 4.61967 8.13802 4.4863 8.08294C4.42397 8.0541 4.36857 8.0122 4.32386 7.96007L0.93552 4.58423Z' fill='white'/%3E%3C/svg%3E%0A");
            background-repeat: no-repeat;
            background-size: 12px;
            background-position: center center;
            transform: scale(1.6);
            transition: 200ms linear;
            opacity: 0;
        }

    label.radio-card input[type=radio] {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
    }

        label.radio-card input[type=radio]:checked + .card-content-wrapper {
            box-shadow: 0 2px 4px 0 rgba(219, 215, 215, 0.5), 0 0 0 2px #3057d5;
        }

            label.radio-card input[type=radio]:checked + .card-content-wrapper .check-icon {
                background: #3057d5;
                border-color: #3057d5;
                transform: scale(1.2);
            }

                label.radio-card input[type=radio]:checked + .card-content-wrapper .check-icon:before {
                    transform: scale(1);
                    opacity: 1;
                }

        label.radio-card input[type=radio]:focus + .card-content-wrapper .check-icon {
            box-shadow: 0 0 0 4px rgba(48, 86, 213, 0.2);
            border-color: #3056d5;
        }

    label.radio-card .card-content img {
        height: 32px;
    }

    label.radio-card .card-content img.wallet {
        height: 42px;
    }

    label.radio-card .card-content h4 {
        font-size: 16px;
        letter-spacing: -0.24px;
        text-align: left;
        color: #1f2949;
        margin-top: 8px;
        margin-bottom: 10px;
    }

    label.radio-card .card-content h5 {
        font-size: 14px;
        line-height: 1.4;
        text-align: left;
        color: #686d73;
    }

.card-side {
    /* background-color: #E7ECF0; */
    /* border: none; */
    border: 2px solid #E7ECF0;
    padding: 1.4em 2em 2em 2em;
    margin-top: 1em;
}

    .card-side img.icon {
        width: 80px;
        display: block;
        margin: 0 auto;
    }

.card-side-fill {
    background-color: #E7ECF0;
    border: none;
    border-top-color: #ddd;
    border-top-width: 4px;
    border-top-style: solid;
    padding: 1.4em 2em 2em 2em;
    margin-top: 1em;
}

.virtual-card {
    display: none;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -100%);
    background: #fff;
    border: 1px solid #ddd;
    width: 80%;
    height: 160px;
}

table.tbl-tnxInfo {
    font-size: 14px;
}

    table.tbl-tnxInfo tr td:first-child {
        text-align: left;
        padding: 1.0em 0;
    }


    table.tbl-tnxInfo tr td:last-child {
        width: 40px;
        max-width: 320px;
    }

    table.tbl-tnxInfo tr td.title {
        text-align: left !important;
        padding: 1.0em 0;
        color: #003684
    }

    table.tbl-tnxInfo tr td:last-child {
        text-align: right;
    }

#timer {
    text-align: center !important;
    font-size: 24px;
    font-weight: 900;
}

.cust-padding {
    padding: 0 0em 1em 1em;
    text-align: left;
}

.cust-padding-right-1 {
    padding-right: 1em;
}

.cust-title {
    font-size: 18px;
}

.select-lang {
    padding: 6px 12px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.merchant-logo {
    width: 100%;
    display: block;
    margin: 0 auto;
    padding-left: 0 !important;
}

.align-left {
    text-align: left !important;
}

.merchant-name {
    font-family: 'poppins-semibold';
    font-size: 20px;
    font-weight: 900;
}

.bottom-section {
    position: relative;
    padding: 12px 24px;
    margin-bottom: 2em;
}

.qrCode-img {
    width: 60%;
    display: block;
    margin: 2em auto;
}

.qr-section {
    border: 1px solid lightgray;
    padding: 1em 1em 1.4em;
}

.p-relative {
    position: relative;
}

.card-style {
    border: 1px solid lightgray;
    padding: 1.4em 1em;
    margin-top: 1.4em;
}

    .card-style img {
        width: 80px;
        display: block;
        margin: 0 auto;
    }

.cust-title-2 {
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    margin: 1em auto;
}

.cust-title-3 {
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    margin: 0.5em auto;
}

.btn-padding {
    padding: 12px 12px;
    display: block;
    border: none;
}

.btn-action {
    padding: 12px 12px;
    color: #fff;
    background-color: #003684;
    display: block;
    border: none;
    width: 100%;
}
    .btn-action:hover {
        color: #fff;
        background-color: #006684;
    }


.btn-back {
    padding: 12px 12px;
    color: #333;
    background-color: #eee;
    display: block;
    border: none;
}

.cust-separate {
    border-bottom: 1px dotted #66666690;
}

.grand-amt {
    font-size: 24px;
    font-weight: 800;
    color: #009B0F;
}

#pageloader img {
    left: 50%;
    margin-left: -100px;
    margin-top: -200px;
    position: absolute;
    top: 50%;
}

#pageloader {
    background: rgba( 255, 255, 255, 0.8 );
    display: none;
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

.font-small {
    font-size: 14px;
}

.cust-border {
    border: 2px solid #E7ECF0 !important;
    margin-top: 1em !important;
}

.border-none {
    border: none !important;
}

.hr-border {
    border: 1px dotted #555
}

.bg-uabpay {
    background-color: #6868AC;
    width: 100%;
}

img.btn-logo {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    margin-bottom: -8px;
}

.mmqr-btn-div {
    display: flex;
    justify-content: center
}

.cancel-payment {
    width: 400px !important;
}

.btn-cancel-payment {
    border: 1px solid #003684;
    color: #003684;
    border-radius: 10px;
    box-shadow : none !important;
}
/* end */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* CSS to hide the loading spinner initially */

.hidden {
    display: none;
}

@media screen and (max-width: 1200px) {
    body {
        zoom: 90%;
    }
}

@media screen and (max-width: 768px) {
    body {
        zoom: 90%;
    }
    /* body {
        background-image: url('../img/mobile-bg.png');
    } */
    .logo img {
        width: 220px !important;
    }

    .cust-padding {
        padding: 0 1.4em 1em !important;
    }

    .cust-title {
        font-size: 16px !important;
    }

    label.radio-card .card-content img {
        height: 32px !important;
    }

    #timer {
        text-align: center !important;
    }

    .bottom-section {
        background-color: #fff;
        position: fixed;
        bottom: 0;
        /* width: 100%; */
        left: 0;
        padding: 12px;
        right: 0;
        margin-bottom: 0;
    }

    .qrCode-img {
        width: 100%;
    }

    #qrModal .qr-merchant-info{
        font-size : 11px;
    }
}

@media screen and (max-width: 430px){
    table.tbl-tnxInfo tr td:last-child {
        width: 40px;
        max-width: 120px;
    }
}
