.arranque { font-family: system-ui, sans-serif; padding: 3rem; text-align: center; color: #555; }
#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; padding: .75rem 1rem; background: #fde8e8; color: #7a1d1d; z-index: 2000; }
.monto { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Tickets para el transportista (hoja blanca, lista para imprimir o guardar en PDF) ---------- */
.ticket-hoja { background: #fff; color: #111; min-height: 100vh; }
.ticket { max-width: 760px; margin: 0 auto; padding: 24px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #111; }
.ticket h1 { font-size: 20px; margin: 0; }
.ticket h2 { font-size: 15px; margin: 18px 0 6px; padding-bottom: 3px; border-bottom: 2px solid #1e4e8c; color: #1e4e8c; }
.ticket .encabezado { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 3px solid #1e4e8c; padding-bottom: 8px; }
.ticket .folio { font-size: 22px; font-weight: bold; text-align: right; }
.ticket table { width: 100%; border-collapse: collapse; }
.ticket td, .ticket th { padding: 4px 6px; border-bottom: 1px solid #ddd; text-align: left; vertical-align: top; }
.ticket th { background: #f0f3f8; font-weight: bold; }
.ticket .num { text-align: right; white-space: nowrap; }
.ticket .datos td:first-child { width: 150px; color: #555; }
.ticket .codigo { font-size: 20px; font-weight: bold; letter-spacing: 1px; border: 2px dashed #1e4e8c; padding: 2px 10px; display: inline-block; }
.ticket .aviso { background: #fff6e0; border: 1px solid #e0b040; padding: 8px; margin-top: 12px; }
.ticket .parada { border: 1px solid #ccc; padding: 8px; margin-bottom: 10px; page-break-inside: avoid; }
.ticket .firma { margin-top: 26px; display: flex; gap: 40px; }
.ticket .firma div { flex: 1; border-top: 1px solid #333; text-align: center; padding-top: 4px; font-size: 12px; }
.ticket-acciones { max-width: 760px; margin: 0 auto; padding: 12px 24px 0; display: flex; gap: 8px; flex-wrap: wrap; }
@media print {
    .ticket-acciones { display: none !important; }
    .ticket { padding: 0; }
}
