@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,saudi_riyal,Segoe UI,Noto Sans Arabic,Arial,Helvetica Neue,sans-serif;font-weight:600}.currency-display{font-family:Segoe UI,Noto Sans Arabic,Inter,Arial,sans-serif;font-variant-numeric:tabular-nums}@supports not (font-variant-numeric: tabular-nums){.currency-symbol:after{content:"SAR";font-family:inherit;font-weight:inherit}.currency-symbol{font-size:0}}@media print{.currency-symbol{font-family:Segoe UI,Noto Sans Arabic,Arial,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}.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}.store-name-ar{font-size:26pt;font-weight:700;color:#000;margin:0 0 10px}.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}.title-ar{font-size:22pt;font-weight:700;font-family:Amiri,serif;margin-bottom:-5px}.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:nowrap;margin-right:15px}.form-label-ar{font-size:13pt;font-weight:700;font-family:Amiri,serif;white-space:nowrap;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}}.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}.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:center;border-bottom:1px solid #ddd;min-height:28px;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:6px 8px;font-weight:600;font-size:9px;text-align:left;border-right:1px solid #ddd;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.invoice-template-2 .info-row .value{flex:1;padding:6px 10px;text-align:center;font-weight:600;font-size:10px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-right:1px solid #ddd}.invoice-template-2 .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:nowrap;overflow:hidden;text-overflow:ellipsis}.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}}@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:8mm;background:#fff;color:#1a1a1a;font-family:Segoe UI,Tahoma,Geneva,Verdana,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:6px;margin-bottom:4px;width:100%;box-sizing:border-box}.header-center{flex:0 0 auto;display:flex;align-items:center;justify-content:center;padding:0 12px}.store-name-en{font-size:13px;font-weight:700;color:#000;margin:0 0 4px;line-height:1.2}.store-name-ar{font-size:13px;font-weight:700;color:#000;margin:0 0 4px;line-height:1.2;text-align:right}.header-row{display:flex;align-items:baseline;margin:2px 0;font-size:8px}.header-value{color:#333}.logo-placeholder{width:80px;height:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:2px solid #333;border-radius:50%;font-size:8px;font-weight:700;color:#333;text-align:center}.logo-placeholder span:first-child{color:#2e7d32;font-size:9px}.invoice-info-section{display:flex;align-items:stretch;margin-bottom:4px;border:1px solid #333;width:100%;box-sizing:border-box;min-height:110px}.invoice-details-box{flex:0 0 38%;border-right:1px solid #333;box-sizing:border-box;display:flex;flex-direction:column}.invoice-title{flex:0 0 37%;border-right:1px solid #333;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;text-align:center;background:#fff}.invoice-title-ar{font-size:14px;font-weight:700;color:#000;margin-bottom:4px}.invoice-title-en{font-size:14px;font-weight:700;color:#000}.qr-section-header{flex:0 0 25%;display:flex;align-items:center;justify-content:center;padding:8px;box-sizing:border-box}.qr-image{width:80px;height:80px;display:block}.qr-placeholder-small{width:80px;height:80px;display:flex;align-items:center;justify-content:center;background:#f5f5f5;border:1px solid #ddd;font-size:10px;color:#999}.info-row,.party-row{display:flex;align-items:center;align-self:auto;border-bottom:1px solid #ddd;min-height:18px;width:100%;flex:1}.info-row:last-child,.party-row:last-child{border-bottom:none}.info-row .label,.party-row .label{flex:0 0 65px;padding:2px 5px;font-weight:600;font-size:8px;text-align:left;border-right:1px solid #ddd;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.info-row .value,.party-row .value{flex:1;padding:2px 6px;text-align:left;font-size:9px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-right:1px solid #ddd}.info-row .label-ar,.party-row .label-ar{flex:0 0 50px;padding:2px 5px;font-weight:600;font-size:8px;text-align:right;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.parties-section{display:flex;margin-bottom:4px;border:1px solid #333;width:100%;box-sizing:border-box;table-layout:fixed}.party-box{flex:0 0 50%;width:50%;max-width:50%;min-width:50%;box-sizing:border-box;overflow:hidden}.seller-box{border-right:1px solid #333}.customer-box{flex-shrink:0}.party-title{display:flex;justify-content:space-between;align-items:center;background:#f0f0f0;padding:3px 6px;border-bottom:1px solid #333;font-weight:700;font-size:9px}.party-row{display:flex;align-items:center;border-bottom:1px solid #ddd;min-height:18px;width:100%;overflow:hidden}.party-row:last-child{border-bottom:none}.party-row .label{flex:0 0 65px;padding:2px 5px;font-weight:600;font-size:8px;text-align:left;border-right:1px solid #ddd;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.party-row .value{flex:1;padding:2px 6px;text-align:left;font-size:9px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-right:1px solid #ddd}.party-row .label-ar{flex:0 0 50px;padding:2px 5px;font-weight:600;font-size:8px;text-align:right;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.items-section{margin-bottom:4px;width:100%}.items-table{width:100%;border-collapse:collapse;font-size:8px;table-layout:fixed;border:1px solid #333}.items-table th{padding:4px 2px;border:1px solid #333;text-align:center;font-weight:600;vertical-align:middle;line-height:1.2}.items-table th span[dir=rtl]{font-size:7px;color:#555;margin-top:1px}.items-table td{padding:3px 2px;border:1px solid #333;vertical-align:middle;line-height:1.2}.col-num{width:4%;text-align:center}.col-item{width:28%;text-align:left;padding-left:4px}.col-unit{width:8%;text-align:center}.col-price{width:11%;text-align:right;padding-right:4px}.col-qty{width:8%;text-align:center}.col-taxable{width:13%;text-align:right;padding-right:4px}.col-vat{width:11%;text-align:right;padding-right:4px}.col-total{width:13%;text-align:right;padding-right:4px;font-weight:600}.product-name{display:block;font-weight:500;font-size:8px;line-height:1.2}.end-of-invoice{text-align:center;font-size:8px;font-weight:700;color:#333;margin:4px 0;letter-spacing:1px}.summary-section{border:1px solid #333;width:100%;box-sizing:border-box;margin-top:0}.summary-row{display:flex;align-items:center;border-bottom:1px solid #ddd;min-height:14px;width:100%;border-top:1px solid #333}.summary-row .label{flex:0 0 180px;padding:2px 6px;font-weight:600;font-size:8px;text-align:left;border-right:1px solid #ddd;box-sizing:border-box}.summary-row .value{flex:0 0 80px;padding:2px 6px;text-align:center;font-weight:700;font-size:9px;color:#000;border-right:1px solid #ddd}.summary-row .label-ar{flex:1;padding:2px 6px;font-weight:600;font-size:8px;text-align:right;box-sizing:border-box}.summary-row.bold-row{background:#f5f5f5}.summary-row.bold-row .label,.summary-row.bold-row .label-ar{font-weight:700;font-size:9px}.summary-row.highlight-row{background:#fafafa}.summary-row.highlight-row .value{font-size:10px;font-weight:800}.summary-row.amount-in-words{justify-content:center;background:#f9f9f9;border-top:1px solid #ccc;border-bottom:1px solid #ccc;min-height:16px}.summary-row.amount-in-words .value-center{font-size:9px;font-weight:700;padding:2px 8px}.summary-row.signature-row{display:flex;border-bottom:1px solid #ddd;min-height:28px}.signature-box{flex:0 0 180px;display:flex;flex-direction:column;border-right:1px solid #ddd;padding:2px 6px}.sig-label{font-size:7px;color:#666;border-bottom:1px solid #ccc;padding-bottom:1px;margin-bottom:1px}.sig-name{font-size:8px;font-weight:600;text-align:center;padding-top:2px}.notes-box{flex:1;padding:2px 6px}.notes-label{font-size:7px;color:#666;border-bottom:1px solid #ccc;display:block;padding-bottom:1px;text-align:right}.summary-row.notes-text{display:flex;justify-content:space-between;padding:2px 6px;font-size:7.5px;color:#333;background:#f5f5f5;min-height:18px}.notes-en{flex:1;text-align:left}.notes-ar{flex:1;text-align:right}.page-number{text-align:right;padding:2px 6px;font-size:8px;font-weight:700;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;box-shadow:none;margin:0;padding:0;width:100%;min-height:auto;height:auto;overflow:visible}.summary-section{break-inside:avoid!important;page-break-inside:avoid!important}.invoice-header,.invoice-info-section,.parties-section{break-inside:avoid;page-break-inside:avoid}.items-table tbody tr{page-break-inside:auto;break-inside:auto}.items-table thead{display:table-header-group}}.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}.company-info-row{display:flex;justify-content:flex-end;align-items:center;margin:3px 0;font-size:10px}.info-label-ar{margin-left:5px;font-weight:400}.info-value{font-weight:400}.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 thead{background:#f5f5f5}.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}}@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: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-5 .info-section{display:flex;margin-bottom:15px;border:1px solid #ddd;width:100%;box-sizing:border-box}.invoice-template-5 .customer-info,.invoice-template-5 .invoice-info{flex:1;min-width:0}.invoice-template-5 .customer-info{border-right:1px solid #ddd}.invoice-template-5 .info-row{display:flex;align-items:center;border-bottom:1px solid #ddd;min-height:28px;width:100%}.invoice-template-5 .info-row:last-child{border-bottom:none}.invoice-template-5 .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:nowrap;overflow:hidden;text-overflow:ellipsis}.invoice-template-5 .info-row .value{flex:1;padding:6px 10px;text-align:center;font-weight:600;font-size:10px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-right:1px solid #ddd}.invoice-template-5 .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:nowrap;overflow:hidden;text-overflow:ellipsis}@media print{@page{size:A4;margin:10mm}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{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}}@media screen{.invoice-template-5{box-shadow:0 0 20px #0000001a;margin:20px 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:center;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:nowrap;overflow:hidden;text-overflow:ellipsis}.invoice-template-6 .info-row .value{flex:1;padding:6px 10px;text-align:center;font-weight:600;font-size:10px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-right:1px solid #ddd}.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:nowrap;overflow:hidden;text-overflow:ellipsis}@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}}@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:center;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:nowrap;overflow:hidden;text-overflow:ellipsis}.invoice-template-7 .info-row .value{flex:1;padding:6px 10px;text-align:center;font-weight:600;font-size:10px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-right:1px solid #ddd}.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:nowrap;overflow:hidden;text-overflow:ellipsis}@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}}@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-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}.invoice-title{display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:700;color:#1a1a1a;text-align:center;padding-bottom:5px}.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.2}.store-name-ar{text-align:right}.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}.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}.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:center;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:nowrap;overflow:hidden;text-overflow:ellipsis}.invoice-template-8 .info-row .value{flex:1;padding:6px 10px;text-align:center;font-weight:600;font-size:10px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-right:1px solid #ddd}.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:nowrap;overflow:hidden;text-overflow:ellipsis}.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;line-height:1.2}.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.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-qty{width:10%;text-align:center}.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:nowrap;overflow:hidden;text-overflow:ellipsis}.store-name-en,.detail-line,.product-name{white-space:nowrap}.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}}@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}.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,serif}.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;overflow:hidden;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;overflow:hidden;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:nowrap}.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}tr{page-break-inside:auto;break-inside:auto}.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}}@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-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}
