/* Ẩn thanh cuộn trên Chrome, Edge, Safari */
::-webkit-scrollbar {
    display: none;
}

/* Reset cơ bản */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Saira", Arial, sans-serif !important;
    
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    
    touch-action: manipulation;
}

html, body {
    background-color: transparent;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 20px;
    font-size: 14px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Hộp QR có khoảng cách lề */
.qr-box {
    width: 90%;
    max-width: 400px;
    padding: 20px;
    background: #ffffff;
    border-radius: 1.5rem;
    min-height: 350px;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Căn giữa theo cả 2 chiều */

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* Giữ kích thước hộp ảnh QR */
.qr-img-container {
    width: 300px;
    height: auto;
    min-height: 200px;
    background-image: url('qr-code-icon.png');
    background-position: center;
    background-size: 100px;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-img-container #qr-code svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Nút bấm */
.btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 10px auto 0;
    padding: 12px;
    background: #000;
    color: white;
    border: none;
    font-size: 1em;
    cursor: pointer;
    border-radius: 2rem;
}

/* Responsive */
@media (max-width: 480px) {
    .qr-box {
        width: 95%;
        max-width: 350px;
        padding: 15px;
    }

    .qr-img-container #qr-code svg {
        padding: 0 20px;
    }    

    .btn {
        width: 100%;
        font-size: 0.95em;
    }
}

.invoice-info {
    text-align: center;
    padding-bottom: 10px;
}

.invoice-info p {
    font-size: 0.85em;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.invoice-info strong {
    font-family: "Quicksand", Arial, sans-serif !important;
    font-size: 1.4em;
    color: #444;
    font-weight: 700;
    display: block;
}

.info-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: transparent; /* Màu nền tối */
    color: #777; /* Chữ màu trắng */
    text-align: center;
    padding: 5px;
    font-size: 0.78em;
}
