.qr-scanner-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 9998;
}

.qr-scanner-popup {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    z-index: 9999;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.qr-scanner-popup h2 {
    margin-bottom: 0.5rem;
}

.qr-scanner-popup p {
    font-size: 0.9rem;
    color: #333;
}

.qr-scanner-popup button.close-btn {
    margin-top: 1rem;
    background-color: #444;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    z-index: 100001;
}

#reader {
    width: 100% !important;
    height: 350px !important;
    margin: 1rem auto;
}

.qr-scanner-popup #reader .qr-code-region {
    border-width: 3px !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 10px !important;
}

.qr-scanner-popup #reader > div:nth-child(2) {
    border: 3px solid white !important;
    border-radius: 12px !important;
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}
