/* AEQR · Modal de credencial al registrarse (L1). Mismo lenguaje visual que
   credencial/escáner/panel: tarjeta blanca, acento dorado del evento. */
.aeqr-reg-modal{
	--ink:#14131A; --soft:#6b6760; --line:#e3ddd2; --paper:#fbf9f4;
	--gold:var(--aeqr-acento,#F4BD4D); --gold-deep:#c8901f; --ok:#15803D; --wa:#25D366; --wa-deep:#1ebd5a;
	position:fixed; inset:0; z-index:2147483000;
	background:rgba(20,19,26,.55); overflow-y:auto;
	display:flex; align-items:center; justify-content:center;
	padding:24px 16px;
	font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
	color:var(--ink); -webkit-tap-highlight-color:transparent;
}
.aeqr-reg-modal[hidden]{ display:none !important; }
.aeqr-reg-modal *{ box-sizing:border-box; }

.aeqr-reg-modal__close{
	position:absolute; top:14px; right:14px; width:36px; height:36px; border-radius:50%;
	border:0; background:var(--ink); color:#fff; font-size:19px; cursor:pointer;
	display:flex; align-items:center; justify-content:center; line-height:1;
	box-shadow:0 2px 6px rgba(20,19,26,.3);
}
.aeqr-reg-modal__close:hover{ background:var(--gold-deep); }

.aeqr-reg-modal__wrap{ width:100%; max-width:400px; text-align:center; }

.aeqr-reg-modal__titulo{
	font-family:Georgia,'Times New Roman',serif; font-size:22px; font-weight:600; line-height:1.2;
	text-wrap:balance; color:var(--ink); padding:0 20px;
}
.aeqr-reg-modal__subtitulo{ font-size:13px; color:var(--soft); }

.aeqr-reg-modal__card{
	position:relative; background:#fff; border:1px solid var(--line); border-radius:16px; padding:52px 24px 24px;
	box-shadow:0 1px 2px rgba(20,19,26,.06), 0 24px 48px -24px rgba(20,19,26,.35);
	display:flex; flex-direction:column; align-items:center; gap:12px;
}
.aeqr-reg-modal__ok{
	display:flex; align-items:center; gap:6px; color:var(--ok); font-weight:700; font-size:15px;
}
.aeqr-reg-modal__aviso{
	background:#fbf3de; color:var(--ink); font-size:13px; line-height:1.5; text-align:center;
	border-radius:8px; padding:10px 14px; margin:-2px 0 4px;
}
.aeqr-reg-modal__qr{
	width:190px; height:190px; background:#fff; border:1px solid var(--line); border-radius:10px;
	display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.aeqr-reg-modal__qr img{ display:block; width:100%; height:100%; image-rendering:pixelated; }
.aeqr-reg-modal__codigo{
	font-family:"Courier New",ui-monospace,monospace; font-weight:700; font-size:24px; letter-spacing:.14em;
}
.aeqr-reg-modal__nombre{ font-size:16px; font-weight:600; }
.aeqr-reg-modal__validez{ font-size:12.5px; color:var(--soft); margin-top:-6px; }

.aeqr-reg-modal__acciones{ width:100%; display:flex; flex-direction:column; gap:10px; margin-top:6px; }
.aeqr-reg-modal__btn{
	display:block; width:100%; padding:13px 16px; border-radius:10px; border:0; cursor:pointer;
	font-size:14.5px; font-weight:700; text-decoration:none; text-align:center; color:#fff;
	transition:filter .15s ease, transform .12s ease;
}
.aeqr-reg-modal__btn:active{ transform:translateY(1px); }
.aeqr-reg-modal__btn--wa{ background:var(--wa); }
.aeqr-reg-modal__btn--wa:hover{ background:var(--wa-deep); }
.aeqr-reg-modal__btn--descargar{ background:var(--ink); }
.aeqr-reg-modal__btn--descargar:hover{ filter:brightness(1.3); }

.aeqr-reg-modal__ver{
	display:inline-block; margin-top:4px; font-size:13px; color:var(--soft); text-decoration:none;
}
.aeqr-reg-modal__ver:hover{ color:var(--ink); text-decoration:underline; }

.aeqr-reg-modal__ayuda{ font-size:12px; color:var(--soft); margin:4px 0 0; }
.aeqr-reg-modal__footer{ font-size:12px; color:var(--soft); margin:0; }

@media (prefers-reduced-motion:reduce){ .aeqr-reg-modal *{ transition:none !important; } }
