.cqr-preview-wrap img { cursor: crosshair; }

.cqr-preview-nombre {
	position: absolute;
	transform: translate(-50%, -50%);
	white-space: nowrap;
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: bold;
	pointer-events: none;
	line-height: 1;
}

.cqr-preview-pensum {
	position: absolute;
	transform: translate(0, 0);
	border: 2px dashed rgba(220, 38, 38, 0.7);
	background: rgba(220, 38, 38, 0.08);
	pointer-events: none;
	overflow: hidden;
	padding: 4px;
	box-sizing: border-box;
	font-family: Arial, sans-serif;
	font-size: 11px;
	color: #b91c1c;
	font-weight: bold;
}

.cqr-preview-qr {
	position: absolute;
	transform: translate(0, 0);
	background: rgba(37, 99, 235, 0.12);
	border: 2px dashed rgba(37, 99, 235, 0.8);
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: Arial, sans-serif;
	font-size: 11px;
	font-weight: bold;
	color: #1e40af;
	box-sizing: border-box;
}

.cqr-marker {
	position: absolute;
	transform: translate(-50%, -50%);
	background: rgba(37, 99, 235, 0.85);
	color: #fff;
	font-size: 10px;
	font-weight: bold;
	padding: 3px 6px;
	border-radius: 3px;
	pointer-events: none;
	white-space: nowrap;
}

/* ===================== Tarjeta pública "Documento compartido" ===================== */
.cqr-publico { max-width: 480px; }

.cqr-card {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(0,0,0,0.12);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
	background: #fff;
}

.cqr-card-header {
	background: linear-gradient(135deg, #1a2456, #232f6e);
	color: #fff;
	padding: 22px 20px;
}

.cqr-card-eyebrow {
	color: #d8a94a;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	margin-bottom: 10px;
}

.cqr-card-nombre {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 6px;
}

.cqr-card-dni {
	color: #c9cde0;
	font-size: 14px;
}

.cqr-card-body { padding: 18px 20px 22px; }

.cqr-card-seccion {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #6b7280;
	margin-bottom: 12px;
}

.cqr-curso-item {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 14px;
	margin-bottom: 12px;
}

.cqr-curso-nombre { font-weight: 700; color: #1a2456; margin-bottom: 2px; }
.cqr-curso-fecha { color: #6b7280; font-size: 13px; margin-bottom: 12px; }

.cqr-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	cursor: pointer;
	border: none;
	margin: 2px 6px 2px 0;
}

.cqr-btn-ver {
	background: #e8a33d;
	color: #1a2456;
}
.cqr-btn-ver:hover { background: #d8952f; }

.cqr-btn-descargar {
	background: #fff;
	color: #1a2456;
	border: 2px solid #1a2456;
}
.cqr-btn-descargar:hover { background: #f3f4f6; }
