*{box-sizing:border-box;margin:0;padding:0}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;scroll-behavior:smooth}:root{--primary-color:#2563eb;--secondary-color:#1e40af;--success-color:#10b981;--warning-color:#f59e0b;--danger-color:#ef4444;--dark-bg:#1f2937;--light-bg:#f9fafb;--card-bg:#fff;--text-primary:#111827;--text-secondary:#6b7280;--border-color:#e5e7eb;--shadow:0 1px 3px 0 #0000001a,0 1px 2px 0 #0000000f;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;--touch-target-min:44px;--spacing-xs:0.25rem;--spacing-sm:0.5rem;--spacing-md:1rem;--spacing-lg:1.5rem;--spacing-xl:2rem}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f9fafb;background-color:var(--light-bg);color:#111827;color:var(--text-primary);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.6;overflow-x:hidden}#root,body{min-height:100vh;min-height:100dvh}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}button{cursor:pointer}button,input,select,textarea{font-family:inherit;touch-action:manipulation}input,select,textarea{font-size:16px}[role=button],a,button,input,select,textarea{touch-action:manipulation}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-track{background:#f1f5f9}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}::selection{background:#2563eb;background:var(--primary-color);color:#fff}@media (max-width:1024px){:root{--spacing-lg:1.25rem;--spacing-xl:1.5rem}}@media (max-width:768px){:root{--spacing-md:0.75rem;--spacing-lg:1rem;--spacing-xl:1.25rem}body{font-size:14px}*{-webkit-tap-highlight-color:transparent}html{-webkit-overflow-scrolling:touch}::-webkit-scrollbar{height:4px;width:4px}}@media (max-width:480px){:root{--spacing-sm:0.375rem;--spacing-md:0.625rem;--spacing-lg:0.875rem;--spacing-xl:1rem}body{font-size:13px}}@media (hover:none) and (pointer:coarse){[role=button],a,button,input[type=checkbox],input[type=radio],select{min-height:44px;min-height:var(--touch-target-min)}[role=button]:active,a:active,button:active{opacity:.8}[role=button],a,button{-webkit-user-select:none;user-select:none}}@supports (padding:max(0px)){body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}}.animate-gpu{transform:translateZ(0);will-change:transform}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}@media (prefers-contrast:high){:root{--border-color:#000;--text-secondary:#374151}}@media (max-width:768px){.hide-mobile{display:none!important}}@media (min-width:769px){.hide-desktop{display:none!important}}.sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;padding:0;position:absolute;width:1px}.sr-only,.truncate{overflow:hidden;white-space:nowrap}.truncate{text-overflow:ellipsis}.App{display:flex;flex-direction:column;min-height:100vh}.app-header{background:linear-gradient(135deg,var(--primary-color) 0,var(--secondary-color) 100%);box-shadow:var(--shadow-lg);color:#fff;padding:0;position:-webkit-sticky;position:sticky;top:0;z-index:100}.header-top{align-items:center;display:flex;gap:1rem;justify-content:space-between;margin:0 auto;max-width:1400px;padding:.75rem 1.5rem}.app-header h1{font-size:1.25rem;font-weight:700;margin:0;white-space:nowrap}.header-actions{gap:.75rem}.user-info{background:#ffffff1a;border-radius:6px;gap:.5rem;padding:.375rem .75rem}.user-name{color:#fff;font-size:.8125rem}.user-role{background:#ffffff26;border-radius:4px;color:#ffffffb3;font-size:.6875rem;letter-spacing:.05em;padding:.125rem .5rem;text-transform:uppercase}.main-nav{align-items:center;display:flex;gap:.5rem;margin:0 auto;max-width:1400px;padding:0 1.5rem .75rem}.nav-link{background:#ffffff1a;border-radius:8px;color:#ffffffe6;font-size:.875rem;font-weight:500;padding:.5rem 1rem;text-decoration:none;transition:all .2s;white-space:nowrap}.nav-link:hover{background:#fff3;color:#fff;transform:translateY(-1px)}.nav-link.active{background:#fff;box-shadow:0 2px 8px #00000026;color:var(--primary-color);font-weight:600}.app-main{flex:1 1;margin:0 auto;max-width:1400px;padding:2rem;width:100%}.form-section{animation:slideDown .3s ease-out}.interactive-form-overlay{animation:fadeIn .3s ease-out;bottom:0;left:0;position:fixed;right:0;top:0;z-index:1000}.btn{font-size:.875rem;padding:.625rem 1.25rem}.btn:hover{box-shadow:var(--shadow-lg);transform:translateY(-1px)}.btn:active{transform:translateY(0)}.btn-primary{background-color:#fff;color:var(--primary-color)}.btn-primary:hover{background-color:#f0f9ff}.btn-success{background-color:var(--success-color)}.btn-success:hover{background-color:#059669}.btn-danger{background-color:var(--danger-color);color:#fff}.btn-danger:hover{background-color:#dc2626}.btn-secondary{background-color:var(--text-secondary);color:#fff}.btn-secondary:hover{background-color:#4b5563}.btn-sm{font-size:.8rem;padding:.375rem .75rem}@media (max-width:1200px){.app-header h1{font-size:1.1rem}.nav-link{font-size:.8rem;padding:.4rem .75rem}.user-info{padding:.25rem .5rem}.user-name{font-size:.75rem}}@media (max-width:1024px){.app-main{padding:1.5rem}.header-top{padding:.5rem 1rem}.main-nav{flex-wrap:wrap;justify-content:center;padding:0 1rem .5rem}.app-header h1{font-size:1rem}}@media (max-width:768px){.app-main{padding:.75rem}.header-top{flex-wrap:wrap;gap:.5rem;padding:.5rem .75rem}.app-header h1{font-size:1rem}.main-nav{flex-wrap:wrap;gap:.35rem;justify-content:center;padding:0 .75rem .5rem}.nav-link{font-size:.75rem;padding:.4rem .65rem}.header-actions{flex-wrap:wrap;gap:.5rem}.user-info{order:-1}.btn{font-size:.8rem;padding:.4rem .75rem}}@media (max-width:480px){.header-top{flex-direction:column;padding:.5rem;text-align:center}.app-header h1{font-size:.95rem}.app-main{padding:.5rem}.main-nav{gap:.25rem;padding:0 .5rem .5rem}.nav-link{font-size:.7rem;padding:.35rem .5rem}.header-actions{gap:.4rem;justify-content:center;width:100%}.user-info{order:0}.btn{flex:1 1;justify-content:center;padding:.5rem}}@media (max-width:896px) and (orientation:landscape){.header-top{padding:.35rem 1rem}.main-nav{padding:0 1rem .35rem}.app-header h1{font-size:.9rem}.nav-link{font-size:.7rem;padding:.3rem .5rem}}@media (hover:none) and (pointer:coarse){.btn,.nav-link{align-items:center;display:inline-flex;min-height:40px}.nav-link:hover{transform:none}}.order-tracker{margin:0 auto;max-width:1400px;padding:2rem}.tracker-header h2{color:var(--text-primary);font-size:1.75rem;font-weight:700;margin:0}.tracker-search-container{align-items:center;display:flex;flex-direction:column;margin-bottom:2rem;margin-left:auto;margin-right:auto;max-width:900px;position:relative}.search-bar-with-field-selector{align-items:stretch;display:flex;gap:.75rem;max-width:900px;width:100%}.qr-scan-button{align-items:center;background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:10px;color:#fff;cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;padding:.75rem 1.25rem;transition:all .2s;white-space:nowrap}.qr-scan-button:hover{box-shadow:0 4px 12px #10b98166;transform:translateY(-2px)}.qr-scan-button:active{transform:translateY(0)}.field-selector{-webkit-appearance:none;appearance:none;background:#fff;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath fill='%23374151' d='M6 9 1 4h10z'/%3E%3C/svg%3E");background-position:right .75rem center;background-repeat:no-repeat;border:2px solid var(--border-color);border-radius:12px;box-shadow:0 2px 8px #0000001a;color:var(--text-primary);cursor:pointer;font-size:.875rem;font-weight:500;min-width:160px;padding:.75rem 2.5rem .75rem 1rem;transition:all .2s}.field-selector:focus,.field-selector:hover{border-color:var(--primary-color)}.field-selector:focus{box-shadow:0 0 0 3px #2563eb1a;outline:none}.smart-search-bar{align-items:center;background:#fff;border:2px solid var(--border-color);border-radius:12px;box-shadow:0 2px 8px #0000001a;display:flex;flex:1 1;gap:.5rem;padding:.75rem 1rem;position:relative;transition:all .2s}.smart-search-bar:focus-within{border-color:var(--primary-color);box-shadow:0 4px 12px #2563eb26}.search-icon{color:var(--text-secondary);font-size:1.25rem;margin-right:.75rem}.smart-search-input{background:#0000;border:none;color:var(--text-primary);flex:1 1;font-size:1rem;outline:none}.clear-search-btn,.smart-search-input::placeholder{color:var(--text-secondary)}.clear-search-btn{align-items:center;background:none;border:none;border-radius:50%;cursor:pointer;display:flex;font-size:1.25rem;height:24px;justify-content:center;margin-left:.5rem;padding:.25rem;transition:color .2s;width:24px}.clear-search-btn:hover{background:#ef44441a;color:var(--danger-color)}.search-loading-indicator{animation:pulse 1.5s ease-in-out infinite;font-size:1rem}.search-button{align-items:center;background:var(--primary-color);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:1rem;height:36px;justify-content:center;min-width:44px;padding:.5rem 1rem;transition:all .2s}.search-button:hover:not(:disabled){background:var(--secondary-color);transform:scale(1.05)}.search-button:disabled{cursor:not-allowed;opacity:.5}.search-type-badge{background:var(--light-bg);border-radius:6px;color:var(--text-secondary);font-size:.75rem;font-weight:500;margin-left:.75rem;padding:.25rem .75rem;white-space:nowrap}.search-history-dropdown{background:#fff;border:1px solid var(--border-color);border-radius:8px;box-shadow:0 4px 12px #00000026;left:0;margin-top:.5rem;max-height:300px;overflow-y:auto;position:absolute;right:0;top:100%;z-index:100}.history-header{align-items:center;border-bottom:1px solid var(--border-color);color:var(--text-secondary);display:flex;font-size:.75rem;font-weight:600;justify-content:space-between;padding:.75rem 1rem;text-transform:uppercase}.clear-history-btn{background:none;border:none;color:var(--text-secondary);cursor:pointer;font-size:.875rem;padding:.25rem}.clear-history-btn:hover{color:var(--danger-color)}.history-item{align-items:center;background:none;border:none;color:var(--text-primary);cursor:pointer;display:flex;font-size:.875rem;padding:.75rem 1rem;text-align:left;transition:background .2s;width:100%}.history-item:hover{background:var(--light-bg)}.history-icon{color:var(--text-secondary);font-size:.875rem;margin-right:.75rem}.history-query{flex:1 1}.quick-filters{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin-top:1rem;width:100%}.tracker-results{margin-top:2rem}.empty-search-state,.no-results-state{background:#fff;border-radius:12px;box-shadow:var(--shadow);padding:4rem 2rem;text-align:center}.empty-search-state h3,.no-results-state h3{color:var(--text-primary);font-size:1.5rem;margin:0 0 .5rem}.empty-search-state p,.no-results-state p{color:var(--text-secondary);font-size:1rem;margin:0 0 2rem}.search-examples{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-bottom:2rem}.example-item{background:var(--light-bg);border-radius:8px;color:var(--text-primary);font-size:.875rem;padding:.75rem 1.25rem}.example-item strong{color:var(--primary-color);margin-right:.5rem}.keyboard-hint{color:var(--text-secondary);font-size:.875rem;margin-top:1.5rem}.keyboard-hint kbd{background:var(--light-bg);border:1px solid var(--border-color);border-radius:4px;box-shadow:0 1px 2px #0000001a;color:var(--text-primary);font-family:monospace;font-size:.75rem;padding:.25rem .5rem}.loading-state{background:#fff;border-radius:12px;box-shadow:var(--shadow);padding:4rem 2rem;text-align:center}@media (max-width:1024px){.order-tracker{padding:1.5rem}.search-bar-with-field-selector,.tracker-search-container{max-width:100%}.field-selector{font-size:.8rem;min-width:140px;padding:.625rem .875rem}}@media (max-width:768px){.order-tracker{padding:1rem .75rem}.tracker-header{align-items:flex-start;flex-direction:column;gap:.75rem}.tracker-header h2{font-size:1.25rem}.tracker-search-container{margin-bottom:1.5rem}.search-bar-with-field-selector{flex-direction:column;gap:.5rem}.field-selector{font-size:1rem;min-width:auto;padding:.75rem 1rem;width:100%}.smart-search-bar{border-radius:10px;padding:.75rem}.search-icon{font-size:1.125rem;margin-right:.5rem}.smart-search-input{font-size:1rem}.search-button{height:40px;min-width:50px;padding:.625rem 1rem}.search-type-badge{display:none}.quick-filters{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;gap:.5rem;justify-content:flex-start;margin-top:.75rem;overflow-x:auto;padding-bottom:.5rem}.quick-filters::-webkit-scrollbar{display:none}.quick-filter-btn{flex-shrink:0;font-size:.8rem;padding:.5rem .875rem;white-space:nowrap}.search-history-dropdown{border-radius:10px;max-height:250px}.history-item{min-height:44px;padding:.875rem 1rem}.search-examples{align-items:stretch;flex-direction:column;gap:.5rem}.example-item{font-size:.8rem;padding:.625rem 1rem;text-align:center}.empty-search-state,.no-results-state{border-radius:10px;padding:2rem 1rem}.empty-icon{font-size:3rem}.empty-search-state h3,.no-results-state h3{font-size:1.25rem}.empty-search-state p,.no-results-state p{font-size:.875rem;margin-bottom:1.5rem}.keyboard-hint{display:none}.tracker-results{margin-top:1.5rem}.loading-state{border-radius:10px;padding:2rem 1rem}.compact-stats-wrapper .stats-cards{grid-template-columns:repeat(2,1fr)}}@media (max-width:480px){.order-tracker{padding:.75rem .5rem}.tracker-header h2{font-size:1.125rem}.smart-search-bar{padding:.625rem .75rem}.quick-filter-btn{font-size:.75rem;padding:.375rem .625rem}.example-item{font-size:.75rem;padding:.5rem .75rem}.compact-stats-wrapper .stats-cards{gap:.5rem;grid-template-columns:repeat(2,1fr)}}@media (hover:none) and (pointer:coarse){.clear-search-btn,.field-selector,.history-item,.quick-filter-btn,.search-button,.smart-search-bar{min-height:44px}.clear-search-btn:hover,.quick-filter-btn:hover{transform:none}.quick-filter-btn:active{background:var(--light-bg)}.clear-search-btn:active{background:#ef444433}}.table-container{background:#fff;border-radius:.75rem;box-shadow:var(--shadow);overflow:hidden}.table-search-wrapper{background:linear-gradient(180deg,#f8fafc,#fff);border-bottom:2px solid var(--border-color);padding:1.25rem 1.5rem}.table-search-wrapper .search-bar{margin:0 auto;max-width:100%}.table-wrapper{overflow-x:auto}.order-table{border-collapse:collapse;font-size:.875rem;width:100%}.order-table thead{background:var(--light-bg);border-bottom:2px solid var(--border-color)}.order-table th{color:var(--text-primary);font-weight:600;padding:1rem;text-align:left;white-space:nowrap}.order-table td{border-bottom:1px solid var(--border-color);padding:1rem}.order-table tbody tr{transition:background-color .2s}.order-table tbody tr:hover{background-color:var(--light-bg)}.order-table tbody tr.overdue{background-color:#fef2f2}.ticket-number{align-items:center;color:var(--primary-color);cursor:pointer;display:flex;gap:.5rem}.ticket-number:hover{text-decoration:underline}.customer-id{color:var(--secondary-color);font-family:Courier New,monospace;font-size:.85em;font-weight:600}.overdue-badge{font-size:.875rem}.amount{color:var(--success-color);font-weight:600}.status-workshop{background:#c7d2fe;color:#4338ca}.status-tagged{background:#fef3c7;color:#92400e}.status-processing{background:#d1fae5;color:#065f46}.status-ready-delivery{background:#fce7f3;color:#9d174d}.payment-cell{min-width:120px}.payment-info{display:flex;flex-direction:column;gap:4px}.payment-badge{align-items:center;display:inline-flex;font-size:.7rem;gap:4px;padding:.25rem .5rem;white-space:nowrap;width:-webkit-fit-content;width:fit-content}.payment-paid{background:#d1fae5;color:#047857}.payment-pending{background:#fef3c7;color:#92400e}.payment-partial{background:#dbeafe;color:#1e40af}.payment-method{color:var(--text-secondary);display:flex;font-size:.7rem;gap:4px}.action-buttons,.payment-method{align-items:center}.btn-icon{background:#0000;border:none;cursor:pointer;font-size:1.125rem;padding:.25rem;transition:transform .2s}.btn-icon:hover{transform:scale(1.2)}.status-select{background:#fff;border:1px solid var(--border-color);border-radius:.375rem;cursor:pointer;font-size:.75rem;padding:.375rem .5rem}.status-select:hover{border-color:var(--primary-color)}.table-footer{background:var(--light-bg);border-top:1px solid var(--border-color);color:var(--text-secondary);font-size:.875rem;padding:1rem}.empty-state,.loading{padding:4rem 2rem}.spinner{animation:spin 1s linear infinite;border:4px solid var(--border-color);border-radius:50%;border-top-color:var(--primary-color);height:3rem;margin:0 auto 1rem;width:3rem}.empty-icon{font-size:4rem;margin-bottom:1rem}.empty-state h3{color:var(--text-primary);margin-bottom:.5rem}.empty-state p{color:var(--text-secondary)}@media (max-width:1024px){.order-table{font-size:.8rem}.order-table td,.order-table th{padding:.75rem .5rem}.payment-cell{min-width:100px}.payment-badge{padding:.2rem .4rem}.payment-badge,.payment-method{font-size:.65rem}}@media (max-width:900px){.table-container{border-radius:.5rem}.order-table td,.order-table th{padding:.625rem .375rem}.status-badge{font-size:.7rem;padding:.25rem .5rem}.status-select{font-size:.7rem;padding:.25rem .375rem}}@media (max-width:768px){.table-container{border-radius:0;box-shadow:none;margin:0 -.75rem;width:calc(100% + 1.5rem)}.table-wrapper{-webkit-overflow-scrolling:touch;overflow-x:auto;scrollbar-width:thin}.table-wrapper::-webkit-scrollbar{height:4px}.table-wrapper::-webkit-scrollbar-track{background:#f1f5f9}.table-wrapper::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.order-table{font-size:.75rem;min-width:950px}.order-table th{background:var(--light-bg);font-size:.7rem;padding:.75rem .5rem;position:-webkit-sticky;position:sticky;top:0;white-space:nowrap;z-index:1}.order-table td{padding:.625rem .5rem}.ticket-number{font-size:.75rem;min-width:100px}.customer-id{font-size:.7rem}.amount{white-space:nowrap}.payment-cell{min-width:90px}.payment-info{gap:2px}.payment-badge{padding:.15rem .35rem}.payment-badge,.payment-method{font-size:.6rem}.status-badge{font-size:.65rem;padding:.2rem .4rem}.action-buttons{flex-wrap:nowrap;gap:.25rem}.btn-icon{font-size:1rem;min-height:32px;min-width:32px;padding:.375rem}.status-select{font-size:.65rem;min-width:90px;padding:.375rem .25rem}.table-footer{font-size:.8rem;padding:.75rem}.empty-state,.loading{padding:2rem 1rem}.empty-icon{font-size:3rem}.empty-state h3{font-size:1.125rem}.empty-state p{font-size:.875rem}.spinner{height:2.5rem;width:2.5rem}}@media (max-width:480px){.table-container{margin:0 -.5rem;width:calc(100% + 1rem)}.order-table{font-size:.7rem;min-width:850px}.order-table td,.order-table th{padding:.5rem .375rem}.payment-cell{min-width:80px}.btn-icon{font-size:.9rem;min-height:28px;min-width:28px}}@media (hover:none) and (pointer:coarse){.order-table tbody tr{min-height:44px}.btn-icon,.status-select{min-height:44px;min-width:44px}.status-select{min-width:100px}.order-table tbody tr:hover{background-color:initial}.order-table tbody tr:active{background-color:var(--light-bg)}}.pagination-container{align-items:center;background:#fff;border-radius:.5rem;box-shadow:var(--shadow);display:flex;justify-content:space-between;margin-top:1rem;padding:1rem}.pagination-info{color:var(--text-secondary);font-size:.875rem}.pagination-info strong{color:var(--text-primary);font-weight:600}.pagination{display:flex;gap:.25rem}.pagination-btn{align-items:center;background:#fff;border:1px solid var(--border-color);border-radius:.375rem;color:var(--text-primary);cursor:pointer;display:flex;font-size:.875rem;font-weight:500;height:36px;justify-content:center;min-width:36px;padding:.5rem .75rem;transition:all .2s}.pagination-btn:hover:not(:disabled):not(.ellipsis){background:var(--light-bg);border-color:var(--primary-color);color:var(--primary-color)}.pagination-btn:disabled{cursor:not-allowed;opacity:.4}.pagination-btn.active{background:var(--primary-color);border-color:var(--primary-color);color:#fff}.pagination-btn.ellipsis{background:#0000;border:none;cursor:default}@media (max-width:768px){.pagination-container{flex-direction:column;gap:1rem;padding:.75rem}.pagination-info{font-size:.8125rem;text-align:center}.pagination{gap:.125rem}.pagination-btn{font-size:.8125rem;height:32px;min-width:32px;padding:.375rem .5rem}.pagination-btn.ellipsis{display:none}}@media (max-width:480px){.pagination{flex-wrap:wrap;justify-content:center}.pagination-btn{height:40px;min-width:40px}}.stats-cards{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:1rem}.compact-stats-wrapper .stats-cards{gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));margin-bottom:0}.compact-stats-wrapper .stat-card{border-radius:.5rem;gap:.75rem;padding:.75rem}.compact-stats-wrapper .stat-icon{font-size:1.5rem;height:2.5rem;width:2.5rem}.compact-stats-wrapper .stat-value{font-size:1.25rem;font-weight:700}.compact-stats-wrapper .stat-title{font-size:.75rem;font-weight:500;margin-top:.125rem}.compact-stats-wrapper .active-indicator{font-size:1.25rem;right:.375rem;top:.375rem}.stat-card{border-left:4px solid;border-radius:.75rem;box-shadow:var(--shadow);color:#111827}.stat-card.clickable{cursor:pointer;position:relative}.stat-card.clickable:hover{background:linear-gradient(135deg,#fff,#f8fafc);box-shadow:var(--shadow-lg);transform:translateY(-2px)}.stat-card.clickable:active{transform:translateY(0)}.stat-card.active{background:linear-gradient(135deg,#eff6ff,#dbeafe);border-left-width:6px;box-shadow:0 4px 12px #3b82f64d;color:#111827}.stat-card.active .stat-value{color:#111827}.stat-card.active .stat-title{color:#374151}.stat-card.active:hover{background:linear-gradient(135deg,#dbeafe,#bfdbfe)}.active-indicator{animation:pulse 2s ease-in-out infinite;color:#3b82f6;font-size:1.5rem;position:absolute;right:.5rem;top:.5rem}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.stat-card.blue{border-left-color:#3b82f6}.stat-card.purple{border-left-color:#8b5cf6}.stat-card.orange{border-left-color:#f97316}.stat-card.green{border-left-color:#10b981}.stat-card.teal{border-left-color:#14b8a6}.stat-card.indigo{border-left-color:#6366f1}.stat-card.emerald{border-left-color:#059669}.stat-card.cyan{border-left-color:#06b6d4}.stat-card.pink{border-left-color:#ec4899}.stat-card.yellow{border-left-color:#eab308}.stat-card.amber{border-left-color:#f59e0b}.stat-card.red{border-left-color:#ef4444}.stat-card.slate{border-left-color:#64748b}.stat-card.lime{border-left-color:#84cc16}.stat-card.gray{border-left-color:#6b7280}.stat-icon{align-items:center;background:var(--light-bg);border-radius:.5rem;display:flex;font-size:2rem;height:3rem;justify-content:center;width:3rem}.stat-content{flex:1 1}.stat-value{color:#111827;line-height:1.2}.stat-title{color:#374151;font-size:.875rem;font-weight:500;margin-top:.25rem}@media (max-width:1024px){.stats-cards{gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.stat-card{padding:1.15rem}.stat-icon{font-size:1.75rem;height:2.75rem;width:2.75rem}.stat-value{font-size:1.35rem}.stat-title{font-size:.8rem}}@media (max-width:768px){.stats-cards{gap:.75rem;grid-template-columns:repeat(2,1fr)}.stat-card{padding:1rem}.stat-icon{font-size:1.5rem;height:2.5rem;width:2.5rem}.stat-value{font-size:1.25rem}.stat-title{font-size:.75rem}.active-indicator{font-size:1.25rem}}@media (max-width:480px){.stats-cards{gap:.5rem;grid-template-columns:repeat(2,1fr)}.stat-card{gap:.75rem;padding:.75rem}.stat-card.clickable:hover{transform:none}.stat-icon{font-size:1.25rem;height:2rem;width:2rem}.stat-value{font-size:1.1rem}.stat-title{font-size:.7rem;line-height:1.2}.active-indicator{font-size:1rem;right:.25rem;top:.25rem}.stat-card.active{border-left-width:4px}}.qr-scanner-overlay{align-items:center;animation:fadeIn .3s ease-out;background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:2000}.qr-scanner-modal{animation:slideUp .3s ease-out;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-height:90vh;max-width:420px;overflow:hidden;width:100%}.scanner-header{align-items:center;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;display:flex;justify-content:space-between;padding:1rem 1.25rem}.scanner-header h2{font-size:1.1rem;font-weight:600;margin:0}.scanner-header .btn-close{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.25rem;height:32px;justify-content:center;transition:all .2s;width:32px}.scanner-header .btn-close:hover{background:#ef4444;transform:scale(1.1)}.scanner-body{max-height:calc(90vh - 60px);overflow-y:auto;padding:1.25rem}.camera-select{align-items:center;display:flex;gap:.75rem;margin-bottom:1rem}.camera-select label{color:#374151;font-size:.875rem;font-weight:500}.camera-select select{background:#fff;border:1px solid #d1d5db;border-radius:8px;flex:1 1;font-size:.875rem;padding:.5rem}.scanner-view{aspect-ratio:1;background:#1f2937;border-radius:12px;margin-bottom:1rem;overflow:hidden;position:relative;width:100%}#qr-reader,#qr-reader video{height:100%;width:100%}#qr-reader video{border-radius:12px;object-fit:cover}.scanner-placeholder{align-items:center;background:#1f2937;bottom:0;color:#9ca3af;display:flex;flex-direction:column;justify-content:center;left:0;position:absolute;right:0;top:0}.scanner-placeholder .scanner-icon{font-size:3rem;margin-bottom:.75rem}.scanner-placeholder p{font-size:.875rem;text-align:center}.scanner-error{align-items:center;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;display:flex;font-size:.875rem;gap:.5rem;margin-bottom:1rem;padding:.75rem 1rem}.btn-scan{background:linear-gradient(135deg,#10b981,#059669);font-size:1rem;font-weight:600;padding:.875rem;transition:all .2s;width:100%}.btn-scan:hover{box-shadow:0 4px 12px #10b98166;transform:translateY(-1px)}.btn-scan.scanning{background:linear-gradient(135deg,#ef4444,#dc2626)}.btn-scan.scanning:hover{box-shadow:0 4px 12px #ef444466}.scanner-divider{align-items:center;color:#9ca3af;display:flex;font-size:.75rem;letter-spacing:.1em;margin:1.25rem 0;text-transform:uppercase}.scanner-divider:after,.scanner-divider:before{background:#e5e7eb;content:"";flex:1 1;height:1px}.scanner-divider span{padding:0 1rem}.manual-input{display:flex;gap:.5rem}.manual-input input{border:1px solid #d1d5db;border-radius:10px;flex:1 1;font-size:.875rem;padding:.75rem 1rem;transition:all .2s}.manual-input input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a;outline:none}.btn-lookup{background:linear-gradient(135deg,#4f46e5,#7c3aed);border:none;border-radius:10px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:600;padding:.75rem 1rem;transition:all .2s;white-space:nowrap}.btn-lookup:hover{box-shadow:0 4px 12px #4f46e566;transform:translateY(-1px)}.scanner-instructions{background:#f3f4f6;border-radius:10px;margin-top:1.25rem;padding:1rem}.scanner-instructions h4{color:#374151;font-size:.875rem;font-weight:600;margin:0 0 .5rem}.scanner-instructions ul{color:#6b7280;font-size:.8rem;margin:0;padding-left:1.25rem}.scanner-instructions li{margin-bottom:.25rem}.scanner-tip{background:#fef3c7;border-radius:6px;color:#92400e;font-size:.75rem;margin-top:.75rem;padding:.5rem .75rem}@media (max-width:480px){.qr-scanner-modal{border-radius:12px 12px 0 0;max-height:95vh;max-width:100%}.scanner-header{padding:.875rem 1rem}.scanner-header h2{font-size:1rem}.scanner-body{padding:1rem}.manual-input{flex-direction:column}.btn-lookup{width:100%}}#qr-reader__scan_region{min-height:200px!important}#qr-reader__dashboard{display:none!important}.interactive-order-container{background:#f5f5f5;display:flex;flex-direction:column;height:100vh}.pos-header{background:linear-gradient(135deg,#4f46e5,#7c3aed);box-shadow:0 2px 8px #0000001a;color:#fff;justify-content:space-between;padding:1rem 1.5rem}.pos-header,.pos-header-left{align-items:center;display:flex}.pos-header-left{gap:1rem}.pos-header-left h2{font-size:1.5rem;margin:0}.order-number{background:#fff3;border-radius:.5rem;font-weight:600;padding:.25rem .75rem}.pos-header-right .btn-icon{background:#fff3;border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-size:1.5rem;height:2.5rem;transition:background .2s;width:2.5rem}.pos-header-right .btn-icon:hover{background:#ffffff4d}.pos-main-content{display:flex;flex:1 1;overflow:hidden}.pos-cart{background:#fff;border-right:1px solid #e5e7eb;box-shadow:2px 0 8px #0000000d;display:flex;flex-direction:column;width:380px}.cart-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:1rem 1.5rem}.cart-header h3{font-size:1.125rem;margin:0}.btn-text{background:none;border:none;border-radius:.25rem;color:#ef4444;cursor:pointer;font-size:.875rem;font-weight:600;padding:.25rem .5rem;transition:background .2s}.btn-text:hover{background:#fee2e2}.cart-items{flex:1 1;overflow-y:auto;padding:1rem}.cart-empty{align-items:center;color:#9ca3af;display:flex;flex-direction:column;height:100%;justify-content:center}.empty-cart-icon{font-size:4rem;margin-bottom:1rem;opacity:.5}.cart-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem;display:flex;gap:.75rem;justify-content:space-between;margin-bottom:.75rem;padding:1rem;transition:all .2s}.cart-item:hover{box-shadow:0 2px 8px #0000001a}.cart-item-info{flex:1 1}.cart-item-name{color:#111827;font-weight:600;margin-bottom:.25rem}.cart-item-desc{color:#6b7280;font-size:.75rem;margin-bottom:.5rem}.cart-item-price{color:#10b981;font-size:1rem;font-weight:700}.editable-price{align-items:center;border-radius:.375rem;cursor:pointer;display:inline-flex;gap:.375rem;padding:.25rem .5rem;transition:all .2s}.editable-price:hover{background:#10b9811a}.price-edit-input{background:#fff;border:2px solid #10b981;border-radius:.375rem;box-shadow:0 0 0 3px #10b98133;color:#10b981;font-size:.95rem;font-weight:700;outline:none;padding:.375rem .5rem;width:90px}.price-edit-input:focus{border-color:#059669;box-shadow:0 0 0 3px #0596694d}.cart-item-actions{align-items:flex-end;display:flex;flex-direction:column;gap:.5rem}.quantity-controls{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;display:flex;gap:.5rem;padding:.25rem}.quantity-controls button{background:none;border:none;color:#4f46e5;cursor:pointer;font-size:1.25rem;padding:0 .5rem;transition:color .2s}.quantity-controls button:hover{color:#7c3aed}.quantity-controls span{font-weight:600;min-width:2rem;text-align:center}.btn-remove{background:none;border:none;cursor:pointer;font-size:1.25rem;transition:transform .2s}.btn-remove:hover{transform:scale(1.2)}.cart-footer{background:#fff;border-top:1px solid #e5e7eb;padding:1.5rem}.cart-total{align-items:center;display:flex;font-size:1.125rem;justify-content:space-between;margin-bottom:1rem}.total-amount{color:#10b981;font-size:1.75rem;font-weight:700}.pos-products{display:flex;flex:1 1;flex-direction:column;overflow:hidden}.category-tabs{background:#fff;border-bottom:1px solid #e5e7eb;display:flex;gap:.5rem;overflow-x:auto;padding:1rem}.category-tab{align-items:center;border:none;border-radius:.5rem;cursor:pointer;display:flex;flex-direction:column;font-weight:500;gap:.25rem;min-width:100px;padding:.75rem 1rem;transition:all .2s;white-space:nowrap}.category-tab.active{box-shadow:0 2px 8px #00000026;transform:translateY(-2px)}.category-tab:hover{box-shadow:0 2px 8px #0000001a;transform:translateY(-2px)}.category-icon{font-size:1.5rem}.category-name{font-size:.875rem}.product-search{background:#fff;border-bottom:1px solid #e5e7eb;display:flex;gap:.5rem;padding:1rem}.search-input{border:1px solid #e5e7eb;border-radius:.5rem;flex:1 1;font-size:1rem;padding:.75rem 1rem;transition:border-color .2s}.search-input:focus{border-color:#4f46e5;outline:none}.product-search .btn-icon{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:.5rem;cursor:pointer;font-size:1.25rem;padding:.75rem 1rem;transition:all .2s}.product-search .btn-icon:hover{background:#e5e7eb}.product-grid{grid-gap:.75rem;align-content:start;display:grid;flex:1 1;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));overflow-y:auto;padding:1rem}.product-card{background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;flex-direction:column;gap:.5rem;height:100px;padding:1rem;position:relative;text-align:center}.product-card,.product-edit-price-btn{cursor:pointer;display:flex;justify-content:center;transition:all .2s}.product-edit-price-btn{align-items:center;background:#4f46e51a;border:none;border-radius:4px;color:#4f46e5;font-size:14px;font-weight:700;height:24px;opacity:0;position:absolute;right:4px;top:4px;width:24px;z-index:5}.product-card:hover .product-edit-price-btn{opacity:1}.product-edit-price-btn:hover{background:#4f46e5;color:#fff;transform:scale(1.1)}.loading-products{color:#6b7280;font-size:1rem;grid-column:1/-1;padding:2rem;text-align:center}.product-card:hover{border-color:#4f46e5;box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.product-name{color:#111827;font-size:.875rem;line-height:1.2}.product-price{color:#10b981;font-size:1rem;font-weight:700}.discount-price{color:#ef4444}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content{box-shadow:0 20px 60px #0000004d;max-width:90vw}.customer-form-modal{width:600px}.price-edit-modal{max-width:95vw;width:400px}.price-edit-form{padding:1.5rem}.price-edit-product-info{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-left:4px solid #4f46e5;border-radius:.5rem;display:flex;flex-direction:column;gap:.25rem;margin-bottom:1.5rem;padding:1rem}.price-edit-product-name{color:#1e293b;font-size:1.25rem;font-weight:700}.price-edit-product-category{color:#64748b;font-size:.875rem;text-transform:capitalize}.price-edit-field{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.5rem}.price-edit-field label{color:#374151;font-size:.875rem;font-weight:600}.price-input-wrapper{border:2px solid #e5e7eb;border-radius:.5rem}.price-input-wrapper .currency-symbol{border-right:1px solid #e5e7eb;font-size:1.125rem;font-weight:700;padding:.875rem 1rem}.price-input-wrapper input{background:#fff;font-size:1.25rem;padding:.875rem 1rem}.price-input-wrapper input::placeholder{color:#9ca3af;font-weight:400}.price-edit-hint{color:#6b7280;font-size:.75rem}.price-edit-actions{border-top:1px solid #e5e7eb;display:flex;gap:1rem;justify-content:flex-end;padding-top:1rem}.modal-header{background:linear-gradient(135deg,#4f46e5,#7c3aed);border-bottom:1px solid #e5e7eb;padding:1.25rem 1.5rem;position:relative}.modal-header h3{flex:1 1;font-size:1.25rem;margin:0}.modal-header .btn-close{align-items:center;background:#9ca3af4d;color:#9ca3af;display:flex;flex-shrink:0;font-size:1.25rem;height:36px;justify-content:center;margin-left:1rem;transition:all .2s;width:36px}.modal-header .btn-close:hover{background:#ef444433;color:#ef4444;transform:scale(1.1)}.customer-form{overflow-y:auto}.customer-selection-section{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:2px solid #bae6fd;border-radius:.75rem;margin-bottom:1.5rem;padding:1.25rem}.customer-select-label{color:#0369a1;display:block;font-size:1rem;font-weight:700;margin-bottom:.75rem}.customer-search-wrapper{position:relative}.customer-search-input-container{align-items:center;display:flex;position:relative}.customer-search-input{background:#fff;border:2px solid #38bdf8;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;color:#1e293b;font-size:1rem;font-weight:500;padding:.875rem 3rem .875rem 1rem;transition:all .2s;width:100%}.customer-search-input:hover{border-color:#0284c7;box-shadow:0 2px 6px #0284c733}.customer-search-input:focus{border-color:#0369a1;box-shadow:0 0 0 3px #0369a11a;outline:none}.customer-search-input::placeholder{color:#94a3b8}.clear-customer-btn{align-items:center;background:#ef4444;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:700;height:1.75rem;justify-content:center;position:absolute;right:.75rem;transition:all .2s;width:1.75rem}.clear-customer-btn:hover{background:#dc2626;transform:scale(1.1)}.customer-dropdown-results{background:#fff;border:2px solid #38bdf8;border-radius:.5rem;box-shadow:0 10px 25px #00000026;left:0;max-height:300px;overflow-y:auto;position:absolute;right:0;top:calc(100% + .5rem);z-index:1000}.customer-dropdown-item{border-bottom:1px solid #e0f2fe;cursor:pointer;padding:.875rem 1rem;transition:all .2s}.customer-dropdown-item:last-child{border-bottom:none}.customer-dropdown-item:hover{background:linear-gradient(135deg,#f0f9ff,#e0f2fe)}.customer-dropdown-name{color:#0369a1;font-size:1rem;font-weight:600;margin-bottom:.25rem}.customer-dropdown-phone{color:#64748b;font-family:Courier New,monospace;font-size:.875rem}.customer-dropdown-empty{color:#64748b;font-style:italic;padding:1rem;text-align:center}.loading-customers{color:#0369a1;font-size:.95rem;font-weight:600;padding:1rem;text-align:center}.form-divider{background:linear-gradient(90deg,#0000,#e5e7eb,#0000);height:1px;margin:1.5rem 0}.form-divider.payment-divider{align-items:center;background:linear-gradient(135deg,#fef3c7,#fde68a);border-radius:8px;display:flex;gap:.5rem;height:auto;margin:1.5rem 0 1rem;padding:.75rem 1rem}.form-divider.payment-divider span{color:#92400e;font-size:.95rem;font-weight:600}.form-divider.delivery-divider{align-items:center;background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-radius:8px;display:flex;gap:.5rem;height:auto;margin:1.5rem 0 1rem;padding:.75rem 1rem}.form-divider.delivery-divider span{color:#1e40af;font-size:.95rem;font-weight:600}.delivery-date-input{background:#fff;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;font-size:1rem;padding:.75rem 1rem;transition:all .2s;width:100%}.delivery-date-input:hover{border-color:#3b82f6}.delivery-date-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.payment-select{background:#fff;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;font-size:1rem;padding:.75rem 1rem;transition:all .2s;width:100%}.payment-select:hover{border-color:#10b981}.payment-select:focus{border-color:#10b981;box-shadow:0 0 0 3px #10b9811a;outline:none}.form-row{grid-template-columns:1fr 1fr}.form-group input,.form-group textarea{border:1px solid #e5e7eb;border-radius:.5rem;font-size:1rem;transition:all .2s}.form-group input:focus,.form-group textarea:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.form-group textarea{font-family:inherit}.phone-search-container{position:relative}.search-indicator{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:0 0 .5rem .5rem;border-top:none;color:#6b7280;font-size:.75rem;left:0;padding:.5rem;position:absolute;right:0;text-align:center;top:100%}.customer-search-results{background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;box-shadow:0 10px 25px #00000026;left:0;margin-top:.25rem;max-height:300px;overflow-y:auto;position:absolute;right:0;top:100%;z-index:10}.search-results-header{background:#f3f4f6;border-bottom:1px solid #e5e7eb;color:#374151;font-size:.75rem;font-weight:600;padding:.75rem 1rem}.customer-search-item{border-bottom:1px solid #e5e7eb;cursor:pointer;padding:1rem;transition:background .2s}.customer-search-item:last-child{border-bottom:none}.customer-search-item:hover{background:#f9fafb}.customer-item-name{font-size:.875rem;margin-bottom:.25rem}.customer-item-phone{color:#6b7280;font-size:.75rem;margin-bottom:.25rem}.customer-item-address{color:#9ca3af;font-size:.75rem}.notification-options{align-items:center;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-radius:10px;display:flex;flex-wrap:wrap;gap:1rem;margin:0 0 1rem;padding:1rem 1.5rem}.notification-label{color:#065f46;font-size:.9rem;font-weight:600}.checkbox-option{align-items:center;background:#fff;border:2px solid #0000;border-radius:8px;cursor:pointer;display:flex;font-size:.9rem;font-weight:500;gap:6px;padding:8px 14px;transition:all .2s}.checkbox-option:hover{box-shadow:0 2px 8px #0000001a;transform:translateY(-1px)}.checkbox-option input[type=checkbox]{accent-color:#10b981;cursor:pointer;height:18px;width:18px}.checkbox-option.whatsapp-option:has(input:checked){background:#dcfce7;border-color:#22c55e}.checkbox-option.sms-option:has(input:checked){background:#dbeafe;border-color:#3b82f6}.checkbox-icon{font-size:1.1rem}.modal-actions{border-top:1px solid #e5e7eb;display:flex;gap:1rem;justify-content:flex-end;padding:1.5rem}.btn{align-items:center;border:none;border-radius:.5rem;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:600;gap:.5rem;justify-content:center;padding:.625rem 1.5rem;transition:all .2s}.btn-lg{font-size:1.125rem;padding:.875rem 2rem}.btn-block{width:100%}.btn-success{background:#10b981;color:#fff}.btn-success:hover{background:#059669}.btn-success:disabled{background:#9ca3af;cursor:not-allowed}.btn-secondary{background:#f3f4f6}.btn-secondary:hover{background:#e5e7eb}@media (max-width:1024px){.pos-cart{width:300px}.product-grid{gap:.625rem;grid-template-columns:repeat(auto-fill,minmax(110px,1fr))}.product-card{padding:.875rem}.category-tab{padding:.625rem 1rem}}@media (max-width:900px){.pos-main-content{flex-direction:column-reverse}.pos-cart{height:auto;max-height:35vh;order:2;width:100%}.pos-products{flex:1 1;min-height:50vh;order:1}.cart-items{max-height:15vh}.category-tabs{-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:.5rem;scrollbar-width:none}.category-tabs::-webkit-scrollbar{display:none}.category-tab{flex-shrink:0;min-width:100px}}@media (max-width:768px){.interactive-order-container{height:100vh;height:100dvh}.pos-header{padding:.75rem 1rem}.pos-header-left h2{font-size:1.125rem}.pos-main-content{flex-direction:column-reverse;padding:0}.pos-cart{border-radius:0;border-top:2px solid #e5e7eb;height:auto;max-height:30vh;width:100%}.cart-header{padding:.75rem 1rem}.cart-header h3{font-size:1rem}.cart-items{max-height:calc(30vh - 130px);padding:.5rem}.cart-item{gap:.5rem;padding:.625rem}.cart-item-name{font-size:.875rem}.cart-item-desc{font-size:.7rem}.cart-footer{padding:.75rem 1rem}.cart-total{font-size:.875rem}.total-amount{font-size:1.125rem}.pos-products{display:flex;flex:1 1;flex-direction:column;overflow:hidden}.category-tabs{flex-shrink:0;gap:.5rem;padding:.75rem}.category-tab{font-size:.75rem;min-width:85px;padding:.5rem .875rem}.category-icon{font-size:1rem}.category-name{font-size:.7rem}.product-search{padding:.5rem .75rem}.search-input{font-size:.875rem;padding:.625rem .875rem}.product-grid{gap:.5rem;grid-template-columns:repeat(3,1fr);padding:.75rem .75rem 1rem}.product-card{min-height:70px;padding:.75rem .5rem}.product-name{font-size:.7rem;line-height:1.2}.product-price{font-size:.75rem;margin-top:.25rem}.modal-overlay{align-items:flex-end;padding:0}.customer-form-modal{animation:slideUpModal .3s ease-out;border-radius:1.5rem 1.5rem 0 0;max-height:95vh;max-height:95dvh;max-width:100%;width:100%}@keyframes slideUpModal{0%{transform:translateY(100%)}to{transform:translateY(0)}}.modal-header{padding:1rem;position:-webkit-sticky;position:sticky;top:0;z-index:10}.modal-header h3{font-size:1.125rem}.modal-header .btn-close{font-size:1rem;height:32px;width:32px}.customer-form{-webkit-overflow-scrolling:touch;max-height:calc(95vh - 200px);max-height:calc(95dvh - 200px);overflow-y:auto;padding:1rem}.customer-selection-section{margin-bottom:1rem}.customer-select-label{font-size:.875rem}.customer-search-input{font-size:1rem;padding:.75rem}.customer-dropdown-results{max-height:200px}.form-divider{margin:1rem 0}.form-divider.delivery-divider,.form-divider.payment-divider{margin:1rem 0 .75rem;padding:.625rem .875rem}.form-divider.delivery-divider span,.form-divider.payment-divider span{font-size:.875rem}.delivery-date-input{font-size:1rem}.form-row{gap:.75rem;grid-template-columns:1fr;margin-bottom:.75rem}.form-group{gap:.375rem}.form-group label{font-size:.8rem}.form-group input,.form-group select,.form-group textarea,.payment-select{border-radius:.5rem;font-size:1rem;padding:.75rem}.notification-options{gap:.75rem;margin:.75rem 0;padding:.75rem}.notification-label{font-size:.8rem;width:100%}.checkbox-option{flex:1 1;font-size:.8rem;justify-content:center;padding:.625rem .875rem}.modal-actions{background:#fff;border-top:1px solid #e5e7eb;bottom:0;flex-wrap:wrap;gap:.75rem;padding:1rem;position:-webkit-sticky;position:sticky}.modal-actions .btn{flex:1 1;font-size:.9rem;min-width:120px;padding:.875rem}.options-modal{max-height:90vh;max-height:90dvh;max-width:95%;width:95%}.price-edit-modal{border-radius:1rem;max-width:95%;width:95%}.price-edit-form{padding:1rem}.price-edit-product-info{margin-bottom:1rem;padding:.75rem}.price-edit-product-name{font-size:1.125rem}.price-input-wrapper input{font-size:1rem;padding:.75rem}.price-input-wrapper .currency-symbol{padding:.75rem}.product-edit-price-btn{opacity:.7}}@media (max-width:480px){.pos-header{padding:.625rem .75rem}.pos-header-left h2{font-size:1rem}.order-number{font-size:.75rem;padding:.125rem .5rem}.pos-cart{max-height:28vh}.cart-items{max-height:calc(28vh - 120px)}.quantity-controls button{font-size:1rem;height:28px;width:28px}.product-grid{gap:.5rem;grid-template-columns:repeat(2,1fr)}.product-card{min-height:65px;padding:.625rem}.product-name{font-size:.65rem}.product-price{font-size:.7rem}.category-tab{min-width:75px;padding:.5rem .75rem}.modal-actions{flex-direction:column}.modal-actions .btn{width:100%}.checkbox-option{flex:none;width:calc(50% - .375rem)}}@media (max-width:896px) and (orientation:landscape){.interactive-order-container{height:100vh;height:100dvh}.pos-main-content{flex-direction:row}.pos-cart{height:100%;max-height:none;width:280px}.pos-products{flex:1 1}.cart-items{max-height:calc(100vh - 250px)}.modal-overlay{align-items:center;padding:1rem}.customer-form-modal{border-radius:1rem;max-height:95vh}.customer-form{max-height:calc(95vh - 180px)}}@media (hover:none) and (pointer:coarse){.btn,.category-tab,.checkbox-option,.product-card,.quantity-controls button{min-height:44px}.btn:hover,.category-tab:hover,.product-card:hover{transform:none}.product-card:active{background:#f3f4f6;transform:scale(.98)}.category-tab:active{opacity:.8}.cart-items,.category-tabs,.customer-dropdown-results,.customer-form,.product-grid{-webkit-overflow-scrolling:touch;scroll-behavior:smooth}}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){.category-tab,.modal-content,.product-card{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}}.options-modal{width:700px}.price-display{background:linear-gradient(135deg,#f3f4f6,#e5e7eb);border-radius:.5rem;color:#374151;font-size:1.125rem;font-weight:600;padding:1rem;text-align:center}.option-group,.price-display{margin-bottom:1.5rem}.option-label{color:#374151;display:block;font-size:.875rem;font-weight:600;margin-bottom:.75rem;text-transform:capitalize}.option-buttons{display:flex;flex-wrap:wrap;gap:.75rem}.option-btn{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:.5rem;cursor:pointer;display:flex;flex:1 1;flex-direction:column;gap:.25rem;min-width:140px;padding:1rem;transition:all .2s}.option-btn:hover{border-color:#4f46e5;box-shadow:0 2px 8px #4f46e51a}.option-btn.selected{background:#4f46e5;border-color:#4f46e5;color:#fff}.option-label-text{font-size:.875rem;font-weight:600}.option-price{color:#10b981;font-size:.75rem;font-weight:600}.option-btn.selected .option-price{color:#d1fae5}.quantity-section{border-top:1px solid #e5e7eb;margin-top:1.5rem;padding-top:1.5rem}.quantity-controls-large{align-items:center;background:#f3f4f6;border:2px solid #e5e7eb;border-radius:.5rem;display:flex;gap:1rem;max-width:200px;padding:.5rem}.quantity-controls-large button{background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;color:#4f46e5;cursor:pointer;font-size:1.5rem;font-weight:700;padding:.5rem 1rem;transition:all .2s}.quantity-controls-large button:hover{background:#4f46e5;border-color:#4f46e5;color:#fff}.quantity-controls-large input{background:#0000;border:none;color:#111827;flex:1 1;font-size:1.25rem;font-weight:700;text-align:center}.quantity-controls-large input:focus{outline:none}.modal-footer{border-top:1px solid #e5e7eb}.modal-footer .btn{flex:1 1}@media (max-width:768px){.options-modal{width:95vw}.option-buttons{flex-direction:column}.option-btn{min-width:100%}.modal-footer{flex-direction:column}}.modal-overlay{align-items:center;animation:fadeIn .2s ease-out;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.modal-content{animation:slideUp .3s ease-out;background:#fff;border-radius:1rem;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;display:flex;flex-direction:column;max-height:90vh;max-width:800px;overflow:hidden;width:100%}.modal-header{background:var(--light-bg);border-bottom:1px solid var(--border-color);padding:1.5rem}.modal-header h2{color:var(--text-primary);font-size:1.5rem}.close-button{align-items:center;background:#0000;border:none;border-radius:.375rem;color:var(--text-secondary);cursor:pointer;display:flex;font-size:1.5rem;height:2rem;justify-content:center;transition:all .2s;width:2rem}.close-button:hover{background:var(--border-color);color:var(--text-primary)}.detail-section{border-bottom:1px solid var(--border-color);margin-bottom:1.5rem;padding-bottom:1.5rem}.detail-section:last-child{border-bottom:none;margin-bottom:0}.detail-section h3{align-items:center;color:var(--text-primary);display:flex;font-size:1.125rem;gap:.5rem;margin-bottom:1rem}.detail-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.detail-item{flex-direction:column;gap:.25rem}.detail-item.full-width{grid-column:1/-1}.detail-label{font-size:.75rem;letter-spacing:.05em;text-transform:uppercase}.detail-value{font-size:1rem;font-weight:500}.detail-value.ticket{color:var(--primary-color);font-weight:600}.detail-value.amount{color:var(--success-color);font-size:1.25rem;font-weight:700}.detail-value.customer-id{background:var(--light-bg);border-radius:.25rem;color:var(--secondary-color);font-family:Courier New,monospace;font-weight:600;padding:.25rem .5rem}.items-list{background:var(--light-bg);border-radius:.5rem;padding:1rem}.item-row{border-radius:.375rem}.item-qty{color:var(--primary-color);font-weight:700;min-width:2rem}.item-desc{color:var(--text-primary);flex:1 1}.item-price{color:var(--success-color)}.payment-badge{border-radius:9999px;display:inline-block;font-size:.75rem;font-weight:600;padding:.25rem .75rem}.payment-badge.paid{background:#d1fae5;color:#047857}.payment-badge.pending{background:#fed7aa;color:#c2410c}.payment-badge.partial{background:#fef3c7;color:#92400e}.status-badge{border-radius:9999px;display:inline-block;white-space:nowrap}.status-sorting,.status-spotting{background:#e0e7ff;color:#4338ca}.status-washing{background:#dbeafe;color:#1e40af}.status-drycleaning{background:#cffafe;color:#0e7490}.status-drying{background:#e0f2fe;color:#075985}.status-ironing{background:#fce7f3;color:#9f1239}.status-packing,.status-quality{background:#fef3c7;color:#92400e}.status-ready{background:#d1fae5;color:#065f46}.status-delivery{background:#fef9c3;color:#854d0e}.status-delivered{color:#047857}.status-return{background:#fed7aa;color:#c2410c}.status-refund{background:#fee2e2;color:#991b1b}.status-cancelled{background:#f3f4f6;color:#374151}.notes-text{background:var(--light-bg);border-radius:.5rem;color:var(--text-primary);line-height:1.6;padding:1rem}.rack-selection{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.rack-button{background:#fff;border:2px solid #e0e0e0;border-radius:.5rem;color:#333;cursor:pointer;font-size:.9rem;font-weight:500;min-width:80px;padding:.5rem 1rem;transition:all .2s ease}.rack-button:hover:not(:disabled){background:#f1f8f4;border-color:#4caf50;box-shadow:0 2px 4px #0000001a;transform:translateY(-2px)}.rack-button.active{background:#4caf50;border-color:#4caf50;color:#fff;font-weight:600}.rack-button.current{background:#e3f2fd;border-color:#2196f3;color:#1976d2;font-weight:600}.rack-button.current.active{background:#4caf50;border-color:#4caf50;color:#fff}.rack-button:disabled{cursor:not-allowed;opacity:.6}.modal-footer{align-items:center;flex-wrap:wrap;justify-content:space-between}.status-update{align-items:center;display:flex;gap:.75rem}.status-update label{color:var(--text-primary);font-size:.875rem;font-weight:600}.status-select-large{background:#fff;border:1px solid var(--border-color);border-radius:.5rem;cursor:pointer;font-size:.875rem;min-width:150px;padding:.5rem 1rem}.status-select-large:hover{border-color:var(--primary-color)}.modal-footer .action-buttons{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem}.paper-size-selector{align-items:center;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:.5rem;display:flex;gap:.5rem;padding:.25rem .5rem}.paper-size-label{color:#666;font-size:.75rem;font-weight:600;white-space:nowrap}.paper-size-select{background:#fff;border:1px solid #ddd;border-radius:.375rem;cursor:pointer;font-size:.8rem;min-width:110px;padding:.375rem .5rem}.paper-size-select:focus,.paper-size-select:hover{border-color:var(--primary-color)}.paper-size-select:focus{box-shadow:0 0 0 2px #4f46e51a;outline:none}@media (max-width:768px){.modal-content{margin:0;max-height:95vh}.modal-body,.modal-header{padding:1rem}.modal-footer,.status-update{align-items:stretch;flex-direction:column}.modal-footer .action-buttons,.status-select-large{width:100%}.modal-footer .action-buttons button{flex:1 1}.detail-grid{grid-template-columns:1fr}}.detail-section.qr-section{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0}.qr-barcode-container{align-items:center;display:flex;flex-direction:column;gap:1rem}.qr-actions{display:flex;gap:.5rem;margin-top:.5rem}.btn-outline{background:#0000;border:2px solid #4f46e5;border-radius:8px;color:#4f46e5;cursor:pointer;font-weight:600;padding:.5rem 1rem;transition:all .2s}.btn-outline:hover{background:#4f46e5;color:#fff}.garment-tag-section{background:linear-gradient(135deg,#fdf4ff,#f3e8ff);border:1px solid #e9d5ff;border-radius:.75rem;padding:1.25rem!important}.garment-tag-info{align-items:center;display:flex;flex-direction:column;gap:1rem;text-align:center}.tag-number-display{align-items:center;background:#fff;border:2px dashed #a855f7;border-radius:.5rem;display:flex;gap:.75rem;padding:.75rem 1.5rem}.tag-number-display .tag-label{color:#7c3aed;font-size:.85rem;font-weight:600}.tag-number-display .tag-value{color:#581c87;font-family:Courier New,monospace;font-size:1.25rem;font-weight:800;letter-spacing:1px}.tag-description{color:#6b7280;font-size:.85rem;line-height:1.5;max-width:400px}.btn-print-garment-tag{border-radius:10px;box-shadow:0 4px 14px #8b5cf640;font-size:.95rem;gap:8px;padding:10px 20px}.btn-print-garment-tag:hover{box-shadow:0 6px 20px #8b5cf659;transform:translateY(-2px)}.btn-print-garment-tag:active{transform:translateY(0)}.qr-code-container{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;display:flex;flex-direction:column;gap:.75rem;padding:1rem}.qr-code-container.size-small{gap:.5rem;padding:.75rem}.qr-code-container.size-medium{gap:.75rem;padding:1rem}.qr-code-container.size-large{gap:1rem;padding:1.5rem}.qr-section{align-items:center;display:flex;flex-direction:column;gap:.5rem}.qr-image{border-radius:8px;box-shadow:0 2px 8px #0000001a}.size-small .qr-image{height:80px;width:80px}.size-medium .qr-image{height:120px;width:120px}.size-large .qr-image{height:150px;width:150px}.qr-label{color:#6b7280;font-size:.7rem;text-align:center}.size-large .qr-label{font-size:.8rem}.barcode-section{background:#fff;border-radius:6px;display:flex;justify-content:center;padding:.5rem}.barcode-section svg{height:auto;max-width:100%}.ticket-info{border-top:1px dashed #e5e7eb;flex-direction:column;gap:.25rem;padding-top:.5rem;width:100%}.ticket-number{font-size:.9rem;letter-spacing:.05em}.size-small .ticket-number{font-size:.75rem}.size-large .ticket-number{font-size:1rem}.order-status{background:#dbeafe;border-radius:4px;color:#1e40af;font-size:.7rem;font-weight:500;padding:.2rem .5rem}@media print{.qr-code-container{border:2px solid #000;box-shadow:none;page-break-inside:avoid}.barcode-section svg,.qr-image{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.print-tag{align-items:center;background:#fff;border:1px solid #000;display:flex;flex-direction:column;height:40mm;justify-content:center;padding:3mm;width:70mm}.print-tag .qr-image{height:25mm;width:25mm}.print-tag .barcode-section svg{height:15mm}.print-tag .ticket-number{font-size:10pt;margin-top:2mm}.garment-tag{align-items:center;background:#fff;border:2px solid #000;border-radius:4px;box-sizing:border-box;display:flex;flex-direction:column;font-family:Arial,sans-serif;justify-content:space-between;position:relative}.garment-tag.size-thermal{height:2in;padding:3mm;width:2in}.garment-tag.size-standard{height:30mm;padding:2mm;width:60mm}.garment-tag.size-small{height:25mm;padding:1.5mm;width:40mm}.garment-tag.size-large{height:40mm;padding:3mm;width:80mm}.tag-hole{background:#0000;border:1px dashed #999;border-radius:50%;height:4mm;left:50%;position:absolute;top:3mm;transform:translateX(-50%);width:4mm}.size-small .tag-hole{height:3mm;top:2mm;width:3mm}.size-thermal .tag-hole{display:none}.tag-top{align-items:center;display:flex;flex-direction:row;gap:2mm;justify-content:center;margin-top:5mm;width:100%}.size-small .tag-top{gap:1.5mm;margin-top:4mm}.size-thermal .tag-top{flex-direction:column;gap:1mm;margin-top:2mm}.tag-qr img{border:1px solid #ddd;height:12mm;width:12mm}.size-small .tag-qr img{height:10mm;width:10mm}.size-large .tag-qr img{height:16mm;width:16mm}.size-thermal .tag-qr img{border:none;height:20mm;width:20mm}.tag-info{align-items:flex-start;display:flex;flex-direction:column;gap:.3mm}.size-thermal .tag-info{align-items:center;gap:.5mm;text-align:center}.tag-number{color:#000;font-family:Courier New,monospace;font-size:10pt;font-weight:800;letter-spacing:.5px}.size-small .tag-number{font-size:8pt}.size-large .tag-number{font-size:12pt}.size-thermal .tag-number{font-size:14pt;letter-spacing:1px}.tag-customer{color:#333;font-size:7pt;font-weight:600;max-width:25mm;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.size-small .tag-customer{font-size:6pt;max-width:18mm}.size-thermal .tag-customer{font-size:10pt;max-width:45mm}.tag-date{color:#666;font-size:6pt}.size-small .tag-date{font-size:5pt}.size-thermal .tag-date{font-size:8pt}.tag-items{background:#f0f0f0;border-radius:1mm;color:#666;font-size:6pt;padding:.3mm 1mm}.size-small .tag-items{font-size:5pt}.size-thermal .tag-items{border-radius:2mm;font-size:9pt;padding:1mm 3mm}.tag-barcode{align-items:center;display:flex;justify-content:center;width:100%}.tag-barcode svg{height:8mm;max-width:50mm}.size-small .tag-barcode svg{height:6mm;max-width:35mm}.size-large .tag-barcode svg{height:10mm;max-width:70mm}.size-thermal .tag-barcode svg{height:10mm;max-width:45mm}.tag-ticket{color:#666;font-family:Courier New,monospace;font-size:5pt;letter-spacing:.3px}.size-small .tag-ticket{font-size:4pt}.size-thermal .tag-ticket{font-size:8pt;margin-top:1mm}.size-large .tag-ticket{font-size:6pt}@media print{.garment-tag{color-adjust:exact!important;break-inside:avoid;page-break-inside:avoid}.garment-tag,.tag-barcode svg,.tag-qr img{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}}.tag-print-sheet{background:#fff;display:flex;flex-wrap:wrap;gap:5mm;padding:10mm}.tag-print-sheet.a4{min-height:297mm;width:210mm}@media print{.tag-print-sheet{gap:3mm;padding:5mm}@page{size:A4;margin:5mm}}.tag-preview-modal{align-items:center;background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.tag-preview-content{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-height:90vh;max-width:500px;overflow-y:auto;width:100%}.tag-preview-header{align-items:center;background:#f8fafc;border-bottom:1px solid #e5e7eb;border-radius:12px 12px 0 0;display:flex;justify-content:space-between;padding:16px 20px}.tag-preview-header h3{align-items:center;color:#1f2937;display:flex;font-size:1.1rem;gap:8px;margin:0}.tag-preview-close{background:none;border:none;color:#6b7280;cursor:pointer;font-size:1.5rem;line-height:1;padding:4px}.tag-preview-close:hover{color:#1f2937}.tag-preview-body{align-items:center;display:flex;flex-direction:column;gap:20px;padding:24px}.tag-size-selector{display:flex;gap:8px}.tag-size-info{display:flex;justify-content:center;padding:8px}.tag-size-badge{align-items:center;background:linear-gradient(135deg,#4f46e5,#6366f1);border-radius:8px;box-shadow:0 2px 8px #4f46e54d;color:#fff;display:inline-flex;font-size:.9rem;font-weight:600;gap:6px;padding:10px 20px}.tag-size-btn{background:#fff;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;font-size:.85rem;font-weight:500;padding:8px 16px;transition:all .2s}.tag-size-btn:hover{background:#eff6ff;border-color:#3b82f6}.tag-size-btn.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.tag-preview-display{background:#f1f5f9;border-radius:8px;display:flex;justify-content:center;padding:20px}.tag-preview-footer{border-top:1px solid #e5e7eb;display:flex;gap:12px;justify-content:flex-end;padding:16px 20px}.btn-print-tag{align-items:center;background:#3b82f6;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-weight:600;gap:8px;padding:10px 20px;transition:background .2s}.btn-print-tag:hover{background:#2563eb}.btn-cancel-tag{background:#f3f4f6;border:none;border-radius:8px;color:#4b5563;cursor:pointer;font-weight:500;padding:10px 20px}.btn-cancel-tag:hover{background:#e5e7eb}.tag-quantity-group{align-items:center;background:#f8fafc;border-radius:8px;display:flex;gap:12px;justify-content:center;padding:12px;width:100%}.tag-quantity-group label{color:#4b5563;font-size:.9rem;font-weight:500}.tag-quantity-group input{border:1px solid #d1d5db;border-radius:6px;font-size:1rem;font-weight:600;padding:8px;text-align:center;width:60px}.tag-options{display:flex;flex-direction:column;gap:8px;width:100%}.tag-option-item{align-items:center;color:#4b5563;display:flex;font-size:.9rem;gap:8px}.tag-option-item input[type=checkbox]{accent-color:#3b82f6;height:16px;width:16px}.garment-tag-preview{box-shadow:0 4px 12px #00000026;transform:scale(1.5);transform-origin:center}.btn-print-garment-tag{align-items:center;background:linear-gradient(135deg,#8b5cf6,#7c3aed);border:none;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:.85rem;font-weight:600;gap:6px;padding:8px 14px;transition:all .2s}.btn-print-garment-tag:hover{background:linear-gradient(135deg,#7c3aed,#6d28d9);box-shadow:0 4px 12px #8b5cf64d;transform:translateY(-1px)}.btn-print-garment-tag:disabled{background:#9ca3af;box-shadow:none;cursor:not-allowed;transform:none}.customer-tracker{margin:0 auto;max-width:1400px;padding:2rem}.tracker-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.compact-stats-wrapper{margin-bottom:1.5rem}.compact-stats-wrapper .customer-stats-cards{gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));margin-bottom:0}.compact-stats-wrapper .customer-stats-cards .stat-card{border-radius:.5rem;gap:.75rem;padding:.75rem}.compact-stats-wrapper .customer-stats-cards .stat-card.active{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:2px solid #3b82f6;box-shadow:0 4px 12px #3b82f64d}.compact-stats-wrapper .customer-stats-cards .stat-icon{font-size:1.5rem}.compact-stats-wrapper .customer-stats-cards .stat-value{font-size:1.25rem;font-weight:700}.compact-stats-wrapper .customer-stats-cards .stat-label{font-size:.75rem;font-weight:500;margin-top:.125rem}.customer-stats-cards{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:2rem}.customer-stats-cards .stat-card{align-items:center;background:#fff;border-radius:.75rem;box-shadow:var(--shadow);display:flex;gap:1rem;padding:1.5rem;position:relative;transition:all .2s}.customer-stats-cards .stat-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}.customer-stats-cards .stat-card.active{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:2px solid #3b82f6;box-shadow:0 4px 12px #3b82f64d}.customer-stats-cards .stat-card.active:hover{background:linear-gradient(135deg,#dbeafe,#bfdbfe)}.customer-stats-cards .stat-card.active .stat-label,.customer-stats-cards .stat-card.active .stat-value{color:#111827}.customer-stats-cards .stat-icon{font-size:2rem}.customer-stats-cards .stat-info{flex:1 1}.customer-stats-cards .stat-value{color:#111827;font-size:1.75rem;font-weight:700;line-height:1.2}.customer-stats-cards .stat-label{color:#374151;font-size:.875rem;font-weight:500;margin-top:.25rem}.customers-list{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.customer-card{background:#fff;border:1px solid var(--border-color);border-radius:12px;box-shadow:var(--shadow);padding:1.5rem;transition:all .2s}.customer-card:hover{border-color:var(--primary-color);box-shadow:var(--shadow-lg);transform:translateY(-2px)}.customer-header{align-items:flex-start;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:1rem}.customer-name-section{flex:1 1}.customer-name-section h3{color:var(--text-primary);font-size:1.25rem;font-weight:600;margin:0 0 .25rem}.customer-id{background:var(--light-bg);border-radius:4px;color:var(--text-secondary);font-size:.75rem;font-weight:500;padding:.25rem .5rem}.status-badge{border-radius:6px;padding:.375rem .75rem}.status-active{background:#d1fae5;color:#065f46}.status-inactive{background:#fef3c7;color:#92400e}.status-blocked{background:#fee2e2;color:#991b1b}.customer-details{margin-bottom:1rem}.detail-item{align-items:flex-start;display:flex;font-size:.875rem;margin-bottom:.75rem}.detail-item:last-child{margin-bottom:0}.detail-label{color:var(--text-secondary);font-weight:600;margin-right:.5rem;min-width:80px}.detail-value{color:var(--text-primary);flex:1 1}.customer-stats{border-top:1px solid var(--border-color);display:flex;gap:1.5rem;margin-top:1rem;padding-top:1rem}.mini-stat{display:flex;flex-direction:column}.mini-stat-label{color:var(--text-secondary);font-size:.75rem;font-weight:500;margin-bottom:.25rem}.mini-stat-value{color:var(--primary-color);font-size:1rem;font-weight:700}.customer-actions{border-top:1px solid var(--border-color);display:flex;gap:.75rem;margin-top:1rem;padding-top:1rem}.btn-sm{font-size:.875rem;padding:.5rem 1rem}.btn-info{background:var(--primary-color);border:none;color:#fff}.btn-info:hover{background:var(--secondary-color)}.btn-secondary{background:var(--light-bg);border:1px solid var(--border-color);color:var(--text-primary)}.btn-secondary:hover{background:var(--border-color)}.quick-filter-btn{background:#fff;border:1px solid var(--border-color);border-radius:8px;color:var(--text-primary);cursor:pointer;font-size:.875rem;font-weight:500;padding:.5rem 1rem;transition:all .2s}.quick-filter-btn:hover{background:var(--light-bg);border-color:var(--primary-color);color:var(--primary-color);transform:translateY(-1px)}.quick-filter-btn.active{background:var(--primary-color);border-color:var(--primary-color);color:#fff;font-weight:600}.quick-filter-btn.active:hover{background:var(--secondary-color);border-color:var(--secondary-color);color:#fff}.clear-all-btn{background:var(--light-bg);border-color:var(--danger-color);color:var(--danger-color)}.clear-all-btn:hover{background:var(--danger-color);border-color:var(--danger-color);color:#fff}@media (max-width:768px){.customer-tracker{padding:1rem}.customers-list{grid-template-columns:1fr}.customer-card{padding:1rem}.customer-stats-cards{grid-template-columns:repeat(2,1fr)}}.customer-history-modal{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;display:flex;flex-direction:column;max-height:90vh;max-width:900px;overflow:hidden;width:90%}.customer-history-modal .modal-header{align-items:flex-start;border-bottom:2px solid #e5e7eb;display:flex;justify-content:space-between;padding:1.5rem}.customer-history-modal .modal-header h2{color:#1f2937;font-size:1.5rem;margin:0 0 .5rem}.customer-info{color:#374151;font-size:1rem;font-weight:600;margin:.25rem 0}.customer-phone{color:#6b7280;font-size:.875rem;margin:.25rem 0 0}.tabs{border-bottom:2px solid #e5e7eb;display:flex;padding:0 1.5rem}.tab{background:none;border:none;border-bottom:3px solid #0000;color:#6b7280;cursor:pointer;font-size:.875rem;font-weight:600;padding:1rem 1.5rem;transition:all .2s}.tab:hover{background:#f3f4f6;color:#2563eb}.tab.active{background:#eff6ff;border-bottom-color:#2563eb;color:#2563eb}.modal-body{flex:1 1;padding:1.5rem}.orders-tab{min-height:400px}.orders-list{display:flex;flex-direction:column;gap:1rem}.order-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1rem;transition:all .2s}.order-card:hover{border-color:#2563eb;box-shadow:0 4px 6px #0000001a}.order-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;margin-bottom:.75rem;padding-bottom:.75rem}.ticket-label{color:#6b7280;font-size:.75rem;font-weight:500}.ticket-number{color:#1f2937;font-size:.875rem;font-weight:600}.status-badge{border-radius:12px;padding:.25rem .75rem;text-transform:uppercase}.status-received{background:#dbeafe;color:#1e40af}.status-delivered{background:#d1fae5;color:#065f46}.status-ready{background:#fef3c7;color:#92400e}.status-cancelled{background:#fee2e2;color:#991b1b}.status-default{background:#f3f4f6;color:#374151}.order-details{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(2,1fr)}.detail-row{align-items:center;display:flex;justify-content:space-between}.detail-label{color:#6b7280;font-size:.875rem;font-weight:500}.detail-value{color:#1f2937;font-size:.875rem;font-weight:600}.detail-value.amount{color:#059669;font-size:1rem}.analytics-tab{min-height:400px}.analytics-content{display:flex;flex-direction:column;gap:2rem}.analytics-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.stat-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;box-shadow:0 4px 6px #0000001a;color:#fff;padding:1.5rem}.stat-card:nth-child(2){background:linear-gradient(135deg,#f093fb,#f5576c)}.stat-card:nth-child(3){background:linear-gradient(135deg,#4facfe,#00f2fe)}.stat-card:nth-child(4){background:linear-gradient(135deg,#43e97b,#38f9d7)}.stat-icon{font-size:2.5rem}.stat-info{flex:1 1}.stat-label{font-size:.75rem;margin-bottom:.25rem;opacity:.9}.stat-value{font-size:1.5rem;font-weight:700}.analytics-section{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1.5rem}.analytics-section h3{color:#1f2937;font-size:1.125rem;font-weight:600;margin:0 0 1rem}.favorite-services{display:flex;flex-direction:column;gap:.75rem}.service-item{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:6px;display:flex;justify-content:space-between;padding:.75rem}.service-name{color:#1f2937;font-weight:500}.service-count{color:#6b7280;font-size:.875rem;font-weight:600}.last-order-date{color:#1f2937;font-size:1rem;font-weight:500;margin:0}.breakdown-list{display:flex;flex-direction:column;gap:.5rem}.breakdown-item{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:6px;display:flex;justify-content:space-between;padding:.75rem}.breakdown-label{color:#1f2937;font-weight:500}.breakdown-value{color:#2563eb;font-weight:600}.monthly-spending{display:flex;flex-direction:column;gap:.5rem}.month-item{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:6px;display:flex;justify-content:space-between;padding:.75rem}.month-label{color:#1f2937;font-weight:500}.month-amount{color:#059669;font-weight:600}.empty-state,.loading{color:#6b7280;padding:3rem;text-align:center}@media (max-width:768px){.customer-history-modal{max-height:95vh;width:95%}.analytics-grid,.order-details{grid-template-columns:1fr}}.customer-form-modal{max-height:85vh;overflow-y:auto;width:700px}.customer-form{padding:1.5rem}.form-section{border-bottom:1px solid var(--border-color);margin-bottom:2rem;padding-bottom:1.5rem}.form-section:last-of-type{border-bottom:none;margin-bottom:0}.form-section h4{align-items:center;color:var(--text-primary);display:flex;font-size:1rem;font-weight:600;gap:.5rem;margin-bottom:1rem}.form-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr);margin-bottom:1rem}.form-row:last-child{margin-bottom:0}.form-group{gap:.5rem}.form-group.full-width{grid-column:1/-1}.form-group label{color:var(--text-primary);font-size:.875rem;font-weight:600}.required{color:var(--danger-color)}.form-group input,.form-group select,.form-group textarea{border:1px solid var(--border-color);border-radius:.5rem;font-family:inherit;font-size:1rem;padding:.75rem;transition:all .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px #2563eb1a;outline:none}.form-group input.error,.form-group select.error,.form-group textarea.error{border-color:var(--danger-color)}.form-group input:disabled{background:var(--light-bg);cursor:not-allowed;opacity:.6}.form-group textarea{min-height:80px;resize:vertical}.error-message{color:var(--danger-color);font-size:.75rem;margin-top:-.25rem}.help-text{color:var(--text-secondary);font-size:.75rem;font-style:italic}.modal-footer{background:var(--light-bg);border-top:1px solid var(--border-color);gap:1rem;justify-content:flex-end;padding:1.5rem}@media (max-width:768px){.customer-form-modal{max-height:90vh;width:95vw}.form-row{grid-template-columns:1fr}.modal-footer{flex-direction:column-reverse}.modal-footer .btn{width:100%}}.user-management{margin:0 auto;max-width:1400px;padding:1.5rem}.um-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.um-header-left h1{color:#1f2937;font-size:1.75rem;font-weight:700;margin:0}.um-header-left p{color:#6b7280;font-size:.875rem;margin:.25rem 0 0}.um-stats{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-bottom:1.5rem}.um-stat-card{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #0000001a;display:flex;gap:1rem;padding:1.25rem}.um-stat-card.active{border-left:4px solid #10b981}.um-stat-card.inactive{border-left:4px solid #ef4444}.um-stat-icon{font-size:2rem}.um-stat-info{display:flex;flex-direction:column}.um-stat-value{color:#1f2937;font-size:1.5rem;font-weight:700}.um-stat-label{color:#6b7280;font-size:.8rem}.um-filters{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.um-search{flex:1 1;min-width:250px;position:relative}.um-search .search-icon{font-size:1rem;left:1rem;position:absolute;top:50%;transform:translateY(-50%)}.um-search input{border:1px solid #d1d5db;border-radius:10px;font-size:.9rem;padding:.75rem 1rem .75rem 2.75rem;transition:all .2s;width:100%}.um-search input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a;outline:none}.um-filter-select{background:#fff;border:1px solid #d1d5db;border-radius:10px;cursor:pointer;font-size:.9rem;min-width:150px;padding:.75rem 1rem}.um-filter-select:focus{border-color:#4f46e5;outline:none}.um-error{background:#fee2e2;border-radius:10px;color:#dc2626;margin-bottom:1rem;padding:1rem}.um-table-container{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.um-empty,.um-loading{color:#6b7280;padding:3rem;text-align:center}.um-table{border-collapse:collapse;width:100%}.um-table th{background:#f9fafb;color:#374151;font-size:.8rem;font-weight:600;letter-spacing:.05em;text-align:left;text-transform:uppercase}.um-table td,.um-table th{border-bottom:1px solid #e5e7eb;padding:1rem}.um-table td{vertical-align:middle}.um-table tr:hover{background:#f9fafb}.um-table tr.inactive-row{background:#f3f4f6;opacity:.6}.user-info{gap:.75rem}.user-avatar,.user-info{align-items:center;display:flex}.user-avatar{border-radius:50%;color:#fff;font-size:1rem;font-weight:600;height:42px;justify-content:center;width:42px}.user-details{display:flex;flex-direction:column}.user-name{color:#1f2937;font-weight:600}.user-email{color:#6b7280;font-size:.8rem}.user-phone{color:#9ca3af;font-size:.75rem}.role-badge{align-items:center;border-radius:20px;display:inline-flex;font-weight:600;gap:.3rem}.department-badge,.role-badge{font-size:.8rem;padding:.35rem .75rem}.department-badge{background:#f3f4f6;border-radius:6px;color:#374151}.last-login{color:#6b7280;font-size:.85rem}.never-login{color:#9ca3af;font-size:.85rem;font-style:italic}.btn-action.password{background:#fef3c7}.btn-action.password:hover{background:#fde68a}.btn-action.toggle{background:#e0e7ff}.btn-action.toggle:hover{background:#c7d2fe}.um-modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.um-modal{animation:slideUp .3s ease-out;background:#fff;border-radius:16px;max-height:90vh;max-width:500px;overflow-y:auto;width:100%}.um-modal-header{align-items:center;background:linear-gradient(135deg,#4f46e5,#7c3aed);border-bottom:1px solid #e5e7eb;border-radius:16px 16px 0 0;color:#fff;display:flex;justify-content:space-between;padding:1.5rem}.um-modal-header h2{font-size:1.25rem;margin:0}.um-modal-header .btn-close{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.25rem;height:36px;justify-content:center;transition:all .2s;width:36px}.um-modal-header .btn-close:hover{background:#ef4444cc}.um-modal-body{padding:1.5rem}.um-form-error{background:#fee2e2;border-radius:8px;color:#dc2626;font-size:.9rem;padding:.75rem 1rem}.um-form-error,.um-form-group{margin-bottom:1rem}.um-form-group label{color:#374151;display:block;font-size:.9rem;font-weight:500;margin-bottom:.5rem}.um-form-group input,.um-form-group select{border:1px solid #d1d5db;border-radius:8px;font-size:.95rem;padding:.75rem 1rem;transition:all .2s;width:100%}.um-form-group input:focus,.um-form-group select:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a;outline:none}.um-form-group input:disabled{background:#f3f4f6;cursor:not-allowed}.um-form-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.um-modal-footer{background:#f9fafb;border-radius:0 0 16px 16px;border-top:1px solid #e5e7eb;display:flex;gap:.75rem;justify-content:flex-end;padding:1rem 1.5rem}.btn-secondary{border-radius:8px}@media (max-width:1024px){.um-table td:nth-child(4),.um-table td:nth-child(5),.um-table th:nth-child(4),.um-table th:nth-child(5){display:none}}@media (max-width:768px){.user-management{padding:1rem}.um-header{align-items:stretch;flex-direction:column}.um-header-left h1{font-size:1.5rem}.um-stats{grid-template-columns:repeat(3,1fr)}.um-stat-card{padding:1rem}.um-stat-value{font-size:1.25rem}.um-filters{flex-direction:column}.um-filter-select,.um-search{width:100%}.um-table td:nth-child(3),.um-table th:nth-child(3){display:none}.action-buttons{flex-wrap:wrap}.um-form-row{grid-template-columns:1fr}.um-modal{margin:.5rem;max-width:100%}}@media (max-width:480px){.um-stats{grid-template-columns:1fr}.um-table-container{overflow-x:auto}.um-table{min-width:500px}.user-avatar{font-size:.9rem;height:36px;width:36px}.btn-action{font-size:.9rem;height:32px;width:32px}}.delivery-dashboard{background:#f0f2f5;min-height:100vh;padding-bottom:2rem}.notification-toast{animation:slideDown .4s cubic-bezier(.34,1.56,.64,1)}@keyframes slideDown{0%{opacity:0;transform:translateX(-50%) translateY(-100%)}to{opacity:1;transform:translateX(-50%) translateY(0)}}.notification-toast .toast-icon{animation:bounce .5s ease infinite alternate}@keyframes bounce{0%{transform:translateY(0)}to{transform:translateY(-5px)}}.btn-notification{height:36px;width:36px}.btn-notification .bell-icon{font-size:1.1rem}.btn-notification.has-notifications .bell-icon{animation:bellPulse 2s ease infinite}@keyframes bellPulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.btn-notification.shaking .bell-icon{animation:bellShake .5s cubic-bezier(.36,.07,.19,.97) both}@keyframes bellShake{0%,to{transform:rotate(0)}10%,30%,50%,70%,90%{transform:rotate(-15deg)}20%,40%,60%,80%{transform:rotate(15deg)}}.notification-badge{animation:badgePop .3s cubic-bezier(.34,1.56,.64,1)}@keyframes badgePop{0%{transform:scale(0)}to{transform:scale(1)}}.mode-btn.pulse-new{animation:pulseGlow 1s ease infinite}@keyframes pulseGlow{0%,to{box-shadow:0 4px 15px #f59e0b66}50%{box-shadow:0 4px 25px #f59e0bcc,0 0 40px #f59e0b66}}.mode-count.bounce{animation:countBounce .5s ease}@keyframes countBounce{0%,to{transform:scale(1)}50%{transform:scale(1.3)}}.notification-panel-overlay{animation:fadeIn .2s ease}.notification-panel{animation:slideInPanel .3s cubic-bezier(.34,1.56,.64,1);width:320px}@keyframes slideInPanel{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.notification-item .notification-body{margin-bottom:.25rem}.unread-dot{animation:pulseDot 1.5s ease infinite}@keyframes pulseDot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.2)}}.delivery-header{background:linear-gradient(135deg,#1e293b,#334155);box-shadow:0 2px 10px #0003;padding:.75rem;position:-webkit-sticky;position:sticky;top:0;transition:all .3s ease;z-index:100}.delivery-header-top{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.delivery-header-top h1{color:#fff;font-size:1.1rem;font-weight:600;margin:0}.header-actions{gap:.5rem}.btn-scan{background:#3b82f6;border:none;border-radius:10px;color:#fff;cursor:pointer;font-size:1.1rem;height:36px;transition:all .2s ease;width:36px}.btn-scan:hover{background:#2563eb;transform:scale(1.05)}.btn-refresh{background:#ffffff26;font-size:1rem;height:36px;width:36px}.btn-refresh:hover{background:#ffffff40}.mode-toggle{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:1fr 1fr;margin-bottom:.75rem}.mode-btn{align-items:center;background:#ffffff1a;border:2px solid #0000;border-radius:12px;color:#ffffffb3;cursor:pointer;display:flex;font-size:.9rem;font-weight:600;gap:.5rem;justify-content:center;padding:.75rem;transition:all .2s ease}.mode-btn.pickup{border-color:#f59e0b4d}.mode-btn.drop{border-color:#3b82f64d}.mode-btn.active{color:#fff}.mode-btn.pickup.active{background:linear-gradient(135deg,#f59e0b,#d97706);border-color:#f59e0b;box-shadow:0 4px 15px #f59e0b66}.mode-btn.drop.active{background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-color:#3b82f6;box-shadow:0 4px 15px #3b82f666}.mode-icon{font-size:1.25rem}.mode-text{font-weight:700;letter-spacing:.5px}.mode-count{background:#0003;border-radius:10px;font-size:.8rem;min-width:24px;padding:.15rem .5rem;text-align:center}.mode-btn.active .mode-count{background:#ffffff40}.delivery-search{position:relative}.delivery-search .search-icon{font-size:.85rem;left:.75rem;position:absolute;top:50%;transform:translateY(-50%)}.delivery-search input{background:#fffffff2;border:none;border-radius:10px;box-shadow:0 2px 6px #0000001a;font-size:.85rem;padding:.6rem 2rem .6rem 2.25rem;width:100%}.delivery-search input:focus{box-shadow:0 0 0 2px #3b82f6;outline:none}.delivery-search .btn-clear{background:#e5e7eb;border:none;border-radius:50%;color:#6b7280;cursor:pointer;font-size:.7rem;height:20px;position:absolute;right:.5rem;top:50%;transform:translateY(-50%);width:20px}.mode-banner{align-items:center;display:flex;font-size:.8rem;font-weight:500;gap:.5rem;justify-content:center;padding:.5rem}.mode-banner.pickup{background:linear-gradient(90deg,#fef3c7,#fde68a);color:#92400e}.mode-banner.drop{background:linear-gradient(90deg,#dbeafe,#bfdbfe);color:#1e40af}.banner-icon{font-size:1rem}.delivery-header.scrolled{padding:.5rem .75rem}.delivery-header.scrolled .delivery-header-top,.delivery-header.scrolled .mode-toggle{margin-bottom:.5rem}.delivery-header.scrolled .mode-btn{font-size:.8rem;padding:.5rem}.delivery-header.scrolled .mode-icon{font-size:1rem}.delivery-header.scrolled .delivery-search{display:none}.delivery-list{padding:.75rem}.delivery-empty,.delivery-loading{align-items:center;color:#6b7280;display:flex;flex-direction:column;justify-content:center;padding:3rem 1rem;text-align:center}.delivery-empty .empty-hint{color:#9ca3af;font-size:.85rem;margin-top:.5rem}.delivery-loading .spinner{animation:spin 1s linear infinite;border:3px solid #e5e7eb;border-radius:50%;border-top-color:#3b82f6;height:40px;width:40px}.empty-icon{font-size:3rem;margin-bottom:.5rem}.delivery-card{background:#fff;border-left:4px solid;border-radius:12px;box-shadow:0 2px 8px #00000014;cursor:pointer;margin-bottom:.75rem;overflow:hidden;transition:all .2s}.delivery-card.pickup{border-left-color:#f59e0b}.delivery-card.drop{border-left-color:#3b82f6}.delivery-card:active{transform:scale(.98)}.card-top{border-bottom:1px dashed #e5e7eb;justify-content:space-between;padding:.75rem .75rem .5rem}.card-top,.ticket-info{align-items:center;display:flex}.ticket-info{gap:.5rem}.ticket-number{color:#1e293b;font-family:Courier New,monospace;font-size:.85rem;font-weight:700}.order-time{color:#9ca3af;font-size:.75rem}.card-main{padding:.75rem}.customer-row{align-items:center;display:flex;justify-content:space-between;margin-bottom:.35rem}.customer-name{color:#1e293b;font-size:1rem;font-weight:600}.items-count{background:#f3f4f6;border-radius:10px;color:#6b7280;font-size:.75rem;padding:.2rem .5rem}.customer-address{-webkit-line-clamp:1;-webkit-box-orient:vertical;color:#6b7280;display:-webkit-box;font-size:.8rem;margin:0;overflow:hidden}.card-bottom{align-items:center;background:#f9fafb;display:flex;justify-content:space-between;padding:.5rem .75rem}.quick-buttons{display:flex;gap:.35rem}.btn-quick-action{border:none;border-radius:10px;cursor:pointer;font-size:1rem;height:36px;transition:all .2s;width:36px}.btn-quick-action.call{background:#d1fae5;color:#059669}.btn-quick-action.map{background:#dbeafe;color:#2563eb}.btn-quick-action:active{transform:scale(.95)}.btn-main-action{border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.75rem;font-weight:700;letter-spacing:.5px;padding:.5rem 1rem;text-transform:uppercase;transition:all .2s}.btn-main-action.pickup{background:linear-gradient(135deg,#f59e0b,#d97706)}.btn-main-action.drop{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.btn-main-action:active{transform:scale(.95)}.payment-badge{border-radius:6px;font-size:.65rem;font-weight:700;padding:.2rem .5rem;text-transform:uppercase}.payment-badge.prepaid{background:#d1fae5;color:#065f46}.payment-badge.cod{background:#fee2e2;color:#dc2626}.delivery-modal-overlay{align-items:flex-end;animation:fadeIn .2s ease-out;background:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.delivery-modal{animation:slideUp .3s ease-out;background:#fff;border-radius:20px 20px 0 0;max-height:90vh;max-width:500px;overflow:hidden;width:100%}.modal-header{background:linear-gradient(135deg,#0d9488,#14b8a6);color:#fff;justify-content:space-between;padding:1rem}.modal-header,.modal-title{align-items:center;display:flex}.modal-title{gap:.75rem}.modal-icon{font-size:1.5rem}.modal-title h2{font-size:1.1rem;margin:0}.modal-title p{font-size:.8rem;margin:0;opacity:.9}.modal-header .btn-close{background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:1rem;height:32px;width:32px}.modal-body{max-height:60vh;overflow-y:auto;padding:1rem}.order-summary-card{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:12px;margin-bottom:1rem;padding:1rem}.order-summary-card h3{color:#1e293b;font-size:1.1rem;margin:0 0 .5rem}.order-summary-card .address,.order-summary-card .phone{color:#64748b;font-size:.85rem;margin:.25rem 0}.summary-row{border-top:1px solid #e2e8f0;margin-top:.75rem;padding-top:.75rem}.summary-row .amount{color:#059669;font-size:1.1rem;font-weight:700}.status-row{margin-top:.5rem}.status-badge{align-items:center;display:inline-flex;gap:.35rem}.items-section{margin-bottom:1rem}.items-section h4{font-size:.9rem;margin:0 0 .5rem}.items-list{border-radius:8px}.item-row{border-bottom:1px dashed #e2e8f0;color:#475569;font-size:.85rem;justify-content:space-between;padding:.35rem .5rem}.item-row.verifiable{background:#fff;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;margin-bottom:.25rem;padding:.6rem .75rem;transition:all .2s ease}.item-row.verifiable:hover{background:#f8fafc;border-color:#f59e0b}.item-row.verifiable.verified{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border-color:#22c55e}.item-row .item-checkbox{align-items:center;display:flex;flex-shrink:0;height:28px;justify-content:center;margin-right:.75rem;width:28px}.item-row .checkbox-unchecked{background:#fff;border:2px solid #cbd5e1;border-radius:6px;height:24px;width:24px}.item-row .checkbox-checked{align-items:center;animation:checkPop .2s ease;background:linear-gradient(135deg,#22c55e,#16a34a);border-radius:6px;color:#fff;display:flex;font-size:.9rem;font-weight:700;height:24px;justify-content:center;width:24px}.item-row .item-name{color:#1e293b;flex:1 1;font-weight:500}.item-row .item-qty{color:#64748b;font-weight:600;margin-left:.5rem;min-width:30px;text-align:right}.items-header-row{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.items-header-row h4{color:#1e293b;font-size:.9rem;margin:0}.verification-progress{background:#f59e0b}.btn-primary.disabled{background:#9ca3af!important;cursor:not-allowed;opacity:.5}.btn-primary .spinner-small{animation:spin .8s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;display:inline-block;height:16px;margin-right:.5rem;width:16px}.action-buttons{grid-gap:.5rem;display:grid;grid-template-columns:1fr 1fr}.btn-action-large{border:none;border-radius:10px;cursor:pointer;font-size:.85rem;font-weight:500;padding:.75rem;transition:all .2s}.btn-action-large.call{background:#d1fae5;color:#059669}.btn-action-large.map{background:#dbeafe;color:#2563eb}.btn-action-large:active{transform:scale(.98)}.modal-footer{background:#f9fafb;display:flex;gap:.75rem;padding:1rem}.btn-primary{border-radius:12px;flex:1 1;font-size:1rem;padding:.875rem}.btn-primary.pickup{background:linear-gradient(135deg,#f59e0b,#d97706)}.btn-primary.drop{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.btn-primary:active{transform:scale(.98)}.btn-secondary{border-radius:12px;padding:.875rem 1.5rem}.delivery-modal.confirmation{max-height:85vh}.modal-header.confirm{background:linear-gradient(135deg,#10b981,#059669)}.customer-summary{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-radius:12px;margin-bottom:1rem;padding:1rem;text-align:center}.customer-summary h3{color:#065f46;font-size:1.1rem;margin:0 0 .25rem}.customer-summary p{color:#047857;font-size:.85rem;margin:.25rem 0}.customer-summary .amount{font-size:1.1rem;font-weight:700}.customer-summary .payment-badge{border-radius:20px;display:inline-block;font-size:.75rem;font-weight:600;margin-top:.5rem;padding:.25rem .75rem}.customer-summary .payment-badge.prepaid{background:#d1fae5;color:#065f46}.customer-summary .payment-badge.cod{background:#fef3c7;color:#92400e}.cod-collection-section{background:linear-gradient(135deg,#fef3c7,#fde68a);border:2px solid #f59e0b;border-radius:12px;margin-bottom:1rem;padding:1rem;text-align:center}.cod-collection-section.collected{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border-color:#10b981}.cod-header{align-items:center;display:flex;gap:.75rem;justify-content:center;margin-bottom:.75rem}.cod-icon{font-size:2rem}.cod-info h4{color:#92400e;font-size:.95rem;margin:0}.cod-collection-section.collected .cod-info h4{color:#065f46}.cod-amount{color:#78350f;font-size:1.5rem;font-weight:700;margin:0}.cod-collection-section.collected .cod-amount{color:#047857}.btn-collect-payment{background:linear-gradient(135deg,#f59e0b,#d97706);border:none;border-radius:10px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.875rem;transition:all .2s ease;width:100%}.btn-collect-payment:hover{box-shadow:0 4px 12px #f59e0b66;transform:translateY(-2px)}.btn-collect-payment.collected{background:linear-gradient(135deg,#10b981,#059669)}.btn-collect-payment.collected:hover{box-shadow:0 4px 12px #10b98166}.cod-warning{color:#b45309;font-size:.8rem;margin:.75rem 0 0}.form-section{gap:1rem}.form-group,.form-section{display:flex;flex-direction:column}.form-group{gap:.35rem}.form-group label{color:#374151;font-size:.85rem;font-weight:500}.form-group input,.form-group textarea{border:1px solid #d1d5db;border-radius:10px;font-size:.9rem;padding:.75rem}.form-group input:focus,.form-group textarea:focus{border-color:#10b981;box-shadow:0 0 0 3px #10b9811a;outline:none}.form-group textarea{resize:none}.radio-group{display:flex;gap:.75rem}.radio-option{align-items:center;border:2px solid #e5e7eb;border-radius:10px;cursor:pointer;display:flex;flex:1 1;justify-content:center;padding:.75rem;transition:all .2s}.radio-option input{display:none}.radio-option.selected{background:#ecfdf5;border-color:#10b981}.radio-label{color:#374151;font-weight:500}.radio-option.selected .radio-label{color:#059669}.btn-cancel{background:#fee2e2;color:#dc2626}.btn-cancel,.btn-submit{border:none;flex:1 1;font-size:.9rem;font-weight:600}.btn-submit{background:linear-gradient(135deg,#10b981,#059669);border-radius:12px;color:#fff;cursor:pointer;padding:.875rem}.delivery-modal.status-update{display:flex;flex-direction:column;max-height:70vh}.delivery-modal.status-update .modal-header{background:linear-gradient(135deg,#3b82f6,#1d4ed8);flex-shrink:0;padding:1rem 1.25rem}.delivery-modal.status-update .modal-header h2{color:#fff;font-size:1.1rem}.delivery-modal.status-update .modal-body{flex:1 1;overflow-y:auto;padding:1.25rem}.scanned-order-info{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:16px;margin-bottom:1.25rem;padding:1.25rem;text-align:center}.order-ticket{margin-bottom:.5rem}.order-ticket,.scanned-order-info .order-ticket{align-items:center;display:flex;gap:.5rem;justify-content:center}.scanned-order-info .order-ticket{margin-bottom:.75rem}.scanned-order-info .ticket-icon{font-size:1.5rem}.scanned-order-info .ticket-number{color:#1e293b;font-family:SF Mono,Roboto Mono,monospace;font-size:1.25rem;font-weight:700}.scanned-order-info h3{color:#1e293b;font-size:1.1rem;font-weight:600;margin:0 0 .75rem}.scanned-order-info .current-status{margin-top:.5rem}.scanned-order-info .status-badge{border-radius:20px;color:#fff;display:inline-block;font-size:.8rem;font-weight:600;letter-spacing:.5px;padding:.4rem 1rem;text-transform:uppercase}.current-status{margin-top:.5rem}.status-options{background:#fff;border:1px solid #e5e7eb;border-radius:16px;margin-bottom:1rem;padding:1.25rem}.status-options h4{color:#374151;font-size:.95rem;font-weight:600;margin:0 0 1rem;text-align:center}.status-buttons{display:flex;flex-direction:column;gap:.75rem}.btn-status-update{align-items:center;border:none;border-radius:12px;box-shadow:0 2px 8px #00000026;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:.5rem;justify-content:center;padding:1rem 1.25rem;transition:all .2s}.btn-status-update:hover{box-shadow:0 4px 12px #0003;transform:translateY(-2px)}.btn-status-update:active{transform:scale(.98)}.btn-status-update:disabled{cursor:not-allowed;opacity:.6;transform:none}.no-status-options{background:#d1fae5;border-radius:12px;color:#059669;padding:1.5rem;text-align:center}.no-status-options span{display:block;font-size:2rem;margin-bottom:.5rem}.no-status-options p{font-weight:500;margin:0}.update-loading{align-items:center;display:flex;flex-direction:column;padding:1rem}.update-loading p{color:#6b7280;font-size:.85rem;margin:.5rem 0 0}@media (min-width:768px){.delivery-dashboard{padding:1rem}.delivery-header{border-radius:16px;margin-bottom:1rem}.delivery-list{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.delivery-card{margin-bottom:0}.delivery-modal-overlay{align-items:center}.delivery-modal{border-radius:20px;max-width:450px}.mode-banner{border-radius:10px;margin:0 1rem 1rem}}@media (min-width:1200px){.delivery-dashboard{margin:0 auto;max-width:1400px}.delivery-list{grid-template-columns:repeat(3,1fr)}}@media (max-width:380px){.mode-btn{font-size:.8rem;padding:.5rem}.mode-icon{font-size:1rem}.mode-text{font-size:.75rem}.btn-main-action{font-size:.7rem;padding:.4rem .75rem}.notification-toast{padding:.875rem 1rem;width:95%}.notification-toast .toast-icon{font-size:1.5rem}.notification-toast .toast-title{font-size:.9rem}.notification-toast .toast-body{font-size:.8rem}.notification-panel{right:10px;top:55px;width:calc(100vw - 20px)}.notification-item,.notification-panel-header{padding:.875rem 1rem}.notification-item .notification-icon{font-size:1.25rem}.notification-permission-banner{flex-direction:column;gap:.5rem;text-align:center}}.verification-modal{display:flex;flex-direction:column;max-height:90vh;max-width:420px!important}.verification-header{background:linear-gradient(135deg,#059669,#047857)!important}.verification-header h2{color:#fff}.verification-order-info{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border:1px solid #bbf7d0;border-radius:12px;margin-bottom:1rem;padding:1rem}.verification-ticket{align-items:center;border-bottom:1px dashed #86efac;display:flex;gap:.5rem;margin-bottom:.75rem;padding-bottom:.75rem}.verification-ticket .ticket-label{color:#166534;font-size:.75rem;font-weight:500}.verification-ticket .ticket-value{color:#14532d;font-family:SF Mono,Roboto Mono,monospace;font-size:1.1rem;font-weight:700}.verification-customer{margin-bottom:.75rem}.verification-customer h3{color:#14532d;font-size:1rem;margin:0 0 .25rem}.verification-customer .customer-address,.verification-customer .customer-phone{color:#166534;font-size:.85rem;margin:.25rem 0}.verification-amount{align-items:center;border-top:1px dashed #86efac;display:flex;gap:.5rem;padding-top:.75rem}.verification-amount .amount-label{color:#166534;font-size:.75rem}.verification-amount .amount-value{color:#14532d;font-size:1.2rem;font-weight:700}.verification-amount .payment-status{border-radius:20px;font-size:.7rem;font-weight:600;margin-left:auto;padding:.25rem .5rem;text-transform:uppercase}.verification-amount .payment-status.paid{background:#22c55e;color:#fff}.verification-amount .payment-status.pending{background:#f59e0b;color:#fff}.verification-amount .payment-status.partial{background:#3b82f6;color:#fff}.verification-items{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:1rem;overflow:hidden}.verification-items .items-header{align-items:center;background:#f9fafb;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:.75rem 1rem}.verification-items .items-header h4{color:#374151;font-size:.9rem;margin:0}.verification-items .items-progress{color:#6b7280;font-size:.75rem;font-weight:500}.items-list{max-height:250px}.verification-item{border-bottom:1px solid #f3f4f6;padding:.75rem 1rem}.verification-item:last-child{border-bottom:none}.verification-item:hover{background:#f9fafb}.verification-item.verified{background:#f0fdf4}.verification-item .item-checkbox{align-items:center;border-radius:50%;display:flex;justify-content:center;transition:all .2s ease}.verification-item .checkbox-unchecked{border:2px solid #d1d5db;border-radius:50%;height:28px;width:28px}.verification-item .checkbox-checked{background:#22c55e;border-radius:50%;font-size:1rem;height:28px;width:28px}.verification-item .item-details{display:flex;flex-direction:column;gap:.15rem}.verification-item .item-description{color:#1f2937;font-size:.9rem;font-weight:500}.verification-item.verified .item-description{color:#6b7280;text-decoration:line-through}.verification-item .item-quantity{color:#6b7280;font-size:.75rem}.verification-item .item-price{color:#374151;font-size:.85rem}.no-items{padding:2rem}.verification-status{border-radius:10px;padding:.75rem;text-align:center}.all-verified{align-items:center;background:#dcfce7;border-radius:10px;color:#166534;display:flex;font-size:.85rem;font-weight:500;gap:.5rem;justify-content:center;padding:.75rem}.all-verified .verified-icon{font-size:1.2rem}.pending-verification{align-items:center;background:#fef3c7;border-radius:10px;color:#92400e;display:flex;font-size:.85rem;font-weight:500;gap:.5rem;justify-content:center;padding:.75rem}.pending-verification .pending-icon{font-size:1.2rem}.verification-footer{background:#f9fafb;border-top:1px solid #e5e7eb;display:flex;gap:.75rem;padding:1rem}.verification-footer .btn-cancel{background:#fff;border:1px solid #d1d5db;border-radius:10px;color:#374151;cursor:pointer;flex:1 1;font-weight:500;padding:.75rem;transition:all .2s ease}.verification-footer .btn-cancel:hover{background:#f3f4f6}.btn-confirm-delivery{align-items:center;border:none;border-radius:10px;cursor:pointer;display:flex;flex:2 1;font-size:.95rem;font-weight:600;gap:.5rem;justify-content:center;padding:.75rem;transition:all .2s ease}.btn-confirm-delivery.enabled{background:linear-gradient(135deg,#22c55e,#16a34a);box-shadow:0 4px 12px #22c55e66;color:#fff}.btn-confirm-delivery.enabled:hover{box-shadow:0 6px 16px #22c55e80;transform:translateY(-2px)}.btn-confirm-delivery.disabled{background:#e5e7eb;color:#9ca3af;cursor:not-allowed}.btn-confirm-delivery .btn-spinner{animation:spin .8s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:16px;width:16px}@media (max-width:480px){.verification-modal{max-height:85vh}.verification-order-info{padding:.75rem}.verification-ticket .ticket-value{font-size:1rem}.verification-customer h3{font-size:.95rem}.items-list{max-height:200px}.verification-item{padding:.6rem .75rem}.verification-item .item-checkbox{height:24px;width:24px}.verification-item .checkbox-checked,.verification-item .checkbox-unchecked{font-size:.85rem;height:24px;width:24px}.verification-item .item-description{font-size:.85rem}}.pickup-confirmation-modal{animation:modalSlideUp .3s ease;border-radius:20px;max-width:400px;overflow:hidden;width:90%}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.pickup-header{background:linear-gradient(135deg,#3b82f6,#2563eb);padding:1rem 1.25rem}.pickup-header h2{color:#fff;font-size:1.1rem;margin:0}.pickup-confirmation-modal .modal-body{padding:1.5rem;text-align:center}.pickup-success-icon{margin-bottom:1rem}.pickup-success-icon .success-checkmark{align-items:center;animation:checkmarkPop .4s ease;background:linear-gradient(135deg,#22c55e,#16a34a);border-radius:50%;box-shadow:0 8px 20px #22c55e4d;color:#fff;display:inline-flex;font-size:2rem;height:70px;justify-content:center;width:70px}@keyframes checkmarkPop{0%{opacity:0;transform:scale(0)}50%{transform:scale(1.2)}to{opacity:1;transform:scale(1)}}.pickup-message h3{color:#1e293b;font-size:1.25rem;margin:0 0 .5rem}.pickup-message p{color:#64748b;font-size:.95rem;margin:0}.pickup-message strong{color:#3b82f6}.pickup-order-summary{background:#f8fafc;border-radius:12px;margin:1.25rem 0;padding:1rem}.pickup-order-summary .summary-row{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:.5rem 0}.pickup-order-summary .summary-row:last-child{border-bottom:none}.pickup-order-summary .label{color:#64748b;font-size:.9rem}.pickup-order-summary .value{color:#1e293b;font-size:.95rem;font-weight:600}.pickup-info-note{align-items:flex-start;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;display:flex;gap:.5rem;padding:.75rem 1rem;text-align:left}.pickup-info-note .info-icon{flex-shrink:0;font-size:1rem}.pickup-info-note span:last-child{color:#1e40af;font-size:.85rem;line-height:1.4}.pickup-footer{background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;gap:.75rem;padding:1rem 1.25rem}.pickup-footer .btn-cancel{background:#fff;border:1px solid #e2e8f0;border-radius:10px;color:#64748b;cursor:pointer;flex:1 1;font-size:.95rem;font-weight:500;padding:.75rem;transition:all .2s ease}.pickup-footer .btn-cancel:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1}.pickup-footer .btn-done{align-items:center;background:linear-gradient(135deg,#22c55e,#16a34a);border:none;border-radius:10px;box-shadow:0 4px 12px #22c55e4d;color:#fff;cursor:pointer;display:flex;flex:1.5 1;font-size:.95rem;font-weight:600;gap:.5rem;justify-content:center;padding:.75rem;transition:all .2s ease}.pickup-footer .btn-done:hover:not(:disabled){box-shadow:0 6px 16px #22c55e66;transform:translateY(-2px)}.pickup-footer .btn-cancel:disabled,.pickup-footer .btn-done:disabled{cursor:not-allowed;opacity:.6;transform:none}@media (max-width:480px){.pickup-confirmation-modal{max-width:none;width:95%}.pickup-success-icon .success-checkmark{font-size:1.75rem;height:60px;width:60px}.pickup-message h3{font-size:1.1rem}.pickup-message p{font-size:.9rem}.pickup-order-summary{padding:.75rem}.pickup-order-summary .summary-row{padding:.4rem 0}.pickup-footer{padding:.75rem 1rem}}.notification-toast{align-items:center;animation:toastSlideDown .4s cubic-bezier(.34,1.56,.64,1);background:linear-gradient(135deg,#10b981,#059669);border-radius:0 0 16px 16px;box-shadow:0 8px 32px #10b98166;color:#fff;cursor:pointer;display:flex;gap:.75rem;left:50%;max-width:400px;padding:1rem 1.25rem;position:fixed;top:0;transform:translateX(-50%);width:90%;z-index:9999}@keyframes toastSlideDown{0%{opacity:0;transform:translateX(-50%) translateY(-100%)}to{opacity:1;transform:translateX(-50%) translateY(0)}}.notification-toast .toast-icon{animation:toastBounce .5s ease infinite alternate;font-size:2rem}@keyframes toastBounce{0%{transform:translateY(0)}to{transform:translateY(-5px)}}.notification-toast .toast-content{flex:1 1}.notification-toast .toast-title{font-size:1rem;font-weight:700;margin-bottom:.25rem}.notification-toast .toast-body{font-size:.85rem;opacity:.95}.notification-toast .toast-close{background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:.9rem;height:28px;transition:background .2s;width:28px}.notification-toast .toast-close:hover{background:#ffffff4d}.btn-notification{align-items:center;background:#ffffff26;border:none;border-radius:10px;cursor:pointer;display:flex;height:40px;justify-content:center;position:relative;transition:all .2s ease;width:40px}.btn-notification:hover{background:#ffffff40}.btn-notification .bell-icon{font-size:1.2rem;transition:transform .2s}.btn-notification.has-notifications .bell-icon{animation:bellPulseAnim 2s ease infinite}@keyframes bellPulseAnim{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.btn-notification.shaking .bell-icon{animation:bellShakeAnim .5s cubic-bezier(.36,.07,.19,.97) both}@keyframes bellShakeAnim{0%,to{transform:rotate(0)}10%,30%,50%,70%,90%{transform:rotate(-15deg)}20%,40%,60%,80%{transform:rotate(15deg)}}.notification-badge{align-items:center;animation:badgePopAnim .3s cubic-bezier(.34,1.56,.64,1);background:linear-gradient(135deg,#ef4444,#dc2626);border-radius:10px;box-shadow:0 2px 6px #ef444480;color:#fff;display:flex;font-size:.65rem;font-weight:700;height:18px;justify-content:center;min-width:18px;padding:0 4px;position:absolute;right:-4px;top:-4px}@keyframes badgePopAnim{0%{transform:scale(0)}to{transform:scale(1)}}.tab-pulse-new{animation:tabPulseGlow 1s ease infinite}@keyframes tabPulseGlow{0%,to{box-shadow:0 4px 15px #10b98166}50%{box-shadow:0 4px 25px #10b981cc,0 0 40px #10b98166}}.count-bounce{animation:countBounceAnim .5s ease}@keyframes countBounceAnim{0%,to{transform:scale(1)}50%{transform:scale(1.3)}}.notification-panel-overlay{animation:overlayFadeIn .2s ease;background:#00000080;bottom:0;left:0;position:fixed;right:0;top:0;z-index:1000}@keyframes overlayFadeIn{0%{opacity:0}to{opacity:1}}.notification-panel{animation:panelSlideIn .3s cubic-bezier(.34,1.56,.64,1);background:#fff;border-radius:16px;box-shadow:0 10px 40px #0003;max-width:calc(100vw - 20px);overflow:hidden;position:absolute;right:10px;top:60px;width:340px}@keyframes panelSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.notification-panel-header{align-items:center;background:linear-gradient(135deg,#1e293b,#334155);color:#fff;display:flex;justify-content:space-between;padding:1rem 1.25rem}.notification-panel-header h3{font-size:1rem;font-weight:600;margin:0}.btn-clear-all{background:#fff3;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.75rem;padding:.35rem .75rem;transition:background .2s}.btn-clear-all:hover{background:#ffffff4d}.notification-list{max-height:350px;overflow-y:auto}.no-notifications{color:#9ca3af;padding:3rem 1rem;text-align:center}.no-notifications .empty-bell{display:block;font-size:2.5rem;margin-bottom:.5rem;opacity:.5}.no-notifications p{font-size:.9rem;margin:0}.notification-item{align-items:flex-start;border-bottom:1px solid #f3f4f6;cursor:pointer;display:flex;gap:.75rem;padding:1rem 1.25rem;position:relative;transition:background .2s}.notification-item:hover{background:#f9fafb}.notification-item.unread{background:linear-gradient(90deg,#f0fdf4,#fff)}.notification-item .notification-icon{flex-shrink:0;font-size:1.5rem}.notification-item .notification-content{flex:1 1;min-width:0}.notification-item .notification-title{color:#1e293b;font-size:.85rem;font-weight:600;margin-bottom:.25rem}.notification-item .notification-body{color:#475569;font-size:.85rem;margin-bottom:.15rem}.notification-item .notification-status{color:#10b981;font-size:.75rem;font-weight:500}.notification-item .notification-address{color:#64748b;font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notification-item .notification-time{color:#9ca3af;font-size:.7rem;margin-top:.35rem}.unread-dot{animation:dotPulse 1.5s ease infinite;background:#10b981;border-radius:50%;flex-shrink:0;height:8px;width:8px}@keyframes dotPulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.2)}}.notification-permission-banner{align-items:center;background:linear-gradient(135deg,#fef3c7,#fde68a);border-top:1px solid #f59e0b;display:flex;gap:.75rem;justify-content:space-between;padding:.75rem 1rem}.notification-permission-banner span{color:#92400e;font-size:.8rem}.notification-permission-banner button{background:linear-gradient(135deg,#f59e0b,#d97706);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.75rem;font-weight:600;padding:.4rem .75rem;white-space:nowrap}@media (max-width:480px){.notification-toast{padding:.875rem 1rem;width:95%}.notification-toast .toast-icon{font-size:1.5rem}.notification-toast .toast-title{font-size:.9rem}.notification-toast .toast-body{font-size:.8rem}.notification-panel{right:10px;top:55px;width:calc(100vw - 20px)}.notification-item,.notification-panel-header{padding:.875rem 1rem}.notification-item .notification-icon{font-size:1.25rem}.notification-permission-banner{flex-direction:column;gap:.5rem;text-align:center}}.operations-dashboard{background:linear-gradient(135deg,#f5f7fa,#e4e8ec);min-height:100vh}.ops-header{background:linear-gradient(135deg,#7c3aed,#5b21b6);box-shadow:0 4px 20px #7c3aed4d;padding:1rem;position:-webkit-sticky;position:sticky;top:0;z-index:100}.ops-header-top{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.ops-header-top h1{color:#fff;font-size:1.25rem;font-weight:600;margin:0}.ops-header-actions{align-items:center;display:flex;gap:.5rem}.btn-refresh{background:#fff3;border:none;border-radius:10px;color:#fff;cursor:pointer;font-size:1.2rem;height:40px;transition:all .2s ease;width:40px}.btn-refresh:hover{background:#ffffff4d;transform:rotate(180deg)}.ops-mode-switcher{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin:1rem 0}.ops-mode-btn{background:#fff3;border:2px solid #ffffff80;border-radius:12px;color:#fff;cursor:pointer;font-size:.95rem;font-weight:600;padding:.65rem 1.5rem;transition:all .2s ease}.ops-mode-btn:hover{background:#ffffff59;border-color:#fffc}.ops-mode-btn.active{background:#fff;border-color:#fff;box-shadow:0 2px 8px #00000026;color:#5b21b6}.b2b-tag{background:#7c3aed;border-radius:4px;color:#fff;font-size:.7em;margin-right:.25rem;padding:.1rem .35rem}.staff-badge{color:#64748b;font-size:.75rem;margin-left:.5rem}.b2b-assign-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:1.5rem;padding:1rem}.b2b-assign-section h4{font-size:1rem;margin:0 0 .5rem}.assign-hint{color:#64748b;font-size:.85rem;margin:0 0 1rem}.staff-grid{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));margin-bottom:1rem}.staff-option{align-items:center;background:#fff;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;display:flex;gap:.5rem;padding:.75rem;transition:all .2s}.staff-option:hover{background:#f5f3ff;border-color:#7c3aed}.staff-option.selected{background:#ede9fe;border-color:#7c3aed}.staff-icon{font-size:1.25rem}.no-staff-msg{color:#94a3b8;font-size:.9rem;margin-bottom:1rem}.assign-staff-btn{background:linear-gradient(135deg,#7c3aed,#5b21b6);border:none;border-radius:10px;color:#fff;cursor:pointer;font-weight:600;padding:.75rem 1.5rem;width:100%}.assign-staff-btn:hover:not(:disabled){opacity:.95}.assign-staff-btn:disabled{cursor:not-allowed;opacity:.6}.ops-stats{align-items:center;display:flex;gap:.5rem}.ops-flow-arrow{color:#fff9;font-size:1.25rem;font-weight:700}.ops-stat-card{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff26;border:2px solid #fff3;border-radius:12px;cursor:pointer;display:flex;flex:1 1;flex-direction:column;gap:.25rem;padding:.75rem;transition:all .2s ease}.ops-stat-card:hover{background:#ffffff40;border-color:#fff6}.ops-stat-card.active{background:#fffffff2;border-color:#fff;box-shadow:0 4px 15px #0000001a}.ops-stat-card.active .stat-icon,.ops-stat-card.active .stat-label,.ops-stat-card.active .stat-value{color:#7c3aed}.ops-stat-card .stat-icon{color:#fff;font-size:1.25rem}.ops-stat-card .stat-value{color:#fff;font-size:1.5rem;font-weight:700}.ops-stat-card .stat-label{color:#fffc;font-size:.7rem;letter-spacing:.5px;text-transform:uppercase}.ops-content{padding:1rem}.ops-section-header{margin-bottom:1rem}.ops-section-header h2{color:#1e293b;font-size:1.1rem;margin:0 0 .25rem}.ops-section-header p{color:#64748b;font-size:.85rem;margin:0}.ops-loading{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;padding:3rem}.ops-loading .spinner{animation:spin .8s linear infinite;border:3px solid #e2e8f0;border-radius:50%;border-top-color:#7c3aed;height:40px;width:40px}.ops-loading p{color:#64748b;font-size:.9rem}.ops-empty{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:4rem 2rem;text-align:center}.ops-empty .empty-icon{font-size:4rem;margin-bottom:1rem}.ops-empty h3{color:#1e293b;font-size:1.25rem;margin:0 0 .5rem}.ops-empty p{color:#64748b;margin:0}.ops-orders-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.ops-order-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 2px 10px #0000000d;cursor:pointer;overflow:hidden;transition:all .2s ease}.ops-order-card:hover{border-color:#7c3aed;box-shadow:0 8px 25px #7c3aed26;transform:translateY(-4px)}.order-card-header{align-items:center;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:.75rem 1rem}.order-card-header .ticket-number{color:#7c3aed;font-family:Monaco,Consolas,monospace;font-size:.95rem;font-weight:700}.order-card-header .order-date{background:#e2e8f0;border-radius:6px;color:#64748b;font-size:.75rem;padding:.2rem .5rem}.order-card-body{padding:1rem}.order-card-body h3{color:#1e293b;font-size:1rem;margin:0 0 .25rem}.order-card-body .phone{color:#64748b;font-size:.85rem;margin:0 0 .75rem}.order-summary{align-items:center;justify-content:space-between}.order-summary .items-count{color:#64748b;font-size:.85rem}.order-summary .amount{color:#059669;font-size:1rem;font-weight:700}.order-card-footer{align-items:center;background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:.75rem 1rem}.status-badge{color:#fff;font-size:.75rem;font-weight:600;padding:.25rem .6rem}.btn-process{background:linear-gradient(135deg,#7c3aed,#5b21b6);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.8rem;font-weight:600;padding:.4rem .75rem;transition:all .2s ease}.btn-process:hover{box-shadow:0 4px 12px #7c3aed4d;transform:scale(1.05)}.ops-modal-overlay{align-items:flex-end;animation:fadeIn .2s ease;background:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.ops-modal{animation:slideUp .3s ease;background:#fff;border-radius:20px 20px 0 0;display:flex;flex-direction:column;max-height:90vh;max-width:500px;overflow:hidden;width:100%}.ops-modal .modal-header{align-items:center;background:linear-gradient(135deg,#7c3aed,#5b21b6);display:flex;justify-content:space-between;padding:1rem 1.25rem}.ops-modal .modal-title{align-items:center;display:flex;gap:.75rem}.ops-modal .modal-icon{font-size:1.5rem}.ops-modal .modal-title h2{color:#fff;font-size:1.1rem;margin:0}.ops-modal .modal-title p{color:#fffc;font-size:.8rem;margin:0}.ops-modal .btn-close{background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:1.1rem;height:36px;transition:all .2s ease;width:36px}.ops-modal .btn-close:hover{background:#ffffff4d}.ops-modal .modal-body{flex:1 1;overflow-y:auto;padding:1.25rem}.customer-info-card{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:12px;margin-bottom:1rem;padding:1rem}.customer-info-card h3{color:#1e293b;font-size:1rem;margin:0 0 .25rem}.customer-info-card .phone{color:#64748b;font-size:.85rem;margin:0 0 .75rem}.order-meta{display:flex;gap:1rem}.meta-item{display:flex;flex-direction:column;gap:.15rem}.meta-item .label{color:#94a3b8;font-size:.7rem;text-transform:uppercase}.meta-item .value{color:#1e293b;font-size:.9rem;font-weight:500}.meta-item .value.amount{color:#059669;font-weight:700}.items-verification-section{margin-bottom:1rem}.items-verification-section .section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.items-verification-section .section-header h4{color:#1e293b;font-size:.95rem;margin:0}.verification-progress{background:#7c3aed;border-radius:20px;color:#fff;font-size:.75rem;font-weight:600;padding:.25rem .6rem}.items-verification-section .items-list{display:flex;flex-direction:column;gap:.5rem}.verification-item{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:10px;cursor:pointer;display:flex;gap:.75rem;padding:.75rem;transition:all .2s ease}.verification-item:hover{background:#faf5ff;border-color:#7c3aed}.verification-item.verified{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border-color:#22c55e}.verification-item .item-checkbox{flex-shrink:0;height:28px;width:28px}.verification-item .checkbox-unchecked{background:#fff;border:2px solid #cbd5e1;border-radius:6px;display:block;height:24px;width:24px}.verification-item .checkbox-checked{align-items:center;animation:checkPop .2s ease;background:linear-gradient(135deg,#22c55e,#16a34a);border-radius:6px;color:#fff;display:flex;font-weight:700;height:24px;justify-content:center;width:24px}.verification-item .item-details{flex:1 1;min-width:0}.verification-item .item-name{color:#1e293b;display:block;font-size:.9rem;font-weight:500}.verification-item .item-type{color:#94a3b8;display:block;font-size:.75rem;text-transform:capitalize}.verification-item .item-quantity{align-items:center;display:flex;flex-direction:column;min-width:50px}.verification-item .qty-label{color:#94a3b8;font-size:.65rem;text-transform:uppercase}.verification-item .qty-value{color:#7c3aed;font-size:1.1rem;font-weight:700}.verification-item .item-price{color:#059669;font-size:.9rem;font-weight:600;min-width:60px;text-align:right}.verification-message{border-radius:10px;font-size:.85rem;font-weight:500;margin-top:.75rem;padding:.75rem 1rem;text-align:center}.verification-message.pending{background:#fef3c7;border:1px solid #f59e0b;color:#92400e}.verification-message.complete{animation:completeGlow 1s ease infinite alternate;background:#d1fae5;border:1px solid #22c55e;color:#065f46}.next-status-info{align-items:center;background:linear-gradient(135deg,#f5f3ff,#ede9fe);border:2px solid #7c3aed;border-radius:12px;display:flex;gap:.75rem;justify-content:center;margin-top:1rem;padding:1rem}.next-status-info .label{color:#64748b;font-size:.9rem}.next-status-info .next-status{color:#7c3aed;font-size:1.1rem;font-weight:700}.ops-modal .modal-footer{background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;gap:.75rem;padding:1rem 1.25rem}.btn-cancel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;color:#64748b;cursor:pointer;flex:0.4 1;font-size:.95rem;font-weight:500;padding:.875rem;transition:all .2s ease}.btn-cancel:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1}.btn-confirm{align-items:center;background:linear-gradient(135deg,#7c3aed,#5b21b6);border:none;border-radius:12px;box-shadow:0 4px 12px #7c3aed4d;color:#fff;cursor:pointer;display:flex;flex:0.6 1;font-size:.95rem;font-weight:600;gap:.5rem;justify-content:center;padding:.875rem;transition:all .2s ease}.btn-confirm:hover:not(:disabled){box-shadow:0 6px 20px #7c3aed66;transform:translateY(-2px)}.btn-confirm.disabled{background:#9ca3af;box-shadow:none;cursor:not-allowed;opacity:.5}.btn-cancel:disabled,.btn-confirm:disabled{cursor:not-allowed;opacity:.6}.btn-return{align-items:center;background:linear-gradient(135deg,#f97316,#ea580c);border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;flex:0.4 1;font-size:.95rem;font-weight:600;gap:.5rem;justify-content:center;padding:.875rem;transition:all .2s ease}.btn-return:hover:not(:disabled){box-shadow:0 6px 20px #f9731666;transform:translateY(-2px)}.btn-return:disabled{cursor:not-allowed;opacity:.6}.btn-close-full{background:#fff;border:1px solid #e2e8f0;border-radius:12px;color:#64748b;cursor:pointer;flex:1 1;font-size:.95rem;font-weight:500;padding:.875rem;transition:all .2s ease}.btn-close-full:hover{background:#f1f5f9;border-color:#cbd5e1}.verification-item.view-only{cursor:default;padding-left:1rem}.verification-item.view-only:hover{background:#fff;border-color:#e2e8f0}.spinner-small{animation:spin .8s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:16px;width:16px}@media (max-width:768px){.ops-orders-grid{grid-template-columns:1fr}.order-meta{flex-wrap:wrap}.status-options{flex-direction:column}}@media (min-width:769px){.ops-modal{border-radius:20px;margin:auto;max-height:85vh}.ops-modal-overlay{align-items:center;padding:2rem}}.drycleaner-dashboard{background:linear-gradient(135deg,#f0fdfa,#ccfbf1);min-height:100vh}.dc-header{background:linear-gradient(135deg,#0891b2,#0e7490);box-shadow:0 4px 20px #0891b24d;padding:1rem;position:-webkit-sticky;position:sticky;top:0;z-index:100}.dc-header-top{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.dc-header-top h1{color:#fff;font-size:1.25rem;font-weight:600;margin:0}.dc-header-actions{align-items:center;display:flex;gap:.5rem}.drycleaner-dashboard .btn-refresh{background:#fff3;border:none;border-radius:10px;color:#fff;cursor:pointer;font-size:1.2rem;height:40px;transition:all .2s ease;width:40px}.drycleaner-dashboard .btn-refresh:hover{background:#ffffff4d;transform:rotate(180deg)}.dc-stats{align-items:center;display:flex;gap:.3rem;overflow-x:auto;padding-bottom:.25rem}.dc-flow-arrow{color:#fff9;flex-shrink:0;font-size:1rem;font-weight:700}.dc-stat-card{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff26;border:2px solid #fff3;border-radius:10px;cursor:pointer;display:flex;flex:1 1;flex-direction:column;gap:.15rem;min-width:60px;padding:.5rem .25rem;transition:all .2s ease}.dc-stat-card:hover{background:#ffffff40;border-color:#fff6}.dc-stat-card.active{background:#fffffff2;border-color:#fff;box-shadow:0 4px 15px #0000001a}.dc-stat-card.active .stat-icon,.dc-stat-card.active .stat-label,.dc-stat-card.active .stat-value{color:#0891b2}.dc-stat-card .stat-icon{color:#fff;font-size:1rem}.dc-stat-card .stat-value{color:#fff;font-size:1.25rem;font-weight:700}.dc-stat-card .stat-label{color:#fffc;font-size:.6rem;letter-spacing:.3px;text-align:center;text-transform:uppercase}.dc-content{padding:1rem}.dc-section-header{margin-bottom:1rem}.dc-section-header h2{color:#134e4a;font-size:1.1rem;margin:0 0 .25rem}.dc-section-header p{color:#5eead4;font-size:.85rem;margin:0}.dc-loading{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;padding:3rem}.dc-loading .spinner{animation:spin .8s linear infinite;border:3px solid #ccfbf1;border-radius:50%;border-top-color:#0891b2;height:40px;width:40px}.dc-loading p{color:#5eead4;font-size:.9rem}.dc-empty{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:4rem 2rem;text-align:center}.dc-empty .empty-icon{font-size:4rem;margin-bottom:1rem}.dc-empty h3{color:#134e4a;font-size:1.25rem;margin:0 0 .5rem}.dc-empty p{color:#5eead4;margin:0}.dc-orders-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.dc-order-card{background:#fff;border:1px solid #99f6e4;border-radius:16px;box-shadow:0 2px 10px #0000000d;cursor:pointer;overflow:hidden;transition:all .2s ease}.dc-order-card:hover{border-color:#0891b2;box-shadow:0 8px 25px #0891b226;transform:translateY(-4px)}.dc-order-card .order-card-header{align-items:center;background:linear-gradient(135deg,#f0fdfa,#ccfbf1);border-bottom:1px solid #99f6e4;display:flex;justify-content:space-between;padding:.75rem 1rem}.dc-order-card .ticket-number{color:#0891b2;font-family:Monaco,Consolas,monospace;font-size:.95rem;font-weight:700}.dc-order-card .order-date{background:#ccfbf1;border-radius:6px;color:#5eead4;font-size:.75rem;padding:.2rem .5rem}.dc-order-card .order-card-body{padding:1rem}.dc-order-card .order-card-body h3{color:#134e4a;font-size:1rem;margin:0 0 .25rem}.dc-order-card .order-card-body .phone{color:#5eead4;font-size:.85rem;margin:0 0 .75rem}.dc-order-card .order-summary{align-items:center;display:flex;justify-content:space-between}.dc-order-card .items-count{color:#5eead4;font-size:.85rem}.dc-order-card .amount{color:#059669;font-size:1rem;font-weight:700}.dc-order-card .order-card-footer{align-items:center;background:#f0fdfa;border-top:1px solid #99f6e4;display:flex;justify-content:space-between;padding:.75rem 1rem}.dc-order-card .status-badge{border-radius:20px;color:#fff;font-size:.75rem;font-weight:600;padding:.25rem .6rem}.dc-order-card .btn-process{background:linear-gradient(135deg,#0891b2,#0e7490);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.8rem;font-weight:600;padding:.4rem .75rem;transition:all .2s ease}.dc-order-card .btn-process:hover{box-shadow:0 4px 12px #0891b24d;transform:scale(1.05)}.dc-modal-overlay{align-items:flex-end;animation:fadeIn .2s ease;background:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.dc-modal{animation:slideUp .3s ease;background:#fff;border-radius:20px 20px 0 0;display:flex;flex-direction:column;max-height:90vh;max-width:500px;overflow:hidden;width:100%}.dc-modal .modal-header{align-items:center;background:linear-gradient(135deg,#0891b2,#0e7490);display:flex;justify-content:space-between;padding:1rem 1.25rem}.dc-modal .modal-title{align-items:center;display:flex;gap:.75rem}.dc-modal .modal-icon{font-size:1.5rem}.dc-modal .modal-title h2{color:#fff;font-size:1.1rem;margin:0}.dc-modal .modal-title p{color:#fffc;font-size:.8rem;margin:0}.dc-modal .btn-close{background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:1.1rem;height:36px;transition:all .2s ease;width:36px}.dc-modal .btn-close:hover{background:#ffffff4d}.dc-modal .modal-body{flex:1 1;overflow-y:auto;padding:1.25rem}.dc-modal .customer-info-card{background:linear-gradient(135deg,#f0fdfa,#ccfbf1);border:1px solid #99f6e4;border-radius:12px;margin-bottom:1rem;padding:1rem}.dc-modal .customer-info-card h3{color:#134e4a;font-size:1rem;margin:0 0 .25rem}.dc-modal .customer-info-card .phone{color:#5eead4;font-size:.85rem;margin:0 0 .75rem}.dc-modal .order-meta{display:flex;gap:1rem}.dc-modal .meta-item{display:flex;flex-direction:column;gap:.15rem}.dc-modal .meta-item .label{color:#5eead4;font-size:.7rem;text-transform:uppercase}.dc-modal .meta-item .value{color:#134e4a;font-size:.9rem;font-weight:500}.dc-modal .meta-item .value.amount{color:#059669;font-weight:700}.dc-modal .items-verification-section{margin-bottom:1rem}.dc-modal .items-verification-section .section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.dc-modal .items-verification-section .section-header h4{color:#134e4a;font-size:.95rem;margin:0}.dc-modal .verification-progress{background:#0891b2;border-radius:20px;color:#fff;font-size:.75rem;font-weight:600;padding:.25rem .6rem}.dc-modal .items-list{display:flex;flex-direction:column;gap:.5rem}.dc-modal .verification-item{align-items:center;background:#fff;border:1px solid #99f6e4;border-radius:10px;cursor:pointer;display:flex;gap:.75rem;padding:.75rem;transition:all .2s ease}.dc-modal .verification-item:hover{background:#f0fdfa;border-color:#0891b2}.dc-modal .verification-item.verified{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border-color:#22c55e}.dc-modal .verification-item.view-only{cursor:default;padding-left:1rem}.dc-modal .verification-item.view-only:hover{background:#fff;border-color:#99f6e4}.dc-modal .verification-item .item-checkbox{flex-shrink:0;height:28px;width:28px}.dc-modal .verification-item .checkbox-unchecked{background:#fff;border:2px solid #99f6e4;border-radius:6px;display:block;height:24px;width:24px}.dc-modal .verification-item .checkbox-checked{align-items:center;animation:checkPop .2s ease;background:linear-gradient(135deg,#22c55e,#16a34a);border-radius:6px;color:#fff;display:flex;font-weight:700;height:24px;justify-content:center;width:24px}.dc-modal .verification-item .item-details{flex:1 1;min-width:0}.dc-modal .verification-item .item-name{color:#134e4a;display:block;font-size:.9rem;font-weight:500}.dc-modal .verification-item .item-type{color:#5eead4;display:block;font-size:.75rem;text-transform:capitalize}.dc-modal .verification-item .item-quantity{align-items:center;display:flex;flex-direction:column;min-width:50px}.dc-modal .verification-item .qty-label{color:#5eead4;font-size:.65rem;text-transform:uppercase}.dc-modal .verification-item .qty-value{color:#0891b2;font-size:1.1rem;font-weight:700}.dc-modal .verification-item .item-price{color:#059669;font-size:.9rem;font-weight:600;min-width:60px;text-align:right}.dc-modal .verification-message{border-radius:10px;font-size:.85rem;font-weight:500;margin-top:.75rem;padding:.75rem 1rem;text-align:center}.dc-modal .verification-message.pending{background:#fef3c7;border:1px solid #f59e0b;color:#92400e}.dc-modal .verification-message.complete{animation:completeGlow 1s ease infinite alternate;background:#d1fae5;border:1px solid #22c55e;color:#065f46}@keyframes completeGlow{0%{box-shadow:0 0 5px #22c55e4d}to{box-shadow:0 0 15px #22c55e80}}.dc-modal .qc-result-section{background:linear-gradient(135deg,#faf5ff,#f3e8ff);border:1px solid #c4b5fd;border-radius:12px;margin-top:1rem;padding:1rem}.dc-modal .qc-result-section h4{color:#6b21a8;font-size:.95rem;margin:0 0 .75rem;text-align:center}.dc-modal .qc-toggle-container{display:flex;gap:.75rem}.dc-modal .qc-toggle-btn{align-items:center;background:#fff;border:2px solid #0000;border-radius:12px;cursor:pointer;display:flex;flex:1 1;flex-direction:column;gap:.25rem;padding:.875rem .5rem;transition:all .2s ease}.dc-modal .qc-toggle-btn.pass{border-color:#bbf7d0}.dc-modal .qc-toggle-btn.pass:hover{background:#f0fdf4;border-color:#22c55e}.dc-modal .qc-toggle-btn.pass.active{background:linear-gradient(135deg,#dcfce7,#bbf7d0);border-color:#22c55e;box-shadow:0 4px 12px #22c55e33}.dc-modal .qc-toggle-btn.fail{border-color:#fed7aa}.dc-modal .qc-toggle-btn.fail:hover{background:#fff7ed;border-color:#f97316}.dc-modal .qc-toggle-btn.fail.active{background:linear-gradient(135deg,#ffedd5,#fed7aa);border-color:#f97316;box-shadow:0 4px 12px #f9731633}.dc-modal .qc-toggle-btn .qc-icon{font-size:1.5rem}.dc-modal .qc-toggle-btn .qc-label{color:#334155;font-size:.9rem;font-weight:600}.dc-modal .qc-toggle-btn.pass.active .qc-label{color:#15803d}.dc-modal .qc-toggle-btn.fail.active .qc-label{color:#c2410c}.dc-modal .qc-toggle-btn .qc-sublabel{color:#94a3b8;font-size:.7rem}.dc-modal .qc-toggle-btn.pass.active .qc-sublabel{color:#22c55e}.dc-modal .qc-toggle-btn.fail.active .qc-sublabel{color:#f97316}.dc-modal .next-status-info{align-items:center;background:linear-gradient(135deg,#f0fdfa,#ccfbf1);border:2px solid #0891b2;border-radius:12px;display:flex;gap:.75rem;justify-content:center;margin-top:1rem;padding:1rem}.dc-modal .next-status-info.rework{background:linear-gradient(135deg,#fff7ed,#ffedd5);border-color:#f97316}.dc-modal .next-status-info .label{color:#5eead4;font-size:.9rem}.dc-modal .next-status-info.rework .label{color:#fb923c}.dc-modal .next-status-info .next-status{color:#0891b2;font-size:1.1rem;font-weight:700}.dc-modal .next-status-info.rework .next-status{color:#ea580c}.dc-modal .modal-footer{background:#f0fdfa;border-top:1px solid #99f6e4;display:flex;gap:.75rem;padding:1rem 1.25rem}.dc-modal .btn-cancel{background:#fff;border:1px solid #99f6e4;border-radius:12px;color:#5eead4;cursor:pointer;flex:0.4 1;font-size:.95rem;font-weight:500;padding:.875rem;transition:all .2s ease}.dc-modal .btn-cancel:hover:not(:disabled){background:#f0fdfa;border-color:#5eead4}.dc-modal .btn-confirm{align-items:center;background:linear-gradient(135deg,#0891b2,#0e7490);border:none;border-radius:12px;box-shadow:0 4px 12px #0891b24d;color:#fff;cursor:pointer;display:flex;flex:0.6 1;font-size:.95rem;font-weight:600;gap:.5rem;justify-content:center;padding:.875rem;transition:all .2s ease}.dc-modal .btn-confirm:hover:not(:disabled){box-shadow:0 6px 20px #0891b266;transform:translateY(-2px)}.dc-modal .btn-confirm.rework{background:linear-gradient(135deg,#f97316,#ea580c);box-shadow:0 4px 12px #f973164d}.dc-modal .btn-confirm.rework:hover:not(:disabled){box-shadow:0 6px 20px #f9731666}.dc-modal .btn-confirm.disabled{background:#9ca3af;box-shadow:none;cursor:not-allowed;opacity:.5}.dc-modal .btn-cancel:disabled,.dc-modal .btn-confirm:disabled{cursor:not-allowed;opacity:.6}.dc-modal .btn-close-full{background:#fff;border:1px solid #99f6e4;border-radius:12px;color:#5eead4;cursor:pointer;flex:1 1;font-size:.95rem;font-weight:500;padding:.875rem;transition:all .2s ease}.dc-modal .btn-close-full:hover{background:#f0fdfa;border-color:#5eead4}.dc-modal .spinner-small{animation:spin .8s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:16px;width:16px}@media (max-width:768px){.dc-orders-grid{grid-template-columns:1fr}.dc-modal .order-meta{flex-wrap:wrap}.dc-stats{gap:.2rem}.dc-stat-card{min-width:50px;padding:.4rem .2rem}.dc-stat-card .stat-value{font-size:1rem}.dc-stat-card .stat-label{font-size:.5rem}.dc-flow-arrow{font-size:.8rem}}@media (min-width:769px){.dc-modal{border-radius:20px;margin:auto;max-height:85vh}.dc-modal-overlay{align-items:center;padding:2rem}}.linentracker-dashboard{background:linear-gradient(135deg,#ecfdf5,#d1fae5);min-height:100vh}.lt-header{background:linear-gradient(135deg,#059669,#047857);box-shadow:0 4px 20px #0596694d;padding:1rem;position:-webkit-sticky;position:sticky;top:0;z-index:100}.lt-header-top{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.lt-header-top h1{color:#fff;font-size:1.25rem;font-weight:600;margin:0}.linentracker-dashboard .btn-refresh{background:#fff3;border:none;border-radius:10px;color:#fff;cursor:pointer;font-size:1.2rem;height:40px;transition:all .2s ease;width:40px}.linentracker-dashboard .btn-refresh:hover{background:#ffffff4d;transform:rotate(180deg)}.lt-stats{align-items:center;display:flex;gap:.3rem;overflow-x:auto;padding-bottom:.25rem}.lt-flow-arrow{color:#fff9;flex-shrink:0;font-size:1rem;font-weight:700}.lt-stat-card{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff26;border:2px solid #fff3;border-radius:10px;cursor:pointer;display:flex;flex:1 1;flex-direction:column;gap:.15rem;min-width:70px;padding:.5rem .25rem;transition:all .2s ease}.lt-stat-card:hover{background:#ffffff40;border-color:#fff6}.lt-stat-card.active{background:#fffffff2;border-color:#fff;box-shadow:0 4px 15px #0000001a}.lt-stat-card.active .stat-icon,.lt-stat-card.active .stat-label,.lt-stat-card.active .stat-value{color:#059669}.lt-stat-card .stat-icon{color:#fff;font-size:1rem}.lt-stat-card .stat-value{color:#fff;font-size:1.25rem;font-weight:700}.lt-stat-card .stat-label{color:#fffc;font-size:.6rem;letter-spacing:.3px;text-align:center;text-transform:uppercase}.lt-content{padding:1rem}.lt-section-header{margin-bottom:1rem}.lt-section-header h2{color:#064e3b;font-size:1.1rem;margin:0 0 .25rem}.lt-section-header p{color:#10b981;font-size:.85rem;margin:0}.lt-loading{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;padding:3rem}.lt-loading .spinner{animation:spin .8s linear infinite;border:3px solid #d1fae5;border-radius:50%;border-top-color:#059669;height:40px;width:40px}.lt-loading p{color:#10b981;font-size:.9rem}.lt-empty{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:4rem 2rem;text-align:center}.lt-empty .empty-icon{font-size:4rem;margin-bottom:1rem}.lt-empty h3{color:#064e3b;font-size:1.25rem;margin:0 0 .5rem}.lt-empty p{color:#10b981;margin:0}.lt-orders-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.lt-order-card{background:#fff;border:1px solid #a7f3d0;border-radius:16px;box-shadow:0 2px 10px #0000000d;cursor:pointer;overflow:hidden;transition:all .2s ease}.lt-order-card:hover{border-color:#059669;box-shadow:0 8px 25px #05966926;transform:translateY(-4px)}.lt-order-card .order-card-header{align-items:center;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-bottom:1px solid #a7f3d0;display:flex;justify-content:space-between;padding:.75rem 1rem}.lt-order-card .ticket-number{color:#059669;font-family:Monaco,Consolas,monospace;font-size:.95rem;font-weight:700}.lt-order-card .order-date{background:#d1fae5;border-radius:6px;color:#10b981;font-size:.75rem;padding:.2rem .5rem}.lt-order-card .order-card-body{padding:1rem}.lt-order-card .order-card-body h3{color:#064e3b;font-size:1rem;margin:0 0 .25rem}.lt-order-card .order-card-body .phone{color:#10b981;font-size:.85rem;margin:0 0 .75rem}.lt-order-card .order-summary{align-items:center;display:flex;justify-content:space-between;margin-bottom:.5rem}.lt-order-card .items-count{color:#10b981;font-size:.85rem}.lt-order-card .amount{color:#059669;font-size:1rem;font-weight:700}.lt-order-card .delivery-info,.lt-order-card .rack-info{margin-top:.5rem}.lt-order-card .delivery-badge,.lt-order-card .rack-badge{border-radius:6px;display:inline-block;font-size:.75rem;font-weight:600;padding:.25rem .5rem}.lt-order-card .rack-badge{background:#fef3c7;color:#92400e}.lt-order-card .delivery-badge{background:#dbeafe;color:#1e40af}.lt-order-card .order-card-footer{align-items:center;background:#ecfdf5;border-top:1px solid #a7f3d0;display:flex;justify-content:space-between;padding:.75rem 1rem}.lt-order-card .status-badge{border-radius:20px;color:#fff;font-size:.75rem;font-weight:600;padding:.25rem .6rem}.lt-order-card .btn-process{background:linear-gradient(135deg,#059669,#047857);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.8rem;font-weight:600;padding:.4rem .75rem;transition:all .2s ease}.lt-order-card .btn-process:hover{box-shadow:0 4px 12px #0596694d;transform:scale(1.05)}.lt-modal-overlay{align-items:flex-end;animation:fadeIn .2s ease;background:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.lt-modal{animation:slideUp .3s ease;background:#fff;border-radius:20px 20px 0 0;display:flex;flex-direction:column;max-height:90vh;max-width:500px;overflow:hidden;width:100%}.lt-modal .modal-header{align-items:center;background:linear-gradient(135deg,#059669,#047857);display:flex;justify-content:space-between;padding:1rem 1.25rem}.lt-modal .modal-title{align-items:center;display:flex;gap:.75rem}.lt-modal .modal-icon{font-size:1.5rem}.lt-modal .modal-title h2{color:#fff;font-size:1.1rem;margin:0}.lt-modal .modal-title p{color:#fffc;font-size:.8rem;margin:0}.lt-modal .btn-close{background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:1.1rem;height:36px;transition:all .2s ease;width:36px}.lt-modal .btn-close:hover{background:#ffffff4d}.lt-modal .modal-body{flex:1 1;overflow-y:auto;padding:1.25rem}.lt-modal .customer-info-card{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1px solid #a7f3d0;border-radius:12px;margin-bottom:1rem;padding:1rem}.lt-modal .customer-info-card h3{color:#064e3b;font-size:1rem;margin:0 0 .25rem}.lt-modal .customer-info-card .phone{color:#10b981;font-size:.85rem;margin:0 0 .75rem}.lt-modal .order-meta{display:flex;gap:1rem}.lt-modal .meta-item{display:flex;flex-direction:column;gap:.15rem}.lt-modal .meta-item .label{color:#10b981;font-size:.7rem;text-transform:uppercase}.lt-modal .meta-item .value{color:#064e3b;font-size:.9rem;font-weight:500}.lt-modal .meta-item .value.amount{color:#059669;font-weight:700}.lt-modal .current-rack{align-items:center;border-top:1px solid #a7f3d0;display:flex;gap:.5rem;margin-top:.75rem;padding-top:.75rem}.lt-modal .rack-label{color:#10b981;font-size:.85rem}.lt-modal .rack-value{background:#d1fae5;border-radius:6px;color:#059669;font-size:1rem;font-weight:700;padding:.25rem .5rem}.rack-assignment-section{background:#fffbeb;border:1px solid #fcd34d;border-radius:12px;margin-bottom:1rem;padding:1rem}.rack-assignment-section h4{color:#92400e;font-size:.95rem;margin:0 0 .75rem}.rack-input-group{display:flex;flex-direction:column;gap:.75rem}.rack-input{border:2px solid #fcd34d;border-radius:10px;font-size:1rem;font-weight:600;outline:none;padding:.75rem 1rem;text-align:center;text-transform:uppercase;transition:all .2s ease;width:100%}.rack-input:focus{border-color:#f59e0b;box-shadow:0 0 0 3px #f59e0b33}.rack-input.valid{background:#f0fdf4;border-color:#22c55e}.rack-input.valid:focus{border-color:#22c55e;box-shadow:0 0 0 3px #22c55e33}.rack-format-hint{color:#92400e;font-size:.75rem;margin:0;opacity:.8;text-align:center}.rack-required-msg{background:#fef2f2;color:#dc2626}.rack-required-msg,.rack-valid-msg{border-radius:8px;font-size:.85rem;margin-top:.5rem;padding:.5rem;text-align:center}.rack-valid-msg{background:#f0fdf4;border:1px solid #bbf7d0;color:#16a34a}.lt-modal .btn-close-full{background:#fff;border:1px solid #a7f3d0;border-radius:12px;color:#10b981;cursor:pointer;flex:1 1;font-size:.95rem;font-weight:500;padding:.875rem;transition:all .2s ease}.lt-modal .btn-close-full:hover{background:#ecfdf5;border-color:#10b981}.delivery-assignment-section{background:#eff6ff;border:1px solid #93c5fd;border-radius:12px;margin-bottom:1rem;padding:1rem}.delivery-assignment-section h4{color:#1e40af;font-size:.95rem;margin:0 0 .75rem}.delivery-select-group{display:flex;flex-direction:column;gap:.5rem}.delivery-select{background:#fff;border:2px solid #93c5fd;border-radius:10px;cursor:pointer;font-size:1rem;outline:none;padding:.75rem 1rem;transition:all .2s ease;width:100%}.delivery-select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633}.no-delivery-msg{color:#6b7280;font-size:.85rem;padding:.5rem}.delivery-required-msg{background:#fef2f2;border-radius:8px;color:#dc2626;font-size:.85rem;margin-top:.5rem;padding:.5rem;text-align:center}.assigned-delivery-info{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1px solid #93c5fd;border-radius:12px;margin-top:1rem;padding:1rem}.assigned-delivery-info h4{color:#1e40af;font-size:.95rem;margin:0 0 .75rem}.delivery-person-card{align-items:center;background:#fff;border:1px solid #93c5fd;border-radius:8px;display:flex;gap:.75rem;padding:.75rem}.delivery-person-card .delivery-icon{font-size:1.5rem}.delivery-person-card .delivery-name{color:#1e40af;font-size:1.1rem;font-weight:600}.assigned-time{color:#6b7280;font-size:.8rem;margin:.5rem 0 0;text-align:center}.selected-delivery-info{align-items:center;background:#dbeafe;border-radius:8px;display:flex;gap:.5rem;margin-top:.5rem;padding:.75rem}.selected-delivery-info .check-icon{color:#22c55e;font-weight:700}.items-summary-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:1rem;padding:1rem}.items-summary-section h4{color:#334155;font-size:.95rem;margin:0 0 .75rem}.summary-stats{display:flex;gap:1rem;justify-content:center}.summary-stat{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:flex;flex-direction:column;gap:.25rem;padding:.5rem 1rem}.summary-stat .stat-label{color:#64748b;font-size:.7rem;text-transform:uppercase}.summary-stat .stat-value{color:#059669;font-size:1.1rem;font-weight:700}.lt-modal .items-verification-section{margin-bottom:1rem}.lt-modal .items-verification-section .section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.lt-modal .items-verification-section .section-header h4{color:#064e3b;font-size:.95rem;margin:0}.lt-modal .verification-progress{background:#059669;border-radius:20px;color:#fff;font-size:.75rem;font-weight:600;padding:.25rem .6rem}.lt-modal .items-list{display:flex;flex-direction:column;gap:.5rem}.lt-modal .verification-item{align-items:center;background:#fff;border:1px solid #a7f3d0;border-radius:10px;cursor:pointer;display:flex;gap:.75rem;padding:.75rem;transition:all .2s ease}.lt-modal .verification-item:hover{background:#ecfdf5;border-color:#059669}.lt-modal .verification-item.verified{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border-color:#22c55e}.lt-modal .verification-item.view-only{cursor:default;padding-left:1rem}.lt-modal .verification-item.view-only:hover{background:#fff;border-color:#a7f3d0}.lt-modal .verification-item .item-checkbox{flex-shrink:0;height:28px;width:28px}.lt-modal .verification-item .checkbox-unchecked{background:#fff;border:2px solid #a7f3d0;border-radius:6px;display:block;height:24px;width:24px}.lt-modal .verification-item .checkbox-checked{align-items:center;animation:checkPop .2s ease;background:linear-gradient(135deg,#22c55e,#16a34a);border-radius:6px;color:#fff;display:flex;font-weight:700;height:24px;justify-content:center;width:24px}@keyframes checkPop{0%{transform:scale(.8)}50%{transform:scale(1.1)}to{transform:scale(1)}}.lt-modal .verification-item .item-details{flex:1 1;min-width:0}.lt-modal .verification-item .item-name{color:#064e3b;display:block;font-size:.9rem;font-weight:500}.lt-modal .verification-item .item-type{color:#10b981;display:block;font-size:.75rem;text-transform:capitalize}.lt-modal .verification-item .item-quantity{align-items:center;display:flex;flex-direction:column;min-width:50px}.lt-modal .verification-item .qty-label{color:#10b981;font-size:.65rem;text-transform:uppercase}.lt-modal .verification-item .qty-value{color:#059669;font-size:1.1rem;font-weight:700}.lt-modal .verification-item .item-price{color:#059669;font-size:.9rem;font-weight:600;min-width:60px;text-align:right}.lt-modal .verification-message{border-radius:10px;font-size:.85rem;font-weight:500;margin-top:.75rem;padding:.75rem 1rem;text-align:center}.lt-modal .verification-message.pending{background:#fef3c7;border:1px solid #f59e0b;color:#92400e}.lt-modal .verification-message.complete{background:#d1fae5;border:1px solid #22c55e;color:#065f46}.lt-modal .next-status-info{align-items:center;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:2px solid #059669;border-radius:12px;display:flex;gap:.75rem;justify-content:center;margin-top:1rem;padding:1rem}.lt-modal .next-status-info .label{color:#10b981;font-size:.9rem}.lt-modal .next-status-info .next-status{color:#059669;font-size:1.1rem;font-weight:700}.lt-modal .next-status-info.dispatch{background:linear-gradient(135deg,#eff6ff,#dbeafe);border-color:#3b82f6}.lt-modal .next-status-info.dispatch .label{color:#3b82f6}.lt-modal .next-status-info.dispatch .next-status{color:#1d4ed8}.lt-modal .modal-footer{background:#ecfdf5;border-top:1px solid #a7f3d0;display:flex;gap:.75rem;padding:1rem 1.25rem}.lt-modal .btn-cancel{background:#fff;border:1px solid #a7f3d0;border-radius:12px;color:#10b981;cursor:pointer;flex:0.4 1;font-size:.95rem;font-weight:500;padding:.875rem;transition:all .2s ease}.lt-modal .btn-cancel:hover:not(:disabled){background:#ecfdf5;border-color:#10b981}.lt-modal .btn-confirm{align-items:center;background:linear-gradient(135deg,#059669,#047857);border:none;border-radius:12px;box-shadow:0 4px 12px #0596694d;color:#fff;cursor:pointer;display:flex;flex:0.6 1;font-size:.95rem;font-weight:600;gap:.5rem;justify-content:center;padding:.875rem;transition:all .2s ease}.lt-modal .btn-confirm:hover:not(:disabled){box-shadow:0 6px 20px #05966966;transform:translateY(-2px)}.lt-modal .btn-confirm.disabled{background:#9ca3af;box-shadow:none;cursor:not-allowed;opacity:.5}.lt-modal .btn-cancel:disabled,.lt-modal .btn-confirm:disabled{cursor:not-allowed;opacity:.6}.lt-modal .spinner-small{animation:spin .8s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:16px;width:16px}@media (max-width:768px){.lt-orders-grid{grid-template-columns:1fr}.lt-modal .order-meta{flex-wrap:wrap}.lt-stats{gap:.2rem}.lt-stat-card{min-width:60px;padding:.4rem .2rem}.lt-stat-card .stat-value{font-size:1rem}.lt-stat-card .stat-label{font-size:.5rem}.lt-flow-arrow{font-size:.8rem}.summary-stats{flex-wrap:wrap}}@media (min-width:769px){.lt-modal{border-radius:20px;margin:auto;max-height:85vh}.lt-modal-overlay{align-items:center;padding:2rem}}.backoffice-dashboard{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);min-height:100vh;padding:1rem}.bo-header{background:linear-gradient(135deg,#0ea5e9,#0284c7);border-radius:20px;box-shadow:0 10px 40px #0ea5e94d;margin-bottom:1.5rem;padding:1.5rem}.bo-title{margin-bottom:1.5rem;text-align:center}.bo-title-row{align-items:center;display:flex;gap:1rem;justify-content:center}.bo-title h1{color:#fff;font-size:1.75rem;margin:0;text-shadow:0 2px 4px #0000001a}.bo-title .header-bell{align-items:center;background:#fff3;border:none;border-radius:12px;cursor:pointer;display:flex;height:44px;justify-content:center;position:relative;transition:all .2s ease;width:44px}.bo-title .header-bell:hover{background:#ffffff4d;transform:scale(1.05)}.bo-title p{color:#ffffffe6;font-size:.95rem;margin:.5rem 0 0}.bo-stats{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.bo-stat-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff26;border:2px solid #0000;border-radius:16px;cursor:pointer;min-width:120px;padding:1rem 1.5rem;text-align:center;transition:all .3s ease}.bo-stat-card:hover{background:#ffffff40;transform:translateY(-2px)}.bo-stat-card.active{background:#fff;border-color:#fff;box-shadow:0 8px 25px #00000026;transform:scale(1.05)}.bo-stat-card .stat-icon{display:block;font-size:1.5rem;margin-bottom:.25rem}.bo-stat-card .stat-value{color:#fff;display:block;font-size:1.75rem;font-weight:700}.bo-stat-card.active .stat-value{color:#0ea5e9}.bo-stat-card .stat-label{color:#ffffffe6;font-size:.7rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.bo-stat-card.active .stat-label{color:#64748b}.bo-stat-card.received.active{border-color:#3b82f6}.bo-stat-card.received.active .stat-value{color:#3b82f6}.bo-stat-card.tagging.active{border-color:#f59e0b}.bo-stat-card.tagging.active .stat-value{color:#f59e0b}.bo-stat-card.readyforprocessing.active{border-color:#10b981}.bo-stat-card.readyforprocessing.active .stat-value{color:#10b981}.bo-flow-arrow{color:#ffffffb3;font-size:1.5rem;font-weight:700}.bo-content{background:#fff;border-radius:20px;box-shadow:0 4px 20px #0000000d;padding:1.5rem}.bo-section-header{border-bottom:2px solid #f1f5f9;margin-bottom:1.5rem;padding-bottom:1rem}.bo-section-header h2{color:#1e293b;font-size:1.25rem;margin:0 0 .5rem}.bo-section-header p{color:#64748b;font-size:.9rem;margin:0}.bo-loading{padding:3rem;text-align:center}.bo-loading .spinner{animation:spin 1s linear infinite;border:4px solid #e2e8f0;border-radius:50%;border-top-color:#0ea5e9;height:50px;margin:0 auto 1rem;width:50px}.bo-loading p{color:#64748b}.bo-empty{padding:3rem;text-align:center}.bo-empty .empty-icon{display:block;font-size:4rem;margin-bottom:1rem}.bo-empty h3{color:#1e293b;margin:0 0 .5rem}.bo-empty p{color:#64748b;margin:0}.bo-orders-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.bo-order-card{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:16px;cursor:pointer;padding:1rem;transition:all .3s ease}.bo-order-card:hover{border-color:#0ea5e9;box-shadow:0 12px 30px #0000001a;transform:translateY(-4px)}.bo-order-card .order-card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.bo-order-card .ticket-number{color:#0ea5e9;font-size:.9rem;font-weight:700}.bo-order-card .order-date{background:#e2e8f0;border-radius:6px;color:#64748b;font-size:.8rem;padding:.25rem .5rem}.bo-order-card .order-card-body h3{color:#1e293b;font-size:1rem;margin:0 0 .25rem}.bo-order-card .phone{color:#64748b;font-size:.85rem;margin:0 0 .5rem}.bo-order-card .order-summary{align-items:center;background:#fff;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:.75rem;padding:.5rem}.bo-order-card .items-count{color:#64748b;font-size:.85rem}.bo-order-card .amount{color:#059669;font-weight:700}.bo-order-card .order-card-footer{align-items:center;border-top:1px solid #e2e8f0;display:flex;justify-content:space-between;padding-top:.75rem}.bo-order-card .status-badge{border-radius:20px;color:#fff;font-size:.75rem;font-weight:600;padding:.35rem .75rem}.bo-order-card .btn-process{background:linear-gradient(135deg,#0ea5e9,#0284c7);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.85rem;font-weight:600;padding:.5rem 1rem;transition:all .2s ease}.bo-order-card .btn-process:hover{box-shadow:0 4px 12px #0ea5e966;transform:scale(1.05)}.bo-order-card .btn-process.print-btn{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.bo-order-card .btn-process.print-btn:hover{box-shadow:0 4px 12px #8b5cf666}.bo-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.bo-modal{background:#fff;border-radius:20px;box-shadow:0 25px 50px #00000040;max-height:90vh;max-width:500px;overflow-y:auto;width:100%}.bo-modal.tag-print-modal{max-width:600px}.bo-modal .modal-header{align-items:flex-start;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-bottom:1px solid #e2e8f0;border-radius:20px 20px 0 0;display:flex;justify-content:space-between;padding:1.25rem}.bo-modal .modal-title h2{color:#1e293b;font-size:1.25rem;margin:0}.bo-modal .modal-title .status-badge{border-radius:20px;color:#fff;display:inline-block;font-size:.8rem;margin-top:.5rem;padding:.35rem .75rem}.bo-modal .modal-title .ticket-info{color:#0ea5e9;display:block;font-size:.9rem;font-weight:600;margin-top:.25rem}.bo-modal .close-btn{background:none;border:none;color:#64748b;cursor:pointer;font-size:1.75rem;line-height:1;padding:0}.bo-modal .close-btn:hover{color:#ef4444}.bo-modal .modal-body{padding:1.25rem}.items-section{margin-bottom:1.25rem}.items-section h4{color:#1e293b;font-size:.95rem;margin:0 0 .75rem}.items-list{background:#f8fafc;max-height:200px;overflow-y:auto;padding:.5rem}.item-row{grid-gap:.75rem;background:#fff;border-radius:8px;display:grid;gap:.75rem;grid-template-columns:1fr auto auto auto;margin-bottom:.5rem;padding:.75rem}.item-row:last-child{margin-bottom:0}.item-name{color:#1e293b;font-size:.9rem;font-weight:600}.item-service{background:#e2e8f0;border-radius:4px;color:#64748b;font-size:.8rem;padding:.25rem .5rem}.item-qty{color:#64748b}.item-price{font-size:.9rem}.items-total{align-items:center;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-radius:10px;display:flex;font-weight:600;justify-content:space-between;margin-top:.75rem;padding:.75rem 1rem}.items-total .total-value{color:#059669;font-size:1.1rem}.action-section{border-top:2px solid #f1f5f9;margin-top:1.25rem;padding-top:1.25rem;text-align:center}.action-section .verification-prompt{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fcd34d;border-radius:12px;margin-bottom:1rem;padding:1rem}.action-section .verification-prompt h4{color:#92400e;margin:0 0 .5rem}.action-section .verification-prompt p{color:#a16207;font-size:.9rem;margin:0}.action-section .btn-primary{background:linear-gradient(135deg,#0ea5e9,#0284c7);border:none;border-radius:12px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.875rem 2rem;transition:all .2s ease;width:100%}.action-section .btn-primary:hover:not(:disabled){box-shadow:0 8px 20px #0ea5e966;transform:translateY(-2px)}.action-section .btn-primary:disabled{cursor:not-allowed;opacity:.6}.action-section .btn-primary.print-action{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.action-section .btn-primary.print-action:hover:not(:disabled){box-shadow:0 8px 20px #8b5cf666}.action-section .action-hint{color:#64748b;font-size:.85rem;margin:.75rem 0 0}.action-section .action-buttons-row{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}.action-section .btn-secondary{background:linear-gradient(135deg,#64748b,#475569);border:none;border-radius:12px;color:#fff;cursor:pointer;font-weight:600;padding:.875rem 1.5rem;transition:all .2s ease}.action-section .btn-secondary:hover{box-shadow:0 8px 20px #64748b66;transform:translateY(-2px)}.order-card-footer .card-actions{display:flex;gap:.5rem}.bo-order-card .btn-process.move-btn{background:linear-gradient(135deg,#10b981,#059669)}.bo-order-card .btn-process.move-btn:hover{box-shadow:0 4px 12px #10b98166}.view-only-section{background:#f8fafc;border-radius:12px;margin-top:1rem;padding:1.5rem;text-align:center}.view-only-msg{color:#64748b;font-size:.95rem;margin:0}.print-actions{border-top:2px solid #f1f5f9;display:flex;gap:1rem;margin-top:1.5rem;padding-top:1.5rem}.print-actions .btn-secondary{background:#f1f5f9;border:none;border-radius:12px;color:#64748b;cursor:pointer;flex:1 1;font-size:1rem;font-weight:600;padding:.875rem 1.5rem;transition:all .2s ease}.print-actions .btn-secondary:hover{background:#e2e8f0}.print-actions .btn-primary{background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:12px;color:#fff;cursor:pointer;flex:2 1;font-size:1rem;font-weight:600;padding:.875rem 1.5rem;transition:all .2s ease}.print-actions .btn-primary:hover:not(:disabled){box-shadow:0 8px 20px #10b98166;transform:translateY(-2px)}.print-actions .btn-primary:disabled{cursor:not-allowed;opacity:.6}@media (max-width:768px){.bo-stats{flex-direction:column;gap:.75rem}.bo-flow-arrow{transform:rotate(90deg)}.bo-stat-card{max-width:200px;width:100%}.bo-orders-grid{grid-template-columns:1fr}.bo-modal{margin:.5rem;max-height:95vh}.print-actions{flex-direction:column}.print-actions .btn-primary,.print-actions .btn-secondary{flex:1 1}}.frontdesk-dashboard{background:linear-gradient(135deg,#fef3c7,#fde68a);min-height:100vh;padding:1rem}.fd-mode-switcher{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;margin:1rem 0 1.25rem}.fd-mode-btn{background:#ffffff40;border:2px solid #fff9;border-radius:12px;color:#fff;cursor:pointer;font-size:.95rem;font-weight:600;padding:.65rem 1.75rem;text-shadow:0 1px 2px #0003;transition:all .2s ease}.fd-mode-btn:hover{background:#fff6;border-color:#fffc;transform:translateY(-1px)}.fd-mode-btn.active{background:#fff;border-color:#fff;box-shadow:0 2px 8px #00000026;color:#d97706}.fd-header{background:linear-gradient(135deg,#f59e0b,#d97706);border-radius:20px;box-shadow:0 10px 40px #f59e0b4d;margin-bottom:1.5rem;padding:1.5rem}.fd-title{margin-bottom:1.5rem;text-align:center}.fd-title-row{align-items:center;display:flex;gap:1rem;justify-content:center}.fd-title h1{color:#fff;font-size:1.75rem;margin:0;text-shadow:0 2px 4px #0000001a}.fd-title .header-bell{align-items:center;background:#fff3;border:none;border-radius:12px;cursor:pointer;display:flex;height:44px;justify-content:center;position:relative;transition:all .2s ease;width:44px}.fd-title .header-bell:hover{background:#ffffff4d;transform:scale(1.05)}.fd-title p{color:#ffffffe6;font-size:.95rem;margin:.5rem 0 0}.b2b-badge{background:#7c3aed;border-radius:6px;color:#fff;font-size:.65rem;font-weight:600;margin-left:.5rem;padding:.15rem .4rem}.fd-stats{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.fd-stat-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff26;border:2px solid #0000;border-radius:16px;cursor:pointer;min-width:120px;padding:1rem 1.5rem;text-align:center;transition:all .3s ease}.fd-stat-card:hover{background:#ffffff40;transform:translateY(-2px)}.fd-stat-card.active{background:#fff;border-color:#fff;box-shadow:0 8px 25px #00000026;transform:scale(1.05)}.fd-stat-card .stat-icon{display:block;font-size:1.5rem;margin-bottom:.25rem}.fd-stat-card .stat-value{color:#fff;display:block;font-size:1.75rem;font-weight:700}.fd-stat-card.active .stat-value{color:#f59e0b}.fd-stat-card .stat-label{color:#ffffffe6;font-size:.7rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.fd-stat-card.active .stat-label{color:#64748b}.fd-stat-card.neworders.active{border-color:#3b82f6}.fd-stat-card.neworders.active .stat-value{color:#3b82f6}.fd-stat-card.assigned.active{border-color:#f59e0b}.fd-stat-card.assigned.active .stat-value{color:#f59e0b}.fd-stat-card.pickedup.active{border-color:#10b981}.fd-stat-card.pickedup.active .stat-value{color:#10b981}.fd-stat-card.returns.active{border-color:#f97316}.fd-stat-card.returns.active .stat-value{color:#f97316}.fd-flow-arrow{color:#ffffffb3;font-size:1.5rem;font-weight:700}.fd-flow-separator{color:#fff6;font-size:1.5rem;font-weight:300;margin:0 .5rem}.fd-content{background:#fff;border-radius:20px;box-shadow:0 4px 20px #0000000d;padding:1.5rem}.fd-section-header{border-bottom:2px solid #f1f5f9;margin-bottom:1.5rem;padding-bottom:1rem}.fd-section-header h2{color:#1e293b;font-size:1.25rem;margin:0 0 .5rem}.fd-section-header p{color:#64748b;font-size:.9rem;margin:0}.fd-loading{padding:3rem;text-align:center}.fd-loading .spinner{animation:spin 1s linear infinite;border:4px solid #e2e8f0;border-radius:50%;border-top-color:#f59e0b;height:50px;margin:0 auto 1rem;width:50px}.fd-loading p{color:#64748b}.fd-empty{padding:3rem;text-align:center}.fd-empty .empty-icon{display:block;font-size:4rem;margin-bottom:1rem}.fd-empty h3{color:#1e293b;margin:0 0 .5rem}.fd-empty p{color:#64748b;margin:0}.fd-orders-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.fd-order-card{background:linear-gradient(135deg,#fffbeb,#fef3c7);border:1px solid #fcd34d;border-radius:16px;cursor:pointer;padding:1rem;transition:all .3s ease}.fd-order-card:hover{border-color:#f59e0b;box-shadow:0 12px 30px #f59e0b33;transform:translateY(-4px)}.fd-order-card .order-card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:.75rem}.fd-order-card .ticket-number{color:#d97706;font-size:.9rem;font-weight:700}.fd-order-card .order-date{background:#fef3c7;border-radius:6px;color:#64748b;font-size:.8rem;padding:.25rem .5rem}.fd-order-card .order-card-body h3{color:#1e293b;font-size:1rem;margin:0 0 .25rem}.fd-order-card .phone{color:#64748b;font-size:.85rem;margin:0 0 .25rem}.fd-order-card .address{color:#64748b;font-size:.8rem;margin:0 0 .5rem}.fd-order-card .order-summary{align-items:center;background:#fff;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:.5rem;padding:.5rem}.fd-order-card .items-count{color:#64748b;font-size:.85rem}.fd-order-card .amount{color:#059669;font-weight:700}.fd-order-card .assigned-info{margin-top:.5rem}.fd-order-card .assigned-badge{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-radius:20px;color:#1e40af;display:inline-block;font-size:.8rem;font-weight:600;padding:.35rem .75rem}.fd-order-card .order-card-footer{align-items:center;border-top:1px solid #fcd34d;display:flex;justify-content:space-between;padding-top:.75rem}.fd-order-card .status-badge{border-radius:20px;color:#fff;font-size:.75rem;font-weight:600;padding:.35rem .75rem}.fd-order-card .btn-process{background:linear-gradient(135deg,#f59e0b,#d97706);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:.85rem;font-weight:600;padding:.5rem 1rem;transition:all .2s ease}.fd-order-card .btn-process:hover{box-shadow:0 4px 12px #f59e0b66;transform:scale(1.05)}.fd-order-card .btn-process.view-btn{background:linear-gradient(135deg,#64748b,#475569)}.fd-order-card .btn-process.return-btn{background:linear-gradient(135deg,#f97316,#ea580c)}.fd-order-card .btn-process.return-btn:hover{box-shadow:0 4px 12px #f9731666}.return-notes{background:#fef3c7;border:1px solid #fcd34d;border-radius:8px;margin-bottom:1rem;padding:.75rem}.return-notes .notes-label{color:#92400e;display:block;font-weight:600;margin-bottom:.25rem}.return-notes p{color:#78350f;font-size:.9rem;margin:0;white-space:pre-line}.return-assign-btn{background:linear-gradient(135deg,#f97316,#ea580c)!important}.return-assign-btn:hover:not(:disabled){box-shadow:0 6px 20px #f9731666!important}.fd-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.fd-modal{background:#fff;border-radius:20px;box-shadow:0 25px 50px #00000040;max-height:90vh;max-width:500px;overflow-y:auto;width:100%}.fd-modal .modal-header{align-items:flex-start;background:linear-gradient(135deg,#fffbeb,#fef3c7);border-bottom:1px solid #e2e8f0;border-radius:20px 20px 0 0;display:flex;justify-content:space-between;padding:1.25rem}.fd-modal .modal-title h2{color:#d97706;font-size:1.25rem;margin:0}.fd-modal .modal-title .status-badge{border-radius:20px;color:#fff;display:inline-block;font-size:.8rem;margin-top:.5rem;padding:.35rem .75rem}.fd-modal .close-btn{background:none;border:none;color:#64748b;cursor:pointer;font-size:1.75rem;line-height:1;padding:0}.fd-modal .close-btn:hover{color:#ef4444}.fd-modal .modal-body{padding:1.25rem}.customer-section{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1px solid #93c5fd;border-radius:12px;margin-bottom:1.25rem;padding:1rem}.customer-section h4{color:#1e40af;font-size:.95rem;margin:0 0 .75rem}.customer-info p{color:#1e293b;font-size:.9rem;margin:.25rem 0}.items-summary{background:#f8fafc;border-radius:12px;margin-bottom:1.25rem;padding:1rem}.items-summary h4{color:#1e293b;font-size:.95rem;margin:0 0 .75rem}.summary-row{border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:.5rem 0}.summary-row:last-child{border-bottom:none}.summary-row.total{border-top:2px solid #e2e8f0;color:#059669;font-size:1.1rem;font-weight:700;margin-top:.5rem;padding-top:.75rem}.assignment-section{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fcd34d;border-radius:12px;margin-top:1.25rem;padding:1.25rem}.assignment-section h4{color:#92400e;font-size:1rem;margin:0 0 .5rem}.assignment-hint{color:#a16207;font-size:.85rem;margin:0 0 1rem}.delivery-grid{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:repeat(2,1fr);margin-bottom:1rem}.delivery-option{align-items:center;background:#fff;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;display:flex;gap:.5rem;padding:.75rem;transition:all .2s ease}.delivery-option:hover{background:#fffbeb;border-color:#f59e0b}.delivery-option.selected{background:linear-gradient(135deg,#fef3c7,#fde68a);border-color:#f59e0b}.delivery-option .delivery-icon{font-size:1.25rem}.delivery-option .delivery-name{color:#1e293b;flex:1 1;font-size:.9rem;font-weight:600}.delivery-option .check-icon{color:#f59e0b;font-size:1.25rem;font-weight:700}.no-delivery-msg{background:#fef2f2;border-radius:8px;color:#dc2626;font-size:.9rem;padding:1rem;text-align:center}.btn-primary.assign-btn{background:linear-gradient(135deg,#f59e0b,#d97706);border:none;border-radius:12px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.875rem 1.5rem;transition:all .2s ease;width:100%}.btn-primary.assign-btn:hover:not(:disabled){box-shadow:0 8px 20px #f59e0b66;transform:translateY(-2px)}.btn-primary.assign-btn:disabled{cursor:not-allowed;opacity:.6}.assigned-section{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border:1px solid #93c5fd;border-radius:12px;margin-top:1rem;padding:1rem}.assigned-section h4{color:#1e40af;margin:0 0 .75rem}.assigned-person{align-items:center;background:#fff;border-radius:10px;display:flex;gap:.75rem;margin-bottom:.75rem;padding:.75rem}.assigned-person .person-icon{font-size:2rem}.assigned-person .person-details{display:flex;flex-direction:column}.assigned-person .person-name{color:#1e40af;font-size:1.1rem;font-weight:700}.assigned-person .assigned-time{color:#64748b;font-size:.8rem}.pickup-status{background:#ffffff80;border-radius:8px;color:#1e40af;font-size:.9rem;margin:0;padding:.5rem;text-align:center}.pickedup-section{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border:1px solid #6ee7b7;border-radius:12px;padding:1.5rem;text-align:center}.pickedup-msg{color:#065f46;font-size:1rem;font-weight:600;margin:0 0 .5rem}.next-step{color:#047857;font-size:.9rem;margin:0}@media (max-width:768px){.fd-stats{flex-direction:column;gap:.75rem}.fd-flow-arrow{transform:rotate(90deg)}.fd-stat-card{max-width:200px;width:100%}.fd-orders-grid{grid-template-columns:1fr}.fd-modal{margin:.5rem;max-height:95vh}.delivery-grid{grid-template-columns:1fr}}.reports-dashboard{margin:0 auto;max-width:1400px;padding:1.5rem}.reports-loading{align-items:center;color:#6b7280;display:flex;flex-direction:column;justify-content:center;min-height:400px}.reports-loading .spinner{animation:spin 1s linear infinite;border:4px solid #e5e7eb;border-radius:50%;border-top-color:#4f46e5;height:48px;margin-bottom:1rem;width:48px}.reports-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.reports-header .header-left h1{color:#1f2937;font-size:1.75rem;font-weight:700;margin:0}.reports-header .header-left p{color:#6b7280;font-size:.9rem;margin:.25rem 0 0}.header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.period-selector{background:#f3f4f6;border-radius:10px;display:flex;padding:4px}.period-selector button{background:#0000;border:none;border-radius:8px;color:#6b7280;cursor:pointer;font-size:.85rem;font-weight:500;padding:.5rem 1rem;transition:all .2s}.period-selector button.active{background:#fff;box-shadow:0 1px 3px #0000001a;color:#4f46e5}.period-selector button:hover:not(.active){color:#374151}.export-dropdown{position:relative}.btn-export{background:linear-gradient(135deg,#4f46e5,#7c3aed);border:none;border-radius:10px;color:#fff;cursor:pointer;font-weight:600;padding:.625rem 1.25rem;transition:all .2s}.btn-export:hover{box-shadow:0 4px 12px #4f46e566;transform:translateY(-1px)}.btn-export:disabled{cursor:not-allowed;opacity:.7}.export-menu{background:#fff;border-radius:10px;box-shadow:0 10px 40px #00000026;margin-top:.5rem;min-width:180px;opacity:0;overflow:hidden;position:absolute;right:0;top:100%;transform:translateY(-10px);transition:all .2s;visibility:hidden;z-index:100}.export-dropdown:hover .export-menu{opacity:1;transform:translateY(0);visibility:visible}.export-menu button{background:#0000;border:none;color:#374151;cursor:pointer;display:block;font-size:.9rem;padding:.75rem 1rem;text-align:left;transition:background .2s;width:100%}.export-menu button:hover{background:#f3f4f6}.reports-tabs{border-bottom:1px solid #e5e7eb;display:flex;gap:.5rem;margin-bottom:1.5rem;overflow-x:auto;padding-bottom:.5rem}.reports-tabs button{background:#0000;border:none;border-radius:8px 8px 0 0;color:#6b7280;cursor:pointer;font-size:.9rem;font-weight:500;padding:.75rem 1.25rem;transition:all .2s;white-space:nowrap}.reports-tabs button.active{background:#eef2ff;color:#4f46e5}.reports-tabs button:hover:not(.active){background:#f9fafb;color:#374151}.tab-content{animation:fadeIn .3s ease-out}.stats-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(4,1fr);margin-bottom:1.5rem}.stat-card{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 1px 3px #0000001a;display:flex;gap:1rem;padding:1.25rem;transition:all .2s}.stat-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.stat-card.orders{border-left:4px solid #4f46e5}.stat-card.revenue{border-left:4px solid #10b981}.stat-card.avg{border-left:4px solid #f59e0b}.stat-card.customers{border-left:4px solid #ec4899}.stat-card .stat-icon{font-size:2rem}.stat-card .stat-content{display:flex;flex-direction:column}.stat-card .stat-value{color:#1f2937;font-size:1.5rem;font-weight:700}.stat-card .stat-label{color:#6b7280;font-size:.8rem;margin-top:.125rem}.stat-card .stat-growth{font-size:.75rem;font-weight:600;margin-top:.25rem}.stat-growth.positive{color:#10b981}.stat-growth.negative{color:#ef4444}.charts-row{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr 1fr;margin-bottom:1.5rem}.chart-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 1px 3px #0000001a;padding:1.5rem}.chart-card.full-width{grid-column:1/-1}.chart-card h3{color:#1f2937;font-size:1.1rem;font-weight:600;margin:0 0 1rem}.chart-tooltip{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 12px #00000026;padding:.75rem 1rem}.chart-tooltip .tooltip-label{color:#1f2937;font-weight:600;margin:0 0 .5rem}.chart-tooltip p{font-size:.85rem;margin:.25rem 0}.table-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 1px 3px #0000001a;overflow-x:auto;padding:1.5rem}.table-card h3{color:#1f2937;font-size:1.1rem;font-weight:600;margin:0 0 1rem}.data-table{border-collapse:collapse;width:100%}.data-table th{background:#f9fafb;font-size:.8rem;font-weight:600;letter-spacing:.05em;text-align:left;text-transform:uppercase}.data-table td,.data-table th{border-bottom:1px solid #e5e7eb;color:#374151;padding:.875rem 1rem}.data-table tr:hover{background:#f9fafb}.data-table td.amount{color:#059669;font-weight:600}.rank-badge{align-items:center;border-radius:50%;display:inline-flex;font-size:.9rem;height:32px;justify-content:center;min-width:32px}.rank-badge.rank-1,.rank-badge.rank-2,.rank-badge.rank-3{font-size:1.25rem}@media (max-width:1200px){.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.reports-dashboard{padding:1rem}.header-actions,.reports-header{align-items:stretch;flex-direction:column}.period-selector{justify-content:center}.period-selector button{flex:1 1;font-size:.8rem;padding:.5rem}.btn-export,.export-dropdown{width:100%}.stats-grid{grid-template-columns:1fr 1fr}.stat-card{padding:1rem}.stat-card .stat-value{font-size:1.25rem}.charts-row{grid-template-columns:1fr}.reports-tabs{gap:.25rem}.reports-tabs button{font-size:.8rem;padding:.5rem .75rem}}@media (max-width:480px){.stats-grid{grid-template-columns:1fr}.stat-card{align-items:center;flex-direction:row}.data-table{font-size:.85rem}.data-table td,.data-table th{padding:.625rem .5rem}}.product-management{margin:0 auto;max-width:1400px;padding:1.5rem}.pm-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.pm-header-left h1{color:#1f2937;font-size:1.75rem;font-weight:700;margin:0}.pm-header-left p{color:#6b7280;font-size:.875rem;margin:.25rem 0 0}.pm-header-actions{display:flex;gap:.75rem}.btn-primary{background:linear-gradient(135deg,#4f46e5,#7c3aed);border:none;border-radius:10px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s}.btn-primary:hover{box-shadow:0 4px 12px #4f46e566;transform:translateY(-2px)}.btn-primary:disabled{cursor:not-allowed;opacity:.6;transform:none}.btn-secondary{background:#fff;border:1px solid #d1d5db;border-radius:10px;color:#374151;cursor:pointer;font-size:.9rem;font-weight:500;padding:.75rem 1.5rem;transition:all .2s}.btn-secondary:hover{background:#f3f4f6}.btn-secondary:disabled{cursor:not-allowed;opacity:.6}.pm-stats{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:1.5rem}.pm-stat-card{align-items:center;background:#fff;border:1px solid #e5e7eb;border-left-width:4px;border-radius:12px;box-shadow:0 1px 3px #0000001a;display:flex;gap:.75rem;padding:1rem}.pm-stat-card.total{border-left-color:#4f46e5}.pm-stat-card.active{border-left-color:#10b981}.pm-stat-card.category{border-left-width:4px}.pm-stat-icon{font-size:1.5rem}.pm-stat-info{display:flex;flex-direction:column}.pm-stat-value{color:#1f2937;font-size:1.25rem;font-weight:700}.pm-stat-label{color:#6b7280;font-size:.75rem}.pm-filters{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem}.pm-search{flex:1 1;min-width:250px;position:relative}.pm-search .search-icon{font-size:1rem;left:1rem;position:absolute;top:50%;transform:translateY(-50%)}.pm-search input{border:1px solid #d1d5db;border-radius:10px;font-size:.9rem;padding:.75rem 1rem .75rem 2.75rem;transition:all .2s;width:100%}.pm-search input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a;outline:none}.pm-filter-select{background:#fff;border:1px solid #d1d5db;border-radius:10px;cursor:pointer;font-size:.9rem;min-width:180px;padding:.75rem 1rem}.pm-filter-select:focus{border-color:#4f46e5;outline:none}.pm-table-container{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.pm-empty,.pm-loading{color:#6b7280;padding:3rem;text-align:center}.pm-empty{align-items:center;display:flex;flex-direction:column;gap:1rem}.pm-empty-icon{font-size:3rem;opacity:.5}.pm-table{border-collapse:collapse;width:100%}.pm-table th{background:#f9fafb;color:#374151;font-size:.8rem;font-weight:600;letter-spacing:.05em;text-align:left;text-transform:uppercase}.pm-table td,.pm-table th{border-bottom:1px solid #e5e7eb;padding:1rem}.pm-table td{vertical-align:middle}.pm-table tr:hover{background:#f9fafb}.pm-table tr.inactive-row{background:#f3f4f6;opacity:.6}.product-info{gap:.75rem}.product-icon,.product-info{align-items:center;display:flex}.product-icon{border-radius:10px;font-size:1.25rem;height:42px;justify-content:center;width:42px}.product-details{display:flex;flex-direction:column}.product-name{color:#1f2937;font-weight:600}.product-id{color:#9ca3af;font-family:Courier New,monospace;font-size:.75rem}.category-badge{align-items:center;border-radius:20px;display:inline-flex;font-size:.8rem;font-weight:600;gap:.3rem;padding:.35rem .75rem}.price-display{color:#10b981;font-size:1.1rem;font-weight:700}.price-display.discount{color:#ef4444}.options-badge{background:#f3f4f6;border-radius:6px;color:#9ca3af;font-size:.8rem;padding:.35rem .75rem}.options-badge.has-options{background:#eef2ff;color:#4f46e5}.status-badge{border-radius:20px;font-size:.8rem;font-weight:500;padding:.35rem .75rem}.status-badge.active{background:#d1fae5;color:#065f46}.status-badge.inactive{background:#fee2e2;color:#dc2626}.last-updated{color:#6b7280;display:flex;flex-direction:column;font-size:.85rem}.updated-by{color:#9ca3af;font-size:.7rem}.never-updated{color:#9ca3af;font-size:.85rem}.action-buttons{display:flex;gap:.5rem}.btn-action{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:1rem;height:36px;justify-content:center;transition:all .2s;width:36px}.btn-action.edit{background:#eef2ff}.btn-action.edit:hover{background:#c7d2fe}.btn-action.delete{background:#fee2e2}.btn-action.delete:hover{background:#fecaca}.pm-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.pm-modal{animation:slideUp .3s ease-out;background:#fff;border-radius:16px;max-height:90vh;max-width:550px;overflow-y:auto;width:100%}.pm-modal-header{align-items:center;background:linear-gradient(135deg,#4f46e5,#7c3aed);border-bottom:1px solid #e5e7eb;border-radius:16px 16px 0 0;color:#fff;display:flex;justify-content:space-between;padding:1.5rem}.pm-modal-header h2{font-size:1.25rem;margin:0}.pm-modal-header .btn-close{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.25rem;height:36px;justify-content:center;transition:all .2s;width:36px}.pm-modal-header .btn-close:hover{background:#ef4444cc}.pm-modal-body{padding:1.5rem}.pm-form-error{background:#fee2e2;border-radius:8px;color:#dc2626;font-size:.9rem;padding:.75rem 1rem}.pm-form-error,.pm-form-group{margin-bottom:1rem}.pm-form-group label{color:#374151;display:block;font-size:.9rem;font-weight:500;margin-bottom:.5rem}.pm-form-group input,.pm-form-group select{border:1px solid #d1d5db;border-radius:8px;font-size:.95rem;padding:.75rem 1rem;transition:all .2s;width:100%}.pm-form-group input:focus,.pm-form-group select:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a;outline:none}.pm-form-group input:disabled{background:#f3f4f6;color:#6b7280;cursor:not-allowed}.pm-form-group small{color:#6b7280;display:block;font-size:.75rem;margin-top:.25rem}.pm-form-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.price-input-wrapper{align-items:center;border:1px solid #d1d5db;border-radius:8px;display:flex;overflow:hidden;transition:all .2s}.price-input-wrapper:focus-within{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.price-input-wrapper .currency-symbol{background:#f3f4f6;border-right:1px solid #d1d5db;color:#10b981;font-size:1rem;font-weight:600;padding:.75rem 1rem}.price-input-wrapper input{border:none;flex:1 1;font-size:1rem;font-weight:600;outline:none;padding:.75rem 1rem}.checkbox-group{display:flex;flex-direction:column;gap:.25rem}.checkbox-label{align-items:center;color:#374151;cursor:pointer;display:flex;font-weight:500;gap:.5rem}.checkbox-label input[type=checkbox]{accent-color:#4f46e5;cursor:pointer;height:18px;width:18px}.pm-modal-footer{background:#f9fafb;border-radius:0 0 16px 16px;border-top:1px solid #e5e7eb;display:flex;gap:.75rem;justify-content:flex-end;padding:1rem 1.5rem}@media (max-width:1024px){.pm-table td:nth-child(4),.pm-table td:nth-child(6),.pm-table th:nth-child(4),.pm-table th:nth-child(6){display:none}}@media (max-width:768px){.product-management{padding:1rem}.pm-header{align-items:stretch;flex-direction:column}.pm-header-left h1{font-size:1.5rem}.pm-header-actions{flex-direction:column}.pm-stats{grid-template-columns:repeat(2,1fr)}.pm-filters{flex-direction:column}.pm-filter-select,.pm-search{width:100%}.pm-table td:nth-child(5),.pm-table th:nth-child(5){display:none}.pm-form-row{grid-template-columns:1fr}.pm-modal{margin:.5rem;max-width:100%}}@media (max-width:480px){.pm-stats{grid-template-columns:1fr 1fr}.pm-stat-card{padding:.75rem}.pm-stat-icon{font-size:1.25rem}.pm-stat-value{font-size:1rem}.pm-table-container{overflow-x:auto}.pm-table{min-width:500px}.product-icon{font-size:1rem;height:36px;width:36px}.btn-action{font-size:.9rem;height:32px;width:32px}}.login-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh;padding:2rem}.login-card{animation:slideIn .4s ease-out;background:#fff;border-radius:1rem;box-shadow:0 20px 60px #0000004d;max-width:450px;padding:2.5rem;width:100%}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.login-header{margin-bottom:2rem;text-align:center}.login-header h1{color:var(--primary-color);font-size:2rem;margin-bottom:.5rem}.login-header h2{color:var(--text-primary);font-size:1.5rem;font-weight:600}.login-form{display:flex;flex-direction:column;gap:1.25rem}.login-form .form-group{display:flex;flex-direction:column;gap:.5rem}.login-form label{color:var(--text-primary);font-size:.875rem;font-weight:600}.login-form input{border:2px solid var(--border-color);border-radius:.5rem;font-size:1rem;padding:.875rem 1rem;transition:all .2s}.login-form input:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px #2563eb1a;outline:none}.login-form input:disabled{background-color:var(--light-bg);cursor:not-allowed}.error-message{align-items:center;background:#fee2e2;border-left:4px solid #ef4444;border-radius:.5rem;color:#991b1b;display:flex;font-size:.875rem;gap:.5rem;padding:.875rem 1rem}.login-button{background:linear-gradient(135deg,var(--primary-color) 0,var(--secondary-color) 100%);border:none;border-radius:.5rem;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;margin-top:.5rem;padding:1rem;transition:all .2s}.login-button:hover:not(:disabled){box-shadow:0 10px 20px #2563eb4d;transform:translateY(-2px)}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.login-footer{border-top:1px solid var(--border-color);margin-top:1.5rem;padding-top:1.5rem;text-align:center}.login-footer p{color:var(--text-secondary);font-size:.875rem}.toggle-button{background:none;border:none;color:var(--primary-color);cursor:pointer;font-weight:600;padding:0;text-decoration:underline}.toggle-button:hover:not(:disabled){color:var(--secondary-color)}.toggle-button:disabled{cursor:not-allowed;opacity:.5}.demo-info{background:#f0f9ff;border-left:4px solid var(--primary-color);border-radius:.5rem;margin-top:1.5rem;padding:1rem}.demo-label{color:var(--primary-color);font-weight:600;margin-bottom:.5rem}.demo-text{font-family:Courier New,monospace;font-size:.875rem;margin:.25rem 0}.demo-note,.demo-text{color:var(--text-secondary)}.demo-note{font-size:.75rem;font-style:italic;margin-top:.5rem}@media (max-width:768px){.login-container{padding:1.5rem}.login-card{max-width:400px;padding:2rem 1.5rem}}@media (max-width:640px){.login-container{align-items:flex-start;padding:10vh 1rem 1rem}.login-card{border-radius:1rem;box-shadow:0 10px 40px #0003;max-width:100%;padding:1.5rem 1.25rem;width:100%}.login-header{margin-bottom:1.5rem}.login-header h1{font-size:1.5rem}.login-header h2{font-size:1.125rem}.login-form{gap:1rem}.login-button,.login-form input{font-size:1rem;padding:.875rem}.login-button{min-height:48px}.login-footer{margin-top:1.25rem;padding-top:1.25rem}.login-footer p{font-size:.8rem}.demo-info{margin-top:1.25rem;padding:.875rem}.demo-label{font-size:.875rem}.demo-text{font-size:.8rem}.demo-note{font-size:.7rem}.error-message{font-size:.8rem;padding:.75rem}}@media (max-width:380px){.login-container{padding:5vh .75rem .75rem}.login-card{padding:1.25rem 1rem}.login-header h1{font-size:1.25rem}.login-header h2{font-size:1rem}}@media (max-width:896px) and (orientation:landscape){.login-container{align-items:center;padding:0 1rem 1rem}.login-card{max-height:90vh;max-width:450px;overflow-y:auto}.login-header{margin-bottom:1rem}.login-form{gap:.75rem}.demo-info{margin-top:1rem}}@media (hover:none) and (pointer:coarse){.login-button,.login-form input,.toggle-button{min-height:48px}.login-button:hover{box-shadow:none;transform:none}.login-button:active{transform:scale(.98)}}@supports (padding:max(0px)){.login-container{padding-bottom:max(1rem,env(safe-area-inset-bottom));padding-left:max(1rem,env(safe-area-inset-left));padding-right:max(1rem,env(safe-area-inset-right))}}.receipt-modal-overlay{align-items:center;animation:fadeIn .2s ease-out;background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:2000}.receipt-modal{animation:slideUp .3s ease-out;background:#fff;border-radius:16px;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column;height:90vh;max-height:800px;max-width:900px;overflow:hidden;width:90%}.receipt-modal-header{align-items:center;background:linear-gradient(135deg,#10b981,#059669);color:#fff;display:flex;justify-content:space-between;padding:20px 24px}.receipt-header-info h2{font-size:1.5rem;font-weight:700;margin:0}.receipt-header-info .ticket-number{font-size:.9rem;margin:4px 0 0;opacity:.9}.receipt-modal-header .btn-close{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.2rem;height:36px;justify-content:center;transition:all .2s;width:36px}.receipt-modal-header .btn-close:hover{background:#ffffff4d;transform:scale(1.1)}.receipt-modal-body{align-items:center;background:#f3f4f6;display:flex;flex:1 1;justify-content:center;overflow:hidden}.receipt-loading{align-items:center;color:#6b7280;display:flex;flex-direction:column;gap:16px}.loading-spinner{border-top-color:#10b981;height:48px;width:48px}.receipt-error{align-items:center;display:flex;flex-direction:column;gap:12px;padding:40px;text-align:center}.receipt-error .error-icon{font-size:3rem}.receipt-error p{color:#dc2626;font-size:1.1rem;margin:0}.receipt-preview{box-sizing:border-box;height:100%;padding:16px;width:100%}.pdf-iframe{background:#fff;border:none;border-radius:8px;box-shadow:0 4px 6px -1px #0000001a;height:100%;width:100%}.receipt-modal-footer{align-items:center;background:#fff;border-top:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;padding:16px 24px}.order-summary{display:flex;gap:24px}.summary-item{align-items:center;display:flex;gap:8px}.summary-item .label{color:#6b7280;font-size:.875rem}.summary-item .value{color:#1f2937;font-weight:600}.summary-item .value.total{color:#10b981;font-size:1.25rem}.receipt-actions{align-items:center;display:flex;flex-wrap:wrap;gap:12px}.paper-size-control{align-items:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;display:flex;gap:8px;padding:6px 12px}.paper-size-control label{color:#6b7280;font-size:.8rem;font-weight:600;white-space:nowrap}.paper-size-dropdown{background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;font-size:.85rem;min-width:120px;padding:6px 10px}.paper-size-dropdown:hover{border-color:#10b981}.paper-size-dropdown:focus{border-color:#10b981;box-shadow:0 0 0 3px #10b9811a;outline:none}.receipt-actions .btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:.95rem;font-weight:600;gap:8px;padding:10px 20px;transition:all .2s}.receipt-actions .btn:disabled{cursor:not-allowed;opacity:.5}.receipt-actions .btn-secondary{background:#f3f4f6;color:#374151}.receipt-actions .btn-secondary:hover:not(:disabled){background:#e5e7eb}.receipt-actions .btn-primary{background:#3b82f6;color:#fff}.receipt-actions .btn-primary:hover:not(:disabled){background:#2563eb;transform:translateY(-1px)}.receipt-actions .btn-success{background:#10b981;color:#fff}.receipt-actions .btn-success:hover{background:#059669;transform:translateY(-1px)}@media (max-width:1024px){.receipt-modal{max-width:800px;width:95%}}@media (max-width:768px){.receipt-modal-overlay{align-items:flex-end;padding:0}.receipt-modal{animation:slideUpReceipt .3s ease-out;border-radius:20px 20px 0 0;height:95vh;height:95dvh;max-height:95vh;max-height:95dvh;max-width:100%;width:100%}@keyframes slideUpReceipt{0%{transform:translateY(100%)}to{transform:translateY(0)}}.receipt-modal-header{border-radius:20px 20px 0 0;padding:16px}.receipt-header-info h2{font-size:1.125rem}.receipt-header-info .ticket-number{font-size:.8rem}.receipt-modal-header .btn-close{font-size:1rem;height:32px;width:32px}.receipt-modal-body{flex:1 1;min-height:0}.receipt-preview{padding:8px}.pdf-iframe{border-radius:6px}.receipt-modal-footer{flex-direction:column;gap:12px;padding:12px 16px max(12px,env(safe-area-inset-bottom))}.order-summary{justify-content:space-between;padding:8px 0;width:100%}.summary-item .label{font-size:.8rem}.summary-item .value{font-size:.9rem}.summary-item .value.total{font-size:1.125rem}.receipt-actions{flex-direction:row;gap:8px;width:100%}.receipt-actions .btn{flex:1 1;font-size:.875rem;min-height:48px;padding:12px 16px}.paper-size-control{justify-content:center;margin-bottom:4px;width:100%}}@media (max-width:480px){.receipt-modal-header{padding:12px 16px}.receipt-header-info h2{font-size:1rem}.receipt-actions{flex-wrap:wrap}.receipt-actions .btn{flex:none;font-size:.8rem;padding:10px 12px;width:calc(50% - 4px)}.receipt-actions .btn-success{order:3;width:100%}}@media (max-width:896px) and (orientation:landscape){.receipt-modal-overlay{align-items:center;padding:1rem}.receipt-modal{border-radius:16px;height:95vh;max-height:95vh}.receipt-modal-footer{flex-direction:row;padding:12px 16px}.receipt-actions{flex:1 1;justify-content:flex-end}.receipt-actions .btn{flex:none;min-width:auto;width:auto}}@media (hover:none) and (pointer:coarse){.receipt-actions .btn{min-height:48px}.receipt-modal-header .btn-close{min-height:44px;min-width:44px}.receipt-actions .btn:hover{transform:none}.receipt-actions .btn:active{transform:scale(.98)}}.receipt-modal.success-animation:before{animation:successPop .5s ease-out;color:#10b981;content:"✓";font-size:80px;left:50%;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%)}@keyframes successPop{0%{opacity:1;transform:translate(-50%,-50%) scale(0)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.2)}to{opacity:0;transform:translate(-50%,-50%) scale(1)}}.qr-view-container{display:flex;font-family:Segoe UI,system-ui,-apple-system,sans-serif;justify-content:center;padding:20px}.qr-view-card{animation:slideUp .3s ease-out;background:#fff;border-radius:16px;box-shadow:0 4px 20px #0000001a;max-width:600px;overflow:hidden;width:100%}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.qr-view-header{background:linear-gradient(135deg,#1e3a5f,#2d5a87);color:#fff;padding:24px;text-align:center}.brand-logo{font-size:48px;margin-bottom:8px}.qr-view-header h1{font-size:1.5rem;font-weight:600;margin:0 0 12px}.ticket-badge{background:#fff3;border:2px solid #ffffff4d;border-radius:20px;display:inline-block;font-size:1.1rem;font-weight:700;letter-spacing:1px;padding:8px 20px}.status-banner{align-items:center;color:#fff;display:flex;font-size:1.2rem;font-weight:600;gap:12px;justify-content:center;padding:16px}.status-icon{font-size:1.5rem}.status-text{letter-spacing:1px;text-transform:uppercase}.qr-view-section{border-bottom:1px solid #f0f0f0;padding:20px 24px}.qr-view-section:last-of-type{border-bottom:none}.qr-view-section h3{color:#374151;font-size:1rem;font-weight:600;margin:0 0 16px}.info-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr}.info-item{display:flex;flex-direction:column;gap:4px}.info-label{color:#9ca3af;font-size:.75rem;letter-spacing:.5px;text-transform:uppercase}.info-value{color:#1f2937;font-size:1rem;font-weight:500}.info-value a{color:#4f46e5;text-decoration:none}.info-value a:hover{text-decoration:underline}.items-list{background:#f9fafb;border-radius:12px;padding:12px}.item-row{align-items:center;border-bottom:1px dashed #e5e7eb;display:flex;padding:10px 0}.item-row:last-child{border-bottom:none}.item-name{color:#374151;flex:1 1;font-weight:500}.item-qty{background:#e0e7ff;border-radius:12px;color:#4338ca;font-size:.85rem;font-weight:600;margin-left:8px;padding:4px 10px}.item-price{color:#059669;font-weight:600;margin-left:12px}.no-items{color:#9ca3af;font-style:italic;text-align:center}.total-row{align-items:center;border-top:2px solid #e5e7eb;display:flex;font-weight:600;justify-content:space-between;margin-top:16px;padding-top:16px}.total-amount{color:#059669;font-size:1.25rem}.timeline{display:flex;flex-direction:column;gap:16px}.timeline-item{align-items:flex-start;display:flex;gap:12px}.timeline-icon{align-items:center;background:#f3f4f6;border-radius:50%;display:flex;flex-shrink:0;font-size:1.25rem;height:40px;justify-content:center;width:40px}.timeline-item.completed .timeline-icon{background:#d1fae5}.timeline-content{display:flex;flex-direction:column;gap:2px}.timeline-label{color:#6b7280;font-size:.85rem}.timeline-date{color:#1f2937;font-weight:600}.rack-section{text-align:center}.rack-badge{align-items:center;background:linear-gradient(135deg,#fef3c7,#fde68a);border:2px solid #f59e0b;border-radius:16px;display:inline-flex;gap:12px;padding:16px 32px}.rack-icon{font-size:2rem}.rack-number{color:#92400e;font-size:1.5rem;font-weight:700}.qr-view-footer{background:#f9fafb;padding:20px 24px;text-align:center}.qr-view-footer p{color:#374151;font-weight:500;margin:0 0 8px}.qr-view-footer small{color:#9ca3af;font-size:.75rem}.qr-view-loading{color:#4f46e5;padding:60px 20px;text-align:center}.loading-spinner{animation:spin 1s linear infinite;border:4px solid #e5e7eb;border-radius:50%;border-top-color:#4f46e5;height:50px;margin:0 auto 16px;width:50px}@keyframes spin{to{transform:rotate(1turn)}}.qr-view-error{background:#fef2f2;border:1px solid #fecaca;border-radius:16px;color:#dc2626;margin:20px auto;max-width:400px;padding:40px;text-align:center}.error-icon{display:block;font-size:4rem;margin-bottom:16px}.qr-view-error h2{color:#991b1b;margin:0 0 8px}.qr-view-error p{color:#b91c1c;margin:0}.status-update-section{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:2px solid #0ea5e9}.status-update-section h3{color:#0369a1}.update-message{animation:fadeIn .3s ease;border-radius:8px;font-weight:500;margin-bottom:12px;padding:12px 16px;text-align:center}.update-message.success{background:#d1fae5;border:1px solid #10b981;color:#065f46}.update-message.error{background:#fee2e2;border:1px solid #ef4444;color:#991b1b}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.next-status-btn{background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:12px;box-shadow:0 4px 12px #10b9814d;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:600;margin-bottom:12px;padding:16px 20px;transition:all .2s;width:100%}.next-status-btn:hover:not(:disabled){box-shadow:0 6px 16px #10b98166;transform:translateY(-2px)}.next-status-btn:disabled{cursor:not-allowed;opacity:.7}.show-all-status-btn{background:#0000;border:2px solid #0ea5e9;border-radius:10px;color:#0369a1;cursor:pointer;font-size:.95rem;font-weight:600;padding:12px 16px;transition:all .2s;width:100%}.show-all-status-btn:hover{background:#0ea5e9;color:#fff}.status-picker{grid-gap:8px;border-top:1px dashed #bae6fd;display:grid;gap:8px;grid-template-columns:repeat(2,1fr);margin-top:16px;padding-top:16px}.status-option{background:#fff;border:2px solid;border-radius:8px;cursor:pointer;font-size:.85rem;font-weight:600;padding:10px 12px;transition:all .2s}.status-option:hover:not(:disabled){box-shadow:0 2px 8px #0000001a;transform:scale(1.02)}.status-option.current{cursor:default;font-weight:700}.status-option:disabled:not(.current){cursor:not-allowed;opacity:.5}@media (max-width:520px){.qr-view-container{padding:10px}.qr-view-card{border-radius:16px}.info-grid{grid-template-columns:1fr}.qr-view-section{padding:16px 20px}.status-picker{grid-template-columns:1fr}}