:root { --primary-blue: #003366; --light-blue: #f0f7ff; --border-color: #333333; --text-color: #000000; } body { font-family: Arial, Helvetica, sans-serif; margin: 0; padding: 0; color: var(--text-color); font-size: 11px; line-height: 1.4; } .eway-bill-container { width: 210mm; /* A4 Width */ margin: 0 auto; padding: 10mm; box-sizing: border-box; } .header { display: flex; justify-content: space-between; align-items: flex-start; border: 1px solid var(--border-color); padding: 10px; margin-bottom: 0; } .gov-title { flex: 2; text-align: center; } .gov-title h1 { font-size: 18px; margin: 0; text-transform: uppercase; } .gov-title p { margin: 2px 0; font-size: 10px; } .bill-meta { flex: 2; padding-left: 20px; border-left: 1px solid #ccc; } .meta-row { margin-bottom: 3px; } .qr-code { flex: 1; text-align: right; } .qr-code img { width: 80px; height: 80px; } /* Sections */ .section-container { border: 1px solid var(--border-color); border-top: none; margin-top: 0; } .section-title { background-color: var(--primary-blue); color: #ffffff; margin: 0; padding: 5px 10px; font-size: 12px; -webkit-print-color-adjust: exact; print-color-adjust: exact; } .data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; } .data-row { display: flex; border-bottom: 0.5px solid #eee; padding: 5px 10px; } .data-row:nth-child(odd) { border-right: 0.5px solid #eee; } .label { font-weight: bold; width: 150px; } .value { flex: 1; } /* Tables */ .items-table, .transport-table { width: 100%; border-collapse: collapse; } .items-table th, .transport-table th { background-color: var(--light-blue); border: 1px solid var(--border-color); padding: 5px; text-align: left; font-weight: bold; } .items-table td, .transport-table td { border: 1px solid var(--border-color); padding: 5px; } .part-b { margin-top: 10px; border-top: 1px solid var(--border-color); } .footer-note { margin-top: 20px; text-align: center; font-style: italic; font-size: 9px; } @media print { body { background: none; } .eway-bill-container { width: 100%; padding: 0; } .section-title { background-color: var(--primary-blue) !important; color: white !important; } * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; } }