﻿.qr-page {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.qr-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Keeps it square, good for mobile scanning */
    max-height: 50vh;
    overflow: hidden;
    border-radius: 18px;
    padding: 15px;
}

#reader {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
}

#reader > video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: inherit;
}

/*#reader .qr-code-region > div {*/
/*    display: none !important;*/
/*}*/

.manual-input {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    flex-wrap: wrap; /* Allows wrapping on small screens */
}

.manual-input input {
    flex: 1;
    min-width: 100px;
}
