* {
    font-family: "Montserrat", sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100dvh;
    background: url("../images/background.png") no-repeat center center fixed;
    background-size: cover;
}

.card_box {
    /* width: 100%; */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background: #ffffff 0% 0% no-repeat padding-box;
    box-shadow: 0px 10px 20px #0000000a;
    border-radius: 20px;
    opacity: 1;
    width: fit-content;
    padding: 2rem;
    height: fit-content;
}

.img_box {
    width: 400px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

p {
    text-align: center;
    color: #676767;
    opacity: 1;
    font-size: 15px;
}

h1 {
    text-align: center;
}

.card_warning {
    text-align: center;
    color: #000000;
    opacity: 1;
    font-size: 12px;
    background-color: #f5f5f5;
    padding: 1px;
    border-radius: 20px;
    margin-top: 1rem;
}

.shield_img {
    width: 12px;
    height: 12px;
}

#timeDisplay {
    color: #00a4ff;
}

.shield_box {
    text-align: center;
    margin-top: 0.8rem;
    color: #00a4ff;
    font-size: 10px;
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 0.3rem;
}

.decentro-footer-img {
    width: 85px;
    height: 25px;
    margin: auto;
    margin-top: 12px;
}

.decentro-footer-img>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* **************** PAYMENT - METHODS  **************** */
.bottom-spacing {
    margin-bottom: 0.8rem;
}

.payment-methods-container {
    padding-top: 0;
    background-color: #fff;
    border-radius: 10px;
    width: 400px;
}

.payment-methods-title {
    padding: 1rem 0;
    font-size: 14px;
    font-weight: 500;
}

.payment-message-title {
    padding: 0rem 0;
    font-size: 10px;
    font-weight: 500;
}

/* ****************  APP CARDS ****************   */

.payment-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 0.625rem;
    padding: 1rem;
    background: #ffffff;
    box-sizing: border-box;
    margin-bottom: 15px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 2px 24px;
}

.payment-wrapper label {
    display: flex;
    width: 100%;
    gap: 10px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.payment-wrapper label input {
    width: 20px;
    height: 20px;
    appearance: none;
    -webkit-appearance: none;
    transition: linear 0.8s;
    height: 0;
    width: 0;
    -webkit-tap-highlight-color: transparent;
}

.payment-wrapper label input:after {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    top: 5.5px;
    left: -1px;
    border-radius: 20px;
    border: 2px solid #3a88f6;
    transition: linear 0.2s;
    cursor: pointer;
}

.payment-wrapper label input:checked:after {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    background: #3a88f6;
    transition: linear 0.2s;
    cursor: pointer;
}

.payment-wrapper label input:checked:before {
    content: "";
    position: absolute;
    height: 8px;
    width: 8px;
    border-radius: 4px;
    background: #fff;
    left: 5px;
    top: 11.5px;
    z-index: 1;
    cursor: pointer;
}

.payment-wrapper label input .no-before::before {
    display: none;
}

.payment-wrapper label div.payment-context {
    width: 90%;
}

.payment-option-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 10px;
    height: 100%;
}

.payment-card {
    height: 100%;
}

.option-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: black;
}

.option-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-logo img {
    width: 30px;
    height: 30px;
}

.option-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* ****************  FOOTER **************** */
.card-footer {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    /* background-color: #ffffff; */
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
    gap: 15px;
}

.card-footer button.submit {
    background-color: #0092ff;
    border-radius: 20px;
    outline: none;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 1.2rem 5.625rem;
    cursor: pointer;
    width: 100%;
}

.card-footer button.submit.btn-disabled {
    opacity: 0.5;
    width: 100%;
}

.return-message {
    margin: auto;
    padding: 1rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.merchant_detail {
    background: #eef7ff;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
}

.merchant-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.merchant-info-box {
    display: flex;
    flex-direction: column;
}

.merchant-upi-handle {
    font-size: 10px;
    line-height: 1rem;
}

.formatted-price {
    font-size: 18px;
}

.merchant-name {
    font-size: 14px;
}

.txn-id {
    font-size: 10px;
    /* padding-top: 0.5rem; */
    margin-top: 0.5rem;
    border-top: 1px solid #c3d7ea;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 768px) {

    html,
    body {
        font-size: 80%;
    }

    .card-footer button.submit {
        padding: 1.3rem 2.5rem;
        border-radius: 12px;
        width: 100%;
    }

    .return-message {
        font-size: 1rem;
    }

    .payment-methods-container {
        padding: 1rem 0rem;
        padding-top: 0;
        background-color: #fff;
        border-radius: 10px;
        width: auto;
    }
}

/* mobile design */

@media screen and (max-width: 850px) {

    html,
    body {
        background: none;
    }

    .img_box {
        width: 100%;
        height: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .card_box {
        position: relative;
    }

    .card {
        box-shadow: none;
        width: 90%;
    }

    .card_warning {
        position: absolute;
        bottom: 12%;
        left: 5%;
        right: 5%;
        font-size: 12px;
    }

    .shield_box {
        position: absolute;
        bottom: 6%;
        left: 5%;
        right: 5%;
    }

    .merchant_detail {
        position: absolute;
        top: 4%;
        left: 3%;
        right: 3%;
    }
}

@media screen and (max-width: 990px) and (orientation:landscape) {

    .payment-methods-title {
        padding: 0.2rem;
    }

    .payment-methods-container {
        width: 100%;
        transform: scale(0.8);
    }

    .payment-methods-box {
        height: 30dvh;
        overflow: scroll;
    }

    .merchant_detail {
        transform: scale(0.8);
        top: 2%;
    }

    .card-footer button.submit {
        transform: scale(0.8);
        padding: 1rem 5.625rem;
    }

    .card-footer button.submit.btn-disabled {
        transform: scale(0.8);
        padding: 1rem 5.625rem;
    }

    .card_warning {
        transform: scale(0.8);
    }

    h1 {
        text-align: right;
        letter-spacing: 0px;
        color: #102c56;
        opacity: 1;
        font-size: 10px;
    }

    .shield_box {
        bottom: 8.5%;
    }
}