﻿html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.bg-img-hero {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
}

.container-wrapper {
    min-height: 100vh;
    width: 100vw;
    z-index: 1;
    position: relative;
}

.qr-container {
    width: 500px;
    max-width: 90vw;
}

.qr-card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.header-payment {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 1.5rem;
    position: relative;
    width: 100%;
    flex-wrap: wrap;
    z-index: 1;
    pointer-events: auto
}

    .header-payment .logo-wrapper {
        order: 1;
        display: flex;
        justify-content: flex-start;
        margin-bottom: 3rem;
        margin-left: 4rem;
        margin-top: 3rem;
    }

    .header-payment .flag-wrapper {
        order: 2;
        display: flex;
        justify-content: flex-end;
        margin-bottom: 3rem;
        margin-right: 6rem;
    }

.logo-custom {
    width: 15rem;
}

.flag-custom{
    width: 2.5rem;
}

.qr-text {
    margin-top: 0.5rem;
    margin-bottom: 3rem;
}

/* Set css for media*/
@media (max-width: 768px) {
    .qr-card {
        background-color: transparent !important;
        box-shadow: none !important;
        border: none !important;
        justify-content: center;
    }

        .qr-card .card-body {
            padding: 1rem !important;
        }

    .qr-container img {
        width: 200px;
        height: 200px;
    }

    .qr-container {
        width: 500px;
        max-width: 100vw;
        margin-top: 100px;
    }

    .bg-img-hero {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 0;
    }

    .header-payment {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding-top: 1rem;
        position: relative;
        width: 100%;
        z-index: 10;
    }

        .header-payment .flag-wrapper {
            order: 1;
            display: flex;
            justify-content: flex-end;
            width: auto;
            margin-bottom: 0px;
            margin-right: 0px;
        }

        .header-payment .logo-wrapper {
            order: 2;
            display: flex;
            justify-content: center;
            align-items: center;
            width: auto;
            margin-top: 1rem;
            margin-bottom: 0px;
            margin-left: 0px;
        }

    .logo-wrapper a {
        display: flex;
        justify-content: center;
        width: auto;
    }

    .flag-wrapper a {
        display: flex;
        justify-content: flex-end;
        width: auto;
    }

    .logo-custom {
        width: 10rem;
    }

    .flag-custom {
        width: 1.5rem;
    }

    .qrcode-back {
        background-color: white;
        border-radius: 5px;
        width: 2rem;
        height: 2rem;
        margin-left: 15px;
    }
        .qrcode-back .qrcode-back-btn {
            width: 100%;
            height: 100%;
        }

    .qr-text{
        margin-top: 1.5rem;
        margin-bottom: 0px;
    }

    .ref-input {
        width: 100%;
    }

    .ref-label {
        color: black;
    }

    .card-login {
        background-color: transparent !important;
        border: none;
        margin-top: 40%;
    }
}
