/* DZQCOD Print CSS v3.2.0 — A4 + A5 + Thermal 80mm */
* { box-sizing: border-box; margin: 0; padding: 0; }
body.dzqcod-print { font-family: 'Segoe UI', Arial, sans-serif; direction: rtl; text-align: right; font-size: 12px; color: #111; background: #fff; }
.dzqcod-slip { max-width: 210mm; margin: 0 auto; padding: 12mm; }
.dzqcod-slip-header { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 3px solid #1a3c5e; padding-bottom: 10px; margin-bottom: 14px; }
.dzqcod-shop-name { font-size: 20px; font-weight: 900; color: #1a3c5e; }
.dzqcod-shop-sub { font-size: 11px; color: #666; margin-top: 4px; }
.dzqcod-order-badge { background: #1a3c5e; color: #fff; padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 700; text-align: center; }
.dzqcod-order-num { font-size: 18px; font-weight: 900; display: block; }
.dzqcod-section { margin-bottom: 12px; }
.dzqcod-section-title { font-size: 10px; font-weight: 700; color: #666; text-transform: uppercase; border-bottom: 1px solid #ddd; padding-bottom: 4px; margin-bottom: 8px; }
.dzqcod-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dzqcod-field-label { font-size: 10px; color: #888; }
.dzqcod-field-value { font-size: 13px; font-weight: 700; color: #111; }
.dzqcod-items-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.dzqcod-items-table th { background: #f5f7fa; padding: 6px 8px; border: 1px solid #ddd; font-size: 11px; font-weight: 700; }
.dzqcod-items-table td { padding: 6px 8px; border: 1px solid #eee; }
.dzqcod-items-table .total-row td { font-weight: 900; background: #f0f9f4; font-size: 14px; border-top: 2px solid #1a3c5e; }
.dzqcod-barcode-wrap { text-align: center; margin: 12px 0; }
.dzqcod-barcode-num { font-family: 'Courier New', monospace; font-size: 18px; font-weight: 900; letter-spacing: 3px; }
.dzqcod-signature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.dzqcod-signature-box { border: 1px solid #ddd; border-radius: 6px; padding: 8px; min-height: 50px; }
.dzqcod-signature-label { font-size: 10px; color: #888; margin-bottom: 6px; }
.dzqcod-footer { border-top: 1px solid #ddd; padding-top: 8px; margin-top: 14px; font-size: 10px; color: #888; text-align: center; }
@media print and (max-width:148mm) { .dzqcod-slip { padding: 8mm; font-size: 11px; } .dzqcod-shop-name { font-size: 16px; } }
@media print and (max-width:80mm) { .dzqcod-slip { padding: 4mm; max-width: 80mm; } .dzqcod-slip-header { flex-direction: column; gap: 6px; } .dzqcod-grid-2 { grid-template-columns: 1fr; } .dzqcod-signature-row { grid-template-columns: 1fr; } .dzqcod-shop-name { font-size: 14px; } }
@media print { body { print-color-adjust: exact; -webkit-print-color-adjust: exact; } .no-print { display: none !important; } }
