/* widgets/qrscanner.v100/lomazziQrCode.css */

#qrscanner-container {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
}

#qrscanner-backdrop {
    position: absolute;
    inset: 0;
}

#qrscanner-box {
    position: relative;
    z-index: 2001;
    width: 90%;
    max-width: 420px;
    margin: 50px auto;
    padding: 15px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

#qr-video {
    width: 100%;
    border-radius: 10px;
    background: #000;
}

.qr-header h5 {
    font-weight: 600;
}

.fade-in {
    animation: fadeIn 0.35s ease-out forwards;
}

.fade-out {
    animation: fadeOut 0.35s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0; transform: scale(0.9); }
}

#qr-message {
    font-size: 1rem;
    font-weight: 600;
    color: #b4881d;
}

#qr-result-img {
    border: 2px solid #d4af37;
}
