/* LaundryPro — تنسيق الطباعة (إيصالات، فواتير، تقارير) */
@media print {
    @page { margin: 12mm 10mm; }

    html, body { background: #fff !important; font-size: 12.5px; }

    .sidebar, .topbar, .demo-banner, .filters-bar, .btn, .pagination,
    .no-print, .float-whatsapp, .site-header, .site-footer, .nav-toggle,
    .menu-toggle, .modal-overlay, .alert { display: none !important; }

    .admin-layout, .main-area, .content { display: block; padding: 0; margin: 0; max-width: none; }
    .card { box-shadow: none !important; border: none !important; padding: 0 !important; margin: 0 !important; }

    .print-doc { max-width: 100%; }

    .print-head {
        display: flex !important; align-items: center; justify-content: space-between;
        border-bottom: 2.5px solid #0f2b4c; padding-bottom: 10px; margin-bottom: 14px;
    }
    .print-head img { height: 52px; }
    .print-head .ph-name { font-size: 19px; font-weight: 800; color: #0f2b4c; }
    .print-head .ph-meta { font-size: 11px; color: #475569; text-align: end; line-height: 1.8; }
    .print-head, .print-title { display: block !important; }
    .print-title { text-align: center; font-size: 17px; font-weight: 800; margin: 10px 0 14px; color: #0f2b4c; }

    table.tbl { min-width: 0 !important; font-size: 12px; }
    table.tbl th { background: #eef2f6 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; color: #0f2b4c; }
    table.tbl th, table.tbl td { padding: 6px 8px; }
    table.tbl tbody tr { break-inside: avoid; }

    .totals-mini { border: 1px dashed #94a3b8 !important; background: #fff !important; max-width: 340px; margin-inline-start: auto; }

    .print-foot {
        margin-top: 18px; padding-top: 9px; border-top: 1px solid #cbd5e1;
        text-align: center; font-size: 11px; color: #64748b;
    }
    .print-sign { margin-top: 34px; display: flex; justify-content: space-between; font-size: 12px; }
    .print-sign span { border-top: 1.5px solid #334155; padding-top: 5px; min-width: 170px; text-align: center; }

    .badge { border: 1px solid #94a3b8; background: #fff !important; color: #0f2b4c !important; }

    a { color: inherit; text-decoration: none; }
}

/* إيصال حراري 80mm */
.receipt-80 { max-width: 80mm; margin: 0 auto; }
@media print {
    .receipt-80-mode @page { margin: 6mm; }
    .receipt-80-mode .print-doc { max-width: 72mm; font-size: 11px; }
    .receipt-80-mode table.tbl { font-size: 10.5px; }
}
