/* Tipografía Montserrat incluida (SIL Open Font License) */
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* NORTe Acreditaciones – formulario y comprobante */
.na-form-wrap {
	--na-p: #1f5f3a; --na-a: #c39a3b;
	border-top: 6px solid var(--na-a) !important;
	max-width: 760px; margin: 0 auto; padding: 28px;
	background: #fff; border: 1px solid #e1e6e2; border-radius: 14px;
	box-shadow: 0 8px 30px rgba(20, 40, 30, .06);
	font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #2b1d16; box-sizing: border-box;
}
.na-form-wrap input, .na-form-wrap select, .na-form-wrap textarea, .na-form-wrap button { font-family: inherit; }
.na-form-wrap * { box-sizing: border-box; }
.na-badge { display: inline-block; background: #c39a3b; color: #1b1b1b; font-weight: 700; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; margin-bottom: 10px; }
.na-form-logo { text-align: center; margin: -4px 0 16px; }
.na-form-logo img { display: inline-block; max-width: min(320px, 80%); max-height: 130px; width: auto; height: auto; }
.na-aviso-wa { display: flex; gap: 12px; align-items: center; margin: 0 0 22px; padding: 12px 14px; border-radius: 10px; background: #e9f9ef; border: 1px solid #b8ebc9; color: #14532d; font-size: .95em; line-height: 1.45; }
.na-aviso-wa-ico { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; }
.na-form-titulo { margin: 0 0 4px; font-size: 1.6em; line-height: 1.2; }
.na-form-sub { margin: 0 0 12px; text-align: center; font-weight: 700; letter-spacing: .01em; font-size: .95em; line-height: 1.3; color: var(--na-p); }
.na-form-meta { margin: 0 0 12px; color: #5d6b64; font-weight: 600; }
.na-form-intro { margin: 0 0 20px; color: #4a5a52; }
.na-alerta { background: #fdecea; color: #8a2a2a; border: 1px solid #f3c2bd; padding: 12px 14px; border-radius: 8px; margin-bottom: 18px; }
.na-aviso { padding: 16px; background: #f4f6f4; border-radius: 8px; }
.na-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.na-full { grid-column: 1 / -1; }
.na-campo { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.na-campo > span { font-weight: 600; font-size: .95em; }
.na-campo input, .na-campo select, .na-campo textarea {
	width: 100%; padding: 12px 14px; font-size: 16px;
	border: 1px solid #cfd8d2; border-radius: 9px; background: #fbfcfb; color: #1b241f;
}
.na-campo input:focus, .na-campo select:focus, .na-campo textarea:focus { outline: 0; border-color: var(--na-p); box-shadow: 0 0 0 3px rgba(31, 95, 58, .15); background: #fff; }
.na-campo small { color: #6b7871; font-size: .82em; }
.na-con-error input, .na-con-error select, .na-con-error textarea { border-color: #c0392b; }
.na-err { color: #c0392b; font-size: .85em; font-weight: 600; }
.na-roles-opciones { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.na-rol-op { position: relative; cursor: pointer; margin: 0; }
.na-rol-op input { position: absolute; opacity: 0; inset: 0; }
.na-rol-op span { display: block; text-align: center; padding: 14px 12px; border: 2px solid #cfd8d2; border-radius: 10px; font-weight: 700; background: #fbfcfb; transition: all .15s; }
.na-rol-op input:checked + span { border-color: var(--na-p); background: var(--na-p); color: #fff; }
.na-rol-op input:focus-visible + span { box-shadow: 0 0 0 3px rgba(31, 95, 58, .25); }
.na-roles.na-con-error .na-rol-op span { border-color: #c0392b; }
.na-consent { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 8px; font-size: .88em; color: #4a5a52; cursor: pointer; }
.na-consent-opcional { margin-top: 10px; }
.na-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.na-consent.na-con-error span { color: #c0392b; }
.na-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	margin-top: 14px; padding: 14px 26px; border: 0; border-radius: 10px; cursor: pointer;
	background: var(--na-p); color: #fff !important; font-size: 17px; font-weight: 700; text-decoration: none !important;
}
.na-btn:hover { filter: brightness(1.08); }
.na-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
@media (max-width: 640px) {
	.na-form-wrap { padding: 18px; }
	.na-grid { grid-template-columns: 1fr; }
	.na-btn { width: 100%; }
}

/* Páginas propias (comprobante / verificación) */
body.na-pagina { margin: 0; min-height: 100vh; background: #f4efe8; font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #23302a; padding: 24px 14px; box-sizing: border-box; }
.na-ticket, .na-ticket * { box-sizing: border-box; }
.na-ticket { max-width: 440px; margin: 0 auto; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 40px rgba(20, 40, 30, .14); }
.na-ticket-cab { background: var(--na-p); color: #fff; text-align: center; padding: 26px 22px 30px; border-top: 6px solid var(--na-a, #c39a3b); }
.na-ticket-cab img { max-height: 96px; max-width: 86%; background: #fff; border-radius: 12px; padding: 8px 14px; margin-bottom: 16px; }
.na-ok { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; background: var(--na-a, rgba(255,255,255,.18)); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; }
.na-ticket-cab h1 { margin: 0; font-size: 24px; }
.na-ticket-cab p { margin: 6px 0 0; opacity: .9; }
.na-ticket-cab .na-sub-evento { margin: 10px auto 4px; display: inline-block; max-width: 100%; padding: 6px 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 99px; font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 1; }
.na-estado-envio { margin: 0; font-size: 13px; text-align: center; color: #14532d; background: #e9f9ef; border-radius: 8px; padding: 8px 10px; }
.na-invalido .na-ticket-cab { background: #8a2a2a; }
.na-ticket-cuerpo { padding: 22px 24px 26px; position: relative; }
.na-ticket-cuerpo::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 20px; background: radial-gradient(circle at 10px 10px, #f4efe8 9px, transparent 10px) -10px 0 / 20px 20px repeat-x; }
.na-qr-grande { width: 190px; height: 190px; margin: 6px auto 4px; }
.na-qr-grande svg { width: 100%; height: 100%; display: block; }
.na-ticket-num { text-align: center; font-size: 22px; font-weight: 800; letter-spacing: 1px; color: var(--na-p); margin: 4px 0 16px; }
.na-ticket dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 20px; font-size: 15px; }
.na-ticket dt { color: #6b7871; }
.na-ticket dd { margin: 0; font-weight: 600; text-align: right; }
.na-acciones { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.na-acciones .na-btn { margin: 0; width: 100%; }
.na-btn-wa { background: #25d366; color: #0b3d1f !important; }
.na-btn-sec { background: #eef1ee; color: #23302a !important; font-size: 15px; }
.na-link { text-align: center; font-size: 14px; color: #4a5a52; }
.na-nota { font-size: 13px; color: #6b7871; text-align: center; margin: 16px 0 0; }
@media print {
	body.na-pagina { background: #fff; padding: 0; }
	.na-ticket { box-shadow: none; border: 1px solid #ccc; }
	.na-acciones { display: none; }
	.na-ticket-cab, .na-ok { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
