/* Custom styles */

/* Force video to fill the container and cover */
#reader video {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
}

/* Ensure the reader container itself is full size */
#reader {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
}

/* Scanner Overlay Animation */
@keyframes scan-line {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

.scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3b82f6;
    /* Blue-500 */
    box-shadow: 0 0 4px #3b82f6;
    animation: scan-line 2s linear infinite;
}
