@import"https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Amiri:wght@400;700&family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap";:root{--primary: #2563eb;--primary-hover: #1e40af;--bg: #f3f6fb;--sidebar-bg: #0f172a;--text-main: #1e293b;--text-muted: #64748b;--border: #e2e8f0}html,body,#root{height:100%;margin:0;padding:0;overflow-x:hidden}body{font-family:Inter,Noto Sans Arabic,sans-serif;background-color:var(--bg);color:var(--text-main);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:11px;line-height:1.5}.flex{display:flex}.flex-col{flex-direction:column}.flex-grow{flex-grow:1}.shrink-0{flex-shrink:0}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.w-64{width:16rem}.h-screen{height:100vh}.min-h-screen{min-height:100vh}.bg-slate-900{background-color:var(--sidebar-bg)}.bg-white{background-color:#fff}.bg-slate-50{background-color:#f8fafc}.text-white{color:#fff}.text-slate-400{color:#94a3b8}.text-slate-800{color:#1e293b}.border-b{border-bottom:1px solid var(--border)}.border-l{border-left:1px solid var(--border)}.shadow-2xl{box-shadow:0 25px 50px -12px #00000040}.rounded-xl{border-radius:.75rem}.rounded-2xl{border-radius:1rem}button{font-family:inherit;cursor:pointer;border:none;background:transparent;text-align:left}.bg-blue-600{background-color:var(--primary);color:#fff}.hover\:bg-slate-800:hover{background-color:#1e293b}.text-rose-400{color:#fb7185}.custom-scrollbar::-webkit-scrollbar{width:5px}.custom-scrollbar::-webkit-scrollbar-track{background:transparent}.custom-scrollbar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}aside{z-index:50;transition:transform .3s}.animate-in{animation:fadeIn .3s ease-in-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@font-face{font-family:Saudi Riyal;src:url(/fonts/saudi_riyal.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}.currency-symbol{font-family:Saudi Riyal,Segoe UI,Arial,Helvetica Neue,Noto Sans Arabic,sans-serif;font-weight:400;font-size:1em}.currency-display{font-family:Segoe UI,Noto Sans Arabic,Inter,Arial,sans-serif;font-variant-numeric:tabular-nums}@media print{.currency-symbol{font-family:Saudi Riyal,Segoe UI,Arial,Noto Sans Arabic,sans-serif}}input,select{font-size:10px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;background-color:#fff}.login-card{max-width:400px;width:90%;margin:10vh auto;padding:2rem;background:#fff;border-radius:20px;box-shadow:0 10px 25px #0000000d}.watermark-container{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none;z-index:0;background-repeat:no-repeat;background-position:center center}.watermark-center{background-size:contain;background-repeat:no-repeat}.watermark-tiling{background-size:auto;background-repeat:repeat}.watermark-container+*{position:relative;z-index:1}@media print{.watermark-container{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;display:block!important;visibility:visible!important}}.payment-receipt-container{box-sizing:border-box;width:210mm;min-height:297mm;margin:0 auto;padding:20mm 25mm;background:#fff;color:#000;font-family:Arial,Helvetica,sans-serif;display:flex;flex-direction:column}.payment-receipt-container *{box-sizing:border-box}.payment-receipt-container .arabic-text{font-family:Amiri,Traditional Arabic,serif;direction:rtl;text-align:right}.receipt-header{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:20px;margin-bottom:5px;border-bottom:3px solid #000}.header-left{flex:1;text-align:left}.header-right{flex:1;text-align:right}.header-center{flex:0 0 auto;display:flex;align-items:center;justify-content:center;padding:0 20px}.store-name-en{font-size:20pt;font-weight:700;color:#000;margin:0 0 10px;text-transform:uppercase;word-wrap:break-word;overflow-wrap:break-word;max-width:100%;white-space:normal}.store-name-ar{font-size:26pt;font-weight:700;color:#000;margin:0 0 10px;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif;unicode-bidi:embed;word-wrap:break-word;overflow-wrap:break-word;max-width:100%}.detail-line{margin:2px 0;font-size:9pt;color:#000}.store-logo{max-width:100px;max-height:100px;object-fit:contain}.logo-placeholder{width:90px;height:90px;display:flex;align-items:center;justify-content:center;background:#000;border-radius:50%;color:#fff;font-weight:700;font-size:14pt}.receipt-title-wrapper{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:40px;position:relative;padding-top:15px}.receipt-no{font-size:12pt;font-weight:700}.receipt-title-center{display:flex;flex-direction:column;align-items:center;position:absolute;left:50%;transform:translate(-50%);top:15px}.payment-receipt-container .title-ar{font-size:22pt;font-weight:700;font-family:Amiri,serif;margin-bottom:-5px}.payment-receipt-container .title-en{font-size:12pt;font-weight:700;border-top:2px solid #000;padding-top:2px;letter-spacing:1px}.receipt-date-wrapper{display:flex;align-items:flex-end;gap:10px;margin-top:35px}.voucher-form{display:flex;flex-direction:column;gap:30px}.form-row{display:flex;align-items:flex-end;width:100%}.form-label-en{font-size:11pt;white-space:normal;word-break:break-word;margin-right:15px}.form-label-ar{font-size:13pt;font-weight:700;font-family:Amiri,serif;white-space:normal;word-break:break-word;margin-left:15px}.form-dotted-line{flex-grow:1;border-bottom:2px dotted #000;display:flex;justify-content:center;align-items:flex-end;min-width:50px}.form-value-text{font-size:12pt;font-weight:700;text-align:center;margin-bottom:2px;word-break:break-word}.split-row{display:flex;width:100%;gap:30px}.split-col{flex:1;display:flex;align-items:flex-end}.currency-amount{font-size:14pt;font-weight:700}.receipt-footer{margin-top:60px;display:flex;justify-content:flex-end}.signature-box{display:flex;flex-direction:column;align-items:center;width:250px}.signature-line{width:100%;border-bottom:2px dotted #000;margin-bottom:10px}.signature-text{font-size:11pt;font-weight:700}@media print{@page{size:A4;margin:0}body{margin:0;-webkit-print-color-adjust:exact;print-color-adjust:exact}.payment-receipt-container{padding:20mm;width:100%;max-width:100%;min-height:auto;box-shadow:none}.watermark-container{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;display:block!important;visibility:visible!important}}.invoice-template-2{width:210mm;min-height:297mm;margin:0 auto;padding:10mm;background:#fff;color:#1a1a1a;font-family:Segoe UI,Arial,sans-serif;font-size:10px;line-height:1.3;box-sizing:border-box;position:relative;display:flex;flex-direction:column}.store-name-ar{font-size:14px;font-weight:700;color:#1a1a1a;margin:0 0 6px;line-height:1.3}.invoice-template-2 .store-name-en{font-size:11px!important;font-weight:700;color:#1a1a1a;margin:0 0 6px;line-height:1.3;word-wrap:break-word;overflow-wrap:break-word;max-width:100%;white-space:normal}.invoice-template-2 .info-section{display:flex;margin-bottom:15px;border:1px solid #ddd;width:100%;box-sizing:border-box}.invoice-template-2 .customer-info,.invoice-template-2 .invoice-info{flex:1;min-width:0}.invoice-template-2 .customer-info{border-right:1px solid #ddd}.invoice-template-2 .info-row{display:flex;align-items:stretch;border-bottom:1px solid #ddd;min-height:20px;width:100%}.invoice-template-2 .info-row:last-child{border-bottom:none}.invoice-template-2 .info-row .label{flex:0 0 90px;background-color:#f9f9f9;padding:4px 8px;font-weight:600;font-size:8.5px;text-align:left;border-right:1px solid #ddd;box-sizing:border-box;white-space:normal;word-break:break-word;display:flex;align-items:center}.invoice-template-2 .info-row .value{flex:1;padding:4px 10px;text-align:center;font-weight:600;font-size:9px;min-width:0;white-space:normal;word-break:break-word;border-right:1px solid #ddd;display:flex;align-items:center}.invoice-template-2 .info-row .label-ar{flex:0 0 80px;background-color:#f9f9f9;padding:4px 8px;font-weight:600;font-size:8.5px;text-align:right;box-sizing:border-box;white-space:normal;word-break:break-word;display:flex;align-items:center}.footer-block{width:100%;box-sizing:border-box;margin-top:0}@media print{@page{size:A4;margin:10mm}::-webkit-scrollbar{display:none}body{background:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact;overflow:visible}.invoice-template-2{display:block!important;box-shadow:none;margin:0;padding:0;width:100%;min-height:auto;height:auto;overflow:visible}.footer-block{break-inside:avoid!important;page-break-inside:avoid!important}.totals-section{break-inside:avoid;page-break-inside:avoid}.invoice-footer{position:static;bottom:auto;left:auto;width:100%;padding:10px 0 0;background:#fff;z-index:auto;break-inside:avoid;page-break-inside:avoid;border-top:1px solid #333}.items-table tbody tr{page-break-inside:auto;break-inside:auto}.items-table thead{display:table-header-group}.invoice-header,.info-section{break-inside:avoid;page-break-inside:avoid}.watermark-container{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;display:block!important;visibility:visible!important}}@media screen{.invoice-template-2{box-shadow:0 0 20px #0000001a;margin:20px auto}}.invoice-template-3{width:210mm;min-height:297mm;margin:0 auto;padding:10mm;background:#fff;color:#000;font-family:Arial,Segoe UI,sans-serif;font-size:9px;line-height:1.3;box-sizing:border-box;position:relative;display:flex;flex-direction:column}.invoice-header{display:flex;justify-content:space-between;align-items:flex-start;border:1px solid #333;padding:10px;margin-bottom:10px;width:100%;box-sizing:border-box}.header-center{flex:0 0 100px;display:flex;align-items:center;justify-content:center;padding:0 15px}.store-name-en{font-size:16px;font-weight:700;color:#000;margin:0 0 5px;text-transform:uppercase}.store-name-ar{font-size:16px;font-weight:700;color:#000;margin:0 0 5px;text-align:right;font-family:Janna LT,Arial,sans-serif}.address-en,.address-ar{font-size:8px;color:#333;margin:0 0 3px;line-height:1.2}.address-ar{text-align:right}.contact-info,.vat-info,.crn-info{font-size:8px;margin:2px 0;color:#000}.software-info{font-size:7px;color:#666;margin-top:5px;font-style:italic}.logo-placeholder{width:70px;height:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f5f5f5;border:1px solid #ddd;font-size:10px;font-weight:700;color:#333}.logo-placeholder small{font-size:7px;font-weight:400}.invoice-meta-section{display:flex;justify-content:space-between;align-items:stretch;border:1px solid #333;margin-bottom:10px;width:100%;box-sizing:border-box}.invoice-details-left{flex:1;border-right:1px solid #333;padding:0}.detail-row{display:flex;align-items:center;border-bottom:1px solid #333;min-height:24px;width:100%}.detail-row:last-child{border-bottom:none}.detail-row .label-en{flex:0 0 80px;padding:4px 8px;font-weight:600;font-size:8px;text-align:left;border-right:1px solid #333;background:#fafafa}.detail-row .value{flex:1;padding:4px 8px;text-align:center;font-weight:600;font-size:9px;border-right:1px solid #333}.detail-row .label-ar{flex:0 0 70px;padding:4px 8px;font-weight:600;font-size:8px;text-align:right;background:#fafafa}.invoice-title-center{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px;text-align:center;border-right:1px solid #333}.invoice-title-center .title-ar{font-size:14px;font-weight:700;margin-bottom:5px;font-family:Arial,sans-serif}.invoice-title-center .title-en{font-size:12px;font-weight:700}.qr-section{flex:0 0 120px;display:flex;align-items:center;justify-content:center;padding:10px}.qr-placeholder{width:100px;height:100px;display:flex;align-items:center;justify-content:center;background:#f5f5f5;border:1px solid #ddd;font-size:8px;color:#999}.parties-section{display:flex;gap:10px;margin-bottom:10px;width:100%}.party-box{flex:1;width:50%;border:1px solid #333;box-sizing:border-box}.party-header{display:flex;justify-content:space-between;align-items:center;background:#f0f0f0;padding:5px 10px;border-bottom:1px solid #333;font-weight:700;font-size:10px}.party-content{padding:0}.party-row{display:flex;align-items:stretch;border-bottom:1px solid #ddd;min-height:22px}.party-row:last-child{border-bottom:none}.party-row .label{flex:0 0 80px;padding:3px 8px;font-weight:600;font-size:8px;text-align:left;border-right:1px solid #ddd;background:#fafafa;display:flex;align-items:center;width:auto;height:auto}.party-row .value{flex:1;padding:3px 8px;font-size:9px;text-align:center;border-right:1px solid #ddd;white-space:normal;word-break:break-word;display:flex;align-items:center;justify-content:center}.party-row .label-ar{flex:0 0 60px;padding:3px 8px;font-weight:600;font-size:8px;text-align:right;background:#fafafa;display:flex;align-items:center}.items-wrapper{flex:1;width:100%;margin-bottom:10px;border:1px solid #333;box-sizing:border-box}.items-table{width:100%;border-collapse:collapse;font-size:8px;table-layout:fixed}.items-table th{padding:6px 4px;border:1px solid black;text-align:center;font-weight:700;vertical-align:middle;line-height:1.2;background:#f5f5f5}.items-table th div{font-size:8px}.items-table th div[dir=rtl]{font-size:7px;color:#000;margin-top:2px}.items-table td{padding:5px 4px;border:1px solid black;vertical-align:middle;line-height:1.2}.col-item{width:25%;text-align:left;padding-left:6px}.col-unit{width:8%;text-align:center}.col-price{width:12%;text-align:center}.col-qty{width:8%;text-align:center}.col-taxable,.col-vat{width:14%;text-align:center}.col-total{width:14%;text-align:center;font-weight:600}.end-of-invoice{text-align:center;padding:8px;font-size:9px;font-weight:700;color:#333;font-style:italic}.summary-left{width:100%}.summary-table{width:100%;border-collapse:collapse;font-size:9px;border:1px solid black}.summary-table td{padding:5px 8px;border:1px solid black;vertical-align:middle}.summary-table .label{font-weight:600;text-align:left;width:32.5%;background:#fff;font-size:9px}.summary-table .value{text-align:center;font-weight:600;width:35%;font-size:9px}.summary-table td .value{text-align:center;align-items:center;justify-content:center;background-color:#7fffd4}.summary-table .label-ar{text-align:right;font-size:8px;width:32.5%;background:#fff;font-weight:600}.summary-table tr.highlight .label,.summary-table tr.highlight .value,.summary-table tr.highlight .label-ar{font-weight:700;font-size:10px;background:#f0f0f0}.amount-in-words{margin-top:8px;padding:5px 0;font-size:10px;font-style:italic;color:#000;text-align:center;font-weight:600}.signature-section{width:100%;margin-top:10px;margin-bottom:10px}.signature-box{width:60%;border:1px solid #333;padding:8px 12px;box-sizing:border-box;display:flex;align-items:center;gap:10px}.signature-box .name{font-weight:700;font-size:10px}.signature-box .role{font-size:9px;color:#333;border-left:1px solid #999;padding-left:10px}.invoice-footer{margin-top:auto;width:100%;border:1px solid #333;box-sizing:border-box}.footer-row-1{display:flex;width:100%;border-bottom:1px solid #333;min-height:22px;align-items:center}.footer-seller-cell{flex:0 0 50%;display:flex;align-items:center;border-right:1px solid #333;padding:3px 8px;box-sizing:border-box;gap:5px}.footer-seller-name{font-size:9px;font-weight:600;color:#000;white-space:nowrap}.footer-seller-divider{color:#999;font-size:9px;flex-shrink:0}.footer-seller-role{font-size:9px;color:#333;white-space:nowrap}.footer-notes-label-cell{flex:0 0 50%;display:flex;align-items:center;justify-content:flex-end;padding:3px 8px;box-sizing:border-box}.footer-notes-label{font-size:9px;color:#333;text-align:right;white-space:nowrap}.footer-row-2{display:flex;width:100%;min-height:28px;align-items:flex-start}.footer-notes-en{flex:0 0 50%;padding:4px 8px;font-size:8px;color:#333;border-right:1px solid #333;box-sizing:border-box;word-wrap:break-word;overflow-wrap:break-word;white-space:normal;line-height:1.4}.footer-notes-ar{flex:0 0 50%;padding:4px 8px;font-size:8px;color:#333;box-sizing:border-box;word-wrap:break-word;overflow-wrap:break-word;white-space:normal;text-align:right;line-height:1.4}.page-number{text-align:right;font-size:9px;color:#000;font-weight:600;padding:3px 8px;border-top:1px solid #333}@media print{@page{size:A4;margin:10mm}body{background:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact;overflow:visible}.invoice-template-3{display:block!important;min-height:0!important;height:auto!important;overflow:visible!important;box-shadow:none;margin:0;padding:0;width:100%}.items-wrapper{display:block!important;width:100%!important;margin-bottom:10px!important;break-inside:auto!important;page-break-inside:auto!important;overflow:visible!important}.items-table{break-inside:auto!important;page-break-inside:auto!important}.items-table thead{display:table-header-group!important}.items-table tbody tr{break-inside:avoid!important;page-break-inside:avoid!important}.summary-left{margin-top:10px!important;width:100%!important;display:block!important;break-inside:avoid!important;page-break-inside:avoid!important}.invoice-footer{margin-top:10px!important;width:100%!important;display:block!important;position:static!important;break-inside:avoid!important;page-break-inside:avoid!important;border-top:1px solid #333}.end-of-invoice{margin-top:4px!important;margin-bottom:10px!important;break-inside:avoid!important;page-break-inside:avoid!important}.invoice-header,.invoice-meta-section,.parties-section{break-inside:avoid!important;page-break-inside:avoid!important}.watermark-container{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;display:block!important;visibility:visible!important}}@media screen{.invoice-template-3{box-shadow:0 0 10px #0000001a;margin:20px auto}}.invoice-template-4{width:210mm;min-height:297mm;margin:0 auto;padding:10mm;background:#fff;color:#000;font-family:Arial,sans-serif;font-size:10px;box-sizing:border-box;position:relative;display:flex;flex-direction:column}.main-header{display:flex;justify-content:space-between;align-items:flex-start;border:1px solid #000;margin-bottom:0;width:100%;box-sizing:border-box}.header-qr-section{flex:0 0 140px;padding:10px;display:flex;align-items:center;justify-content:center;border-right:1px solid #000}.qr-image{width:120px;height:120px}.qr-placeholder{width:120px;height:120px;display:flex;align-items:center;justify-content:center;background:#f5f5f5;border:1px solid #ddd;font-size:12px;color:#666}.header-center-section{flex:1;display:flex;align-items:center;justify-content:center;padding:20px;border-right:1px solid #000}.logo-container{text-align:center}.store-logo{max-width:150px;max-height:100px;object-fit:contain}.logo-placeholder-main{width:150px;height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid #333;border-radius:50%;background:#fff}.logo-text-ar{font-size:14px;font-weight:700;color:#2e7d32;margin-bottom:5px}.logo-text-en{font-size:12px;font-weight:700;color:#333}.header-company-section{flex:1.5;padding:10px;text-align:right}.company-name-ar{font-size:14px;font-weight:700;color:#000;margin-bottom:8px;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif;unicode-bidi:embed;word-wrap:break-word;overflow-wrap:break-word;max-width:100%}.company-info-row{display:flex;justify-content:flex-start;align-items:center;margin:3px 0;font-size:10px;text-align:right}.info-label-ar{margin-left:5px;font-weight:400;text-align:right}.info-value{font-weight:400;text-align:right}.company-slogan{margin-top:8px;font-size:10px;color:#333}.customer-details-section{border:1px solid #000;border-top:none;margin-bottom:0}.section-title{display:flex;justify-content:center;align-items:center;gap:10px;padding:5px;background:#f5f5f5;border-bottom:1px solid #000;font-weight:700;font-size:11px}.title-en,.title-ar{color:#000}.customer-info-grid{width:100%}.customer-info-row{display:flex;width:100%}.customer-info-row.header-row{background:#f5f5f5;border-bottom:1px solid #000}.customer-info-row.data-row{border-bottom:1px solid #000}.customer-info-row.secondary{border-bottom:none}.info-cell{flex:1;padding:5px;text-align:center;border-right:1px solid #000;font-size:9px;display:flex;flex-direction:column;justify-content:center}.info-cell:last-child{border-right:none}.info-cell .label-ar,.info-cell .label-en{display:block;font-size:9px}.info-cell .label-ar{margin-bottom:2px}.items-section{border:1px solid #000;border-top:none;width:100%;flex:1}.items-table{width:100%;border-collapse:collapse;font-size:9px;table-layout:fixed;height:100%}.items-table th{padding:5px 3px;border:1px solid #000;text-align:center;font-weight:700;vertical-align:middle;line-height:1.2;background:#f5f5f5}.items-table th .th-ar,.items-table th .th-en{display:block}.items-table th .th-ar{font-size:9px;margin-bottom:2px}.items-table th .th-en{font-size:8px}.items-table td{padding:5px 3px;border:1px solid #000;text-align:center;vertical-align:middle;font-size:9px}.items-table tbody tr,.items-table tbody tr.empty-row{height:25px}.col-num{width:5%}.col-product{width:25%;text-align:right;padding-right:8px}.col-unit{width:8%}.col-price{width:10%}.col-qty{width:8%}.col-taxable{width:14%}.col-tax{width:12%}.col-total{width:14%}.summary-section{border:1px solid #000;border-top:none;width:50%;margin-left:auto}.summary-table{width:100%}.summary-row{display:flex;border-bottom:1px solid #000;min-height:22px}.summary-row:last-child{border-bottom:none}.summary-row.amount-in-words{background:#f5f5f5;justify-content:center}.summary-cell{padding:4px 8px;font-size:9px;display:flex;align-items:center}.summary-cell.label-ar{flex:1;text-align:right;justify-content:flex-end;border-right:1px solid #000}.summary-cell.label-en{flex:1;text-align:left;justify-content:flex-start;border-right:1px solid #000;padding-left:10px}.summary-cell.value{flex:0 0 80px;text-align:center;justify-content:center;font-weight:700}.summary-cell.full-width{flex:1;justify-content:center;font-weight:700;font-size:11px}.invoice-footer{border:1px solid #000;border-top:none;width:100%}.footer-row{display:flex;border-bottom:1px solid #000}.seller-box{flex:0 0 200px;border-right:1px solid #000;padding:5px}.notes-box{flex:1;padding:5px}.footer-label{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700;margin-bottom:5px;border-bottom:1px solid #000;padding-bottom:3px}.footer-label .separator{color:#666}.seller-name{text-align:center;font-size:10px;padding-top:5px}.footer-notes{display:flex;justify-content:space-between;padding:8px 10px;font-size:9px;border-bottom:1px solid #000}.notes-ar{text-align:right}.notes-en{text-align:left}.page-number{text-align:right;padding:5px 10px;font-size:10px;font-weight:700}@media print{@page{size:A4;margin:10mm}body{background:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact;overflow:visible}.invoice-template-4{display:block!important;box-shadow:none;margin:0;padding:0;width:100%;min-height:auto;height:auto;overflow:visible}.main-header,.customer-details-section{break-inside:avoid;page-break-inside:avoid}.summary-section,.invoice-footer{break-inside:avoid!important;page-break-inside:avoid!important}.items-table tbody tr{page-break-inside:auto;break-inside:auto}.items-table thead{display:table-header-group}.watermark-container{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;display:block!important;visibility:visible!important}}@media screen{.invoice-template-4{box-shadow:0 0 20px #0000001a;margin:20px auto}}.invoice-template-5{width:210mm;min-height:297mm;margin:0 auto;padding:8mm;background:#fff;color:#1a1a1a;font-family:Segoe UI,Arial,sans-serif;font-size:9px;line-height:1.3;box-sizing:border-box;position:relative;display:flex;flex-direction:column}.invoice-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px;width:100%;box-sizing:border-box}.header-right{text-align:right}.store-name-en{font-size:16px;font-weight:700;color:#1a1a1a;margin:0 0 2px;line-height:1.2}.store-subtitle-en{font-size:11px;color:#333;margin:0;font-weight:500}.store-name-ar{font-size:16px;font-weight:700;color:#1a1a1a;margin:0 0 2px;line-height:1.2;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif;unicode-bidi:embed}.store-subtitle-ar{font-size:11px;color:#333;margin:0;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif;unicode-bidi:embed}.invoice-title{display:flex;justify-content:center;align-items:center;gap:30px;margin-bottom:8px;padding:4px 0}.invoice-title-en{font-size:11px;font-weight:600;color:#1a1a1a}.invoice-title-ar{font-size:11px;font-weight:600;color:#1a1a1a;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif;unicode-bidi:embed}.company-info-bar{border:1px solid #333;margin-bottom:8px;width:100%;box-sizing:border-box}.company-info-row{display:grid;grid-template-columns:90px 1fr 1fr 90px;border-bottom:1px solid #333;min-height:22px;align-items:center}.company-info-row:last-child{border-bottom:none}.company-info-row>span{padding:3px 6px;font-size:9px;border-right:1px solid #333;height:100%;display:flex;align-items:center;box-sizing:border-box}.company-info-row>span:last-child{border-right:none}.company-info-row .label{font-weight:600;text-align:right;justify-content:flex-end}.company-info-row .valueAddress{text-align:left;justify-content:flex-start}.company-info-row .value{text-align:center;justify-content:center;grid-column:span 2}.company-info-row .valueAddress-ar{text-align:right;justify-content:flex-end;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif}.company-info-row .label-ar{font-weight:600;text-align:left;justify-content:flex-start;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif}.info-section{display:flex;gap:8px;margin-bottom:10px;width:100%;box-sizing:border-box}.invoice-info-box,.customer-info-box{flex:1;border:1px solid #333;min-width:0}.invoice-info-box .info-row,.customer-info-box .info-row{display:flex;align-items:stretch;border-bottom:1px solid #333;min-height:24px}.invoice-info-box .info-row:last-child,.customer-info-box .info-row:last-child{border-bottom:none}.invoice-info-box .label,.customer-info-box .label{flex:0 0 80px;padding:4px 6px;font-weight:600;font-size:8px;text-align:left;border-right:1px solid #333;display:flex;align-items:center}.invoice-info-box .value,.customer-info-box .value{flex:1;padding:4px 6px;font-size:9px;text-align:left;border-right:1px solid #333;display:flex;align-items:center;word-break:break-word}.invoice-info-box .label-ar,.customer-info-box .label-ar{flex:0 0 60px;padding:4px 6px;font-weight:600;font-size:8px;text-align:right;display:flex;align-items:center;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif}.items-section{margin-bottom:10px;width:100%}.items-table{width:100%;border-collapse:collapse;font-size:9px;table-layout:fixed;border:1px solid #333}.items-table thead{background:#f5f5f5}.items-table th{padding:6px 3px;border:1px solid #333;text-align:center;font-weight:600;vertical-align:middle;line-height:1.2;font-size:8px}.items-table th span[dir=rtl]{font-size:8px;color:#333;margin-top:1px;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif}.items-table td{padding:5px 3px;border:1px solid #333;vertical-align:middle;line-height:1.2;font-size:9px}.col-product{width:22%;text-align:left;padding-left:6px}.col-packing,.col-qty{width:8%;text-align:center}.col-price,.col-total{width:10%;text-align:right;padding-right:6px}.col-tax{width:12%;text-align:right;padding-right:6px}.col-total-incl{width:15%;text-align:right;padding-right:6px}.end-of-invoice{text-align:center;font-size:9px;font-weight:600;padding:6px 0}.totals-section{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px;gap:15px;width:100%;box-sizing:border-box}.qr-image{width:120px;height:120px;display:block}.qr-placeholder{width:120px;height:120px;display:flex;align-items:center;justify-content:center;background:#f5f5f5;border:1px solid #333;font-size:8px;color:#999;text-align:center;white-space:pre-line}.summary-box{padding:0}.summary-table{width:100%;border-collapse:collapse;font-size:9px}.summary-table td{padding:5px 8px;border-bottom:1px solid #333;vertical-align:middle}.summary-table tr:last-child td{border-bottom:none}.summary-table .label{font-weight:600;text-align:left;border-right:1px solid #333;width:35%}.summary-table .label-ar{font-weight:600;text-align:right;border-right:1px solid #333;width:35%;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif}.summary-table .value{text-align:right;font-weight:500;width:30%}.net-bill-row,.net-bill-row .label,.net-bill-row .label-ar,.net-bill-row .value{font-weight:700}.amount-in-words{padding:8px;text-align:right;font-size:10px;font-style:italic;border-top:1px solid #333;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif;unicode-bidi:embed}.footer-block{margin-top:auto;width:100%}.invoice-footer{border-top:1px solid #333;padding-top:8px;width:100%;box-sizing:border-box}.footer-content{display:flex;justify-content:space-between;gap:15px;margin-bottom:8px}.footer-left,.footer-right{flex:1}.seller-section{display:flex;flex-direction:column;gap:2px}.seller-label{font-size:10px;font-weight:600;color:#333}.seller-title{font-size:9px;color:#666;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif}.notes-section{text-align:right}.notes-title{font-size:10px;font-weight:600;color:#333;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif}.footer-note-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #333;border-bottom:1px solid #333;padding:6px 0;margin-bottom:5px}.note-en{font-size:8px;color:#333;flex:1}.note-ar{font-size:8px;color:#333;flex:1;text-align:right;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif}.page-number{text-align:right;font-size:9px;color:#666}@media print{@page{size:A4;margin:8mm}body{background:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact;overflow:visible}.invoice-template-5{display:block!important;box-shadow:none;margin:0;padding:0;width:100%;min-height:auto;height:auto;overflow:visible}.footer-block{break-inside:avoid!important;page-break-inside:avoid!important}.totals-section{break-inside:avoid;page-break-inside:avoid}.invoice-footer{margin-top:auto;width:100%;border:1px solid #333;box-sizing:border-box}.footer-row-1{display:flex;width:100%;border-bottom:1px solid #333;min-height:22px;align-items:center}.footer-seller-cell{flex:0 0 50%;display:flex;align-items:center;border-right:1px solid #333;padding:3px 8px;box-sizing:border-box;gap:5px}.footer-seller-name{font-size:9px;font-weight:600;color:#000;white-space:nowrap}.footer-seller-divider{color:#999;font-size:9px;flex-shrink:0}.footer-seller-role{font-size:9px;color:#333;white-space:nowrap}.footer-notes-label-cell{flex:0 0 50%;display:flex;align-items:center;justify-content:flex-end;padding:3px 8px;box-sizing:border-box}.footer-notes-label{font-size:9px;color:#333;text-align:right;white-space:nowrap}.footer-row-2{display:flex;width:100%;min-height:28px;align-items:flex-start}.footer-notes-en{flex:0 0 50%;padding:4px 8px;font-size:8px;color:#333;border-right:1px solid #333;box-sizing:border-box;word-wrap:break-word;overflow-wrap:break-word;white-space:normal;line-height:1.4}.footer-notes-ar{flex:0 0 50%;padding:4px 8px;font-size:8px;color:#333;box-sizing:border-box;word-wrap:break-word;overflow-wrap:break-word;white-space:normal;text-align:right;line-height:1.4}.page-number{text-align:right;font-size:9px;color:#000;font-weight:600;padding:3px 8px;border-top:1px solid #333}.items-table tbody tr{page-break-inside:auto;break-inside:auto}.items-table thead{display:table-header-group}.invoice-header,.company-info-bar,.info-section{break-inside:avoid;page-break-inside:avoid}.watermark-container{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;display:block!important;visibility:visible!important}}@media screen{.invoice-template-5{box-shadow:0 0 15px #0000001a;margin:15px auto}}.invoice-template-6{width:210mm;min-height:297mm;margin:0 auto;padding:10mm;background:#fff;color:#1a1a1a;font-family:Segoe UI,Arial,sans-serif;font-size:10px;line-height:1.3;box-sizing:border-box;position:relative;display:flex;flex-direction:column}.invoice-template-6 .info-section{display:flex;margin-bottom:15px;border:1px solid #ddd;width:100%;box-sizing:border-box}.invoice-template-6 .customer-info,.invoice-template-6 .invoice-info{flex:1;min-width:0}.invoice-template-6 .customer-info{border-right:1px solid #ddd}.invoice-template-6 .info-row{display:flex;align-items:stretch;border-bottom:1px solid #ddd;min-height:28px;width:100%}.invoice-template-6 .info-row:last-child{border-bottom:none}.invoice-template-6 .info-row .label{flex:0 0 90px;background-color:#f9f9f9;padding:6px 8px;font-weight:600;font-size:9px;text-align:left;border-right:1px solid #ddd;box-sizing:border-box;white-space:normal;word-break:break-word;display:flex;align-items:center}.invoice-template-6 .info-row .value{flex:1;padding:6px 10px;text-align:center;font-weight:600;font-size:10px;min-width:0;white-space:normal;word-break:break-word;border-right:1px solid #ddd;display:flex;align-items:center}.invoice-template-6 .info-row .label-ar{flex:0 0 70px;background-color:#f9f9f9;padding:6px 8px;font-weight:600;font-size:9px;text-align:right;box-sizing:border-box;white-space:normal;word-break:break-word;display:flex;align-items:center}@media print{@page{size:A4;margin:10mm}body{background:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact;overflow:visible}.invoice-template-6{display:block!important;box-shadow:none;margin:0;padding:0;width:100%;min-height:auto;height:auto;overflow:visible}.footer-block{break-inside:avoid!important;page-break-inside:avoid!important}.totals-section{break-inside:avoid;page-break-inside:avoid}.invoice-footer{position:static;bottom:auto;left:auto;width:100%;padding:10px 0 0;background:#fff;z-index:auto;break-inside:avoid;page-break-inside:avoid;border-top:1px solid #333}.items-table tbody tr{page-break-inside:auto;break-inside:auto}.items-table thead{display:table-header-group}.invoice-header,.info-section{break-inside:avoid;page-break-inside:avoid}.watermark-container{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;display:block!important;visibility:visible!important}}@media screen{.invoice-template-6{box-shadow:0 0 20px #0000001a;margin:20px auto}}.invoice-template-7{width:210mm;min-height:297mm;margin:0 auto;padding:10mm;background:#fff;color:#1a1a1a;font-family:Segoe UI,Arial,sans-serif;font-size:10px;line-height:1.3;box-sizing:border-box;position:relative;display:flex;flex-direction:column}.invoice-template-7 .info-section{display:flex;margin-bottom:15px;border:1px solid #ddd;width:100%;box-sizing:border-box}.invoice-template-7 .customer-info,.invoice-template-7 .invoice-info{flex:1;min-width:0}.invoice-template-7 .customer-info{border-right:1px solid #ddd}.invoice-template-7 .info-row{display:flex;align-items:stretch;border-bottom:1px solid #ddd;min-height:28px;width:100%}.invoice-template-7 .info-row:last-child{border-bottom:none}.invoice-template-7 .info-row .label{flex:0 0 90px;background-color:#f9f9f9;padding:6px 8px;font-weight:600;font-size:9px;text-align:left;border-right:1px solid #ddd;box-sizing:border-box;white-space:normal;word-break:break-word;display:flex;align-items:center}.invoice-template-7 .info-row .value{flex:1;padding:6px 10px;text-align:center;font-weight:600;font-size:10px;min-width:0;white-space:normal;word-break:break-word;border-right:1px solid #ddd;display:flex;align-items:center}.invoice-template-7 .info-row .label-ar{flex:0 0 70px;background-color:#f9f9f9;padding:6px 8px;font-weight:600;font-size:9px;text-align:right;box-sizing:border-box;white-space:normal;word-break:break-word;display:flex;align-items:center}@media print{@page{size:A4;margin:10mm}body{background:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact;overflow:visible}.invoice-template-7{display:block!important;box-shadow:none;margin:0;padding:0;width:100%;min-height:auto;height:auto;overflow:visible}.footer-block{break-inside:avoid!important;page-break-inside:avoid!important}.totals-section{break-inside:avoid;page-break-inside:avoid}.invoice-footer{position:static;bottom:auto;left:auto;width:100%;padding:10px 0 0;background:#fff;z-index:auto;break-inside:avoid;page-break-inside:avoid;border-top:1px solid #333}.items-table tbody tr{page-break-inside:auto;break-inside:auto}.items-table thead{display:table-header-group}.invoice-header,.info-section{break-inside:avoid;page-break-inside:avoid}.watermark-container{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;display:block!important;visibility:visible!important}}@media screen{.invoice-template-7{box-shadow:0 0 20px #0000001a;margin:20px auto}}.invoice-template-8{width:210mm;min-height:297mm;margin:0 auto;padding:10mm;background:#fff;color:#1a1a1a;font-family:Segoe UI,Arial,sans-serif;font-size:10px;line-height:1.3;box-sizing:border-box;position:relative;display:flex;flex-direction:column}.invoice-title{display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#1a1a1a;text-align:center;padding-bottom:5px}.logo-placeholder{width:70px;height:70px;display:flex;align-items:center;justify-content:center;background:#f5f5f5;border:1px solid #ddd}.logo-placeholder svg{width:35px;height:35px;color:#999}.invoice-template-8 .info-section{display:flex;margin-bottom:15px;border:1px solid #ddd;width:100%;box-sizing:border-box}.invoice-template-8 .customer-info,.invoice-template-8 .invoice-info{flex:1;min-width:0}.invoice-template-8 .customer-info{border-right:1px solid #ddd}.invoice-template-8 .info-row{display:flex;align-items:stretch;border-bottom:1px solid #ddd;min-height:28px;width:100%}.invoice-template-8 .info-row:last-child{border-bottom:none}.invoice-template-8 .info-row .label{flex:0 0 90px;background-color:#f9f9f9;padding:6px 8px;font-weight:600;font-size:9px;text-align:left;border-right:1px solid #ddd;box-sizing:border-box;white-space:normal;word-break:break-word;display:flex;align-items:center}.invoice-template-8 .info-row .value{flex:1;padding:6px 10px;text-align:center;font-weight:600;font-size:10px;min-width:0;white-space:normal;word-break:break-word;border-right:1px solid #ddd;display:flex;align-items:center}.invoice-template-8 .info-row .label-ar{flex:0 0 70px;background-color:#f9f9f9;padding:6px 8px;font-weight:600;font-size:9px;text-align:right;box-sizing:border-box;white-space:normal;word-break:break-word;display:flex;align-items:center}.items-table th{padding:8px 4px;border:1px solid #ccc;text-align:center;font-weight:600;vertical-align:middle;line-height:1.2}.items-table tbody tr.even-row{background:#fff}.items-table tbody tr.odd-row{background:#f9f9f9}.col-num{width:6%;text-align:center}.col-item{width:28%;text-align:left;padding-left:8px}.col-price{width:12%;text-align:right;padding-right:8px}.col-tax,.col-discount{width:10%;text-align:center}.col-total{width:14%;text-align:right;padding-right:8px;font-weight:600}.product-name{display:block;font-weight:500;font-size:9px;line-height:1.2}.product-code{display:block;font-size:8px;color:#666;margin-top:1px}.invoice-template-2 *{text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.info-row .label,.info-row .value,.info-row .label-ar{white-space:normal;word-break:break-word;display:flex;align-items:center}.store-name-en,.detail-line,.product-name,.store-name-ar{white-space:normal;word-break:break-word}.totals-section{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:15px;gap:15px;width:100%;box-sizing:border-box}.qr-section{flex:0 0 auto}.qr-image{width:100px;height:100px;display:block}.qr-placeholder{width:100px;height:100px;display:flex;align-items:center;justify-content:center;background:#f5f5f5;border:1px solid #ddd;font-size:8px;color:#999;text-align:center;white-space:pre-line}.amount-words{flex:1;padding:10px;font-size:10px;font-style:italic;color:#333;text-align:right;align-self:center;min-width:0}.totals-box{flex:0 0 240px;border:1px solid #ccc;padding:8px;box-sizing:border-box}.total-row{display:flex;justify-content:space-between;align-items:center;padding:4px 0;font-size:9px;line-height:1.2}.total-row .label{font-weight:600;min-width:80px;flex-shrink:0}.total-row .label-ar{font-size:8px;color:#555;flex:1;text-align:right;padding-right:8px}.total-row .value{min-width:60px;text-align:right;font-weight:500;flex-shrink:0}.total-row.grand-total{font-size:11px;font-weight:700;border-top:1px solid #333;border-bottom:1px solid #333;margin:4px 0;padding:6px 0}.total-row.grand-total .value{font-weight:700}.divider{border-top:1px dashed #ccc;margin:6px 0}.invoice-footer{margin-top:auto;border-top:1px solid #333;padding-top:10px;width:100%;box-sizing:border-box}.footer-content{display:flex;justify-content:space-between;gap:20px}.footer-left,.footer-right{flex:1;font-size:9px;color:#333;line-height:1.4}.footer-right{text-align:right}.page-number{text-align:right;font-size:8px;color:#666;margin-top:5px}@media print{@page{size:A4;margin:10mm}body{background:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact;overflow:visible}.invoice-template-8{display:block!important;box-shadow:none;margin:0;padding:0;width:100%;min-height:auto;height:auto;overflow:visible}.footer-block{break-inside:avoid!important;page-break-inside:avoid!important}.totals-section{break-inside:avoid;page-break-inside:avoid}.invoice-footer{position:static;bottom:auto;left:auto;width:100%;padding:10px 0 0;background:#fff;z-index:auto;break-inside:avoid;page-break-inside:avoid;border-top:1px solid #333}.items-table tbody tr{page-break-inside:auto;break-inside:auto}.items-table thead{display:table-header-group}.invoice-header,.info-section{break-inside:avoid;page-break-inside:avoid}.watermark-container{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;display:block!important;visibility:visible!important}}@media screen{.invoice-template-8{box-shadow:0 0 20px #0000001a;margin:20px auto}}.report-print-container{padding:20mm 25mm;background:#fff;color:#1e293b;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;width:210mm;min-height:297mm;margin:0 auto;box-sizing:border-box;line-height:1.6;position:relative;display:flex;flex-direction:column;box-shadow:0 0 50px #00000014}.top-accent-bar{position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#0f172a,#334155,#0f172a)}.report-header{display:flex;justify-content:space-between;align-items:stretch;padding:35px 0 30px;margin-bottom:35px;width:100%;box-sizing:border-box;position:relative}.report-header:before,.report-header:after{content:"";position:absolute;top:50%;transform:translateY(-50%);width:1px;height:70%;background:linear-gradient(to bottom,transparent,#e2e8f0 20%,#e2e8f0 80%,transparent)}.report-header:before{left:33.33%}.report-header:after{right:33.33%}.header-left,.header-right{flex:1;min-width:0;padding:0 25px}.header-center{flex:0 0 140px;display:flex;align-items:center;justify-content:center;padding:0 20px}.header-content-wrapper{height:100%;display:flex;flex-direction:column}.store-name-en,.store-name-ar{font-family:Outfit,sans-serif;font-size:15pt;font-weight:700;color:#0f172a;margin:0 0 12px;line-height:1.3;letter-spacing:-.01em}.store-name-ar{text-align:right;font-size:17pt;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif;font-weight:600;line-height:1.5;unicode-bidi:embed;word-wrap:break-word;overflow-wrap:break-word;max-width:100%}.address-en,.address-ar{font-size:9pt;color:#64748b;margin:0 0 20px;line-height:1.5;max-width:90%}.address-ar{text-align:right;margin-left:auto;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif;unicode-bidi:embed}.details-grid{display:flex;flex-direction:column;gap:10px;margin-top:auto}.detail-item{display:flex;align-items:center;gap:10px;font-size:9pt}.detail-icon{font-size:11pt;width:20px;text-align:center;opacity:.8}.detail-content{display:flex;flex-direction:column;line-height:1.3}.detail-label{font-weight:600;color:#94a3b8;font-size:7.5pt;text-transform:uppercase;letter-spacing:.05em}.detail-value{color:#334155;font-weight:500;font-size:9.5pt}.logo-container{display:flex;align-items:center;justify-content:center;padding:15px;background:#f8fafc;border-radius:16px;border:2px solid #f1f5f9}.store-logo{max-width:100px;max-height:100px;object-fit:contain;border-radius:8px}.logo-placeholder{width:70px;height:70px;display:flex;align-items:center;justify-content:center;background:#fff;border:2px dashed #cbd5e1;border-radius:12px}.logo-placeholder svg{width:28px;height:28px;color:#94a3b8}.report-title-section{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;padding:0 5px}.title-wrapper{display:flex;align-items:center;gap:15px}.title-badge{background:#0f172a;color:#fff;font-family:Outfit,sans-serif;font-size:7pt;font-weight:700;padding:6px 12px;border-radius:20px;letter-spacing:.1em;text-transform:uppercase}.report-title-text{font-family:Outfit,sans-serif;font-size:20pt;font-weight:800;color:#0f172a;letter-spacing:-.02em;margin:0}.date-range-wrapper{display:flex;align-items:center;gap:8px;background:#f8fafc;padding:10px 18px;border-radius:25px;border:1px solid #e2e8f0}.date-icon{font-size:11pt}.report-date-range{font-size:9.5pt;color:#475569;font-weight:600;font-family:Inter,sans-serif}.section-divider{height:1px;background:linear-gradient(90deg,transparent,#e2e8f0 20%,#e2e8f0 80%,transparent);margin-bottom:30px}.report-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:40px}.summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:24px;position:relative;display:flex;align-items:center;gap:15px;box-shadow:0 1px 3px #00000005,0 1px 2px #0000000a;transition:transform .2s ease,box-shadow .2s ease}.summary-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000000d}.summary-icon-wrapper{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:#f1f5f9}.summary-icon{font-size:20pt;line-height:1}.summary-content{flex:1;min-width:0}.summary-label{font-family:Inter,sans-serif;font-size:8pt;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}.summary-value{font-family:Outfit,sans-serif;font-size:18pt;font-weight:700;color:#0f172a;letter-spacing:-.02em;line-height:1.2}.summary-accent{position:absolute;top:0;left:0;width:4px;height:100%}.summary-card-1 .summary-icon-wrapper{background:#eff6ff}.summary-card-1 .summary-accent{background:#3b82f6}.summary-card-1 .summary-value{color:#1d4ed8}.summary-card-2 .summary-icon-wrapper{background:#f0fdf4}.summary-card-2 .summary-accent{background:#10b981}.summary-card-2 .summary-value{color:#047857}.summary-card-3 .summary-icon-wrapper{background:#fffbeb}.summary-card-3 .summary-accent{background:#f59e0b}.summary-card-3 .summary-value{color:#b45309}.table-container{background:#fff;border-radius:16px;border:1px solid #e2e8f0;margin-bottom:35px;box-shadow:0 1px 3px #00000005}.report-table{width:100%;border-collapse:separate;border-spacing:0;font-size:9pt}.report-table thead{display:table-header-group;background:#f8fafc}.report-table th{font-family:Outfit,sans-serif;color:#475569;font-size:8pt;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:16px 20px;text-align:left;border-bottom:2px solid #e2e8f0;background:#f8fafc;white-space:normal;word-break:break-word}.th-content{display:inline-flex;align-items:center;gap:6px}.report-table td{padding:14px 20px;color:#334155;border-bottom:1px solid #f1f5f9;vertical-align:middle;font-weight:400}.td-content{display:inline-block;padding:4px 0}.report-table tbody tr{transition:background-color .15s ease}.report-table tbody tr:hover{background:#f8fafc}.row-even{background:#fff}.row-odd{background:#fafafa}.report-table tbody tr:last-child td{border-bottom:none}.text-right{text-align:right!important}.text-center{text-align:center!important}.font-bold{font-weight:600;color:#0f172a}.text-emerald{color:#059669!important}.text-rose{color:#e11d48!important}.text-blue{color:#2563eb!important}.text-amber{color:#d97706!important}.report-footer{margin-top:auto;padding-top:30px}.footer-content{text-align:center}.footer-line{height:1px;background:linear-gradient(90deg,transparent,#e2e8f0 30%,#e2e8f0 70%,transparent);margin-bottom:20px}.footer-text{font-size:8.5pt;color:#64748b;margin:0 0 8px;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.footer-brand{font-weight:700;color:#0f172a;font-family:Outfit,sans-serif}.footer-separator{color:#cbd5e1;font-size:6pt;vertical-align:middle}.footer-timestamp{font-size:7.5pt;color:#94a3b8;margin:0;font-style:italic}@media print{@page{size:A4;margin:0}body{margin:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff}.report-print-container{padding:15mm 20mm;width:100%;margin:0;box-shadow:none;min-height:auto;height:auto;break-inside:auto;page-break-after:auto}.summary-card:hover,.report-table tbody tr:hover{transform:none!important;background:inherit!important}.top-accent-bar{position:fixed;top:0}.report-table thead{display:table-header-group}.report-table tbody tr,.summary-card{page-break-inside:avoid;break-inside:avoid-page}.report-header,.report-summary-grid{break-inside:avoid-page}.table-container{overflow:visible}.report-footer{break-inside:avoid-page;break-before:auto}.watermark-container{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;display:block!important;visibility:visible!important}}@media screen and (max-width:220mm){.report-print-container{width:100%;padding:15mm}}.stock-transfer-form{max-width:900px;margin:0 auto;padding:20px;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a}.stock-transfer-form h2{margin-bottom:20px;color:#333;border-bottom:2px solid #007bff;padding-bottom:10px}.stock-transfer-form h3{margin:20px 0 15px;color:#555}.form-section{margin-bottom:25px}.form-row{display:flex;gap:20px;margin-bottom:15px}.form-group{flex:1}.form-group label{display:block;margin-bottom:5px;font-weight:600;color:#555}.form-control{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px}.form-control:disabled{background:#f5f5f5;cursor:not-allowed}textarea.form-control{resize:vertical}.error-message{background:#f8d7da;color:#721c24;padding:10px 15px;border-radius:4px;margin-bottom:15px}.items-section{margin:25px 0;padding:15px;background:#f8f9fa;border-radius:6px}.add-item-row{display:flex;gap:10px;margin-bottom:15px;align-items:flex-end}.product-select{flex:3}.quantity-input{flex:1;max-width:100px}.items-table{width:100%;border-collapse:collapse;background:#fff;border-radius:4px;overflow:hidden}.items-table th,.items-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #dee2e6}.items-table th{background:#e9ecef;font-weight:600;color:#495057}.items-table td .quantity-input{width:80px}.items-table tfoot{background:#f8f9fa;font-weight:600}.form-actions{display:flex;gap:15px;margin-top:25px;padding-top:20px;border-top:1px solid #dee2e6}.btn{padding:10px 20px;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:#007bff;color:#fff}.btn-primary:hover:not(:disabled){background:#0056b3}.btn-success{background:#28a745;color:#fff}.btn-success:hover:not(:disabled){background:#218838}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover:not(:disabled){background:#545b62}.btn-danger{background:#dc3545;color:#fff}.btn-danger:hover:not(:disabled){background:#c82333}.btn-outline{background:transparent;color:#6c757d;border:1px solid #6c757d}.btn-outline:hover:not(:disabled){background:#6c757d;color:#fff}.btn-sm{padding:5px 10px;font-size:12px}.transfer-list{padding:20px}.transfer-list h2{margin-bottom:20px;color:#333}.filter-tabs{display:flex;gap:5px;margin-bottom:20px}.filter-tab{padding:8px 16px;border:1px solid #dee2e6;background:#fff;cursor:pointer;border-radius:4px}.filter-tab.active{background:#007bff;color:#fff;border-color:#007bff}.transfers-table{width:100%;border-collapse:collapse}.transfers-table th,.transfers-table td{padding:12px;text-align:left;border-bottom:1px solid #dee2e6}.transfers-table th{background:#f8f9fa;font-weight:600}.transfers-table tr:hover{background:#f8f9fa}.status-badge{padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}.status-draft{background:#fff3cd;color:#856404}.status-requested{background:#e2e8f0;color:#475569;border:1px solid #cbd5e1}.status-sent{background:#d1ecf1;color:#0c5460}.status-received{background:#d4edda;color:#155724}.status-partial{background:#fff3cd;color:#856404}.status-cancelled{background:#f8d7da;color:#721c24}.receipt-form{max-width:800px;margin:0 auto;padding:20px}.receipt-item{display:flex;align-items:center;gap:15px;padding:15px;margin-bottom:10px;background:#f8f9fa;border-radius:6px}.receipt-item .product-info{flex:2}.receipt-item .quantity-inputs{display:flex;gap:10px}.receipt-item .quantity-inputs input{width:100px}.variance-display{font-weight:600;padding:5px 10px;border-radius:4px}.variance-ok{background:#d4edda;color:#155724}.variance-warning{background:#fff3cd;color:#856404}.variance-error{background:#f8d7da;color:#721c24}.price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-top:15px;padding:15px;background:#fff;border:1px solid #eef0f2;border-radius:12px;box-shadow:inset 0 2px 4px #00000005}.price-group{display:flex;flex-direction:column;gap:6px}.price-label{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#64748b;display:flex;align-items:center;gap:4px}.price-label.purchase{color:#f59e0b}.price-label.sell{color:#3b82f6}.price-input-wrapper{position:relative;display:flex;align-items:center}.price-input{width:100%;padding:8px 12px;font-size:13px;font-weight:700;color:#1e293b;background:#f8fafc;border:2px solid #e2e8f0;border-radius:8px;transition:all .2s cubic-bezier(.4,0,.2,1);outline:none}.price-input:focus{background:#fff;border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f61a}.price-input:hover{border-color:#cbd5e1}.receipt-item{display:flex;flex-direction:column;align-items:stretch!important;gap:8px;padding:20px;margin-bottom:16px;background:#fafbfc;border:1px solid #f1f3f5;border-radius:16px;box-shadow:0 4px 12px #00000008}.receipt-item-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.receipt-item .product-info h4{margin:0;font-size:14px;font-weight:800;color:#1a202c}.receipt-item .product-info p{margin:2px 0 0;font-size:11px;font-weight:600;color:#718096;text-transform:uppercase;letter-spacing:.05em}.stock-transfer-template{width:210mm;min-height:297mm;margin:0 auto;padding:10mm;background:#fff;color:#1a1a1a;font-family:Segoe UI,Arial,sans-serif;font-size:10px;line-height:1.3;box-sizing:border-box;position:relative;display:flex;flex-direction:column}.invoice-header{display:flex;justify-content:space-between;align-items:flex-start;border:2px solid #333;padding:12px;margin-bottom:15px;width:100%;box-sizing:border-box}.transfer-title{display:flex;justify-content:center;align-items:center;font-size:16px;font-weight:900;color:#1a1a1a;text-align:center;padding:10px 0;border-top:1px solid #eee;border-bottom:2px solid #333;margin-bottom:15px;text-transform:uppercase;letter-spacing:1px}.header-left,.header-right{flex:1;min-width:0}.header-center{flex:0 0 auto;display:flex;align-items:center;justify-content:center;padding:0 15px}.store-name-en,.store-name-ar{font-size:18px;font-weight:700;color:#1a1a1a;margin:0 0 6px;line-height:1.3}.store-name-en{word-wrap:break-word;overflow-wrap:break-word;max-width:100%;white-space:normal}.store-name-ar{text-align:right;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif;unicode-bidi:embed;word-wrap:break-word;overflow-wrap:break-word;max-width:100%}.address-en,.address-ar{font-size:9px;color:#333;margin:0 0 6px;line-height:1.3;word-wrap:break-word}.address-ar{text-align:right;font-family:Noto Naskh Arabic,Amiri,Traditional Arabic,serif;unicode-bidi:embed}.detail-line{margin:3px 0;font-size:9px;line-height:1.3}.detail-line .label{font-weight:600;color:#333}.store-logo{max-width:80px;max-height:80px;object-fit:contain}.stock-transfer-template .info-section{display:flex;margin-bottom:15px;border:1px solid #ddd;width:100%;box-sizing:border-box}.stock-transfer-template .store-info{flex:1;min-width:0}.stock-transfer-template .source-info{border-right:1px solid #ddd}.stock-transfer-template .info-row{display:flex;align-items:stretch;border-bottom:1px solid #ddd;min-height:28px;width:100%}.stock-transfer-template .info-row:last-child{border-bottom:none}.stock-transfer-template .info-row .label{flex:0 0 100px;background-color:#f9f9f9;padding:6px 8px;font-weight:600;font-size:9px;text-align:left;border-right:1px solid #ddd;box-sizing:border-box;display:flex;align-items:center}.stock-transfer-template .info-row .value{flex:1;padding:6px 10px;text-align:center;font-weight:700;font-size:10px;min-width:0;white-space:normal;word-break:break-word;display:flex;align-items:center}.stock-transfer-template .info-row .label-ar{flex:0 0 80px;background-color:#f9f9f9;padding:6px 8px;font-weight:600;font-size:9px;text-align:right;box-sizing:border-box;border-left:1px solid #ddd;display:flex;align-items:center}.items-section{margin-bottom:15px;width:100%}.items-table{width:100%;border-collapse:collapse;font-size:9px;table-layout:fixed}.items-table thead{background:#f0f0f0}.items-table th{padding:8px 4px;border:1px solid #ccc;text-align:center;font-weight:600;vertical-align:middle}.items-table th span{display:block;line-height:1.2}.items-table th span[dir=rtl]{font-size:8px;color:#555;margin-top:2px}.items-table td{padding:6px 4px;border:1px solid #ccc;vertical-align:middle;line-height:1.2}.items-table tbody tr:nth-child(2n){background:#f9f9f9}.col-num{width:5%;text-align:center}.col-code{width:12%;text-align:center}.col-item{width:35%;text-align:left;padding-left:8px}.col-qty{width:10%;text-align:center}.col-price{width:13%;text-align:right;padding-right:8px}.col-total{width:15%;text-align:right;padding-right:8px;font-weight:600}.product-name{display:block;font-weight:600;font-size:10px}.footer-block{width:100%;box-sizing:border-box;margin-top:auto}.summary-section{display:flex;justify-content:flex-end;margin-bottom:20px}.summary-box{width:300px;border:2px solid #333}.summary-row{display:flex;justify-content:space-between;align-items:center;padding:6px 10px;border-bottom:1px solid #eee}.summary-label{display:flex;flex-direction:column;font-size:9px;line-height:1.2}.summary-label span[dir=rtl]{font-size:8px;color:#666}.summary-value{font-weight:700;font-size:11px}.summary-row.grand-total{border-bottom:none;background:#f9f9f9;border-top:1px solid #333}.summary-row.grand-total .summary-value{font-size:13px;color:#000}.notes-section{border:1px solid #ddd;padding:10px;margin-top:20px}.notes-title{font-weight:700;font-size:11px;margin-bottom:5px;border-bottom:1px solid #eee}.signature-section{display:flex;justify-content:space-between;margin-top:50px;padding:0 40px}.signature-box{text-align:center;width:150px}.signature-line{border-top:1px solid #333;margin-bottom:5px}.signature-label{font-size:10px;font-weight:600}@media print{@page{size:A4;margin:10mm}.stock-transfer-template{display:block!important;margin:0;padding:0;width:100%}.watermark-container{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;display:block!important;visibility:visible!important}}
