/* Grid de números: 10 columnas x 10 filas = 100 */ .numbers-grid display: grid; grid-template-columns: repeat(10, 1fr); gap: 12px 14px; margin: 2rem 0 1.5rem;
<!-- Estilos adicionales para garantizar lineas claras en todos los navegadores --> <style> /* mejoras específicas para la línea de nombre en cada celda */ .line-placeholder border-bottom: 1px dashed #94a3b8; width: 90%; margin: 6px auto 0 auto; height: 16px; .nombre-line span font-size: 0.6rem; font-weight: 500; display: block; margin-bottom: 3px; color: #6b7280; .ticket-cell transition: all 0.1s ease; background: #ffffff; /* para que en impresión los bordes sean nítidos */ @media print .line-placeholder border-bottom: 1px solid #000; height: 12px; .ticket-cell border: 1px solid #aaa; box-shadow: none; .numero background: #f0f0f0; border: 1px solid #ccc; .info-footer div, .seller-box, .notes-box border: 1px solid #ddd; .header border-bottom: 2px solid #facc15; .btn, .action-buttons display: none; body margin: 0; padding: 0; /* adicional para mejorar la legibilidad en pantalla grande */ @media (min-width: 1024px) .numbers-grid gap: 16px; .ticket-cell padding: 12px 6px; .numero width: 54px; height: 54px; line-height: 54px; font-size: 1.7rem; /* líneas punteadas con mayor claridad */ .seller-box div, .notes-box div margin-bottom: 8px; font-family: monospace; letter-spacing: 0.3px; .sign-line border-bottom: 2px dotted #334155; width: 100%; margin-top: 4px; </style> plantilla para rifa 100 numeros pdf
/* Botones para imprimir / generar PDF */ .action-buttons display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; .btn border: none; background: #1e293b; color: white; font-weight: 600; padding: 12px 32px; border-radius: 60px; font-size: 1rem; cursor: pointer; transition: 0.2s; font-family: inherit; box-shadow: 0 2px 5px rgba(0,0,0,0.1); .btn-pdf background: #b91c1c; .btn-pdf:hover background: #991b1b; transform: scale(0.97); .btn-print background: #2c3e66; .btn-print:hover background: #1e2b48; .btn:hover opacity: 0.9; transform: translateY(-2px); /* Grid de números: 10 columnas x 10 filas = 100 */
body background: #e2e8f0; font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif; padding: 2rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 12px 14px
</body> </html>
/* Cada celda: número + línea para nombre/comprador */ .ticket-cell background: #ffffff; border: 1.5px solid #e2e8f0; border-radius: 18px; padding: 10px 6px 8px; text-align: center; transition: 0.1s ease; box-shadow: 0 1px 2px rgba(0,0,0,0.02); .ticket-cell:hover border-color: #facc15; background: #fffbeb;
/* Contenedor principal que simulará la hoja PDF */ .ticket-container max-width: 1200px; width: 100%; background: white; box-shadow: 0 20px 35px -12px rgba(0,0,0,0.2); border-radius: 20px; padding: 1.8rem 2rem 2.2rem; margin-bottom: 2rem; transition: all 0.2s;