@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap);*{box-sizing:border-box;padding:0}*,body{margin:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f8f9fa;color:#333;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5}#root,body,html{height:100%}code{background-color:#f5f5f5;border-radius:3px;font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:.9em;padding:.2rem .4rem}.text-center{text-align:center}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}button{cursor:pointer}.btn{border:1px solid #0000;border-radius:.25rem;display:inline-block;font-size:1rem;font-weight:500;line-height:1.5;padding:.5rem 1rem;text-align:center;transition:all .2s ease-in-out;-webkit-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.btn-primary{background-color:#4a90e2;border-color:#4a90e2;color:#fff}.btn-primary:hover{background-color:#3a80d2;border-color:#3a80d2}.btn-secondary{background-color:#6c757d;border-color:#6c757d;color:#fff}.btn-secondary:hover{background-color:#5a6268;border-color:#5a6268}.form-control{background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;display:block;font-size:1rem;line-height:1.5;padding:.5rem .75rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:100%}.form-control,.form-control:focus{background-color:#fff;color:#495057}.form-control:focus{border-color:#a1c6f1;box-shadow:0 0 0 .2rem #4a90e240;outline:0}.app-header{background-color:#fff;box-shadow:0 2px 4px #00000014;position:sticky;top:0;z-index:100}.header-content{justify-content:space-between;margin:0 auto;max-width:1400px;padding:1rem 1.5rem}.header-content,.header-left{align-items:center;display:flex}.header-title{color:#333;font-size:1.25rem;font-weight:600;margin:0}.home-button{align-items:center;background:none;border:none;border-radius:4px;color:#4a90e2;cursor:pointer;display:flex;font-weight:500;margin-right:1rem;padding:.5rem;transition:background-color .2s}.home-button:hover{background-color:#4a90e21a}.home-button svg{margin-right:.5rem}.header-right{align-items:center;display:flex}.user-menu{position:relative}.user-button{align-items:center;background:none;border:none;border-radius:4px;cursor:pointer;display:flex;padding:.25rem;transition:background-color .2s}.user-button:hover{background-color:#f5f5f5}.user-avatar{align-items:center;background-color:#4a90e2;border-radius:50%;color:#fff;display:flex;font-weight:700;height:32px;justify-content:center;margin-right:.5rem;width:32px}.user-name{color:#333;font-weight:500}@media (max-width:768px){.header-content{padding:.75rem 1rem}.header-title{font-size:1.1rem}.user-name{display:none}}.sidebar{background-color:#fff;border-right:1px solid #eee;display:flex;flex-direction:column;overflow:hidden;transition:width .3s ease;width:240px}.sidebar.collapsed{width:60px}.sidebar-header{border-bottom:1px solid #eee;justify-content:space-between;padding:1rem}.logo-container,.sidebar-header{align-items:center;display:flex}.logo-text{color:#4a90e2;font-size:1.2rem;font-weight:700}.collapse-button{align-items:center;background:none;border:none;border-radius:4px;color:#666;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:background-color .2s}.collapse-button:hover{background-color:#f5f5f5}.sidebar-nav{flex:1 1;overflow-y:auto;padding:1rem 0}.nav-list{list-style:none;margin:0;padding:0}.nav-section{margin-bottom:1.5rem}.nav-section-title{color:#999;font-size:.75rem;letter-spacing:.5px;margin:0 0 .5rem;padding:0 1rem;text-transform:uppercase}.nav-items{list-style:none;margin:0;padding:0}.nav-item{margin:.25rem 0}.nav-link{align-items:center;background:none;border:none;border-radius:4px;color:#666;cursor:pointer;display:flex;margin:0 .5rem;padding:.75rem 1rem;text-align:left;text-decoration:none;transition:background-color .2s,color .2s;width:calc(100% - 1rem)}.nav-link:hover{background-color:#f5f5f5;color:#333}.nav-item.active .nav-link{background-color:#4a90e21a;color:#4a90e2;font-weight:500}.nav-icon{align-items:center;color:inherit;display:flex;height:24px;justify-content:center;margin-right:.75rem;width:24px}.sidebar.collapsed .nav-icon{margin-right:0}.nav-label{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-badge{border-radius:10px;font-size:.7rem;font-weight:500;margin-left:.5rem;padding:.15rem .4rem}.nav-badge.new{background-color:#4a90e2;color:#fff}.sidebar-footer{border-top:1px solid #eee;padding:1rem}.sidebar-footer-content{color:#999;font-size:.8rem}.version-info{margin:0}@media (max-width:768px){.sidebar{height:100%;position:fixed;transform:translateX(0);transition:transform .3s ease,width .3s ease;z-index:99}.sidebar.collapsed{transform:translateX(-60px)}}.layout{display:flex;flex-direction:column;min-height:100vh}.layout-content{display:flex;flex:1 1}.main-content{background-color:#f8f9fa;flex:1 1;overflow-y:auto;padding:1.5rem}.app-footer{background-color:#fff;border-top:1px solid #eee;color:#666;font-size:.9rem;padding:1rem;text-align:center}@media (max-width:768px){.layout-content{flex-direction:column}.main-content{padding:1rem}}.tool-card{background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #00000014;cursor:pointer;display:flex;flex-direction:column;height:100%;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}.tool-card:hover{box-shadow:0 8px 24px #0000001f;transform:translateY(-4px)}.tool-card-icon{align-items:center;background-color:#f8f9fa;color:#4a90e2;display:flex;font-size:2.5rem;justify-content:center;padding:2rem}.tool-card-content{flex-grow:1;padding:1.5rem}.tool-card-title{color:#333;font-size:1.25rem;margin:0 0 .75rem}.tool-card-description{color:#666;font-size:.95rem;line-height:1.5;margin:0}.tool-card-footer{padding:0 1.5rem 1.5rem}.tool-card-button{background-color:#4a90e2;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:500;padding:.5rem 1rem;transition:background-color .2s ease;width:100%}.tool-card-button:hover{background-color:#3a80d2}.tool-card-button:active{background-color:#2a70c2}.dashboard-container{margin:0 auto;max-width:1200px;padding:2rem}.dashboard-header{margin-bottom:3rem;text-align:center}.dashboard-header h1{color:#333;font-size:2.5rem;margin-bottom:.5rem}.dashboard-subtitle{color:#666;font-size:1.2rem}.tools-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));margin-bottom:3rem}.dashboard-footer{border-top:1px solid #eee;color:#666;font-size:.9rem;padding-top:2rem;text-align:center}@media (max-width:768px){.dashboard-container{padding:1.5rem}.dashboard-header h1{font-size:2rem}.tools-grid{grid-template-columns:1fr}}.item-form-container{background-color:#f8f9fa;border-radius:8px;box-shadow:0 2px 4px #0000001a;box-sizing:border-box;margin-bottom:20px;overflow:visible;padding:15px;position:relative;width:100%}.section-header{align-items:center;border-bottom:1px solid #ddd;display:flex;margin-bottom:12px;padding-bottom:8px}.section-header svg{color:#007bff;font-size:1.1rem;margin-right:10px}.section-header h2{color:#333;font-size:1.3rem;margin:0}.error-message{background-color:#f8d7da;border-radius:4px;color:#721c24;font-size:14px;margin-bottom:15px;padding:10px}.item-form{display:flex;flex-direction:column;gap:10px;width:100%}.form-main-row{align-items:flex-end;display:flex;flex-wrap:wrap;gap:15px;justify-content:space-between;width:100%}.item-name-group{flex:1 1 auto;max-width:calc(100% - 270px);min-width:200px}.form-input-group{align-items:flex-end;display:flex;flex:0 0 auto;flex-direction:row;gap:15px;max-width:320px;min-width:240px}.input-fields{display:flex;flex:1 1;gap:10px}@media (max-width:768px){.form-main-row{align-items:stretch;flex-direction:column}.item-name-group{max-width:100%}.form-input-group{flex-direction:column;margin-top:10px;max-width:100%;width:100%}.input-fields{width:100%}.price-group,.quantity-group{flex:1 1}.add-item-button{flex:0 0 auto;margin-top:10px;min-width:100px}}.quantity-group{width:80px}.price-group{width:120px}.form-group{display:flex;flex-direction:column;margin-bottom:0}.form-group label{color:#555;font-size:.9rem;margin-bottom:4px}.form-group input{height:36px;padding:8px 10px}.form-row{display:flex;gap:15px}.form-row .form-group{flex:1 1}.add-item-button{align-items:center;background-color:#007bff;border:none;border-radius:4px;color:#fff;cursor:pointer;display:flex;flex:0 0 auto;font-weight:500;height:36px;justify-content:center;padding:0 15px;transition:background-color .2s;white-space:nowrap}.add-item-button:hover{background-color:#0069d9}.autocomplete-container{position:relative;width:100%;z-index:99999}.search-results{background-color:#fff;border:1px solid #ddd;border-radius:4px;box-shadow:0 6px 12px #0000004d;left:0;margin-top:2px;max-height:300px;overflow-y:auto;position:absolute;right:0;top:100%;z-index:999999}.search-status{color:#6c757d;font-size:14px;padding:10px;text-align:center}.search-result-item{border-bottom:1px solid #eee;cursor:pointer;padding:10px;transition:background-color .2s}.search-result-item:last-child{border-bottom:none}.search-result-item:hover{background-color:#f5f5f5}.product-info{align-items:center;display:flex;justify-content:space-between}.product-title{color:#333;flex:1 1;margin-right:10px;overflow:hidden;text-overflow:ellipsis}.product-price,.product-title{font-size:14px;white-space:nowrap}.product-price{color:#28a745;font-weight:600}.original-price{color:#6c757d;font-size:12px;font-weight:400;margin-left:5px;text-decoration:line-through}.receipt-preview-container{background-color:#fff;border-radius:12px;box-shadow:0 3px 10px #00000014;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin-bottom:20px;overflow:hidden;padding:20px;position:relative}.receipt-actions{align-items:center;border-bottom:2px solid #ecf0f1;display:flex;justify-content:space-between;margin-bottom:15px;padding-bottom:10px}.receipt-preview-container h2{align-items:center;color:#2c3e50;display:flex;font-size:1.5rem;margin-bottom:0;margin-top:0}.receipt-preview-container h2:before{background-color:#3498db;border-radius:3px;content:"";display:inline-block;height:24px;margin-right:12px;width:6px}.print-receipt-button{align-items:center;background-color:#3498db;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:8px 16px;transition:all .2s ease}.print-receipt-button:hover{background-color:#2980b9}.receipt-follow-footer,.receipt-footer,.receipt-header,.store-details{display:none}.receipt-totals-wrapper{margin-top:20px}.totals-container{box-shadow:0 2px 5px #0000000d;padding:15px}.totals-row{display:flex;justify-content:space-between;margin-bottom:8px;padding:5px 0}.totals-label{color:#2c3e50;font-weight:500}.totals-value{color:#2980b9;font-weight:500}.grand-total{border-top:1px solid #ecf0f1;font-size:1.1rem;margin-top:5px}.empty-receipt{background-color:#f9f9f9;border:1px dashed #d4d4d4;border-radius:8px;color:#7f8c8d;margin:10px 0;padding:40px 0;text-align:center}.empty-receipt p:first-child{font-size:1.1rem;font-weight:500;margin-bottom:8px}.receipt-table{border-collapse:collapse;margin-bottom:20px;width:100%}.receipt-table td,.receipt-table th{border-bottom:1px solid #ddd;padding:8px 12px;text-align:left}.receipt-table th{color:#495057;font-weight:600}.receipt-table th,.receipt-table tr:hover{background-color:#f8f9fa}.receipt-table .action-buttons{display:flex;gap:8px;justify-content:flex-end}.empty-column{width:40%}.qty-column{text-align:center;width:15%}.price-column{text-align:right;width:20%}.total-column{text-align:right;width:25%}.empty-column,.item-name-row td{border-bottom:none}.item-name-row td{font-weight:600;padding-bottom:4px}.item-details-row td{color:#495057;padding-left:20px;padding-top:4px}.item-details-row .empty-cell{width:20px}.item-details-row td:nth-child(2){text-align:center}.item-details-row td:nth-child(3),.item-details-row td:nth-child(4){text-align:right}.spacer-row{height:10px}.spacer-row td{border-bottom:1px dashed #ddd}.spacer-row.print-only{display:none}.receipt-input{background-color:#f8f9fa;border:1px solid #ced4da;border-radius:6px;font-size:14px;padding:8px 10px;transition:all .2s ease;width:80px}.receipt-input:focus{background-color:#fff;border-color:#3498db;box-shadow:0 0 0 3px #3498db33;outline:0}.editable{border-radius:4px;cursor:pointer;display:inline-block;padding:4px 8px;transition:all .2s ease}.editable:hover{background-color:#e9f5fe;color:#2980b9}.action-buttons{display:flex;gap:8px;justify-content:flex-start}.icon-button{align-items:center;border:none;border-radius:6px;box-shadow:0 2px 4px #0000001a;color:#fff;cursor:pointer;display:inline-flex;font-size:14px;height:32px;justify-content:center;padding:0;transition:all .2s ease;width:32px}.edit-button{background-color:#ffc107;color:#212529}.edit-button:hover{background-color:#e0a800;color:#000}.save-button{background-color:#28a745}.save-button:hover{background-color:#218838}.cancel-button{background-color:#6c757d}.cancel-button:hover{background-color:#5a6268}.remove-button{background-color:#dc3545}.remove-button:hover{background-color:#c82333}.icon-button svg{height:14px;width:14px}.receipt-table td{font-size:.95rem;padding:12px 15px;vertical-align:middle}.receipt-table tbody tr:nth-child(2n){background-color:#f9fafb}.receipt-table-container{border-radius:8px;box-shadow:inset 0 0 5px #0000000d;max-height:400px;overflow-x:auto;overflow-y:auto}.receipt-table td:first-child{color:#2c3e50;font-weight:500}.receipt-table td:nth-child(4){color:#2980b9;font-weight:600}tr.editing{background-color:#e7f5ff!important;box-shadow:0 0 0 1px #4dabf7}@media print{.action-buttons,.printer-controls-container,.receipt-page-footer,.receipt-page-header,.receipt-preview-container h2:before,.receipt-section:not(.receipt-preview-section),button{display:none!important}@page{size:80mm 297mm;margin:0}body{background-color:#fff;font-family:Courier New,monospace;margin:0;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact}.receipt-preview-container{border-radius:0;box-shadow:none;margin:0 auto;max-width:80mm;padding:10px 5px;width:100%}.receipt-brand-header{align-items:center;border-bottom:1px dashed #000;display:flex;gap:8px;justify-content:space-between;margin-bottom:8px;padding-bottom:6px}.receipt-brand-header .brand-logo img{height:40px;object-fit:contain;width:40px}.receipt-brand-header .brand-titles{display:flex;flex:1 1;flex-direction:column;text-align:right}.receipt-brand-header .brand-titles .store-name{font-size:16px;font-weight:700;margin:0 0 2px}.receipt-brand-header .brand-titles .store-address,.receipt-brand-header .brand-titles .store-contact{font-size:12px;line-height:1.2}.receipt-preview-container h2{border-bottom:1px dashed #000;font-size:16px;margin:0 0 10px;padding-bottom:5px;text-align:center}.receipt-table{border-collapse:collapse;width:100%}.receipt-table th.empty-column{display:none}.receipt-table th.price-column,.receipt-table th.qty-column,.receipt-table th.total-column{background-color:#fff!important;border-bottom:1px solid #000;display:table-cell;font-size:12px;padding:5px 2px}.receipt-table th.qty-column{text-align:center}.receipt-table th.price-column,.receipt-table th.total-column{text-align:right}.receipt-table th.action-column{display:none}.receipt-table td{border-bottom:none;font-size:12px;padding:3px 2px;vertical-align:top}.item-name-row td{font-size:13px;font-weight:700;padding-top:8px}.item-details-row td{font-size:12px;padding-left:10px}.spacer-row.print-only{display:table-row;height:5px}.spacer-row td{border-bottom:1px dotted #aaa;padding:0}.receipt-table td:nth-child(5),.receipt-table th:nth-child(5){display:none}.item-details-row td:nth-child(2){text-align:left;width:15%}.item-details-row td:nth-child(3){text-align:left;width:30%}.item-details-row td:nth-child(4){text-align:right;width:25%}.receipt-totals-wrapper{border-top:1px dashed #000;margin-top:10px;padding-top:10px}.totals-container{box-shadow:none;padding:0;width:100%}.totals-row{display:flex;font-size:12px;justify-content:space-between;margin-bottom:5px}.totals-label{font-weight:400}.grand-total{border-top:1px solid #000;font-size:14px;font-weight:700;margin-top:5px;padding-top:5px}.store-details{display:none!important}.store-name{font-size:16px;font-weight:700;margin-bottom:5px}.receipt-footer{border-top:1px dashed #000;font-size:12px;margin-top:20px;padding-top:10px;text-align:center}.receipt-datetime{display:flex;font-size:12px;justify-content:space-between;margin:10px 0}.receipt-qr{margin:15px 0;text-align:center}.receipt-qr img{height:100px;width:100px}.receipt-follow-footer{align-items:center;border-top:1px dashed #000;display:flex;gap:8px;justify-content:space-between;margin-top:8px;padding-top:8px}.receipt-follow-footer .follow-left{flex:1.2 1;font-size:15px;line-height:1.3;padding-top:2px}.receipt-follow-footer .follow-right{align-items:center;display:flex;flex:0.8 1;justify-content:flex-end}.receipt-follow-footer .follow-right img{height:80px;object-fit:contain;width:80px}}.totals-container{background-color:#f8f9fa;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px;padding:20px}.totals-container h2{border-bottom:1px solid #ddd;color:#333;font-size:1.5rem;margin-bottom:15px;margin-top:0;padding-bottom:10px}.tax-rate-container{align-items:center;display:flex;margin-bottom:20px}.tax-rate-container label{color:#555;font-weight:500;margin-right:10px}.tax-rate-input{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:8px 12px;width:80px}.delivery-charge-container{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.delivery-charge-label-container{align-items:center;display:flex;gap:10px}.delivery-charge-label-container label{font-weight:500;margin-right:auto}.delivery-charge-amount-container{align-items:center;display:flex;gap:5px}.currency-symbol{font-size:1.2rem;font-weight:500}.delivery-charge-input{border:1px solid #ccc;border-radius:4px;padding:8px;width:100px}.delivery-charge-label-input{border:1px solid #ccc;border-radius:4px;flex:1 1;padding:8px}.edit-label-button,.save-label-button{background-color:#f0f0f0;border:1px solid #ccc;border-radius:4px;cursor:pointer;font-size:.8rem;padding:5px 10px}.edit-label-button:hover,.save-label-button:hover{background-color:#e0e0e0}.totals-summary{background-color:#fff;border:1px solid #ddd;border-radius:4px;padding:15px}.total-row{border-bottom:1px solid #eee;display:flex;justify-content:space-between;padding:8px 0}.total-row:last-child{border-bottom:none}.total-label{color:#555}.total-label,.total-value{font-weight:500}.grand-total{border-top:2px solid #ddd;font-size:1.2rem;font-weight:700;margin-top:10px;padding-top:10px}.grand-total .total-label,.grand-total .total-value{color:#333;font-weight:700}.printer-controls-container{background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px;padding:20px}.print-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.print-header h2{margin:0}.settings-link{background-color:#f5f5f5;color:#666;height:40px;transition:background-color .2s,color .2s;width:40px}.settings-link:hover{background-color:#e0e0e0;color:#333}.printer-status-bar{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.status-message{border-radius:4px;color:#1976d2;padding:8px 12px}.error-details{color:#d32f2f}.print-actions{flex-direction:column;gap:15px;margin-bottom:20px}.print-actions,.print-button{align-items:center;display:flex}.print-button{border:none;border-radius:4px;cursor:pointer;font-size:1rem;font-weight:500;gap:10px;justify-content:center;max-width:300px;padding:12px 24px;transition:background-color .2s,opacity .2s;width:100%}.print-button.primary{background-color:#1976d2;color:#fff}.print-button.primary:hover{background-color:#1565c0}button:disabled{cursor:not-allowed;opacity:.6}.disconnect-button:disabled{background-color:#6c757d;cursor:not-allowed;opacity:.7}@media print{.printer-controls-container{display:none}}.printer-info p{margin:0 0 10px}.printer-info p:last-child{margin-bottom:0}.printer-info{color:#666;font-size:.9rem;margin-top:20px}.browser-support-warning{background-color:#fff3cd;border-radius:4px;color:#e67e22;margin-top:10px;padding:10px}.troubleshooting-tip{color:#3498db;margin-top:10px}.error-details{color:#e74c3c;font-weight:500;margin-top:10px}.debug-controls{background-color:#f9f9f9;border:1px dashed #ccc;border-radius:5px;margin-top:20px;padding:15px}.debug-toggle{align-items:center;display:flex;gap:8px}.debug-toggle input{cursor:pointer}.debug-info{background-color:#f1f1f1;margin-top:15px;max-height:300px;overflow-y:auto;padding:10px}.debug-info h3{color:#333;font-size:1rem}.debug-info pre{background-color:#eee;border-radius:3px;font-size:.85rem;overflow-x:auto;padding:10px}.telegram-notification .print-option-icon{background-color:#e3f2fd;color:#08c}.telegram-status{margin:15px 0;width:100%}.telegram-info{margin-top:15px;text-align:center;width:100%}.telegram-note{background-color:#f8f9fa;border-radius:4px;color:#666;font-size:.9rem;margin:0;padding:10px}.send-button,.settings-button{align-items:center;border:none;border-radius:4px;cursor:pointer;display:flex;font-weight:700;gap:8px;justify-content:center;min-width:150px;padding:10px 15px;transition:background-color .2s}.settings-button{background-color:#6c757d;color:#fff}.settings-button:hover:not(:disabled){background-color:#5a6268}.send-button{background-color:#08c;color:#fff}.send-button:hover:not(:disabled){background-color:#069}.modal-overlay{align-items:center;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-container{animation:modal-appear .3s ease-out;max-height:90vh;max-width:500px;overflow-y:auto;width:100%}@keyframes modal-appear{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.receipt-page{background-color:#f9f9f9;margin:0 auto;max-width:1000px;min-height:calc(100vh - 80px);padding:1.5rem}.receipt-page-header{border-bottom:1px solid #e0e0e0;margin-bottom:2rem;padding-bottom:1.5rem;text-align:center}.receipt-page-header h1{color:#2c3e50;font-size:2.2rem;font-weight:700;margin-bottom:.5rem}.receipt-page-subtitle{color:#7f8c8d;font-size:1.1rem;font-weight:400}.receipt-page-footer{border-top:1px solid #e0e0e0;color:#7f8c8d;font-size:.9rem;margin-top:2rem;padding-top:1.5rem;text-align:center}.receipt-page-footer a{color:#3498db;font-weight:500;text-decoration:none;transition:color .2s ease}.receipt-page-footer a:hover{color:#2980b9;text-decoration:underline}.receipt-page-content{display:flex;flex-direction:column;gap:2rem}.receipt-section{background-color:#fff;border-radius:12px;box-shadow:0 4px 12px #00000014;padding:1.75rem;position:relative;transition:transform .2s ease,box-shadow .2s ease;z-index:1}.add-items-section{position:relative;z-index:1000000}.receipt-section:hover{box-shadow:0 6px 16px #0000001a;transform:translateY(-2px)}.receipt-section h2{align-items:center;border-bottom:2px solid #f0f0f0;color:#333;display:flex;font-size:1.5rem;font-weight:600;gap:.75rem;margin-bottom:1.25rem;margin-top:0;padding-bottom:.75rem}.receipt-section h2 i,.receipt-section h2 svg{color:#3498db;font-size:1.2rem}.receipt-preview-section{display:flex;flex-direction:column;gap:1.5rem}.receipt-totals-wrapper{border-top:1px dashed #e0e0e0;margin-top:.5rem;padding-top:1.5rem}.receipt-preview-section .totals-container{background-color:initial;box-shadow:none;margin-bottom:0;padding:0}.receipt-preview-section .totals-container h2{align-items:center;display:flex;font-size:1.3rem;gap:.75rem}.receipt-preview-section .totals-container h2:before{background-color:#3498db;border-radius:2px;content:"";display:inline-block;height:20px;margin-right:10px;width:4px}@media (min-width:992px){.receipt-page-content{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto}.receipt-section:first-child{grid-column:span 2;max-height:none;overflow:visible}.receipt-section:nth-child(2),.receipt-section:nth-child(3){grid-column:span 2}}@media (max-width:991px){.receipt-page-content{flex-direction:column}}@media (max-width:768px){.receipt-page{min-height:calc(100vh - 60px);padding:1rem .75rem}.receipt-section{border-radius:8px;padding:1.25rem}}.markdown-editor-container{background-color:#fff;border-radius:8px;box-shadow:0 2px 10px #0000001a;display:flex;flex-direction:column;margin:0 auto;max-width:800px;padding:20px;width:100%}.editor-toolbar{border-bottom:1px solid #eee;display:flex;justify-content:space-between;margin-bottom:15px;padding-bottom:15px}.toolbar-button{background-color:#4a90e2;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;padding:8px 16px;transition:background-color .2s}.toolbar-button:hover{background-color:#3a80d2}.clear-button{background-color:#e74c3c}.clear-button:hover{background-color:#c0392b}.editor-content{display:flex;flex-direction:column;margin-bottom:20px;min-height:400px}.markdown-textarea{font-family:Courier New,monospace;font-size:16px;line-height:1.5;resize:vertical}.markdown-preview,.markdown-textarea{border:1px solid #ddd;border-radius:4px;min-height:400px;padding:15px;width:100%}.markdown-preview{background-color:#f9f9f9;overflow-y:auto}.markdown-preview h1{font-size:24px;margin-bottom:15px}.markdown-preview h2{font-size:20px;margin-bottom:12px}.markdown-preview h3{font-size:18px;margin-bottom:10px}.markdown-preview p{line-height:1.5;margin-bottom:10px}.markdown-preview ol,.markdown-preview ul{margin-bottom:10px;margin-left:20px}.markdown-preview hr{border:0;border-top:1px solid #ddd;margin:15px 0}.markdown-help{background-color:#f5f5f5;border-radius:4px;margin-top:20px;padding:15px}.markdown-help h3{font-size:16px;margin-bottom:10px;margin-top:0}.markdown-help ul{margin:0;padding-left:20px}.markdown-help li{font-size:14px;margin-bottom:5px}.markdown-help code{background-color:#eee;border-radius:3px;font-family:Courier New,monospace;padding:2px 4px}.markdown-page{display:flex;flex-direction:column;margin:0 auto;max-width:1000px;padding:1rem;width:100%}.page-header{align-items:center;border-bottom:1px solid #eee;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.page-header h1{color:#333;font-size:1.5rem;font-weight:600;margin:0}.printer-status,.printer-status-container{align-items:center;display:flex}.printer-status{gap:10px}.status-indicator{display:inline-block;font-size:14px;padding:6px 12px}.status-indicator.connected{background-color:#4caf50;color:#fff}.status-indicator.disconnected{background-color:#f44336;color:#fff}.settings-link{align-items:center;background-color:#3498db;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1rem;height:36px;justify-content:center;text-decoration:none;transition:all .2s ease-in-out;width:36px}.settings-link:hover{background-color:#2980b9;box-shadow:0 2px 5px #0000001a;transform:translateY(-1px)}.debug-toggle{background-color:#6c757d;border:none;border-radius:.25rem;color:#fff;cursor:pointer;font-size:.875rem;font-weight:500;padding:.5rem 1rem;transition:all .2s ease-in-out}.debug-toggle:hover{background-color:#5a6268;box-shadow:0 2px 5px #0000001a;transform:translateY(-1px)}.status-message{background-color:#e3f2fd;color:#0d47a1}.error-message,.status-message{box-shadow:0 1px 3px #0000000d;margin-bottom:1rem;padding:.75rem 1rem}.error-message{background-color:#ffebee;border-radius:.25rem;color:#c62828;font-size:.875rem}.debug-info{background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:.25rem;font-size:.875rem;margin-bottom:1rem;overflow-x:auto;padding:1rem}.debug-info h3{font-size:16px;margin-bottom:10px;margin-top:0}.debug-info pre{font-family:Courier New,monospace}.store-info-container{background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin:0 auto;max-width:800px;padding:20px}.store-info-display{background-color:#f9f9f9;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:20px}.store-info-display h2{border-bottom:1px solid #eee;color:#2c3e50;margin-bottom:20px;padding-bottom:10px}.store-info-display h3{border-top:1px solid #eee;color:#34495e;margin:20px 0 10px;padding-top:15px}.store-info-display p{color:#555;line-height:1.6;margin:10px 0}.store-info-display strong{color:#2c3e50;font-weight:600;margin-right:5px}.settings-tabs{border-bottom:1px solid #eee;display:flex;margin-bottom:20px}.tab-button{background:none;border:none;border-bottom:3px solid #0000;color:#7f8c8d;cursor:pointer;font-size:15px;font-weight:500;padding:10px 20px;transition:all .2s}.tab-button:hover{color:#2c3e50}.tab-button.active{border-bottom-color:#3498db;color:#3498db}.store-info-form{background-color:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:20px}.charges-discounts-section h2,.store-info-section h2{border-bottom:1px solid #eee;color:#2c3e50;margin-bottom:20px;padding-bottom:10px}.form-group label{color:#2c3e50}.form-group input{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:10px 12px;transition:border-color .2s,box-shadow .2s;width:100%}.form-group input:focus{border-color:#3498db;box-shadow:0 0 0 2px #3498db33;outline:none}.form-actions{border-top:1px solid #eee;display:flex;justify-content:space-between;margin-top:30px;padding-top:15px}.edit-button{background-color:#3498db;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:14px;font-weight:500;margin-top:20px;padding:10px 20px;transition:background-color .2s,transform .1s}.edit-button:hover{background-color:#2980b9;transform:translateY(-1px)}.store-info-display{text-align:center}.store-details{margin-bottom:15px}.store-name{font-size:1.2rem;font-weight:700;margin-bottom:5px}.store-details p{margin:5px 0}.product-data-updater{background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:.25rem;display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem;padding:1rem}.product-data-info{align-items:center;display:flex;font-size:.875rem;justify-content:space-between}.last-updated{color:#6c757d}.refresh-needed{align-items:center;color:#dc3545;display:flex;font-weight:500;gap:.25rem}.refresh-needed:before{content:"⚠️";font-size:.75rem}.update-button{background-color:#4a90e2;border:none;border-radius:.25rem;color:#fff;cursor:pointer;font-weight:500;padding:.5rem 1rem;transition:all .2s ease-in-out}.update-button:hover:not(:disabled){background-color:#3a80d2;box-shadow:0 2px 5px #0000001a;transform:translateY(-1px)}.update-button:disabled{background-color:#a9c7eb;cursor:not-allowed}.update-button.update-needed{background-color:#dc3545}.update-button.update-needed:hover:not(:disabled){background-color:#c82333}.status-message{border-radius:.25rem;font-size:.875rem;padding:.75rem}.status-message.success{background-color:#d4edda;border:1px solid #c3e6cb;color:#155724}.status-message.error{background-color:#f8d7da;border:1px solid #f5c6cb;color:#721c24}.telegram-settings{background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;margin:0 auto;max-width:500px;overflow:hidden;width:100%}.telegram-settings.in-settings-page{background-color:initial;border-radius:0;box-shadow:none;margin:0;max-width:100%}.telegram-settings-header{align-items:center;background-color:#08c;color:#fff;display:flex;justify-content:space-between;padding:15px 20px}.telegram-settings-header h3{font-size:18px;margin:0}.telegram-settings-header .close-button{background:none;border:none;color:#fff;cursor:pointer;font-size:18px;padding:5px}.telegram-settings-content{padding:20px}.form-group{margin-bottom:20px}.form-group label{display:block;font-weight:500;margin-bottom:8px}.form-group input[type=text]{border:1px solid #ddd;border-radius:4px;font-size:14px;padding:10px;width:100%}.form-group input[type=checkbox]{margin-right:10px}.form-group small{color:#666;display:block;font-size:12px;margin-top:5px}.button-group{display:flex;justify-content:space-between;margin-top:20px}.save-button,.test-button{align-items:center;border:none;border-radius:4px;cursor:pointer;display:flex;font-weight:500;gap:8px;padding:10px 15px}.test-button{background-color:#08c;color:#fff}.test-button:disabled{background-color:#ccc;cursor:not-allowed}.save-button{background-color:#4caf50;color:#fff}.save-button:disabled{opacity:.7}.test-status{align-items:center;border-radius:4px;display:flex;gap:10px;margin:15px 0;padding:10px}.test-status.success{background-color:#e8f5e9;color:#2e7d32}.test-status.error{background-color:#ffebee;color:#c62828}@keyframes pulse{0%{opacity:1}50%{opacity:.6}to{opacity:1}}.saving{animation:pulse 1s infinite}.printer-settings-section{background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px;padding:20px}.printer-settings-modal{padding:15px}.printer-settings-content{display:flex;flex-direction:column;gap:20px}.printer-connection-status{display:flex;flex-direction:column;gap:10px}.status-indicator{align-items:center;border-radius:4px;display:flex;font-weight:500;gap:8px;padding:8px 12px}.status-indicator.connected{background-color:#e6f7e6;color:#2e7d32}.status-indicator.disconnected{background-color:#f5f5f5;color:#757575}.status-message{align-items:center;display:flex;gap:8px;padding:8px 0}.status-message .success{color:#2e7d32}.status-message .error{color:#d32f2f}.error-details{background-color:#ffebee;border-left:4px solid #d32f2f;border-radius:4px;font-family:monospace;margin:8px 0;max-height:150px;overflow-y:auto;padding:8px 12px;white-space:pre-wrap;word-break:break-word}.printer-buttons{display:flex;gap:10px;margin-top:10px}.connect-button,.disconnect-button{border:none;border-radius:4px;cursor:pointer;font-weight:500;padding:8px 16px;transition:background-color .2s,opacity .2s}.connect-button{background-color:#1976d2;color:#fff}.connect-button:hover{background-color:#1565c0}.connect-button:disabled{background-color:#bbdefb;cursor:not-allowed}.disconnect-button{background-color:#f5f5f5;border:1px solid #e0e0e0;color:#424242}.disconnect-button:hover{background-color:#e0e0e0}.printer-options{gap:15px}.printer-options,.setting-option{display:flex;flex-direction:column}.setting-option{gap:8px}.setting-option>label{font-weight:500}.radio-group{display:flex;gap:20px}.radio-group label{align-items:center;cursor:pointer;display:flex;gap:6px}.setting-option input[type=checkbox]{margin-right:8px}.debug-info{background-color:#f5f5f5;border-radius:4px;padding:12px}.debug-info pre{font-family:monospace;font-size:12px;margin:0;max-height:200px;overflow-y:auto;white-space:pre-wrap;word-break:break-word}.printer-info{background-color:#e8f4fd;border-radius:4px;padding:12px}.printer-info p{margin:8px 0}.browser-support-warning{color:#e65100}.save-message{align-items:center;animation:fadeIn .3s ease-in-out;border-radius:4px;display:flex;gap:8px;padding:8px 12px}.save-message.success{background-color:#e6f7e6;color:#2e7d32}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.settings-page{font-family:Arial,sans-serif;margin:0 auto;max-width:1000px;padding:20px}.settings-page h1{color:#333;margin-bottom:30px;text-align:center}.settings-section{background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:30px;padding:20px}.settings-section h2{border-bottom:1px solid #eee;color:#444;margin-bottom:20px;padding-bottom:10px}.settings-description{color:#666;line-height:1.5;margin-bottom:20px}.telegram-settings-container{margin-top:20px}@media (max-width:768px){.settings-page{padding:10px}.settings-section{padding:15px}}.App{background-color:#f8f9fa;font-family:Inter,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;height:100vh}.App,.tool-not-found{display:flex;flex-direction:column}.tool-not-found{align-items:center;height:100%;justify-content:center;padding:3rem;text-align:center}.tool-not-found h2{color:#333;margin-bottom:1rem}.tool-not-found p{color:#666;margin-bottom:2rem}.tool-not-found button{background-color:#4a90e2;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:1rem;font-weight:500;padding:.75rem 1.5rem;transition:background-color .2s}.tool-not-found button:hover{background-color:#3a80d2}@media (max-width:768px){.tool-not-found{padding:1.5rem}}
/*# sourceMappingURL=main.366d6d03.css.map*/