:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0}body{color:#111827;background:#f5f6f8;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif}button,input,textarea,select{font:inherit}button{border:0}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:2px solid #111827}.app{background:#f5f6f8;min-height:100vh;display:flex}.sidebar{color:#fff;background:#111827;flex-direction:column;align-self:flex-start;width:220px;min-width:220px;min-height:100vh;padding:24px 14px;display:flex;position:sticky;top:0}.logo{letter-spacing:3px;color:#fff;justify-content:center;align-items:center;height:48px;margin-bottom:28px;font-size:24px;font-weight:800;display:flex}.sidebar nav{flex-direction:column;gap:6px;display:flex}.nav-item{color:#d1d5db;text-align:left;cursor:pointer;background:0 0;border-radius:8px;width:100%;padding:11px 14px;font-size:14px;transition:background .15s,color .15s}.nav-item:hover{color:#fff;background:#1f2937}.nav-item.active{color:#111827;background:#fff}.main{flex-direction:column;flex:1;min-width:0;min-height:100vh;display:flex}.topbar{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:72px;min-height:72px;padding:0 32px;display:flex}.topbar h1{color:#111827;margin:0;font-size:20px;font-weight:600}.content{width:100%;max-width:1500px;margin:0 auto;padding:30px 32px 50px}.page-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;display:flex}.page-header h2{color:#111827;margin:0;font-size:22px;font-weight:650}.page-header p{color:#6b7280;margin:6px 0 0;font-size:13px}.header-actions{align-items:center;gap:10px;display:flex}.product-count{color:#6b7280;white-space:nowrap;font-size:13px}.toolbar{align-items:center;margin-bottom:18px;display:flex}.search-input{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;max-width:460px;height:42px;padding:0 13px;font-size:13px;transition:border-color .15s,box-shadow .15s}.search-input::placeholder{color:#9ca3af}.search-input:focus{border-color:#9ca3af;outline:none;box-shadow:0 0 0 3px #1118270f}.primary-button,.secondary-button,.danger-button{cursor:pointer;border-radius:8px;padding:9px 14px;font-size:13px;transition:background .15s,border-color .15s,color .15s,opacity .15s}.primary-button{color:#fff;background:#111827;border:1px solid #111827}.primary-button:hover{background:#000;border-color:#000}.secondary-button{color:#111827;background:#fff;border:1px solid #d1d5db}.secondary-button:hover{background:#f3f4f6}.danger-button{color:#b91c1c;background:#fee2e2;border:1px solid #fecaca}.danger-button:hover{background:#fecaca}.primary-button:disabled,.secondary-button:disabled,.danger-button:disabled{opacity:.5;cursor:not-allowed}.products-table{background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:100%;overflow:hidden}.table-header,.product-row{grid-template-columns:minmax(230px,2fr) minmax(100px,.8fr) minmax(100px,.8fr) minmax(150px,1fr) minmax(90px,.7fr) minmax(150px,1fr);align-items:center;display:grid}.table-header{color:#6b7280;background:#f9fafb;border-bottom:1px solid #e5e7eb;min-height:48px;padding:0 18px;font-size:12px;font-weight:600}.product-row{color:#374151;border-bottom:1px solid #f0f1f3;min-height:76px;padding:10px 18px;font-size:13px;transition:background .12s}.product-row:last-child{border-bottom:none}.product-row:hover{background:#fafafa}.product-name{align-items:center;gap:12px;min-width:0;display:flex}.product-name img,.product-placeholder{background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex:0 0 48px;width:48px;height:48px}.product-name img{object-fit:contain}.product-placeholder{color:#9ca3af;justify-content:center;align-items:center;font-size:14px;display:flex}.product-name>div:last-child{flex-direction:column;gap:4px;min-width:0;display:flex}.product-name strong{color:#111827;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.product-name small{color:#9ca3af;font-size:11px}.code{color:#4b5563;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px}.price-button{color:#111827;cursor:pointer;background:0 0;border-radius:6px;width:fit-content;padding:6px 8px;font-size:13px;transition:background .15s}.price-button:hover{background:#f3f4f6}.status{cursor:pointer;border-radius:999px;width:fit-content;padding:5px 9px;font-size:11px;font-weight:600;transition:background .15s,color .15s}.active-status{color:#166534;background:#dcfce7}.active-status:hover{background:#bbf7d0}.inactive-status{color:#6b7280;background:#f3f4f6}.inactive-status:hover{background:#e5e7eb}.row-actions{align-items:center;gap:7px;display:flex}.edit-button,.delete-button{cursor:pointer;border-radius:6px;padding:6px 9px;font-size:12px;transition:background .15s,color .15s}.edit-button{color:#374151;background:#f3f4f6}.edit-button:hover{background:#e5e7eb}.delete-button{color:#b91c1c;background:#fef2f2}.delete-button:hover{background:#fee2e2}.message-card{color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:12px;justify-content:center;align-items:center;min-height:140px;padding:24px;font-size:13px;display:flex}.message-card.error{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.empty-state{text-align:center;color:#9ca3af;padding:50px 20px;font-size:13px}.editor-section{background:#fafafa;border:1px solid #e5e7eb;border-radius:12px;margin-top:24px;padding:20px}.editor-section-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;display:flex}.editor-section-header h3{color:#111827;margin:0;font-size:16px}.editor-section-header p{color:#6b7280;margin:5px 0 0;font-size:13px}.specifications-list{flex-direction:column;gap:10px;display:flex}.specification-row{grid-template-columns:minmax(160px,1fr) minmax(220px,2fr) 36px;align-items:center;gap:10px;display:grid}.specification-row input{box-sizing:border-box;width:100%}.compatibility-list{flex-direction:column;gap:14px;display:flex}.compatibility-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:16px}.compatibility-card-header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.compatibility-card-header strong{color:#111827;font-size:14px}.danger-text-button{color:#b91c1c;cursor:pointer;background:0 0;border:none;padding:4px 6px;font-size:12px}.danger-text-button:hover{text-decoration:underline}.compatibility-basic-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.compatibility-tags-grid{grid-template-columns:1fr 1fr;gap:12px;margin-top:12px;display:grid}.compatibility-tags-field{flex-direction:column;gap:7px;display:flex}.compatibility-tags-field>label{color:#374151;font-size:13px;font-weight:500}.tag-input-container{background:#fff;border:1px solid #d1d5db;border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px;min-height:42px;padding:6px 8px;display:flex}.tag-input-container:focus-within{border-color:#9ca3af}.tag-input-container input{background:0 0;border:none;outline:none;flex:1;min-width:100px;padding:5px 3px}.value-tag{color:#111827;background:#f3f4f6;border-radius:6px;align-items:center;gap:5px;padding:5px 8px;font-size:12px;display:inline-flex}.value-tag button{color:#6b7280;cursor:pointer;background:0 0;border:none;width:16px;height:16px;padding:0;line-height:1}.value-tag button:hover{color:#111827}.danger-icon-button{color:#b91c1c;cursor:pointer;background:#fee2e2;border:none;border-radius:7px;width:32px;height:32px;font-size:20px;line-height:1}.danger-icon-button:hover{background:#fecaca}.product-image-editor{align-items:flex-start;gap:20px;display:flex}.product-image-preview,.product-image-empty{background:#fff;border:1px solid #e5e7eb;border-radius:10px;justify-content:center;align-items:center;width:180px;height:180px;display:flex;overflow:hidden}.product-image-preview img{object-fit:contain;width:100%;height:100%}.product-image-empty{color:#9ca3af;font-size:13px}.product-image-actions{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.form-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-top:16px;padding:10px 12px;font-size:13px}.form-group{flex-direction:column;gap:7px;display:flex}.form-group label{color:#374151;font-size:13px;font-weight:500}.form-group-checkbox{justify-content:flex-start}.checkbox-label{cursor:pointer;align-items:center;gap:8px;flex-direction:row!important;display:flex!important}.checkbox-label input{width:auto}.form-group input,.form-group textarea,.form-group select{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;font-size:13px}.form-group input,.form-group select{height:42px;padding:0 11px}.form-group textarea{resize:vertical;min-height:100px;padding:10px 11px}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{border-color:#9ca3af;outline:none;box-shadow:0 0 0 3px #1118270d}.modal-backdrop{z-index:1000;background:#00000073;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0;overflow-y:auto}.product-modal{background:#fff;border-radius:14px;flex-direction:column;width:min(900px,100%);max-height:calc(100vh - 48px);display:flex;overflow:hidden;box-shadow:0 20px 50px #0003}.modal-header{border-bottom:1px solid #e5e7eb;flex-shrink:0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-header h2{color:#111827;margin:0;font-size:20px}.modal-header p{color:#6b7280;margin:4px 0 0;font-size:12px}.modal-close{color:#374151;cursor:pointer;background:#f3f4f6;border:none;border-radius:7px;width:34px;height:34px;font-size:22px}.modal-close:hover{background:#e5e7eb}.product-form{padding:0 24px 24px;overflow-y:auto}.modal-footer{background:#fff;border-top:1px solid #e5e7eb;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:18px;display:flex;position:sticky;bottom:0}.product-form-grid{grid-template-columns:1fr 1fr;gap:16px;padding-top:24px;display:grid}.product-form-grid .full-width{grid-column:1/-1}@media (width<=1050px){.sidebar{width:190px;min-width:190px}.content{padding-left:22px;padding-right:22px}.table-header,.product-row{grid-template-columns:minmax(200px,2fr) minmax(90px,.8fr) minmax(90px,.8fr) minmax(130px,1fr) minmax(80px,.7fr) minmax(130px,1fr)}.row-actions{flex-direction:column;align-items:stretch}.edit-button,.delete-button{width:100%}}@media (width<=760px){.app{flex-direction:column}.sidebar{width:100%;min-width:100%;min-height:auto;padding:12px 16px;position:static}.logo{justify-content:flex-start;height:36px;margin-bottom:8px}.sidebar nav{flex-direction:row;overflow-x:auto}.nav-item{text-align:center;width:auto;min-width:100px}.topbar{gap:12px;height:auto;min-height:64px;padding:12px 16px}.topbar h1{font-size:18px}.content{padding:20px 16px 40px}.page-header{flex-direction:column;align-items:flex-start}.header-actions{justify-content:space-between;width:100%}.toolbar{width:100%}.search-input{max-width:none}.table-header{display:none}.product-row{grid-template-columns:1fr 1fr;gap:12px;padding:16px;display:grid}.product-name{border-bottom:1px solid #f0f1f3;grid-column:1/-1;padding-bottom:6px}.product-row>span:nth-child(2):before{content:"برند: ";color:#9ca3af}.product-row>.code:before{content:"کد: ";color:#9ca3af}.price-button:before{content:"قیمت: ";color:#9ca3af}.status:before{content:"وضعیت: ";color:#9ca3af}.row-actions{flex-direction:row;grid-column:1/-1;justify-content:flex-end;padding-top:6px}.edit-button,.delete-button{width:auto}.product-form-grid{grid-template-columns:1fr}.product-form-grid .full-width{grid-column:auto}.modal-backdrop{padding:0}.product-modal{border-radius:0;width:100%;height:100%;max-height:100vh}.product-form{padding:0 16px 20px}.modal-header{padding:16px}.editor-section{padding:14px}.editor-section-header{flex-direction:column;align-items:flex-start}.specification-row,.compatibility-basic-grid,.compatibility-tags-grid{grid-template-columns:1fr}.product-image-editor{flex-direction:column}.product-image-preview,.product-image-empty{width:150px;height:150px}.modal-footer{flex-wrap:wrap}}@media (width<=480px){.topbar{flex-direction:column;align-items:flex-start}.topbar .primary-button{width:100%}.header-actions{flex-direction:column;align-items:flex-start}.header-actions .secondary-button{width:100%}.product-row{grid-template-columns:1fr}.product-name{grid-column:auto}.row-actions{grid-column:auto;justify-content:stretch}.edit-button,.delete-button{flex:1}}.form-grid{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;display:grid}.form-grid .form-group{min-width:0}.customers-table{background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:100%;overflow:hidden}.customer-table-header,.customer-row{grid-template-columns:minmax(220px,2fr) minmax(110px,.9fr) minmax(130px,1fr) minmax(160px,1.2fr) minmax(90px,.7fr) minmax(150px,1fr);align-items:center;display:grid}.customer-table-header{color:#6b7280;background:#f9fafb;border-bottom:1px solid #e5e7eb;min-height:48px;padding:0 18px;font-size:12px;font-weight:600}.customer-row{color:#374151;border-bottom:1px solid #f0f1f3;min-height:76px;padding:10px 18px;font-size:13px;transition:background .12s}.customer-row:last-child{border-bottom:none}.customer-row:hover{background:#fafafa}.customer-name{flex-direction:column;gap:5px;min-width:0;display:flex}.customer-name strong{color:#111827;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.customer-name small{color:#9ca3af;font-size:11px}.customer-contact{flex-direction:column;gap:4px;min-width:0;display:flex}.customer-contact span{color:#4b5563;text-align:left;direction:ltr;font-size:12px}.customer-modal{background:#fff;border-radius:14px;flex-direction:column;width:min(900px,100%);max-height:calc(100vh - 48px);display:flex;overflow:hidden;box-shadow:0 20px 50px #0003}.customer-form{padding:0 24px 24px;overflow-y:auto}.customer-mobile-list{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.customer-mobile-row{background:#fff;border:1px solid #e5e7eb;border-radius:10px;grid-template-columns:minmax(140px,.8fr) minmax(180px,1.2fr) auto;align-items:end;gap:10px;padding:12px;display:grid}.customer-mobile-row .delete-button{height:42px}.customer-brand-box{box-sizing:border-box;background:#f9fafb;border:1px solid #d1d5db;border-radius:10px;width:100%;height:220px;padding:12px;overflow-y:scroll}.customer-brand-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.customer-brand-option{box-sizing:border-box;color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:9px;align-items:center;gap:9px;min-height:54px;padding:9px 11px;font-size:13px;display:flex}.customer-brand-option:hover{background:#f3f4f6}.customer-brand-option.selected{color:#fff;background:#111827;border-color:#111827}.customer-brand-option img{object-fit:contain;flex:0 0 28px;width:28px;height:28px}.customer-brand-option span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.customer-brand-box::-webkit-scrollbar{width:8px}.customer-brand-box::-webkit-scrollbar-track{background:#e5e7eb;border-radius:8px}.customer-brand-box::-webkit-scrollbar-thumb{background:#9ca3af;border-radius:8px}.customer-brand-box::-webkit-scrollbar-thumb:hover{background:#6b7280}@media (width<=760px){.customer-brand-grid{grid-template-columns:repeat(2,1fr)}.customer-brand-box{height:200px}}@media (width<=480px){.customer-brand-grid{grid-template-columns:1fr}.customer-brand-box{height:200px}}.section-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.section-header h3{color:#111827;margin:0;font-size:16px}.section-hint{color:#6b7280;font-size:12px}.checkbox-row{cursor:pointer;color:#374151;align-items:center;gap:8px;min-height:42px;font-size:13px;display:flex}.checkbox-row input{width:16px;height:16px;margin:0}.modal-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:18px;display:flex}@media (width<=1050px){.customer-table-header,.customer-row{grid-template-columns:minmax(190px,1.8fr) minmax(100px,.8fr) minmax(110px,1fr) minmax(140px,1.1fr) minmax(80px,.7fr) minmax(120px,1fr)}.customer-row .row-actions{flex-direction:column;align-items:stretch}.customer-row .edit-button,.customer-row .delete-button{width:100%}}@media (width<=760px){.customer-table-header{display:none}.customer-row{grid-template-columns:1fr 1fr;gap:12px;padding:16px;display:grid}.customer-name{border-bottom:1px solid #f0f1f3;grid-column:1/-1;padding-bottom:8px}.customer-row>span:nth-child(2):before{content:"نوع: ";color:#9ca3af}.customer-row>span:nth-child(3):before{content:"مالک: ";color:#9ca3af}.customer-contact:before{content:"تماس: ";color:#9ca3af}.customer-row>.status:before{content:"وضعیت: ";color:#9ca3af}.customer-row .row-actions{flex-direction:row;grid-column:1/-1;justify-content:flex-end;padding-top:6px}.customer-row .edit-button,.customer-row .delete-button{width:auto}.customer-mobile-row{grid-template-columns:1fr}.customer-mobile-row .delete-button{width:100%}.customer-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-form{padding:0 16px 20px}.customer-modal{border-radius:0;width:100%;height:100%;max-height:100vh}.modal-actions{flex-wrap:wrap}}@media (width<=480px){.customer-row{grid-template-columns:1fr}.customer-name{grid-column:auto}.customer-row .row-actions{grid-column:auto;justify-content:stretch}.customer-row .edit-button,.customer-row .delete-button{flex:1}.customer-brand-grid{grid-template-columns:1fr}.section-header{flex-direction:column;align-items:flex-start}.modal-actions .primary-button,.modal-actions .secondary-button{flex:1}}.orders-table{background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:100%;overflow:hidden}.order-table-header,.order-row{grid-template-columns:100px minmax(180px,1.5fr) minmax(140px,1fr) minmax(150px,1fr) 80px minmax(130px,1fr) 170px;align-items:center;display:grid}.order-table-header{color:#6b7280;background:#f9fafb;border-bottom:1px solid #e5e7eb;min-height:48px;padding:0 18px;font-size:12px;font-weight:600}.order-row{color:#374151;border-bottom:1px solid #f0f1f3;min-height:72px;padding:10px 18px;font-size:13px}.order-row:last-child{border-bottom:none}.order-row:hover{background:#fafafa}.invoice-number{color:#111827;font-size:14px}.order-date{direction:rtl}.order-total{color:#111827}.order-row .row-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.order-modal{background:#fff;border-radius:14px;flex-direction:column;width:min(950px,100%);max-height:calc(100vh - 48px);display:flex;overflow:hidden;box-shadow:0 20px 50px #0003}.order-detail{padding:0 24px 24px;overflow-y:auto}.order-customer-info{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.order-customer-info>div{background:#f9fafb;border:1px solid #e5e7eb;border-radius:9px;flex-direction:column;gap:6px;padding:12px;display:flex}.order-customer-info span{color:#9ca3af;font-size:11px}.order-customer-info strong{color:#374151;font-size:13px;font-weight:500}.order-items{border:1px solid #e5e7eb;border-radius:10px;overflow:hidden}.order-item-header,.order-item-row{grid-template-columns:minmax(220px,2fr) 80px minmax(120px,1fr) minmax(100px,.8fr) minmax(120px,1fr);align-items:center;gap:10px;padding:12px 14px;display:grid}.order-item-header{color:#6b7280;background:#f9fafb;border-bottom:1px solid #e5e7eb;font-size:11px;font-weight:600}.order-item-row{color:#374151;border-bottom:1px solid #f0f1f3;min-height:48px;font-size:12px}.order-item-row:last-of-type{border-bottom:none}.order-item-row strong{color:#111827}.order-grand-total{background:#fafafa;border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:16px;display:flex}.order-grand-total span{color:#6b7280;font-size:13px}.order-grand-total strong{color:#111827;font-size:16px}.order-notes{color:#374151;white-space:pre-wrap;background:#f9fafb;border:1px solid #e5e7eb;border-radius:9px;padding:14px;font-size:13px;line-height:1.8}.delete-confirm-modal{background:#fff;border-radius:14px;width:min(460px,100%);overflow:hidden;box-shadow:0 20px 50px #0003}.delete-confirm-content{padding:0 24px 10px}.delete-confirm-content p{color:#374151;margin:0 0 16px;font-size:13px;line-height:1.8}.delete-confirm-content input{box-sizing:border-box;text-align:left;direction:ltr;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;height:44px;padding:0 12px;font-size:14px}.delete-confirm-content input:focus{border-color:#111827}.delete-confirm-error{color:#dc2626;margin-top:8px;font-size:12px}@media (width<=1100px){.order-table-header,.order-row{grid-template-columns:90px minmax(160px,1.4fr) minmax(120px,1fr) minmax(130px,1fr) 65px minmax(110px,1fr) 150px}}@media (width<=850px){.order-table-header{display:none}.order-row{grid-template-columns:1fr 1fr;gap:10px;padding:16px}.invoice-number{border-bottom:1px solid #f0f1f3;grid-column:1/-1;padding-bottom:8px}.order-row>span:nth-child(2):before{content:"مشتری: ";color:#9ca3af}.order-row>span:nth-child(3):before{content:"مالک: ";color:#9ca3af}.order-row>span:nth-child(4):before{content:"تاریخ: ";color:#9ca3af}.order-row>span:nth-child(5):before{content:"اقلام: ";color:#9ca3af}.order-row>.order-total:before{content:"مبلغ: ";color:#9ca3af}.order-row .row-actions{grid-column:1/-1;justify-content:flex-end;padding-top:6px}.order-customer-info{grid-template-columns:1fr}.order-item-header{display:none}.order-item-row{grid-template-columns:1fr 1fr;padding:14px}.order-item-row span:first-child{border-bottom:1px solid #f0f1f3;grid-column:1/-1;padding-bottom:8px}.order-item-row span:nth-child(2):before{content:"تعداد: ";color:#9ca3af}.order-item-row span:nth-child(3):before{content:"قیمت واحد: ";color:#9ca3af}.order-item-row span:nth-child(4):before{content:"تخفیف: ";color:#9ca3af}.order-item-row strong:before{content:"مبلغ: ";color:#9ca3af}}@media (width<=600px){.order-detail{padding:0 16px 20px}.order-modal{border-radius:0;width:100%;height:100%;max-height:100vh}.delete-confirm-modal{width:100%;margin:16px}}
