pre.json-to-html {
    min-width: 200px;
    max-width: 250px;
    height: 100px;
    overflow: auto;
    padding: 10px;
    /*white-space: unset;*/
    border-radius: .125rem;
}

pre.json-to-html, .click-to-copy {
    cursor: grab;
}

pre.json-to-html:hover {
    background-color: var(--bs-gray-600) !important;
    color: var(--bs-white) !important;
}

.badge-status {
    cursor: pointer;
}

.badge-status:hover {
    box-shadow: 0px 0px 4px var(--bs-gray-600);
}

.matrix.is-invalid {
    border-color: var(--bs-red);
}

.form-check-label {
    cursor: pointer;
}

.announce-content img,
.defect-content img {
    max-width: 100% !important;
}

.announce-content a[href]:not([href='#']),
.defect-content a[href]:not([href='#']) {
    color: var(--bs-blue);
    text-decoration: var(--bs-link-decoration);
}

.attach-file-uploader.custom-dragdrop-upload {
    width: 100%;
    height: 138px;
}

.attach-file-uploader:has(input[name="bank"]) > label {
    background: url(/img/verify/bg_banks.webp);
    background-color: rgba(240, 240, 240, .5) !important;
    background-blend-mode: overlay;
}

.attach-file-uploader:has(input[name="truemoney"]) > label {
    background: url(/img/verify/bg_truemoney_wallet.webp);
    background-color: rgba(240, 240, 240, .5) !important;
    background-blend-mode: overlay;
}

.attach-file-uploader:has(input[name="bank"]) > label,
.attach-file-uploader:has(input[name="truemoney"]) > label {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.attach-file-uploader:has(input[name="bank"]) span,
.attach-file-uploader:has(input[name="truemoney"]) span {
    text-shadow: .5px .5px 0 var(--bs-white), -.5px -.5px 0 var(--bs-white), .5px -.5px 0 var(--bs-white), -.5px .5px 0 var(--bs-white);
}

.attach-file-uploader:has(input[name="bank"]) svg > path,
.attach-file-uploader:has(input[name="truemoney"]) svg > path {
    stroke: var(--bs-white);
    stroke-width: .75px;
}

.btn-slip-verify {
    min-width: calc(100vw / 6);
    text-align: center !important;
    align-items: center;
}

.easyslip-response-status {
    max-width: 120px;
    white-space: normal;
    line-height: 14px;
}

.print-result {
    height: 30vh !important;
    max-width: 500px !important;
    max-height: 400px;
    overflow: auto;
}

.modal-limit-vh {
    max-height: 63vh;
    overflow-y: auto;
}

.img-table-preview {
    max-width: 100px;
    border-radius: .25rem;
}

.img-profile {
    width: 128px;
    height: 128px;
}

@keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
        box-shadow: 15px 15px 50px rgb(0 0 0 / .2)
    }

    25% {
        border-radius: 58% 42% 75% 25%/76% 46% 54% 24%
    }

    50% {
        border-radius: 50% 50% 33% 67%/55% 27% 73% 45%;
        box-shadow: -10px -5px 50px rgb(0 0 0 / .2)
    }

    75% {
        border-radius: 33% 67% 58% 42%/63% 68% 32% 37%
    }
}

.img-profile-animate {
    display: flex;
    align-content: center;
    align-items: center;
    min-width: 100%;
    max-width: 500px;
    margin: auto;
    background-color: var(--bs-gray-900);
    border: 1px solid var(--bs-white);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 15px 15px 50px rgb(0 0 0 / .2);
    animation: morphing 10s infinite;
    overflow: hidden;
}

.img-profile-animate img {
    border-radius: unset !important;
}

.result-slip-verify .form-group {
    padding-bottom: 1em;
}

.result-slip-verify .result-header {
    padding: 1rem;
    margin-bottom: 1.5rem !important;
    font-size: 3rem;
    font-weight: 500;
    background-color: var(--bs-gray-100);
    border: 1px solid var(--bs-gray-300);
}

.result-header.result-success.text-success {
    background: linear-gradient(0deg, var(--bs-white) 25%, var(--bs-success-bg-subtle) 100%);
}

.result-header.result-warning.text-warning {
    background: linear-gradient(0deg, var(--bs-white) 25%, var(--bs-warning-bg-subtle) 100%);
}

.result-header.result-danger.text-danger {
    background: linear-gradient(0deg, var(--bs-white) 25%, var(--bs-danger-bg-subtle) 100%);
}

.result-slip-verify .result-amount {
    font-size: 4rem;
    letter-spacing: .975pt;
    font-weight: 600;
}

.result-slip-verify .result-account,
.result-slip-verify .result-attr {
    font-size: 1.25rem;
}

.result-slip-verify .result-account .img-bank,
.log-img-bank {
    width: 25px;
    height: 25px;
    border-radius: 50% !important;
    margin: 4px;
}

.log-img-bank {
    width: 18px;
    height: 18px;
    margin: 2px;
}

.page-content {
    max-height: calc(70vh - 40px);
    overflow: auto;
}

/**:has(> .list-depost-description) {
    padding-top: 15px;
}*/

.list-depost-description > li {
    border: unset;
    padding-bottom: 0px;
}

.head-description {
    display: inherit;
    max-width: 70vw !important;
}

body.menu-open .head-description {
    display: contents;
    white-space: break-spaces;
}

.app-logo {
    width: 32px;
    height: 32px;
    margin-top: -2px;
    background-color: var(--bs-white);
    border-radius: 8px;
    box-shadow: -2px 2px 4px 2px rgba(var(--bs-white-rgb), .5);
}

.policy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 8px 8px;
    width: 100%;
    text-align: center;
    background: var(--bs-white);
    box-shadow: 0px 0px 4px 1px var(--bs-gray-200);
}

.policy-bar .btn {
    padding: 0 10px !important;
}

.text-footer a:focus, .text-footer a:hover {
    text-decoration: underline;
}

.carousel-slipjing-promo .carousel-inner .carousel-item {
    padding: 12%;
    text-align: center;
}

.carousel-slipjing-promo .carousel-inner .carousel-item * {
    cursor: pointer;
}

.carousel-slipjing-promo .carousel-inner .carousel-item:hover > img,
.carousel-slipjing-promo .carousel-inner .carousel-item:active > img {
    border: 1px solid var(--bs-gray-400) !important;
    box-shadow: 0px 0px 8px 8px var(--bs-gray-300);
}

.carousel-slipjing-promo .carousel-inner .carousel-item .img-promo {
    width: 100%;
    border-radius: 1rem;
}

.carousel-slipjing-promo .carousel-inner .carousel-caption .text-credit {
    font-weight: bold;
    font-size: 3.75rem;
}

.carousel-slipjing-promo .carousel-inner .carousel-caption .text-price {
    font-size: 2.25rem;
}

.carousel-slipjing-promo .carousel-inner .carousel-caption .text-desc {
    font-size: 1.5rem;
    color: var(--bs-gray-500);
}

.carousel-slipjing-promo .carousel-inner .carousel-caption .text-credit,
.carousel-slipjing-promo .carousel-inner .carousel-caption .text-price,
.carousel-slipjing-promo .carousel-inner .carousel-caption .text-desc {
    line-height: 1em;
    opacity: .8;
}

.carousel-slipjing-promo .carousel-inner .carousel-item .carousel-caption {
    padding-bottom: calc(5vh + 1.25rem);
}

/*========== Theme Override ==========*/

.page-cookie-policy .text-footer, .page-cookie-policy .text-footer > *,
.page-privacy-policy .text-footer, .page-privacy-policy .text-footer > *,
.page-pdpa-policy .text-footer, .page-pdpa-policy .text-footer > *,
.page-terms-and-conditions .text-footer, .page-terms-and-conditions .text-footer > *,
body:has(.container-fluid .form-html) .text-footer, body:has(.container-fluid .form-html) .text-footer > * {
    text-align: center;
    color: var(--bs-white);
}

.page-cookie-policy .form-cookie-policy .h2 > svg,
.page-privacy-policy .form-privacy-policy .h2 > svg,
.page-pdpa-policy .form-pdpa-policy .h2 > svg,
.page-terms-and-conditions .form-terms-and-conditions .h2 > svg,
body:has(.container-fluid .form-html) .h2 > svg {
    display: none !important;
}

.page-cookie-policy .form-cookie-policy .h2 > p,
.page-privacy-policy .form-privacy-policy .h2 > p,
.page-pdpa-policy .form-pdpa-policy .h2 > p,
.page-terms-and-conditions .form-terms-and-conditions .h2 > p,
body:has(.container-fluid .form-html) .h2 > p {
    display: block !important;
}


.aside .aside-collapse,
.page-platform-login,
.page-cookie-policy,
.page-privacy-policy,
.page-pdpa-policy,
.page-terms-and-conditions,
.page-register,
body:has(.container-fluid .form-html) {
    background: var(--slipjing-bg-img);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.aside,
html:has(body.page-platform-login .container-fluid),
html:has(body.page-cookie-policy .container-fluid),
html:has(body.page-privacy-policy .container-fluid),
html:has(body.page-pdpa-policy .container-fluid),
html:has(body.page-terms-and-conditions .container-fluid),
html:has(body.page-register .container-fluid),
html:has(.container-fluid .form-html) {
    background-image: linear-gradient(0deg, var(--slipjing-color-b) 0%, var(--slipjing-color-a) 100%);
}

.aside .position-sticky .position-relative:has(.profile-container) {
    background: transparent !important;
}

.aside .position-sticky .position-relative .profile-container {
    background: var(--bs-white);
    box-shadow: 0px 0px 4px 1px var(--bs-gray-500);
}

.aside .position-sticky .position-relative .profile-container small > span,
.aside .position-sticky .position-relative .profile-container svg > path {
    color: var(--bs-gray-900) !important;
}

@media (max-width: 1199.98px) {
    body:not(.menu-open) .aside {
        background: linear-gradient(0deg, color-mix(in srgb, var(--slipjing-color-a) 95%, var(--slipjing-color-b) 5%) 0%, var(--slipjing-color-a) 100%);
    }
}

@media (min-width: 1200px) {
    .carousel-slipjing-promo .carousel-inner .carousel-item {
        max-width: calc(33.333% - 3rem);
        padding: 1.5rem;
    }

    .carousel-slipjing-promo .carousel-inner .carousel-item {
        margin-right: -200% !important;
        transition: transform .3s ease-in-out;
    }

    .carousel-slipjing-promo .carousel-inner .carousel-item.active {
        transform: translateX(calc(135.333% - 3rem));
        z-index: 1;
    }

    .carousel-slipjing-promo .carousel-inner .carousel-item:has(+ .carousel-item.active) {
        transform: translateX(calc(37.333% - 3rem));
        display: block;
    }

    .carousel-slipjing-promo .carousel-inner .carousel-item.active + .carousel-item {
        transform: translateX(calc(233.333% - 3rem));
        display: block;
    }

    .carousel-slipjing-promo .carousel-inner .carousel-item .carousel-caption {
        padding-bottom: .25rem;
    }
}

@media (min-width: 820.02px) and (max-width: 1199.98px) {
    .carousel-slipjing-promo .carousel-inner .carousel-caption .text-credit {
        font-weight: bold;
        font-size: 7.5rem;
    }

    .carousel-slipjing-promo .carousel-inner .carousel-caption .text-price {
        font-size: 4.5rem;
    }

    .carousel-slipjing-promo .carousel-inner .carousel-caption .text-desc {
        font-size: 3rem;
    }

    .carousel-slipjing-promo .carousel-inner .carousel-item .carousel-caption {
        padding-bottom: calc(8vh + 2.5rem);
    }
}
