/* =========================================================
   GLOBAL BACKGROUND
========================================================= */

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

html {
    background-color: #080b18 !important;
}

body {
    position: relative;
    z-index: 0;
    background: transparent !important;
}


/* =========================================================
   BACKGROUND DESKTOP
========================================================= */

@media (min-width: 768px) {
    html::before {
        content: "";

        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;

        width: 100%;
        height: 100%;

        z-index: -2;

        background-image: url("https://imgstudio.cc/images/2026/03/26/backgournd-WEB-1-1.webp");
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 100% auto;
        background-attachment: fixed;

        pointer-events: none;
    }
}


/* =========================================================
   BACKGROUND MOBILE
========================================================= */

@media (max-width: 767px) {
    html {
        background-image: url("https://imgstudio.cc/images/2026/03/26/backgournd-hp.webp") !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
        background-size: 100% auto;
        background-attachment: fixed !important;
    }

    body {
        background: transparent !important;
    }
}


/* =========================================================
   BACKGROUND SECTION MOBILE
========================================================= */

.owtoto2 {
    background-image: url("https://imgstudio.cc/images/2026/03/26/backgournd-hp.webp") !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: 100% auto;
}


/* =========================================================
   TRANSPARENT BACKGROUND BAWAAN
========================================================= */

.background-top,
.footer-top,
.setting_welcome,
.provider,
.provider-menu,
.menu-provider,
.bank,
.bank-list,
.provider-list,
.container,
.container-fluid {
    background-color: transparent !important;
    background-image: none !important;
}


/* =========================================================
   BACKGROUND LAYER CONTENT
========================================================= */

#main_menu_outer_container,
.owtoto1,
.footer-bg {
    background: rgba(0, 0, 0, 0.5) !important;
}


/* =========================================================
   POPUP QRIS
========================================================= */

#pop-up-container {
    position: fixed !important;
    inset: 0 !important;

    z-index: 999999 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 15px;
    box-sizing: border-box;
}

#bg-black {
    position: absolute !important;
    inset: 0 !important;

    z-index: 1 !important;

    background: rgba(0, 0, 0, 0.86) !important;

    cursor: pointer;
}

#pop-up-wrapper {
    position: relative !important;

    z-index: 2 !important;

    width: 85%;
    min-width: 315px;
    max-width: 500px;

    overflow: hidden;

    border-radius: 5px;

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8);
}

#pop-up-wrapper img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;

    border: none;
    border-radius: 5px 5px 0 0;
}

#pop-up-wrapper button {
    display: block;

    width: 100%;

    margin: 0;
    padding: 12px 15px;

    border: none;
    border-radius: 0 0 5px 5px;

    background: #e60b0b;
    color: #ffffff;

    font-size: 12px;
    font-weight: 700;
    text-align: center;

    cursor: pointer;
}


/* =========================================================
   POPUP ANIMATION
========================================================= */

.fade-in {
    animation: popupFadeIn 0.8s ease both;
}

.fade-out {
    animation: popupFadeOut 0.5s ease both;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes popupFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.94);
    }
}


/* =========================================================
   POPUP MOBILE
========================================================= */

@media (max-width: 767px) {
    #pop-up-container {
        padding: 10px;
    }

    #pop-up-wrapper {
        width: 88%;
        min-width: 0;
        max-width: 500px;
    }
}