/* Escáner de QR reutilizable (components/escaner_qr.php + js/escaner_helper.js) */

.escaner-componente {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.75);
}

.escaner-componente[hidden] {
    display: none;
}

.escaner-componente-tarjeta {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.escaner-componente-tarjeta h3 {
    margin: 0 0 15px;
    color: #333;
    font-size: 18px;
}

.escaner-componente-video {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.escaner-componente-cerrar {
    width: 100%;
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    background: #ef4444;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}
