body {
    font-family: "Nunito Sans";
    background-color: #f5f5f5;
    background-size: cover;
}

body > .container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 2rem;
}

.back-to-payment {
    cursor: pointer;
    font-size: 0.9rem;
}

.main-box {
    display: flex;
    height: auto;
    width: 100%;
    max-height: 100%;
    border-radius: 25px;
    box-shadow: rgb(0 0 0 / 5%) 0px 5px 10px 5px;
}

.left-column {
    position: relative;
    display: flex;
    flex-basis: 41.67%;
    flex-direction: column;
    background-color: #e3f2ff;
    border-radius: 25px 0 0 25px;
    padding: 3rem 3rem 1rem 3rem;
    overflow: auto;
}

.right-column {
    display: flex;
    flex-direction: column;
    flex-basis: 58.33%;
    background-color: #ffffff;
    border-radius: 0 25px 25px 0;
    padding: 3rem 3rem 3rem 3rem;
    overflow: auto;
}

img#circle-xmark {
    width: 100px;
}

img#circle-check {
    width: 100px;
}

.bi-copy {
    color: #ffffff;
}

img.qris {
    max-width: 180px;
    width: 100%;
    height: auto;
}

.logo-container {
    display: flex;
    justify-content: center;
    height: 100px;
    margin-bottom: 2rem;
    gap: 3rem;
}

.logo-container .logo-link {
    display: block;
    height: 100px;
    width: 250px;
}

.merchant-logo {
    width: 200px;
}

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

.tripay-logo-dark {
    display: inline;
    max-height: 15px;
    width: auto;
    padding: 0 0.5rem;
}

.payment-by {
    /* position: absolute; */
    justify-content: center;
    bottom: 20px;
}

i {
    color: #2ca7ff;
}

input {
    background-color: #f1f9ff;
}

.time {
    color: #2ca7ff;
    font-weight: 900;
}

#modalimg {
    width: auto;
    height: 20px;
}

.ovo-form {
    background-color: #e3f2ff;
    color: #515151 !important;
    font-weight: bold !important;
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
    border-bottom: 1px solid #515151 !important;
    border-radius: 0;
    padding-left: 0.5rem;
}

.ovo-form:focus {
    background-color: #e3f2ff !important;
    border-bottom: 1px solid #2ca7ff !important;
    transition: all 0.5s;
}

.border {
    border-radius: 25px;
}

.btn-left:hover {
    background-color: #e7e7e7;
    color: #0099de;
}

.btn-left {
    background-color: #ffffff;
    color: #0099de;
}

.btn-modal {
    background-color: #0099de;
    color: #ffffff;
    border-radius: 0.5rem;
}

td {
    max-width: 300px;
}

.btn-modal:hover {
    background-color: #e94c4c;
    color: #ffffff;
}

.toast {
    z-index: 100;
    right: 5px;
    top: 50px;
    background-color: #e1f5ff;
    border-radius: 0.5rem;
    border: 1px solid #0099de;
}

.toast p {
    color: #0099de;
    margin: 0;
}

.tripay-header-logo {
    height: 100%;
}

.logo-container-mobile {
    display: none;
}

.payment-status {
    display: flex;
    flex-direction: column;
}

.payment-details {
    color: #515151;
}

.tripay-branding {
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
    color: #515151;
}

.payment-channel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.payment-logo {
    max-width: 64px;
    width: auto;
}

.payment-amount-container,
.pay-code-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.copy-amount,
.copy-pay-code {
    padding: 0;
    cursor: pointer;
    color: #0cb4ff;
}

.copy-amount .bi,
.copy-pay-code .bi {
    color: #0cb4ff;
}

.payment-button {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.payment-button #pay-instruction {
    background-color: #fff;
    color: #2ca7ff;
    border-radius: 0.5rem;
    border: 1px solid #2ca7ff;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    min-width: fit-content;
}

.payment-button #pay-instruction:hover {
    background-color: #f1f1f1;
    color: #2ca7ff;
}

.payment-button #continue-pay {
    background-color: #2ca7ff;
    color: #fff;
    border-radius: 0.5rem;
    border: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    min-width: fit-content;
}

.payment-button #continue-pay:hover {
    background-color: #515151;
    color: #0099de;
}

.transaction-details {
    display: flex;
    flex-direction: row;
    margin: 1.5rem 0;
    gap: 5rem;
}

.transaction-message {
    display: block;
    text-align: center;
}

.transaction-message-mobile {
    display: none;
}

.transaction-details-title {
    display: block;
    padding-top: 1rem;
    border-bottom: 1px solid rgb(202, 202, 202);
}

.merchant-detail .semicolon,
.customer-detail .semicolon {
    display: none;
}

.merchant-detail h6,
.customer-detail h6 {
    font-weight: bold;
}

.product-list {
    padding-top: 0.5rem;
    border-bottom: 1px solid rgb(202, 202, 202);
}

.table td,
.table th {
    padding: 0.5rem 0.25rem;
}

.pay-instruction-modal-content {
    border-radius: 0.75rem;
}

@media only screen and (max-width: 1024px) {
    body {
        background-color: #0cb4ff;
    }
    body > .container {
        height: 100%;
        margin: 0 auto;
        padding: 0;
        background-color: #e3f2ff;
        gap: 1rem;
        max-width: 540px;
    }

    td {
        max-width: 225px;
    }

    .main-box {
        display: flex;
        flex-direction: column;
    }

    .bi-chevron-left {
        color: #515151;
    }

    .logo-container-mobile {
        background-color: #ffffff;
        display: flex;
        gap: 2rem;
        padding: 0 3rem;
        justify-content: center;
        align-items: center;
        height: 75px;
        width: 100%;
    }

    .merchant-logo {
        display: flex;
        justify-content: center;
        padding: 0.5rem;
        width: 200px;
        height: 100%;
    }

    .merchant-logo img {
        max-width: 100%;
        width: auto;
        height: 100%;
        object-fit: contain;
    }

    .left-column {
        background-color: #fff;
        border-radius: 0;
        color: #515151;
        padding: 0;
        margin-bottom: 1rem;
    }

    .right-column {
        background-color: #ffffff;
        border-radius: 0;
        padding: 2rem;
    }

    .main-box {
        border-radius: 0;
    }

    .payment-logo {
        border-radius: 0;
    }

    .payment-status {
        padding: 2rem 2rem 1rem 2rem;
        z-index: 10;
    }

    .payment-details {
        display: flex;
        padding: 1rem 2rem 2rem 2rem;
        flex-direction: column;
        z-index: 10;
    }

    .payment-channel {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 1rem;
    }

    .payment-channel .payment-name {
        line-height: inherit;
        margin: 0;
    }

    .payment-button {
        margin: 0.5rem 0;
        z-index: 10;
    }

    .payment-button button {
        background-color: #fff;
        color: #0099de;
        border-radius: 0.5rem;
    }

    .tripay-branding {
        color: #515151;
        margin-bottom: 1rem;
        z-index: 10;
    }

    .tripay-logo-dark {
        display: inline;
        max-height: 15px;
        width: auto;
        padding: 0 0.5rem;
    }

    .copy-amount,
    .copy-amount .bi,
    .copy-pay-code,
    .copy-pay-code .bi {
        color: #0cb4ff;
    }

    .ovo-form {
        background-color: #ffffff !important;
        color: #515151 !important;
    }

    .ovo-form:focus {
        background-color: #ffffff !important;
    }

    .payment-button {
        margin-top: 1rem;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        gap: 0.75rem;
    }

    .payment-button #pay-instruction {
        background-color: #fff;
        color: #0099de;
        border-radius: 0.5rem;
        border: 1px solid #0099de;
        padding: 0.5rem 0.75rem;
    }

    .payment-button #pay-instruction:hover {
        background-color: #f1f1f1;
        color: #0099de;
    }

    .payment-button #continue-pay {
        background-color: #0099de;
        color: #fff;
        border-radius: 0.5rem;
        border: none;
        padding: 0.5rem 0.75rem;
    }

    .payment-button #continue-pay:hover {
        background-color: #0099de;
        color: #f1f1f1;
    }

    .logo-container {
        display: none;
    }

    .transaction-details-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        overflow: auto;
    }

    .transaction-message {
        display: none;
    }

    .transaction-message-mobile {
        display: block;
        background-color: #e1f5ff;
        color: #0099de;
        border: 1px solid #0099de;
        border-radius: 0.5rem;
        padding: 0.75rem;
        text-align: center;
        margin-top: 1rem;
    }

    .transaction-message-mobile p {
        margin: 0;
        font-size: 0.9rem;
    }

    .transaction-details {
        display: flex;
        flex-direction: column;
        margin: 0.5rem 0;
        gap: 1rem;
    }

    .transaction-merchant {
        display: flex;
        flex-direction: column;
    }

    .merchant-detail,
    .customer-detail {
        display: flex;
    }

    .merchant-detail h6,
    .customer-detail h6 {
        flex-basis: 40%;
        flex-shrink: 0;
        font-weight: normal;
    }

    .merchant-detail .semicolon,
    .customer-detail .semicolon {
        display: inline;
        margin: 5px;
    }

    .product-list {
        padding-top: 0.5rem;
        border-bottom: 1px solid rgb(202, 202, 202);
    }
}

@media only screen and (max-width: 768px) {
    body {
        background-color: #0cb4ff;
        /* background-image: none; */
    }
    body > .container {
        height: 100%;
        margin: 0 auto;
        padding: 0;
        gap: 1rem;
    }

    td {
        max-width: 225px;
    }

    .main-box {
        display: flex;
        flex-direction: column;
    }

    .logo-container-mobile {
        background-color: #ffffff;
        display: flex;
        gap: 2rem;
        padding: 0 3rem;
        justify-content: center;
        align-items: center;
        height: 75px;
        width: 100%;
    }

    .merchant-logo {
        width: 200px;
        height: 100%;
    }

    .merchant-logo img {
        max-width: 100%;
        width: auto;
        height: 100%;
        object-fit: contain;
    }

    .left-column {
        background-color: #fff;
        border-radius: 0;
        color: #515151;
        padding: 0;
        margin-bottom: 1rem;
    }

    .right-column {
        background-color: #ffffff;
        border-radius: 0;
        padding: 2rem;
        margin-bottom: 1rem;
    }

    .main-box {
        border-radius: 0;
    }

    .payment-status {
        padding: 2rem 2rem 1rem 2rem;
        z-index: 10;
    }

    .payment-details {
        display: flex;
        padding: 1rem 2rem 2rem 2rem;
        flex-direction: column;
        color: #515151;
        z-index: 10;
    }

    .payment-channel {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 1rem;
    }

    .payment-channel .payment-name {
        line-height: inherit;
        margin: 0;
    }

    .payment-button {
        margin: 0.5rem 0;
        z-index: 10;
    }

    .payment-button button {
        background-color: #fff;
        color: #0099de;
        border-radius: 0.5rem;
    }

    .tripay-branding {
        color: #515151;
        margin-bottom: 1rem;
        z-index: 10;
    }

    .tripay-logo-dark {
        display: inline;
        max-height: 15px;
        width: auto;
        padding: 0 0.5rem;
    }

    .copy-amount,
    .copy-amount .bi,
    .copy-pay-code,
    .copy-pay-code .bi {
        color: #0cb4ff;
    }

    .payment-button {
        margin-top: 1rem;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        gap: 0.75rem;
    }

    .payment-button #pay-instruction {
        background-color: #fff;
        color: #0099de;
        border-radius: 0.5rem;
        border: 1px solid #0099de;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        min-width: fit-content;
    }

    .payment-button #pay-instruction:hover {
        background-color: #f1f1f1;
        color: #0099de;
    }

    .payment-button #continue-pay {
        background-color: #0099de;
        color: #fff;
        border-radius: 0.5rem;
        border: none;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        min-width: fit-content;
    }

    .payment-button #continue-pay:hover {
        background-color: #0099de;
        color: #f1f1f1;
    }

    .logo-container {
        display: none;
    }

    .transaction-details-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        overflow: auto;
    }

    .transaction-message {
        display: none;
    }

    .transaction-message-mobile {
        display: block;
        background-color: #e1f5ff;
        color: #0099de;
        border: 1px solid #0099de;
        border-radius: 0.5rem;
        padding: 0.75rem;
        text-align: center;
    }

    .transaction-message-mobile p {
        margin: 0;
        font-size: 0.9rem;
    }

    .transaction-details {
        display: flex;
        flex-direction: column;
        margin: 0.5rem 0;
        gap: 1rem;
    }

    .transaction-merchant {
        display: flex;
        flex-direction: column;
    }

    .merchant-detail,
    .customer-detail {
        display: flex;
    }

    .merchant-detail h6,
    .customer-detail h6 {
        flex-basis: 40%;
        flex-shrink: 0;
        font-weight: normal;
    }

    .merchant-detail .semicolon,
    .customer-detail .semicolon {
        display: inline;
        margin: 5px;
    }

    .product-list {
        padding-top: 0.5rem;
        border-bottom: 1px solid rgb(202, 202, 202);
    }
}
