body{margin:0;font-family:Inter,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background-color:#0f172a}.login-container{width:100%;min-height:100vh;display:flex;justify-content:center;align-items:center;background:radial-gradient(circle at top right,#1e1b4b,#0f172a 60%);position:relative;overflow:hidden}.login-container:before{content:"";position:absolute;width:700px;height:700px;background:radial-gradient(circle,rgba(99,102,241,.15) 0%,transparent 60%);border-radius:50%;top:-250px;right:-150px;filter:blur(60px);animation:float 10s ease-in-out infinite alternate}.login-container:after{content:"";position:absolute;width:600px;height:600px;background:radial-gradient(circle,rgba(236,72,153,.15) 0%,transparent 60%);border-radius:50%;bottom:-200px;left:-200px;filter:blur(60px);animation:float 12s ease-in-out infinite alternate-reverse}@keyframes float{0%{transform:translate(0) scale(1)}50%{transform:translate(-30px,30px) scale(1.05)}to{transform:translate(0) scale(1)}}.login-box{background:#1e293b66;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.08);padding:48px;border-radius:24px;box-shadow:0 25px 50px -12px #00000080;width:100%;max-width:440px;position:relative;z-index:10;animation:slideUp .6s cubic-bezier(.16,1,.3,1)}@keyframes slideUp{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}.logo-container{text-align:center;margin-bottom:32px}.logo-circle{width:72px;height:72px;margin:0 auto 16px;background:linear-gradient(135deg,#6366f1,#a855f7);border-radius:20px;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 25px #6366f14d;transform:rotate(-10deg);transition:transform .3s ease}.login-box:hover .logo-circle{transform:rotate(0)}.logo-icon{width:36px;height:36px;color:#fff}.login-box h1{text-align:center;color:#f8fafc;margin-bottom:0;font-size:30px;line-height:1.2;font-weight:800;letter-spacing:-.5px}.login-box h1 .console-text{display:block;font-size:14px;background:linear-gradient(135deg,#a855f7,#ec4899);-webkit-background-clip:text;-webkit-text-fill-color:transparent;margin-top:8px;font-weight:700;text-transform:uppercase;letter-spacing:4px}.welcome-text{text-align:center;color:#94a3b8;font-size:15px;margin-top:12px;margin-bottom:36px;font-weight:400}.form-group{margin-bottom:24px}.form-group label{display:flex;align-items:center;gap:10px;margin-bottom:12px;color:#e2e8f0;font-weight:500;font-size:14px;line-height:1}.input-icon{width:18px;height:18px;color:#818cf8;flex-shrink:0}.phone-input-wrapper{display:flex;align-items:center;border:1px solid rgba(255,255,255,.1);border-radius:12px;overflow:hidden;transition:all .3s ease;background:#0f172a66}.phone-input-wrapper:focus-within{border-color:#6366f1;background:#0f172a99;box-shadow:0 0 0 4px #6366f126}.country-code{background:#ffffff08;padding:16px 20px;color:#f1f5f9;font-weight:600;border-right:1px solid rgba(255,255,255,.1);-webkit-user-select:none;user-select:none;font-size:16px}.phone-input{flex:1;padding:16px 20px;border:none;outline:none;font-size:16px;color:#f8fafc;background:transparent;font-weight:500;letter-spacing:1px}.phone-input::placeholder{color:#475569;letter-spacing:normal}.phone-input:disabled{background:#0f172acc;color:#64748b;cursor:default}.otp-subtitle{color:#94a3b8;font-size:14px;margin-bottom:24px;text-align:center;display:flex;align-items:center;justify-content:center;gap:8px;line-height:1.5;flex-wrap:wrap}.subtitle-icon{width:16px;height:16px;color:#818cf8;flex-shrink:0}.otp-input-container{display:flex;gap:12px;justify-content:center;margin-bottom:32px}.otp-input-box{width:48px;height:56px;border:1px solid rgba(255,255,255,.1);border-radius:12px;font-size:24px;font-weight:700;text-align:center;outline:none;transition:all .3s ease;color:#f8fafc;background:#0f172a66}.otp-input-box:focus{border-color:#6366f1;background:#0f172a99;box-shadow:0 0 0 4px #6366f126;transform:translateY(-2px)}.otp-input-box.filled{border-color:#818cf8;background:#6366f11a}.otp-input-box:disabled{background:#0f172acc;cursor:default;opacity:.6}.login-button{width:100%;padding:16px 24px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 4px 20px #6366f166}.login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #6366f180}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{background:#ffffff0d;color:#64748b;box-shadow:none;cursor:not-allowed;transform:none}.button-icon{width:18px;height:18px;flex-shrink:0}.spinner{width:18px;height:18px;border:3px solid rgba(255,255,255,.2);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.resend-container{text-align:center;margin-top:24px;margin-bottom:24px}.resend-text{color:#64748b;font-size:13px}.resend-button{background:none;border:none;color:#a855f7;font-weight:600;cursor:pointer;text-decoration:none;margin-left:6px;transition:all .2s;padding:4px 8px;border-radius:6px}.resend-button:hover:not(:disabled){color:#e879f9;background:#a855f71a}.resend-button:disabled{color:#475569;cursor:not-allowed}.back-button{width:100%;padding:14px 20px;background:#ffffff08;color:#cbd5e1;border:1px solid rgba(255,255,255,.08);border-radius:12px;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:8px}.back-button:hover:not(:disabled){background:#ffffff14;border-color:#ffffff26;color:#f8fafc}.back-button:disabled{opacity:.5;cursor:not-allowed}.error-message{background:#dc26261a;color:#fca5a5;padding:14px 16px;border-radius:12px;margin-bottom:24px;border:1px solid rgba(220,38,38,.2);display:flex;align-items:center;gap:10px;font-size:13px;font-weight:500;animation:shake .5s ease}@media (max-width: 480px){.login-box{padding:40px 24px;border-radius:20px;width:calc(100% - 32px)}.login-box h1{font-size:26px}.login-box h1 .console-text{font-size:12px;letter-spacing:3px}.logo-circle{width:64px;height:64px}.logo-icon{width:32px;height:32px}.phone-input-wrapper{flex-direction:row}.phone-input,.country-code{font-size:15px;padding:14px 16px}.otp-input-box{width:42px;height:50px;font-size:20px}}.dashboard-container{width:100%;min-height:100vh;display:flex;justify-content:center;align-items:center;background:linear-gradient(135deg,#0f172a,#1e1b4b);padding:20px}.dashboard-card{background:#1e293b66;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.08);padding:60px 40px;border-radius:24px;box-shadow:0 25px 50px -12px #00000080;text-align:center;max-width:500px;width:100%}.dashboard-card h1{color:#f8fafc;font-size:32px;margin-bottom:20px;font-weight:800}.dashboard-card h2{background:linear-gradient(135deg,#a855f7,#ec4899);-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-size:28px;margin-bottom:30px;font-weight:700}.user-info{color:#94a3b8;font-size:16px;margin:10px 0}.logout-button{width:100%;padding:16px 24px;margin-top:32px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 20px #6366f166}.logout-button:hover{transform:translateY(-2px);box-shadow:0 8px 25px #6366f180}.loading{text-align:center;color:#f8fafc;font-size:24px}@media (max-width: 480px){.dashboard-card{padding:40px 20px;margin:15px}.dashboard-card h1{font-size:28px}.dashboard-card h2{font-size:24px}.dashboard-card p,.user-info{font-size:14px}}.inventory-section{display:flex;flex-direction:column;height:100%;gap:20px}.alert-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn .2s ease}.alert-modal{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;width:90%;max-width:420px;overflow:hidden;animation:slideUp .3s ease}.alert-header{padding:20px;border-left:4px solid #3b82f6;background:#f9fafb;display:flex;align-items:center;gap:12px;justify-content:space-between}.alert-icon{font-size:24px;font-weight:700;min-width:24px}.alert-title{margin:0;font-size:16px;font-weight:600;color:#2d3748;flex:1;text-align:left}.alert-close{background:none;border:none;font-size:24px;color:#718096;cursor:pointer;padding:0;width:28px;height:28px;display:flex;align-items:center;justify-content:center;transition:color .2s ease}.alert-close:hover{color:#2d3748}.alert-body{padding:20px;max-height:300px;overflow-y:auto}.alert-message{margin:0;font-size:14px;color:#4a5568;line-height:1.6}.alert-footer{padding:16px 20px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:8px}.alert-button{padding:8px 24px;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.alert-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.alert-button:active{transform:translateY(0)}.upload-dialog{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;width:90%;max-width:600px;overflow:hidden;animation:slideUp .3s ease}.upload-dialog-header{padding:20px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;background:#f9fafb}.upload-dialog-header h3{margin:0;font-size:18px;font-weight:600;color:#2d3748}.upload-dialog-body{padding:30px 20px;display:flex;flex-direction:column;gap:25px}.upload-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}.upload-option-btn{padding:20px;border:2px solid #e5e7eb;border-radius:8px;background:#fff;cursor:pointer;transition:all .2s ease;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.upload-option-btn:hover{border-color:#4f46e5;background:#eef2ff;transform:translateY(-1px);box-shadow:0 4px 12px #4f46e51f}.upload-option-btn.delete-mode:hover{border-color:#ef4444;background:#fef2f2}.upload-option-btn.append-mode:hover{border-color:#10b981;background:#f0fdf4}.option-icon{font-size:28px}.option-title{font-size:16px;font-weight:600;color:#2d3748}.option-description{font-size:12px;color:#718096;line-height:1.4}.upload-info{background:#f8f9fa;border-left:4px solid #4f46e5;padding:16px;border-radius:6px;display:flex;gap:12px}.info-icon{font-size:20px;flex-shrink:0}.info-text{font-size:13px;color:#4a5568;line-height:1.6}.upload-dialog-footer{padding:16px 20px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end}.btn-cancel-upload{padding:10px 24px;background:#e5e7eb;color:#2d3748;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s ease}.btn-cancel-upload:hover{background:#d1d5db}.delete-confirmation-input{width:100%;padding:10px 12px;border:2px solid #e5e7eb;border-radius:6px;font-size:14px;font-family:Courier New,monospace;transition:all .3s ease;box-sizing:border-box}.delete-confirmation-input:focus{outline:none;border-color:#ef4444;box-shadow:0 0 0 3px #ef44441a}.delete-confirmation-input::placeholder{color:#9ca3af}.inventory-header{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.inventory-header h2{margin:0;font-size:24px;font-weight:600;color:#2d3748}.inventory-actions{display:flex;gap:12px;flex-wrap:wrap}.btn-upload-excel,.btn-add-product,.btn-watchlist,.btn-sort,.btn-discount,.btn-search,.btn-stock-notify,.btn-delete-all,.btn-download-inventory{padding:10px 18px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:6px;white-space:nowrap}.btn-upload-excel{background:linear-gradient(135deg,#4f46e5,#3730a3);color:#fff;box-shadow:0 4px 12px #4f46e533}.btn-upload-excel:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 16px #4f46e54d}.btn-add-product{background:linear-gradient(135deg,#10b981,#059669);color:#fff;box-shadow:0 4px 12px #10b9814d}.btn-add-product:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 16px #10b9814d}.btn-watchlist{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;box-shadow:0 4px 12px #f59e0b4d}.btn-watchlist:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 16px #f59e0b4d}.btn-watchlist.active{background:linear-gradient(135deg,#d97706,#b45309);box-shadow:0 4px 12px #d9770680}.btn-sort{background:#4f46e5;color:#fff;box-shadow:0 4px 12px #4f46e533}.btn-sort:hover:not(:disabled){background:#4338ca;transform:translateY(-1px);box-shadow:0 6px 16px #4f46e54d}.btn-discount{background:#8b5cf6;color:#fff;box-shadow:0 4px 12px #8b5cf64d}.btn-discount:hover:not(:disabled){background:#7c3aed;transform:translateY(-1px);box-shadow:0 6px 16px #8b5cf64d}.btn-upload-excel:disabled,.btn-add-product:disabled,.btn-watchlist:disabled,.btn-sort:disabled,.btn-discount:disabled{opacity:.6;cursor:not-allowed}.btn-delete-all{padding:10px 18px;background:#dc2626;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:6px;white-space:nowrap}.btn-delete-all:hover:not(:disabled){background:#b91c1c;transform:translateY(-1px);box-shadow:0 4px 12px #dc262640}.btn-delete-all:active:not(:disabled){transform:translateY(0)}.btn-delete-all:disabled{opacity:.5;cursor:not-allowed}.btn-search{padding:10px 18px;background:#4f46e5;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:6px;white-space:nowrap}.btn-search:hover:not(:disabled){background:#4338ca;transform:translateY(-1px);box-shadow:0 4px 12px #4f46e540}.btn-search:active:not(:disabled){transform:translateY(0);background:#3730a3}.btn-search:disabled{opacity:.5;cursor:not-allowed}.btn-stock-notify{background:#f8fafc;color:#475569;border:1px solid #dbe3ef}.btn-stock-notify:hover:not(:disabled){background:#eef2ff;color:#4338ca;border-color:#c7d2fe}.stock-notify-btn-content{display:inline-flex;align-items:center;gap:8px}.stock-notify-badge{min-width:20px;height:20px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;line-height:1}.inventory-top-btn{background:#fff;color:#475569;border:1px solid #dbe3ef;box-shadow:none;font-weight:600}.inventory-top-btn:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1;transform:none;box-shadow:none}.inventory-top-btn:active:not(:disabled){transform:none}.inventory-top-btn.active{background:linear-gradient(135deg,#4f46e5,#3730a3);color:#fff;border-color:transparent;box-shadow:0 4px 12px #4f46e538}.btn-delete-all.inventory-top-btn{background:#fff5f5;color:#dc2626;border-color:#fecaca}.btn-delete-all.inventory-top-btn:hover:not(:disabled){background:#fee2e2;border-color:#fca5a5}.btn-upload-excel.inventory-top-btn{background:linear-gradient(135deg,#4f46e5,#3730a3);color:#fff;border-color:transparent;box-shadow:0 4px 12px #4f46e53d}.btn-upload-excel.inventory-top-btn:hover:not(:disabled){background:linear-gradient(135deg,#4338ca,#312e81);box-shadow:0 6px 16px #4f46e54d}.inventory-top-header{margin-bottom:16px}.inventory-top-header h3{margin:0}.inventory-actions-modern{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px}.inventory-view-status{margin:-4px 0 14px;font-size:13px;font-weight:700;color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:8px 12px;width:fit-content}.inventory-view-status-row{margin:-4px 0 14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.inventory-view-status-row .inventory-view-status{margin:0}.stock-notify-action-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.btn-generate-po{border:none;border-radius:10px;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;font-size:13px;font-weight:700;padding:10px 14px;cursor:pointer;box-shadow:0 4px 12px #4f46e547;white-space:nowrap}.btn-generate-po:disabled{opacity:.6;cursor:not-allowed}.btn-delete-stock-notify{border:none;border-radius:10px;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;font-size:13px;font-weight:700;padding:10px 14px;cursor:pointer;box-shadow:0 4px 12px #dc262647;white-space:nowrap}.btn-delete-stock-notify:hover:not(:disabled){transform:translateY(-1px)}.btn-delete-stock-notify:disabled{opacity:.6;cursor:not-allowed}.inventory-actions-modern>div,.inventory-actions-modern>span,.inventory-actions-modern>button{display:flex;align-items:center}.inventory-actions-modern .inventory-top-btn{background:#fff!important;color:#4f46e5!important;border:1px solid #e0e7ff!important;box-shadow:none!important;border-radius:8px;font-weight:700;min-height:48px;min-width:0;width:auto;justify-content:center;padding:0 18px}.inventory-actions-modern .inventory-top-btn:hover:not(:disabled){background:#eef2ff!important;border-color:#c7d2fe!important;transform:none!important;box-shadow:none!important}.inventory-actions-modern .inventory-top-btn.active,.inventory-actions-modern .btn-upload-excel.inventory-top-btn{background:linear-gradient(135deg,#4f46e5,#3730a3)!important;color:#fff!important;border-color:transparent!important}.inventory-actions-modern .btn-add-product.inventory-top-btn{background:linear-gradient(135deg,#10b981,#059669)!important;color:#fff!important;border-color:transparent!important}.inventory-actions-modern .btn-delete-all.inventory-top-btn{background:#fee2e2!important;color:#dc2626!important;border-color:#fecaca!important}.inventory-actions-modern .cache-indicator{background:#eef2ff!important;color:#5b21b6!important;border:1px solid #ddd6fe;border-radius:8px;font-weight:600;min-height:48px;min-width:120px;justify-content:center;padding:0 14px!important}@media (max-width: 1280px){.inventory-actions-modern .inventory-top-btn{min-width:0}}@media (max-width: 768px){.inventory-actions-modern .inventory-top-btn,.inventory-actions-modern .cache-indicator{min-width:calc(50% - 6px);width:calc(50% - 6px)}}@media (max-width: 520px){.inventory-actions-modern .inventory-top-btn,.inventory-actions-modern .cache-indicator{min-width:100%;width:100%}}.upload-menu-dropdown{position:absolute;top:100%;left:0;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 8px 24px #0000001f;min-width:280px;z-index:1000;overflow:hidden;margin-top:4px;animation:slideDown .2s ease}.upload-menu-item{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:14px 16px;border:none;background:#fff;cursor:pointer;transition:all .2s ease;text-align:left;gap:6px}.upload-menu-item:not(:last-child){border-bottom:1px solid #e5e7eb}.upload-menu-item:hover:not(:disabled){background:#f0f9ff;padding-left:20px}.upload-menu-item:disabled{opacity:.5;cursor:not-allowed}.upload-menu-item .menu-title{font-weight:600;color:#1f2937;font-size:14px}.upload-menu-item .menu-desc{font-size:12px;color:#6b7280;line-height:1.4}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;background:#f9fafb;border-radius:12px;border:2px dashed #e5e7eb}.empty-icon{font-size:48px;margin-bottom:16px}.empty-text{font-size:18px;font-weight:600;color:#2d3748;margin:0 0 8px}.empty-subtext{font-size:14px;color:#718096;margin:0}.table-container{width:100%;overflow-x:auto;border-radius:12px;border:1px solid #e5e7eb;background:#fff;box-shadow:0 1px 3px #0000001a}.inventory-table{width:100%;border-collapse:collapse;font-size:14px}.inventory-table thead{background:linear-gradient(135deg,#f7fafc,#edf2f7);border-bottom:2px solid #e2e8f0;position:sticky;top:0}.inventory-table th{padding:16px 12px;text-align:left;font-weight:600;color:#2d3748;white-space:nowrap;-webkit-user-select:none;user-select:none}.inventory-table th.col-id{min-width:140px;width:140px}.inventory-table th.col-dynamic{min-width:150px}.inventory-table th.col-date{min-width:120px;width:120px}.inventory-table tbody tr{border-bottom:1px solid #e5e7eb;transition:background-color .2s ease}.inventory-table tbody tr:hover{background-color:#f9fafb}.inventory-table tbody tr:last-child{border-bottom:none}.inventory-table td{padding:14px 12px;color:#4a5568}.inventory-table td.col-id{width:140px;min-width:140px}.inventory-table td.col-dynamic{min-width:150px;max-width:250px;word-break:break-word}.inventory-table td.col-date{width:120px;min-width:120px;color:#718096;font-size:13px}.product-id{display:inline-block;padding:4px 10px;background:#eef2ff;color:#4f46e5;border-radius:6px;font-weight:600;font-family:Courier New,monospace}.inventory-table th.col-sl-no,.search-results-table th.col-sl-no{width:70px;min-width:70px;text-align:center}.inventory-table td.col-sl-no,.search-results-table td.col-sl-no{width:70px;min-width:70px;text-align:center;font-weight:600;color:#4f46e5}.inventory-table th.col-watchlist,.search-results-table th.col-watchlist,.inventory-table td.col-watchlist,.search-results-table td.col-watchlist{width:90px;min-width:90px;text-align:center}.inventory-table th.col-select,.inventory-table td.col-select{width:82px;min-width:82px;text-align:center}.inventory-table th.col-actions,.search-results-table th.col-actions,.inventory-table td.col-actions,.search-results-table td.col-actions{width:100px;min-width:100px;text-align:center}.btn-view-product{background:none;border:none;padding:8px 10px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:6px;transition:all .2s ease}.btn-view-product:hover{background:#e0e7ff;transform:scale(1.05)}.btn-view-product:active{transform:scale(.95)}.btn-view-product .btn-icon{width:18px;height:18px;object-fit:contain}.restock-status-btn{border:none;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700;cursor:pointer;min-width:118px}.restock-status-btn.required{background:#ef4444;color:#fff}.restock-status-btn.required:hover{background:#dc2626}.restock-status-btn.done{background:#10b981;color:#fff;cursor:default}.restock-checkbox-disabled{color:#9ca3af;font-size:16px;-webkit-user-select:none;user-select:none}.watchlist-checkbox{width:18px;height:18px;cursor:pointer;accent-color:#4f46e5}.watchlist-checkbox:disabled{opacity:.6;cursor:not-allowed}.progress-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1001;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:fadeIn .3s ease}.progress-modal{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;width:90%;max-width:500px;overflow:hidden;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slideDown{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.progress-header{background:linear-gradient(135deg,#4f46e5,#3730a3);color:#fff;padding:24px;border-bottom:none}.progress-header h2{margin:0;font-size:20px;font-weight:600}.progress-body{padding:32px 24px}.progress-text{margin:0 0 20px;font-size:16px;color:#2d3748;font-weight:500;text-align:center}.progress-bar-container{background:#e5e7eb;border-radius:12px;height:12px;overflow:hidden;margin-bottom:20px;position:relative}.progress-bar-fill{height:100%;background:linear-gradient(90deg,#4f46e5,#3730a3);border-radius:12px;display:flex;align-items:center;justify-content:center;transition:width .3s ease;min-width:2%;position:relative}.progress-percentage{position:absolute;font-size:10px;font-weight:600;color:#fff;right:4px;text-shadow:0 1px 2px rgba(0,0,0,.2)}.progress-details{margin:0;font-size:13px;color:#718096;text-align:center;font-style:italic}.loading-spinner{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;gap:20px}.spinner{width:50px;height:50px;border:4px solid #e5e7eb;border-top:4px solid #4f46e5;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.progress-text{font-size:16px;color:#374151;font-weight:500;margin:0}.success-message{text-align:center;padding:20px}.success-text{margin:0 0 12px;font-size:18px;font-weight:600;color:#2d3748;line-height:1.5}.success-subtext{margin:0;font-size:14px;color:#718096;line-height:1.5}.progress-footer{padding:20px 24px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end}.btn-close-success{padding:10px 24px;background:linear-gradient(135deg,#4f46e5,#3730a3);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1)}.btn-close-success:hover{transform:translateY(-1px);box-shadow:0 4px 14px #4f46e54d}.btn-close-success:active{transform:translateY(0)}.loading-text{text-align:center;padding:40px 20px;font-size:16px;color:#718096;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}@media (max-width: 768px){.inventory-header{flex-direction:column;align-items:stretch}.inventory-actions{justify-content:flex-start}.btn-upload-excel,.btn-add-product,.btn-watchlist,.btn-discount,.btn-search,.btn-delete-all,.btn-download-inventory{flex:1;justify-content:center}.inventory-table th.col-id,.inventory-table td.col-id{min-width:110px;width:110px}.inventory-table th.col-dynamic,.inventory-table td.col-dynamic{min-width:100px;max-width:150px}.progress-modal{width:95%;margin:20px}}@media (max-width: 480px){.inventory-section{gap:15px}.inventory-header h2{font-size:20px}.inventory-actions{gap:8px}.btn-upload-excel,.btn-add-product,.btn-watchlist,.btn-discount,.btn-search,.btn-delete-all,.btn-download-inventory{padding:8px 12px;font-size:13px}.progress-modal{max-width:90vw}.progress-header h2{font-size:18px}.progress-body{padding:20px 16px}.table-container{border-radius:8px}.inventory-table th,.inventory-table td{padding:10px 8px;font-size:12px}.product-id{padding:3px 8px;font-size:12px}}.feature-panel{background:#fff;border-radius:12px;padding:25px;box-shadow:0 4px 12px #0000001a;animation:slideDown .3s ease;margin-bottom:20px}.feature-panel h3{margin:0 0 20px;color:#1f2937;font-size:18px;font-weight:600}.feature-buttons{display:flex;gap:12px;flex-wrap:wrap}.feature-btn{padding:12px 20px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;background:#3b82f6;color:#fff}.feature-btn:hover{background:#2563eb;transform:translateY(-2px);box-shadow:0 4px 12px #3b82f64d}.feature-btn:disabled{background:#d1d5db;cursor:not-allowed;transform:none}.feature-btn.cancel-btn{background:#6b7280}.feature-btn.cancel-btn:hover{background:#4b5563}.feature-btn.add-btn{background:#10b981}.feature-btn.add-btn:hover{background:#059669}.feature-btn.delete-all-btn{background:#ef4444}.feature-btn.delete-all-btn:hover{background:#dc2626}.feature-btn.master-btn{background:#8b5cf6}.feature-btn.master-btn:hover{background:#7c3aed}.discount-form{display:flex;flex-direction:column;gap:18px}.form-group label{font-weight:600;color:#374151;font-size:14px}.brand-select,.discount-input{padding:12px 14px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;font-family:inherit;transition:all .2s ease}.brand-select:focus,.discount-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.brand-select{padding:12px 14px;cursor:pointer}.discount-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}.feature-btn.view-btn{background:#f59e0b}.feature-btn.view-btn:hover{background:#d97706}.feature-btn.search-btn{background:#06b6d4}.feature-btn.search-btn:hover{background:#0891b2}.search-panel{margin-top:20px;animation:slideDown .3s ease}.search-panel h3{margin:0 0 15px;font-size:18px;font-weight:600;color:#1f2937;display:flex;align-items:center;gap:8px}.search-panel h3:before{content:"🔍";font-size:20px}.search-container{display:flex;gap:12px;margin-bottom:20px;align-items:stretch}.search-input{flex:1;padding:12px 14px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;font-family:inherit;transition:all .2s ease;box-shadow:0 1px 3px #0000000d}.search-input::placeholder{color:#9ca3af}.search-input:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e514,0 1px 3px #0000000d;background:#fafbfc}.search-results-panel{background:linear-gradient(135deg,#eef2ff,#f8fafc);border-radius:10px;padding:20px;border:1px solid #e0e7ff;box-shadow:0 2px 8px #4f46e50f;animation:slideDown .3s ease}.search-results-panel h4{margin:0 0 15px;font-size:16px;font-weight:600;color:#1f2937;display:flex;align-items:center;gap:8px}.search-results-panel h4:before{content:"📊";font-size:18px}.no-results-text{text-align:center;padding:40px 20px;color:#6b7280;font-size:14px;margin:0;background:#fff;border-radius:6px;border:1px dashed #d1d5db}.search-results-table-container{max-height:500px;overflow-y:auto;border:1px solid #bae6fd;border-radius:6px;background:#fff;box-shadow:inset 0 1px 3px #06b6d40d}.search-results-table{width:100%;border-collapse:collapse;font-size:13px;background:#fff}.search-results-table thead{background:linear-gradient(135deg,#ecf0f1,#e8eef5);position:sticky;top:0;z-index:10}.search-results-table th{padding:12px 14px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #bae6fd;white-space:nowrap;background:linear-gradient(135deg,#ecf0f1,#e8eef5)}.search-results-table td{padding:10px 14px;border-bottom:1px solid #e5e7eb;color:#1f2937}.search-results-table tbody tr{transition:all .15s ease}.search-results-table tbody tr:hover{background:#f0f9ff;box-shadow:inset 1px 0 #cffafe}.search-results-table tbody tr:nth-child(2n){background:#fafbfc}.search-results-table tbody tr:nth-child(2n):hover{background:#f0f9ff}.search-results-table .product-id{padding:4px 10px;border-radius:4px;background:#dbeafe;color:#1e40af;font-weight:500;font-size:12px;display:inline-block}.brand-products-modal{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;width:calc(100vw - 40px);height:90vh;overflow:hidden;display:flex;flex-direction:column;animation:slideUp .3s ease}.modal-header{padding:18px 24px;background:linear-gradient(135deg,#4f46e5,#3730a3);color:#fff;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5e7eb;flex-shrink:0;min-height:60px}.modal-title{margin:0;font-size:22px;font-weight:600}.modal-close-btn{background:none;border:none;font-size:36px;color:#fff;cursor:pointer;padding:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;transition:all .2s ease;border-radius:50%;flex-shrink:0;line-height:1}.modal-close-btn:hover{background:#fff3}.modal-content{flex:1;overflow:hidden;display:flex;flex-direction:column;min-height:0;width:100%;background:transparent}.brand-products-table-container{width:100%;flex:1;overflow-x:auto;overflow-y:auto;min-height:0}.brand-products-table{width:100%;border-collapse:collapse;font-size:13px;background:#fff;table-layout:auto}.brand-products-table thead{background:#f3f4f6;position:sticky;top:0;z-index:10}.brand-products-table th{padding:16px 18px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #d1d5db;white-space:nowrap}.brand-products-table td{padding:14px 18px;border-bottom:1px solid #e5e7eb;color:#1f2937;white-space:nowrap;max-width:none}.brand-products-table tbody tr{transition:background .15s ease}.brand-products-table tbody tr:hover{background:#f9fafb}.brand-products-table .product-id{padding:4px 10px;border-radius:4px;background:#dbeafe;color:#1e40af;font-weight:500;font-size:12px;display:inline-block}.empty-products{text-align:center;padding:100px 20px;color:#6b7280;font-size:16px;display:flex;align-items:center;justify-content:center;flex:1}@media (max-width: 1024px){.brand-products-modal{width:98vw;height:90vh}.modal-title{font-size:18px}.brand-products-table th,.brand-products-table td{padding:12px 14px;font-size:12px}}.brand-products-inline{margin-top:30px;padding:20px;background:#f8f9fa;border-radius:8px;border:1px solid #e5e7eb}.brand-products-inline h4{margin:0 0 15px;font-size:16px;font-weight:600;color:#1f2937}.no-products-text{text-align:center;padding:20px;color:#6b7280;font-size:14px}.inline-products-table-container{max-height:400px;overflow-y:auto;border:1px solid #d1d5db;border-radius:6px;background:#fff}.inline-products-table{width:100%;border-collapse:collapse;font-size:13px;background:#fff}.inline-products-table thead{background:#f3f4f6;position:sticky;top:0;z-index:10}.inline-products-table th{padding:12px 14px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #d1d5db;white-space:nowrap}.inline-products-table td{padding:10px 14px;border-bottom:1px solid #e5e7eb;color:#1f2937}.inline-products-table tbody tr{transition:background .15s ease}.inline-products-table tbody tr:hover{background:#f9fafb}@media (max-width: 768px){.brand-products-modal{width:100vw;height:95vh;border-radius:0}.modal-header{padding:14px 18px;min-height:50px}.modal-title{font-size:16px}.modal-close-btn{font-size:28px;width:36px;height:36px}.brand-products-table th,.brand-products-table td{padding:10px 12px;font-size:11px}}.product-detail-modal{background:#fff;border-radius:16px;box-shadow:0 24px 60px #00000040;width:93%;max-width:1100px;max-height:92vh;overflow:hidden;animation:modalSlideIn .3s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column}.product-detail-header{padding:24px 32px;background:linear-gradient(135deg,#4f46e5,#3730a3);color:#fff;display:flex;align-items:center;justify-content:space-between;box-shadow:none;border-bottom:none}.product-detail-header h3{margin:0;font-size:24px;font-weight:700;letter-spacing:-.5px}.product-detail-id{margin:5px 0 0;font-size:13px;opacity:.9;font-weight:500;letter-spacing:1px}.modal-close-btn{background:#ffffff26;color:#fff;border:none;width:40px;height:40px;border-radius:50%;font-size:24px;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center;flex-shrink:0}.modal-close-btn:hover{background:#ffffff4d;transform:scale(1.05)}.product-detail-body{padding:28px 32px;overflow-y:auto;flex:1;background:#fafbfc}.product-detail-body::-webkit-scrollbar{width:8px}.product-detail-body::-webkit-scrollbar-track{background:#f3f4f6;border-radius:8px}.product-detail-body::-webkit-scrollbar-thumb{background:#c7d2fe;border-radius:8px}.product-detail-body::-webkit-scrollbar-thumb:hover{background:#a5b4fc}.product-image-section{display:grid;grid-template-columns:320px 1fr;gap:35px;margin-bottom:40px;padding-bottom:35px;border-bottom:2px solid #e5e7eb}.product-image-container{width:100%;aspect-ratio:1;border-radius:12px;overflow:hidden;background:#fff;border:1px solid #e5e7eb;box-shadow:0 4px 12px #0000000f;transition:all .2s ease}.product-image-container:hover{box-shadow:0 8px 24px #4f46e51f;border-color:#c7d2fe}.product-image{width:100%;height:100%;object-fit:cover;display:block}.product-image-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#f3f4f6,#e5e7eb);gap:12px}.placeholder-icon{font-size:48px;opacity:.6}.placeholder-text{font-size:16px;font-weight:600;color:#6b7280}.image-controls{display:flex;flex-direction:column;gap:16px;justify-content:flex-start}.image-url-input{width:100%;padding:14px 18px!important;font-size:14px!important;border:2px solid #e5e7eb!important;border-radius:10px!important}.image-url-input:focus{border-color:#4f46e5!important;box-shadow:0 0 0 3px #4f46e514!important}.btn-upload-image{padding:14px 24px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:10px;cursor:pointer;font-size:16px;font-weight:700;transition:all .35s ease;box-shadow:0 6px 20px #10b98159;width:100%}.btn-upload-image:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);transform:translateY(-1px);box-shadow:0 6px 20px #10b9814d}.btn-upload-image:disabled{opacity:.65;cursor:not-allowed;transform:none}.product-fields-grid-large{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:24px}.product-field-large{display:flex;flex-direction:column;gap:10px;animation:fieldFadeIn .5s ease forwards;opacity:0}@keyframes fieldFadeIn{to{opacity:1}}.product-field-large:nth-child(1){animation-delay:.05s}.product-field-large:nth-child(2){animation-delay:.1s}.product-field-large:nth-child(3){animation-delay:.15s}.product-field-large:nth-child(4){animation-delay:.2s}.product-field-large:nth-child(n+5){animation-delay:.25s}.product-field-label-large{font-size:13px;font-weight:800;color:#374151;text-transform:uppercase;letter-spacing:.8px;display:block}.product-field-input-large,.product-field-textarea-large{padding:14px 16px;border:2px solid #e5e7eb;border-radius:10px;font-size:15px;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;transition:all .3s ease;background:#fff;color:#1f2937}.product-field-input-large::placeholder,.product-field-textarea-large::placeholder{color:#9ca3af}.product-field-input-large:focus,.product-field-textarea-large:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e514;background:#fafbfc}.product-field-textarea-large{resize:vertical;min-height:120px;line-height:1.7;font-family:inherit}.product-detail-footer{padding:20px 32px;background:#fff;border-top:1px solid #e5e7eb;display:flex;gap:12px;justify-content:flex-end;align-items:center;box-shadow:none}.btn-save-product{padding:12px 32px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:10px;cursor:pointer;font-size:15px;font-weight:700;letter-spacing:.3px;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 14px #10b98140}.btn-save-product:hover{background:linear-gradient(135deg,#059669,#047857);transform:translateY(-1px);box-shadow:0 6px 20px #10b98159}.btn-cancel-product{padding:12px 32px;background:#fff;color:#374151;border:1.5px solid #d1d5db;border-radius:10px;cursor:pointer;font-size:15px;font-weight:700;letter-spacing:.3px;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:none}.btn-cancel-product:hover{background:#f9fafb;border-color:#9ca3af;transform:translateY(-1px)}.btn-delete-product{padding:15px 30px;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border:none;border-radius:10px;cursor:pointer;font-size:15px;font-weight:800;letter-spacing:.4px;transition:all .25s ease;box-shadow:0 6px 20px #ef444459;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.btn-delete-product:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);transform:translateY(-1px);box-shadow:0 6px 20px #ef444459}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.95) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}@media (max-width: 1024px){.product-image-section{grid-template-columns:280px 1fr;gap:25px;margin-bottom:30px}.product-fields-grid-large{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}.product-detail-body{padding:25px}}@media (max-width: 768px){.product-detail-modal{width:96%;max-height:94vh;border-radius:18px}.product-detail-header{padding:20px 22px}.product-detail-header h3{font-size:22px}.product-detail-id{font-size:12px}.modal-close-btn{width:42px;height:42px;font-size:24px}.product-detail-body{padding:20px}.product-image-section{grid-template-columns:1fr;gap:18px;margin-bottom:25px;padding-bottom:25px}.product-image-container{max-width:100%;aspect-ratio:3/4}.product-fields-grid-large{grid-template-columns:1fr;gap:16px}.product-detail-footer{padding:18px 20px;gap:12px;flex-direction:column-reverse}.btn-save-product,.btn-cancel-product,.btn-delete-product{width:100%;padding:14px 24px;font-size:15px}.image-controls{gap:12px}}@media (max-width: 480px){.product-detail-header{padding:16px 18px}.product-detail-header h3{font-size:18px}.product-detail-body{padding:16px}.product-fields-grid-large{gap:14px}.product-field-input-large,.product-field-textarea-large{font-size:14px;padding:12px 14px}}.section-tabs{display:flex;gap:6px;border-bottom:none;background:#f1f3f5;border-radius:10px;padding:5px}.section-tab{padding:10px 20px;background:transparent;border:none;cursor:pointer;font-size:14px;font-weight:500;color:#6b7280;border-radius:8px;transition:all .2s cubic-bezier(.4,0,.2,1);border-bottom:none;margin-bottom:0}.section-tab:hover{background:#4f46e50f;color:#4f46e5}.section-tab.active{background:#fff;color:#4f46e5;border-bottom:none;box-shadow:0 1px 3px #00000014;font-weight:600}.main-tabs{border-bottom:none;background:#f1f3f5;padding:5px;margin-bottom:16px;border-radius:10px}.main-tabs .section-tab{padding:10px 18px;margin-bottom:0;font-size:14px;font-weight:600}.main-tabs .section-tab.active{background:#4f46e5;color:#fff;border-bottom:none;box-shadow:0 2px 8px #4f46e540;border-radius:8px}.inventory-section-content,.promo-section-content{flex:1;overflow-y:auto;background:#fff;border-radius:0 0 8px 8px;padding:20px}.promo-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding:16px 20px;background:linear-gradient(135deg,#4f46e5,#3730a3);color:#fff;border-radius:10px}.promo-header h3{margin:0;font-size:20px;font-weight:600}.btn-add-promo{padding:10px 18px;background:#fff;color:#4f46e5;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:6px;white-space:nowrap}.btn-add-promo:hover{background:#eef2ff;transform:translateY(-1px);box-shadow:0 4px 12px #4f46e533}.promo-form-container{margin-bottom:34px;animation:slideDown .3s ease}.promo-form{background:#fafbfc;border:1px solid #e5e7eb;border-radius:12px;padding:24px;margin-bottom:20px}.promo-form h4{margin:0 0 15px;font-size:18px;font-weight:600;color:#1f2937}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-bottom:16px;align-items:end}.promo-form-row-top{grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) minmax(220px,1fr)}.promo-form-row-description{grid-template-columns:1fr}.promo-form-row-schedule{grid-template-columns:minmax(240px,1fr) minmax(240px,1fr)}.form-group{display:flex;flex-direction:column;gap:6px;min-width:0}.form-group label{font-size:14px;font-weight:600;color:#374151}.form-group input,.form-group select,.form-group textarea{width:100%;box-sizing:border-box;padding:11px 14px;border:1.5px solid #d1d5db;border-radius:8px;font-size:14px;font-family:inherit;transition:all .2s cubic-bezier(.4,0,.2,1);min-height:44px;background:#fff}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e514}.form-group textarea{resize:vertical;min-height:120px}.form-actions{display:flex;gap:12px;margin-top:24px;padding-top:18px;padding-bottom:2px;border-top:1px solid #e5e7eb}.promo-form-actions{margin-bottom:6px}.btn-save-promo,.btn-cancel-promo{padding:12px 20px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:6px}.btn-save-promo{background:linear-gradient(135deg,#4f46e5,#3730a3);color:#fff;flex:1;min-height:44px}.btn-save-promo:hover{transform:translateY(-1px);box-shadow:0 4px 14px #4f46e54d}.btn-cancel-promo{background:#fff;color:#374151;border:1.5px solid #d1d5db;flex:1;min-height:44px}.btn-cancel-promo:hover{background:#f9fafb;border-color:#9ca3af}.notification-form-modal{max-width:760px!important;width:95%!important;border-radius:14px;overflow:hidden;box-shadow:0 24px 60px #0f172a47}.notification-modal-header{border-left:4px solid #4f46e5;padding:18px 22px}.notification-modal-title-wrap{display:flex;align-items:center;gap:10px;min-width:0}.notification-modal-icon{width:22px;height:22px;object-fit:contain}.notification-modal-body{max-height:68vh!important;padding:20px 22px;overflow-y:auto}.notification-field-block{margin-bottom:16px}.notification-field-label{display:block;margin-bottom:8px;font-weight:700;color:#111827}.notification-field-input{width:100%;box-sizing:border-box;border-width:2px;min-height:52px}.notification-field-input[type=file]{padding:10px 12px;background:#fafbff}.notification-field-input[type=file]::file-selector-button{margin-right:12px;border:1px solid #d1d5db;border-radius:8px;padding:8px 12px;background:#fff;cursor:pointer}.notification-field-input[type=file]::file-selector-button:hover{background:#f3f4f6}.notification-preview-wrap{margin-bottom:6px}.notification-preview-image{width:100%;max-height:220px;object-fit:contain;border:1px solid #e5e7eb;border-radius:8px;background:#f8fafc}.notification-preview-size{font-size:12px;color:#6b7280;margin-top:6px}.notification-modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 22px 20px;border-top:1px solid #e5e7eb;background:#f8fafc;margin-top:6px}.notification-btn-primary{background:linear-gradient(135deg,#4f46e5,#4338ca);min-width:190px;border-radius:10px;padding:11px 20px}.notification-btn-secondary{background-color:#6b7280;min-width:120px;border-radius:10px;padding:11px 20px}.empty-state-promo{text-align:center;padding:60px 20px;color:#6b7280;font-size:16px}.promo-list h4{font-size:18px;font-weight:600;color:#1f2937;margin:0 0 20px}.promo-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}.promo-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 3px #0000000a}.promo-card:hover{border-color:#c7d2fe;box-shadow:0 4px 12px #4f46e51a;transform:translateY(-2px)}.promo-card-header{background:linear-gradient(135deg,#4f46e5,#3730a3);color:#fff;padding:14px 16px;display:flex;justify-content:space-between;align-items:center}.promo-code{font-size:18px;font-weight:700;letter-spacing:1px}.promo-id{font-size:11px;opacity:.8;margin-top:4px}.promo-discount{font-size:24px;font-weight:700;background:#fff3;padding:8px 12px;border-radius:6px;white-space:nowrap}.promo-card-body{padding:16px}.promo-card-body p{margin:0 0 10px;font-size:13px;color:#4b5563;line-height:1.5}.promo-card-body p strong{color:#1f2937;display:inline-block;min-width:80px}.promo-card-body p:last-child{margin-bottom:0}.promo-card-footer{display:flex;gap:8px;padding:12px 16px;border-top:1px solid #e5e7eb;background:#f9fafb}.btn-edit-promo,.btn-delete-promo{flex:1;padding:8px 12px;border:none;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:4px}.btn-edit-promo{background:#eef2ff;color:#4f46e5}.btn-edit-promo:hover{background:#e0e7ff;transform:translateY(-1px)}.btn-delete-promo{background:#fee2e2;color:#dc2626}.btn-delete-promo:hover{background:#fecaca;transform:translateY(-1px)}@media (max-width: 768px){.section-tabs{flex-wrap:wrap}.section-tab{flex:1;min-width:120px}.promo-cards,.form-row,.promo-form-row-top,.promo-form-row-schedule{grid-template-columns:1fr}.form-actions{flex-direction:column}}.purchase-order-section{min-height:calc(100vh - 180px)}.purchase-order-summary{display:flex;align-items:center;gap:12px;margin-bottom:16px;color:#334155;font-weight:600}.po-summary-badge{border-radius:999px;padding:6px 10px;font-size:12px}.po-summary-badge.pending{background:#fee2e2;color:#b91c1c}.purchase-order-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.purchase-order-card{border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:16px;text-align:left;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 3px #00000014}.purchase-order-card:hover{transform:translateY(-2px);border-color:#c7d2fe;box-shadow:0 8px 20px #4f46e51f}.purchase-order-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.purchase-order-card-head h3{margin:0;color:#1e293b;font-size:16px}.purchase-order-card p{margin:6px 0;color:#475569;font-size:13px}.po-status-badge{border-radius:999px;padding:6px 10px;font-size:11px;font-weight:700;white-space:nowrap}.po-status-badge.pending{background:#ef4444;color:#fff}.po-status-badge.done{background:#10b981;color:#fff}.purchase-order-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1200;padding:16px}.purchase-order-modal{width:min(980px,96vw);max-height:88vh;overflow:auto;background:#fff;border-radius:14px;padding:20px;box-shadow:0 24px 48px #0000004d}.purchase-order-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.purchase-order-modal-header h3{margin:0;color:#1e293b}.purchase-order-modal-meta{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:8px 12px;margin-bottom:14px;color:#475569}.purchase-order-modal-meta p{margin:0;font-size:13px}.purchase-order-modal-table-wrap{border:1px solid #e2e8f0;border-radius:10px;overflow:auto;margin-bottom:14px}.purchase-order-modal-table{width:100%;border-collapse:collapse;font-size:13px}.purchase-order-modal-table th,.purchase-order-modal-table td{border-bottom:1px solid #e2e8f0;padding:10px;text-align:left}.purchase-order-modal-table th{background:#f8fafc;color:#334155;font-weight:700}.purchase-order-modal-actions{display:flex;justify-content:flex-end;gap:10px}.po-btn{border:none;border-radius:8px;padding:10px 14px;font-weight:700;cursor:pointer}.po-btn-download{background:#4f46e5;color:#fff}.po-btn-restocked{background:#10b981;color:#fff}.po-btn-restocked:disabled{opacity:.7;cursor:not-allowed}.po-btn-cancel{background:#e2e8f0;color:#334155}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.admin-container{display:flex;flex-direction:column;width:100vw;height:100vh;background:#f8f9fc;overflow:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:none}button,.menu-item,.order-card,.employee-card,.user-card{-webkit-tap-highlight-color:rgba(80,70,229,.1);touch-action:manipulation}.admin-header{background:linear-gradient(135deg,#5046e5,#4338ca);color:#fff;padding:20px 40px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 3px #0000001f;position:sticky;top:0;z-index:100;flex-shrink:0;border-bottom:none}.header-title{font-size:28px;font-weight:700;margin:0;letter-spacing:-.5px}.header-right{display:flex;align-items:center;gap:20px;position:relative}.welcome-section{display:flex;align-items:center;gap:12px;height:45px}.welcome-text{font-size:15px;font-weight:500;white-space:nowrap;color:#fffffff2;letter-spacing:.2px;line-height:1;display:flex;align-items:center;height:45px;margin:0;padding:0}.welcome-text strong{font-weight:700;color:#fff;margin-left:4px}.profile-button{width:45px;height:45px;border-radius:50%;border:2px solid rgba(255,255,255,.3);background:#ffffff1a;color:#fff;font-size:20px;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center}.profile-button:hover{background:#fff3;border-color:#ffffff80;transform:scale(1.05)}.profile-dropdown{position:absolute;top:100%;right:0;background:#fff;border-radius:12px;box-shadow:0 10px 30px #00000026;min-width:300px;margin-top:10px;animation:slideDown .2s ease;z-index:200}.admin-content{display:flex;flex:1;overflow:hidden;gap:0}.admin-sidebar{width:260px;background:#fff;border-right:1px solid #e5e7eb;overflow-y:auto;padding:16px 0;box-shadow:none;flex-shrink:0}.menu-list{list-style:none;padding:0;margin:0}.menu-item{display:flex;align-items:center;gap:15px;width:100%;padding:16px 25px;border:none;background:transparent;color:#666;font-size:15px;font-weight:500;cursor:pointer;transition:all .3s ease;border-left:3px solid transparent;text-align:left}.menu-item:hover{background:#f8f9ff;color:#5046e5;border-left-color:#5046e5}.menu-icon{font-size:20px;width:24px;display:flex;align-items:center;justify-content:center}.menu-icon-image{width:20px;height:20px;object-fit:contain;display:block}.menu-item-with-badge{position:relative;padding-right:52px}.menu-stock-badge{position:absolute;right:16px;top:50%;transform:translateY(-50%);min-width:20px;height:20px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;box-shadow:0 2px 8px #ef444459}.admin-main{flex:1;overflow-y:auto;padding:40px;background:#f5f7fa}.section-content{background:#fff;border-radius:12px;padding:28px;box-shadow:0 1px 3px #0000000f;border:1px solid #f3f4f6;min-height:100%}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:18px;border-bottom:1px solid #e5e7eb}.section-content h2{color:#333;font-size:26px;margin:0}.section-content p{color:#666;font-size:16px;line-height:1.6}.btn-add{background:linear-gradient(135deg,#5046e5,#4338ca);color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s ease;white-space:nowrap}.btn-add:hover{transform:translateY(-2px);box-shadow:0 8px 16px #5046e54d}.store-settings-panel{display:flex;flex-direction:column;gap:16px}.store-setting-card{background:#fff;border:1px solid #e7ebf3;border-radius:12px;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:12px}.store-setting-meta h3{margin:0;color:#1f2937;font-size:18px}.store-setting-meta p{margin:6px 0 0;color:#64748b;font-size:14px}.store-switch{position:relative;display:inline-block;width:54px;height:30px;flex-shrink:0}.store-switch input{opacity:0;width:0;height:0}.store-slider{position:absolute;cursor:pointer;top:0;right:0;bottom:0;left:0;background-color:#cbd5e1;transition:.2s;border-radius:999px}.store-slider:before{position:absolute;content:"";height:22px;width:22px;left:4px;top:4px;background-color:#fff;transition:.2s;border-radius:50%;box-shadow:0 1px 3px #00000040}.store-switch input:checked+.store-slider{background-color:#16a34a}.store-switch input:checked+.store-slider:before{transform:translate(24px)}.store-setting-times{display:block}.store-time-grid{margin-top:14px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.store-time-field{display:flex;flex-direction:column;gap:8px}.store-time-picker-row{display:grid;grid-template-columns:1fr 1fr .9fr;gap:8px}.store-time-display-btn{height:42px;border:1px solid #cbd5e1;border-radius:8px;padding:0 12px;font-size:14px;font-weight:600;color:#111827;background:#fff;text-align:left;cursor:pointer}.store-time-display-btn:hover{border-color:#94a3b8}.store-time-display-btn:focus{outline:none;border-color:#5046e5;box-shadow:0 0 0 3px #5046e526}.store-time-modal{max-width:480px}.store-time-field label{font-size:13px;font-weight:600;color:#475569}.store-time-field input,.store-time-select{height:42px;border:1px solid #cbd5e1;border-radius:8px;padding:0 10px;font-size:14px;color:#111827;background:#fff}.store-time-field input:focus,.store-time-select:focus{outline:none;border-color:#5046e5;box-shadow:0 0 0 3px #5046e526}.loading-text,.empty-text{color:#999;font-size:16px;text-align:center;padding:40px}.workforce-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px;margin-top:20px}.employee-card{background:#fff;border:1px solid #e0e0e0;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:15px;transition:all .3s ease;position:relative}.employee-card:hover{box-shadow:0 4px 6px -1px #00000012,0 2px 4px -2px #0000000d;border-color:#818cf8;transform:translateY(-2px)}.employee-avatar{width:60px;height:60px;background:linear-gradient(135deg,#5046e5,#4338ca);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:32px;color:#fff;margin-bottom:10px}.employee-info{flex:1}.employee-name{font-size:18px;font-weight:600;color:#333;margin:0 0 12px}.employee-detail{font-size:14px;color:#666;margin:8px 0;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.employee-detail .label{font-weight:600;color:#333;min-width:60px}.role-badge{display:inline-block;padding:4px 12px;border-radius:20px;font-size:13px;font-weight:600;color:#fff}.role-badge.role-Admin{background:linear-gradient(135deg,#5046e5,#4338ca)}.role-badge.role-Worker{background:#4caf50}.role-badge.role-Delivery_Executive{background:linear-gradient(135deg,#ff6b35,#f7931e)}.employee-actions{display:flex;gap:10px;padding-top:10px;border-top:1px solid #f0f0f0}.btn-edit,.btn-delete{flex:1;padding:8px 12px;border:none;border-radius:6px;font-size:16px;cursor:pointer;transition:all .3s ease;font-weight:600}.btn-edit{background:#e3f2fd;color:#1976d2}.btn-edit:hover{background:#1976d2;color:#fff}.btn-delete{background:#ffebee;color:#d32f2f}.btn-delete:hover{background:#d32f2f;color:#fff}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}.modal-content{background:#fff;border-radius:12px;max-width:500px;width:90%;max-height:80vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:25px;border-bottom:1px solid #e0e0e0;background:linear-gradient(135deg,#5046e5,#4338ca);color:#fff;border-radius:12px 12px 0 0}.modal-header h2{margin:0;font-size:22px;font-weight:600}.modal-close{background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff;width:40px;height:40px;border-radius:50%;font-size:24px;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center}.modal-close:hover{background:#ffffff4d;border-color:#fff}.modal-body{padding:25px}.form-group{margin-bottom:20px}.form-group:last-child{margin-bottom:0}.form-group label{display:block;font-size:14px;font-weight:600;color:#333;margin-bottom:8px}.form-group input,.form-group select{width:100%;padding:10px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;font-family:inherit;transition:all .3s ease}.form-group input:focus,.form-group select:focus{outline:none;border-color:#5046e5;box-shadow:0 0 0 3px #5046e51a}.form-group input::placeholder{color:#999}.modal-footer{display:flex;gap:8px;padding:12px 24px;border-top:1px solid #e5e7eb;justify-content:flex-end;background:#fff;border-radius:0 0 16px 16px}.btn-cancel{padding:8px 16px;background:#fff;color:#6b7280;border:1px solid #d1d5db;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-cancel:hover{background:#f9fafb;border-color:#9ca3af;color:#374151}.btn-submit{padding:8px 16px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #667eea26}.btn-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 16px #667eea4d}.btn-submit:disabled{opacity:.6;cursor:not-allowed;transform:none}@media (max-width: 768px){.admin-header{padding:12px 16px;flex-direction:row;gap:12px;position:sticky;top:0;z-index:100}.header-title{font-size:20px;white-space:nowrap}.header-left{flex:1;min-width:0}.welcome-text{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-button{width:42px;height:42px;font-size:20px;flex-shrink:0}.admin-content{flex-direction:column;height:calc(100vh - 60px)}.admin-sidebar{width:100%;height:auto;border-right:none;border-bottom:2px solid #e5e7eb;padding:0;display:flex;overflow-x:auto;overflow-y:hidden;flex-shrink:0;background:#fff;position:sticky;top:60px;z-index:90;box-shadow:0 2px 8px #0000000d;-webkit-overflow-scrolling:touch}.admin-sidebar::-webkit-scrollbar{display:none}.menu-list{display:flex;width:100%;padding:8px 8px 0;gap:4px}.menu-item{flex-shrink:0;padding:12px 16px;border-radius:8px 8px 0 0;font-size:13px;min-width:auto;white-space:nowrap;transition:all .2s ease}.menu-item.active{background:#5046e5;color:#fff;border-bottom:3px solid #5046e5}.menu-icon{font-size:18px;margin-right:6px}.admin-main{padding:16px;flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch}.section-content{padding:0}.section-header{flex-direction:column;gap:12px;align-items:flex-start;margin-bottom:16px}.section-content h2{font-size:22px;margin-bottom:8px}.section-subtitle{font-size:14px;color:#6b7280}.profile-dropdown{min-width:280px;right:8px;top:56px}.workforce-grid,.users-grid{grid-template-columns:1fr;gap:12px}.workforce-card,.user-card{padding:16px}.btn-add{width:100%;padding:14px;font-size:15px;position:fixed;bottom:20px;left:16px;right:16px;width:calc(100% - 32px);z-index:80;box-shadow:0 8px 24px #5046e566}.orders-grid{grid-template-columns:1fr;gap:12px}.order-card{border-radius:12px;box-shadow:0 2px 8px #00000014}.modal-content{width:96%;max-width:96%;margin:10px auto;max-height:90vh;border-radius:16px}.modal-header{padding:16px;position:sticky;top:0;background:#f9fafb;z-index:10}.modal-header h2{font-size:18px}.modal-body{padding:16px;max-height:calc(90vh - 140px);overflow-y:auto}.modal-footer{padding:12px 16px;flex-wrap:wrap;gap:8px;position:sticky;bottom:0;background:#fff;border-top:1px solid #e5e7eb}.modal-footer button{flex:1 1 calc(50% - 4px);min-width:0;padding:12px 16px;font-size:14px}.order-modal-body .order-section{margin-bottom:16px;padding:12px}.order-items-list{gap:10px}.order-item-row{padding:10px}}@media (max-width: 480px){.admin-header{padding:10px 12px}.header-title{font-size:17px}.welcome-text{font-size:11px}.profile-button{width:38px;height:38px;font-size:18px}.admin-sidebar{top:52px}.menu-list{padding:6px 6px 0}.menu-item{padding:10px 14px;font-size:12px}.menu-icon{font-size:16px;margin-right:5px}.admin-main{padding:12px}.section-content h2{font-size:19px}.section-subtitle{font-size:13px}.profile-dropdown{min-width:260px;right:4px;top:52px}.modal-content{width:98%;max-width:98%;margin:8px auto;border-radius:12px}.modal-header h2{font-size:16px}.modal-body{padding:14px}.modal-footer button{padding:11px 14px;font-size:13px}.btn-add{width:calc(100% - 24px);left:12px;right:12px;bottom:16px;padding:13px;font-size:14px}.workforce-card,.user-card{padding:14px}.order-card{border-radius:10px}.order-card-header{padding:12px 14px}.order-card-body{padding:14px}.order-id{font-size:13px}.status-badge{font-size:10px;padding:4px 10px}.order-total{font-size:17px}.order-items,.order-address{font-size:12px}}.admin-header{background:linear-gradient(135deg,#4f46e5,#3730a3);color:#fff;padding:16px 32px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 3px #0000001f;position:sticky;top:0;z-index:100}.header-left{flex:1}.header-title{font-size:22px;font-weight:700;margin:0;letter-spacing:-.4px}.header-right{display:flex;align-items:center;gap:16px;position:relative}.welcome-section{display:flex;align-items:center;gap:12px;height:40px}.welcome-text{font-size:13px;font-weight:500;white-space:nowrap;display:flex;align-items:center;height:100%;color:#ffffffd9}.profile-button{width:38px;height:38px;border-radius:50%;border:1.5px solid rgba(255,255,255,.2);background:#ffffff1f;color:#fff;font-size:16px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.profile-button:hover{background:#ffffff38;border-color:#fff6;transform:scale(1.05)}.profile-dropdown{position:absolute;top:100%;right:0;background:#fff;border-radius:12px;box-shadow:0 25px 50px -12px #00000026;min-width:300px;margin-top:10px;animation:slideDown .2s ease;z-index:200}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.profile-header{background:linear-gradient(135deg,#5046e5,#4338ca);color:#fff;padding:20px;border-radius:12px 12px 0 0}.profile-header h3{margin:0;font-size:18px;font-weight:600}.profile-details{padding:20px;border-bottom:1px solid #eee}.detail-item{display:flex;flex-direction:column;margin-bottom:15px}.detail-item:last-child{margin-bottom:0}.detail-label{font-size:13px;color:#999;font-weight:600;text-transform:uppercase;margin-bottom:5px}.detail-value{font-size:15px;color:#333;font-weight:500;word-break:break-all}.detail-value.badge{display:inline-block;background:linear-gradient(135deg,#5046e5,#4338ca);color:#fff;padding:6px 12px;border-radius:20px;font-size:14px;width:fit-content}.logout-btn{width:100%;padding:12px;background:#ff6b6b;color:#fff;border:none;border-radius:0 0 12px 12px;font-size:15px;font-weight:600;cursor:pointer;transition:background .3s ease}.logout-btn:hover{background:#ff5252}.admin-content{display:flex;flex:1;overflow:hidden}.admin-sidebar{width:260px;background:#fff;border-right:1px solid #e5e7eb;overflow-y:auto;padding:16px 0;box-shadow:none}.menu-list{list-style:none;padding:0 10px;margin:0}.menu-item{display:flex;align-items:center;gap:11px;width:100%;padding:10px 14px;border:none;background:transparent;color:#4b5563;font-size:13.5px;font-weight:500;cursor:pointer;transition:all .15s ease;border-radius:8px;text-align:left;margin-bottom:2px}.menu-item:hover{background:#f9fafb;color:#1f2937}.menu-item.active{background:#eef2ff;color:#4f46e5;font-weight:600;box-shadow:none}.menu-icon{font-size:17px;width:22px;display:flex;align-items:center;justify-content:center}.menu-label{flex:1}.admin-main{flex:1;overflow-y:auto;padding:28px 32px;background:#f8f9fc}.section-content{background:#fff;border-radius:12px;padding:28px;box-shadow:0 1px 3px #0000000f;border:1px solid #f3f4f6}.section-content h2{color:#111827;font-size:20px;margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid #e5e7eb}.section-content p{color:#6b7280;font-size:14px;line-height:1.6}.loading{display:flex;justify-content:center;align-items:center;height:100vh;background:linear-gradient(135deg,#5046e5,#4338ca);color:#fff;font-size:20px}.admin-sidebar::-webkit-scrollbar,.admin-main::-webkit-scrollbar{width:8px}.admin-sidebar::-webkit-scrollbar-track,.admin-main::-webkit-scrollbar-track{background:#f1f1f1}.admin-sidebar::-webkit-scrollbar-thumb,.admin-main::-webkit-scrollbar-thumb{background:#ccc;border-radius:4px}.admin-sidebar::-webkit-scrollbar-thumb:hover,.admin-main::-webkit-scrollbar-thumb:hover{background:#999}@media (max-width: 768px){.admin-header{padding:15px 20px;flex-direction:column;gap:15px}.header-title{font-size:22px}.admin-content{flex-direction:column}.admin-sidebar{width:100%;border-right:none;border-bottom:1px solid #e0e0e0;padding:15px 0;display:flex;overflow-x:auto}.menu-list{display:flex;width:100%}.menu-item{flex-shrink:0;padding:12px 20px}.admin-main,.section-content{padding:20px}.section-content h2{font-size:20px}.profile-dropdown{min-width:250px;right:-10px}.welcome-text{display:none}}@media (max-width: 480px){.admin-header{padding:10px 15px}.header-title{font-size:18px}.profile-button{width:40px;height:40px;font-size:18px}.admin-main,.section-content{padding:15px}.menu-item{padding:10px 15px;font-size:14px}.menu-icon{font-size:18px}.profile-dropdown{min-width:220px}}.table-container{width:100%;overflow-x:auto;border-radius:12px;box-shadow:0 2px 8px #0000000d;margin-top:20px}.data-table{width:100%;border-collapse:collapse;background:#fff}.data-table thead{background:linear-gradient(135deg,#5046e5,#4338ca);color:#fff}.data-table th{padding:16px;text-align:left;font-weight:600;font-size:14px;text-transform:uppercase;letter-spacing:.5px}.data-table td{padding:14px 16px;border-bottom:1px solid #f0f0f0;font-size:14px;color:#333}.data-table tbody tr:hover{background:#f9f9f9}.data-table tbody tr:last-child td{border-bottom:none}.action-buttons{display:flex;gap:8px}.btn-edit-small,.btn-delete-small{padding:6px 10px;border:none;border-radius:4px;font-size:14px;cursor:pointer;transition:all .3s ease}.btn-edit-small{background:#e3f2fd;color:#1976d2}.btn-edit-small:hover{background:#1976d2;color:#fff}.btn-delete-small{background:#ffebee;color:#d32f2f}.btn-delete-small:hover{background:#d32f2f;color:#fff}.status-badge{display:inline-flex;align-items:center;justify-content:center;padding:6px 14px;border-radius:20px;font-size:11px;font-weight:600;color:#fff;text-transform:capitalize;letter-spacing:.3px;white-space:nowrap;box-shadow:0 2px 6px #00000026}.status-badge.status-pending{background:#ff9800}.status-badge.status-delivered{background:#4caf50}.status-badge.status-cancelled{background:#f44336}.status-badge.status-processing{background:#2196f3}.status-badge.status-waiting{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff}.status-badge.status-confirmed{background:linear-gradient(135deg,#6366f1,#4f46e5);color:#fff}.status-badge.status-orderaccepted{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}.status-badge.status-outfordelivery{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff}.status-badge.status-accepted{background:linear-gradient(135deg,#06b6d4,#0891b2);color:#fff}.chart-container{margin-top:30px;padding:20px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000d;min-height:400px}.revenue-total{font-size:24px;color:#5046e5;font-weight:700;margin:10px 0 0}.revenue-controls{display:flex;gap:10px;align-items:center}.revenue-controls-row{display:flex;justify-content:flex-end;align-items:center;margin-bottom:16px}.revenue-top-header{margin-bottom:14px;border-radius:12px;padding:14px 18px;background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 2px 8px #5046e529}.revenue-top-header h3{margin:0;font-size:22px;line-height:1.1;font-weight:700;color:#fff}.btn-eye-toggle{width:42px;height:42px;border:2px solid #ddd;background:#fff;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;padding:0}.btn-eye-toggle:hover{border-color:#5046e5;box-shadow:0 4px 12px #5046e51f}.btn-eye-toggle.active{border-color:#5046e5;background:linear-gradient(135deg,#f5f3ff,#eef2ff)}.eye-toggle-icon{width:20px;height:20px;object-fit:contain}.btn-filter{padding:8px 16px;border:2px solid #ddd;background:#fff;color:#666;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.btn-filter .menu-icon-image{width:18px;height:18px}.btn-filter:hover,.btn-filter.active{border-color:#5046e5;background:linear-gradient(135deg,#5046e5,#4338ca);color:#fff}.orders-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-top:20px}.order-card{background:#fff;border:1px solid #e0e0e0;border-radius:12px;overflow:hidden;transition:all .3s ease;cursor:pointer;display:flex;flex-direction:column;height:100%}.order-card:hover{box-shadow:0 4px 6px -1px #00000012,0 2px 4px -2px #0000000d;border-color:#d1d5db;transform:translateY(-1px)}.order-card-header{display:flex;justify-content:space-between;align-items:center;padding:16px;background:#f9f9f9;border-bottom:1px solid #e0e0e0;gap:10px}.order-id{font-weight:700;font-size:14px;color:#333;flex:1;word-break:break-word}.order-id .menu-icon-image{width:16px;height:16px}.order-total{font-size:18px;font-weight:700;color:#111827}.order-date{font-size:12px;color:#bbb}.modal-content.order-modal{max-width:900px;width:95%;max-height:90vh;border-radius:16px;box-shadow:0 20px 60px #0000004d}.modal-content.order-modal .modal-header{background:linear-gradient(135deg,#5046e5,#4338ca);color:#fff;border-radius:16px 16px 0 0;padding:24px;border-bottom:none}.modal-content.order-modal .modal-header h2{font-size:22px;font-weight:700;margin:0}.modal-content.order-modal .modal-close{width:36px;height:36px;background:#fff3;border:none;border-radius:8px;color:#fff;font-size:20px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.modal-content.order-modal .modal-close:hover{background:#ffffff4d;transform:scale(1.05)}.order-modal-body{display:flex;flex-direction:column;gap:24px;padding:24px}.order-top{display:grid;grid-template-columns:1fr auto auto;gap:16px;align-items:center;padding-bottom:24px;border-bottom:2px solid #e8e8e8}.order-id-large{font-size:20px;font-weight:700;color:#333;word-break:break-all;display:flex;align-items:center;gap:12px}.order-total-large{font-size:28px;font-weight:700;background:linear-gradient(135deg,#5046e5,#4338ca);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.order-section{display:flex;flex-direction:column;gap:12px;padding:16px;background:#f8f9fb;border-radius:10px;border-left:4px solid #5046e5}.order-section h4{font-size:16px;font-weight:700;color:#333;margin:0;display:flex;align-items:center;gap:8px}.address-block{font-size:14px;color:#666;line-height:1.8;background:#fff;padding:14px;border-radius:8px;border:1px solid #e8e8e8}.order-items-list{display:flex;flex-direction:column;gap:12px}.order-item-row{display:flex;gap:14px;padding:14px;background:#fff;border-radius:10px;align-items:flex-start;border:1px solid #e8e8e8;transition:all .2s ease}.order-item-row:hover{box-shadow:0 2px 8px #00000014;border-color:#5046e5}.item-image{width:90px;height:90px;border-radius:10px;overflow:hidden;flex-shrink:0;background:#f0f0f0;display:flex;align-items:center;justify-content:center;border:2px solid #e8e8e8}.item-image img{width:100%;height:100%;object-fit:cover}.item-image-placeholder{font-size:36px;color:#ddd}.item-meta{flex:1;display:flex;flex-direction:column;gap:8px;justify-content:center}.item-name{font-weight:700;color:#333;font-size:15px}.item-qty{font-size:13px;color:#999;font-weight:500}.item-price{font-weight:700;color:#5046e5;font-size:15px}.delivery-status-section{display:flex;flex-direction:column;gap:16px;padding:20px;background:linear-gradient(135deg,#5046e515,#4338ca15);border-radius:12px;border:1px solid rgba(80,70,229,.2)}.delivery-status-section h4{font-size:16px;font-weight:600;color:#333;margin:0;padding-bottom:8px;border-bottom:2px solid #5046e5}.delivery-status-form{display:flex;flex-direction:column;gap:16px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-weight:600;color:#333;font-size:14px}.status-select{padding:12px 14px;border-radius:8px;border:2px solid #5046e5;font-size:14px;background:#fff;color:#333;transition:all .3s ease;cursor:pointer}.status-select:hover{border-color:#4338ca;box-shadow:0 2px 8px #5046e526}.status-select:focus{outline:none;border-color:#4338ca;box-shadow:0 0 0 3px #5046e51a}.status-select option{padding:8px;background:#fff;color:#333}.status-select option:disabled{background:#f0f0f0;color:#999}@media (max-width: 768px){.data-table{font-size:12px}.data-table th,.data-table td{padding:10px 8px}.action-buttons{flex-direction:column;gap:4px}.chart-container{min-height:300px}.revenue-controls{flex-direction:column}.orders-grid{grid-template-columns:1fr}.order-card-body{flex-direction:column}.order-thumb{width:100%;height:150px}.order-top{grid-template-columns:1fr}.modal-content.order-modal{max-width:90%}.kpi-grid,.metrics-row{grid-template-columns:1fr 1fr}.analytics-content-grid{grid-template-columns:1fr}}.analytics-dashboard{padding:0}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:25px}.kpi-card{background:#fff;border-radius:12px;padding:22px;display:flex;align-items:center;gap:18px;box-shadow:0 1px 2px #0000000a;transition:all .2s ease;border:1px solid #e5e7eb}.kpi-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px -1px #00000012}.kpi-primary{border-color:#6366f133;background:linear-gradient(135deg,#6366f10d,#fff)}.kpi-success{border-color:#10b98133;background:linear-gradient(135deg,#10b9810d,#fff)}.kpi-info{border-color:#3b82f633;background:linear-gradient(135deg,#3b82f60d,#fff)}.kpi-growth-positive{border-color:#22c55e33;background:linear-gradient(135deg,#22c55e0d,#fff)}.kpi-growth-negative{border-color:#ef444433;background:linear-gradient(135deg,#ef44440d,#fff)}.kpi-icon{font-size:48px;line-height:1;flex-shrink:0}.kpi-content{flex:1}.kpi-label{font-size:13px;color:#6b7280;font-weight:500;margin-bottom:6px;text-transform:uppercase;letter-spacing:.5px}.kpi-value{font-size:32px;font-weight:700;color:#1f2937;margin-bottom:4px;line-height:1.2}.kpi-subtitle{font-size:13px;color:#4b5563;font-weight:500;margin-top:4px}.metrics-row{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.metric-card{background:#fff;border-radius:12px;padding:20px;text-align:center;box-shadow:0 1px 3px #0000001a;border:1px solid #e5e7eb}.metric-label{font-size:12px;color:#6b7280;font-weight:500;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.metric-value{font-size:24px;font-weight:700;color:#1f2937}.analytics-content-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-bottom:25px}.analytics-chart-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 8px #0000000f;border:1px solid #e5e7eb}.chart-card-header{margin-bottom:20px}.chart-card-header h3{font-size:18px;font-weight:600;color:#1f2937;margin:0 0 4px}.chart-subtitle{font-size:13px;color:#6b7280}.chart-container-modern{height:400px;position:relative}.analytics-side-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 8px #0000000f;border:1px solid #e5e7eb}.side-card-header{margin-bottom:20px;padding-bottom:16px;border-bottom:2px solid #f3f4f6}.side-card-header h3{font-size:16px;font-weight:600;color:#1f2937;margin:0}.top-items-list{display:flex;flex-direction:column;gap:12px}.top-item{display:flex;align-items:center;gap:12px;padding:12px;background:#f9fafb;border-radius:10px;transition:all .2s ease}.top-item:hover{background:#f3f4f6;transform:translate(4px)}.top-item-rank{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,#5046e5,#4338ca);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;flex-shrink:0}.top-item-details{flex:1;min-width:0}.top-item-name{font-size:14px;font-weight:600;color:#1f2937;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-item-stats{font-size:12px;color:#6b7280}.recent-orders-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 8px #0000000f;border:1px solid #e5e7eb}.recent-orders-card .card-header{margin-bottom:20px;padding-bottom:16px;border-bottom:2px solid #f3f4f6}.recent-orders-card .card-header h3{font-size:18px;font-weight:600;color:#1f2937;margin:0}.recent-orders-table{overflow-x:auto}.recent-orders-table table{width:100%;border-collapse:collapse}.recent-orders-table thead{background:#f9fafb}.recent-orders-table th{text-align:left;padding:12px 16px;font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e5e7eb}.recent-orders-table td{padding:16px;font-size:14px;color:#374151;border-bottom:1px solid #f3f4f6}.recent-orders-table tbody tr{transition:background .2s ease}.recent-orders-table tbody tr:hover{background:#f9fafb}.order-id-cell{font-weight:600;color:#5046e5}.amount-cell{font-weight:600;color:#1f2937}.date-cell{color:#6b7280;font-size:13px}.status-badge-sm{display:inline-block;padding:4px 12px;border-radius:12px;font-size:11px;font-weight:600;text-transform:capitalize}.status-badge-sm.status-pending{background:#fef3c7;color:#92400e}.status-badge-sm.status-completed,.status-badge-sm.status-delivered{background:#d1fae5;color:#065f46}.status-badge-sm.status-cancelled{background:#fee2e2;color:#991b1b}.status-badge-sm.status-processing{background:#dbeafe;color:#1e40af}.status-badge-sm.status-waiting{background:#fef3c7;color:#92400e}.status-badge-sm.status-confirmed{background:#e0e7ff;color:#3730a3}.status-badge-sm.status-orderaccepted{background:#dbeafe;color:#1e40af}.status-badge-sm.status-outfordelivery{background:#ede9fe;color:#5b21b6}.status-badge-sm.status-accepted{background:#cffafe;color:#0e7490}.empty-state{text-align:center;padding:40px 20px;color:#9ca3af;font-size:14px}@media (max-width: 1200px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.analytics-content-grid{grid-template-columns:1fr}}@media (max-width: 768px){.kpi-grid{grid-template-columns:1fr}.metrics-row{grid-template-columns:repeat(2,1fr)}.kpi-card{padding:16px}.kpi-icon{font-size:36px}.kpi-value{font-size:24px}.chart-container-modern{height:300px}.recent-orders-table{font-size:12px}.recent-orders-table th,.recent-orders-table td{padding:10px 8px}.admin-header{padding:15px 20px;flex-wrap:wrap}.header-title{font-size:22px}.welcome-text{font-size:14px}.profile-button{width:40px;height:40px;font-size:18px}.admin-sidebar{position:fixed;bottom:0;left:0;right:0;top:auto;width:100%;height:auto;border-right:none;border-top:2px solid #e0e0e0;z-index:90;background:#fff;box-shadow:0 -4px 12px #0000001a}.admin-menu{flex-direction:row;padding:0;overflow-x:auto;overflow-y:hidden}.menu-item{flex:1;min-width:70px;flex-direction:column;gap:4px;padding:10px 8px;font-size:10px;border-left:none;border-top:3px solid transparent}.menu-item.active{border-left-color:transparent;border-top-color:#5046e5}.menu-icon{font-size:20px}.menu-text{display:block;white-space:nowrap}.admin-content{padding:15px 15px 100px}.modal-content{width:95%;max-width:95%;margin:20px auto;max-height:85vh}.modal-content.order-modal{max-width:95%}.modal-header{padding:16px 20px}.modal-header h2{font-size:18px}.modal-body{padding:20px 16px}.modal-footer{padding:16px;flex-wrap:wrap}.modal-footer button{flex:1;min-width:100px}.orders-grid{grid-template-columns:1fr;gap:16px}.order-card{margin-bottom:0}.order-top{grid-template-columns:1fr;gap:12px}.order-id-large{font-size:16px}.order-total-large{font-size:22px}.data-table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}.data-table{min-width:600px;font-size:13px}.data-table th,.data-table td{padding:10px 8px;white-space:nowrap}.form-grid{grid-template-columns:1fr}.form-group label{font-size:13px}.form-group input,.form-group select,.form-group textarea{font-size:14px}.chart-container{min-height:250px;height:300px}.revenue-controls{flex-direction:column;gap:12px}.revenue-controls select{width:100%}.section-header h2{font-size:22px}.section-actions{flex-direction:column;width:100%}.section-actions button{width:100%}.employees-grid,.users-grid{grid-template-columns:1fr}.employee-card,.user-card{padding:16px}.profile-dropdown{right:10px;min-width:280px}.order-items-list{gap:10px}.order-item-row{padding:12px}.item-image{width:70px;height:70px}.item-name{font-size:14px}.delivery-status-section{padding:16px}.delivery-status-form{gap:12px}.btn-primary,.btn-submit,.btn-cancel{padding:10px 20px;font-size:13px}.address-block{font-size:13px;padding:12px}}@media (max-width: 480px){.header-title{font-size:18px}.welcome-section{gap:10px}.welcome-text{font-size:12px}.profile-button{width:36px;height:36px;font-size:16px}.menu-item{min-width:60px;padding:8px 6px;font-size:9px}.menu-icon{font-size:18px}.admin-content{padding:12px 12px 100px}.section-header h2{font-size:20px}.modal-content{width:100%;margin:10px;border-radius:12px}.modal-header h2{font-size:16px}.order-card-header{padding:12px 16px}.order-id{font-size:14px}.status-badge{font-size:10px;padding:4px 10px}.kpi-card{padding:12px}.kpi-value{font-size:20px}.kpi-label{font-size:11px}.chart-container{min-height:200px;height:250px}.employee-avatar,.user-avatar{width:50px;height:50px;font-size:20px}.employee-name,.user-name{font-size:15px}.item-image{width:60px;height:60px}.item-meta{gap:6px}.item-name{font-size:13px}.item-qty,.item-price,.data-table{font-size:12px}.profile-dropdown{min-width:260px}}@media (max-height: 500px) and (orientation: landscape){.admin-sidebar{position:relative;width:200px;height:100%;border-right:1px solid #e0e0e0;border-top:none}.admin-menu{flex-direction:column}.menu-item{flex-direction:row;border-left:4px solid transparent;border-top:none}.menu-item.active{border-left-color:#5046e5;border-top-color:transparent}.admin-content{padding:15px}}:root{--primary: #4f46e5;--primary-dark: #4338ca;--primary-light: #818cf8;--primary-bg: #eef2ff;--primary-subtle: #f5f7ff;--success: #10b981;--success-bg: #ecfdf5;--success-dark: #059669;--warning: #f59e0b;--warning-bg: #fffbeb;--warning-dark: #d97706;--danger: #ef4444;--danger-bg: #fef2f2;--danger-dark: #dc2626;--info: #3b82f6;--info-bg: #eff6ff;--info-dark: #2563eb;--gray-50: #f9fafb;--gray-100: #f3f4f6;--gray-200: #e5e7eb;--gray-300: #d1d5db;--gray-400: #9ca3af;--gray-500: #6b7280;--gray-600: #4b5563;--gray-700: #374151;--gray-800: #1f2937;--gray-900: #111827;--shadow-xs: 0 1px 2px rgba(0, 0, 0, .04);--shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .07), 0 2px 4px -2px rgba(0, 0, 0, .05);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .08), 0 4px 6px -4px rgba(0, 0, 0, .03);--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .08), 0 8px 10px -6px rgba(0, 0, 0, .03);--shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, .15);--shadow-primary: 0 4px 14px rgba(79, 70, 229, .2);--shadow-primary-lg: 0 8px 24px rgba(79, 70, 229, .25);--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px;--radius-2xl: 20px;--radius-full: 9999px;--transition-fast: .12s cubic-bezier(.4, 0, .2, 1);--transition-normal: .2s cubic-bezier(.4, 0, .2, 1);--transition-slow: .3s cubic-bezier(.4, 0, .2, 1);--font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;--font-mono: "SF Mono", "Cascadia Code", "Fira Code", "Consolas", monospace}*{scrollbar-width:thin;scrollbar-color:var(--gray-300) transparent}*::-webkit-scrollbar{width:6px;height:6px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:var(--gray-300);border-radius:3px}*::-webkit-scrollbar-thumb:hover{background:var(--gray-400)}body{font-family:var(--font-sans)!important;-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;text-rendering:optimizeLegibility!important}.admin-header{background:linear-gradient(135deg,#4f46e5,#3730a3)!important;box-shadow:0 1px 3px #0000001f,0 1px #4f46e54d!important;border-bottom:none!important;padding:16px 32px!important}.header-title{font-size:22px!important;font-weight:700!important;letter-spacing:-.4px!important;font-family:var(--font-sans)!important}.welcome-section{display:flex!important;align-items:center!important;gap:12px!important}.welcome-text{font-size:13px!important;font-weight:500!important;color:#ffffffd9!important;display:flex!important;align-items:center!important;height:40px!important;letter-spacing:.1px!important}.welcome-text strong{color:#fff!important;margin-left:4px!important;font-weight:600!important}.profile-button{width:38px!important;height:38px!important;border-radius:var(--radius-full)!important;background:#ffffff1f!important;border:1.5px solid rgba(255,255,255,.2)!important;display:flex!important;align-items:center!important;justify-content:center!important;transition:var(--transition-normal)!important;cursor:pointer!important;font-size:16px!important}.profile-button:hover{background:#ffffff38!important;border-color:#fff6!important;transform:scale(1.05)!important}.admin-sidebar,.delivery-sidebar{background:#fff!important;border-right:1px solid var(--gray-200)!important;box-shadow:1px 0 0 var(--gray-100)!important}.menu-list{padding:12px 10px!important}.menu-item{display:flex!important;align-items:center!important;gap:11px!important;padding:10px 14px!important;margin-bottom:2px!important;border-radius:var(--radius-md)!important;border:none!important;border-left:none!important;background:transparent!important;color:var(--gray-600)!important;font-size:13.5px!important;font-weight:500!important;cursor:pointer!important;transition:var(--transition-fast)!important;letter-spacing:.01em!important;position:relative!important}.menu-item:hover{background:var(--gray-50)!important;color:var(--gray-800)!important;border-left:none!important}.menu-item.active{background:var(--primary-bg)!important;color:var(--primary)!important;font-weight:600!important;border-left:none!important;box-shadow:none!important}.menu-item.active:before{content:""!important;position:absolute!important;left:0!important;top:6px!important;bottom:6px!important;width:3px!important;background:var(--primary)!important;border-radius:0 3px 3px 0!important}.menu-icon{font-size:17px!important;width:22px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important}.menu-icon-image{width:18px!important;height:18px!important;object-fit:contain!important;opacity:.8!important}.menu-item.active .menu-icon-image{opacity:1!important}.menu-label{flex:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.menu-stock-badge{font-size:10px!important;font-weight:700!important;min-width:18px!important;height:18px!important;border-radius:var(--radius-full)!important;background:var(--danger)!important;color:#fff!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 5px!important;box-shadow:0 2px 6px #ef44444d!important}.admin-main,.delivery-content{background:var(--gray-50)!important;padding:28px 32px!important}.section-content{background:#fff!important;border-radius:var(--radius-lg)!important;padding:28px!important;box-shadow:var(--shadow-sm)!important;border:1px solid var(--gray-100)!important}.section-header{margin-bottom:24px!important;padding-bottom:18px!important;border-bottom:1px solid var(--gray-200)!important}.section-header h2,.section-content h2{font-size:20px!important;font-weight:700!important;color:var(--gray-900)!important;letter-spacing:-.3px!important;margin:0!important;font-family:var(--font-sans)!important}.section-subtitle{font-size:13px!important;color:var(--gray-500)!important;margin-top:4px!important}.order-card{background:#fff!important;border-radius:var(--radius-lg)!important;border:1px solid var(--gray-200)!important;box-shadow:var(--shadow-xs)!important;overflow:hidden!important;transition:var(--transition-normal)!important;cursor:pointer!important}.order-card:hover{border-color:var(--gray-300)!important;box-shadow:var(--shadow-md)!important;transform:translateY(-1px)!important}.order-card-header{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:14px 18px!important;background:var(--gray-50)!important;border-bottom:1px solid var(--gray-100)!important}.order-id{font-size:13px!important;font-weight:600!important;color:var(--gray-700)!important;font-family:var(--font-mono)!important}.order-card-body{display:flex!important;gap:14px!important;padding:16px 18px!important}.order-thumb{width:72px!important;height:72px!important;border-radius:var(--radius-md)!important;background:var(--gray-100)!important;border:1px solid var(--gray-200)!important;overflow:hidden!important;flex-shrink:0!important;position:relative!important}.order-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;transition:var(--transition-normal)!important}.order-card:hover .order-thumb img{transform:scale(1.03)!important}.order-thumb-placeholder{width:100%!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:28px!important;color:var(--gray-400)!important}.items-count-badge{position:absolute!important;bottom:-3px!important;right:-3px!important;background:var(--gray-800)!important;color:#fff!important;font-size:9px!important;font-weight:700!important;padding:2px 5px!important;border-radius:var(--radius-full)!important;border:2px solid white!important}.order-meta{flex:1!important;display:flex!important;flex-direction:column!important;gap:3px!important}.order-user,.order-phone{font-size:12.5px!important;color:var(--gray-500)!important}.order-total{font-size:18px!important;font-weight:700!important;color:var(--gray-900)!important;margin-top:4px!important;letter-spacing:-.3px!important}.order-items,.order-date{font-size:11.5px!important;color:var(--gray-400)!important}.status-badge{display:inline-flex!important;align-items:center!important;padding:4px 10px!important;border-radius:var(--radius-full)!important;font-size:10.5px!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:.4px!important}.status-waiting,.status-pending{background:var(--warning-bg)!important;color:var(--warning-dark)!important}.status-orderaccepted{background:var(--info-bg)!important;color:var(--info-dark)!important}.status-outfordelivery{background:#f5f3ff!important;color:#7c3aed!important}.status-delivered,.status-completed,.status-confirmed{background:var(--success-bg)!important;color:var(--success-dark)!important}.btn-add,.btn-submit,.login-button{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%)!important;color:#fff!important;border:none!important;padding:10px 22px!important;border-radius:var(--radius-md)!important;font-size:13.5px!important;font-weight:600!important;cursor:pointer!important;transition:var(--transition-normal)!important;box-shadow:var(--shadow-primary)!important;letter-spacing:.01em!important}.btn-add:hover,.btn-submit:hover,.login-button:hover:not(:disabled){transform:translateY(-1px)!important;box-shadow:var(--shadow-primary-lg)!important;filter:brightness(1.05)!important}.btn-add:active,.btn-submit:active,.login-button:active{transform:translateY(0)!important;filter:brightness(.98)!important}.btn-location{background:linear-gradient(135deg,#f97316,#ea580c)!important;color:#fff!important;border:none!important;padding:10px 18px!important;border-radius:var(--radius-md)!important;font-size:13.5px!important;font-weight:600!important;cursor:pointer!important;transition:var(--transition-normal)!important;box-shadow:0 4px 14px #f9731633!important}.btn-location:hover{transform:translateY(-1px)!important;box-shadow:0 6px 20px #f973164d!important}.btn-call{background:linear-gradient(135deg,var(--success) 0%,var(--success-dark) 100%)!important;color:#fff!important;border:none!important;padding:10px 18px!important;border-radius:var(--radius-md)!important;font-size:13.5px!important;font-weight:600!important;cursor:pointer!important;transition:var(--transition-normal)!important;box-shadow:0 4px 14px #10b98133!important}.btn-call:hover{transform:translateY(-1px)!important;box-shadow:0 6px 20px #10b9814d!important}.btn-delivered{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%)!important;color:#fff!important;border:none!important;padding:12px 22px!important;border-radius:var(--radius-md)!important;font-size:13.5px!important;font-weight:600!important;cursor:pointer!important;transition:var(--transition-normal)!important;box-shadow:var(--shadow-primary)!important;width:100%!important}.btn-delivered:hover{transform:translateY(-1px)!important;box-shadow:var(--shadow-primary-lg)!important}.btn-close,.back-button{background:#fff!important;color:var(--gray-600)!important;border:1px solid var(--gray-300)!important;padding:10px 22px!important;border-radius:var(--radius-md)!important;font-size:13.5px!important;font-weight:600!important;cursor:pointer!important;transition:var(--transition-fast)!important}.btn-close:hover,.back-button:hover:not(:disabled){background:var(--gray-50)!important;border-color:var(--gray-400)!important;color:var(--gray-800)!important}.modal-overlay{background:#0f172a73!important;backdrop-filter:blur(6px)!important;-webkit-backdrop-filter:blur(6px)!important}.modal-content{background:#fff!important;border-radius:var(--radius-xl)!important;box-shadow:var(--shadow-2xl)!important;border:1px solid var(--gray-100)!important;max-width:600px!important;width:90%!important;max-height:85vh!important;overflow:hidden!important}.modal-header{padding:18px 24px!important;background:#fff!important;border-bottom:1px solid var(--gray-200)!important;display:flex!important;justify-content:space-between!important;align-items:center!important}.modal-header h2,.modal-header h3{font-size:17px!important;font-weight:700!important;color:var(--gray-900)!important;margin:0!important;letter-spacing:-.2px!important}.modal-close{width:32px!important;height:32px!important;border-radius:var(--radius-md)!important;border:none!important;background:var(--gray-100)!important;color:var(--gray-500)!important;font-size:16px!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important;transition:var(--transition-fast)!important}.modal-close:hover{background:var(--gray-200)!important;color:var(--gray-700)!important}.modal-body{padding:24px!important;max-height:60vh!important;overflow-y:auto!important}.modal-footer{padding:16px 24px!important;background:var(--gray-50)!important;border-top:1px solid var(--gray-200)!important;display:flex!important;gap:10px!important;justify-content:flex-end!important}.alert-overlay{background:#0f172a73!important;backdrop-filter:blur(6px)!important;-webkit-backdrop-filter:blur(6px)!important}.alert-modal{border-radius:var(--radius-xl)!important;box-shadow:var(--shadow-2xl)!important;border:1px solid var(--gray-100)!important}.form-group{margin-bottom:18px!important}.form-group label{display:block!important;font-size:13px!important;font-weight:600!important;color:var(--gray-700)!important;margin-bottom:6px!important;letter-spacing:.01em!important}.form-group input,.form-group select,.form-group textarea{width:100%!important;padding:10px 14px!important;border:1.5px solid var(--gray-300)!important;border-radius:var(--radius-md)!important;font-size:14px!important;color:var(--gray-800)!important;background:#fff!important;transition:var(--transition-fast)!important;font-family:var(--font-sans)!important}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none!important;border-color:var(--primary)!important;box-shadow:0 0 0 3px #4f46e514!important}.form-group input::placeholder,.form-group textarea::placeholder{color:var(--gray-400)!important}.workforce-card,.user-card{background:#fff!important;border-radius:var(--radius-lg)!important;border:1px solid var(--gray-200)!important;box-shadow:var(--shadow-xs)!important;padding:20px!important;transition:var(--transition-normal)!important}.workforce-card:hover,.user-card:hover{border-color:var(--gray-300)!important;box-shadow:var(--shadow-md)!important;transform:translateY(-1px)!important}.employee-card{border:1px solid var(--gray-200)!important;border-radius:var(--radius-lg)!important;box-shadow:var(--shadow-xs)!important;transition:var(--transition-normal)!important}.employee-card:hover{border-color:var(--primary-light)!important;box-shadow:var(--shadow-md)!important;transform:translateY(-2px)!important}.employee-name{font-size:16px!important;font-weight:700!important;color:var(--gray-900)!important;letter-spacing:-.2px!important}.employee-detail{font-size:13px!important;color:var(--gray-500)!important}.employee-detail .label{font-weight:600!important;color:var(--gray-700)!important}.employee-avatar{width:52px!important;height:52px!important;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%)!important;border-radius:var(--radius-lg)!important;font-size:26px!important}.employee-actions{border-top:1px solid var(--gray-100)!important}.btn-edit{background:var(--primary-bg)!important;color:var(--primary)!important;border-radius:var(--radius-md)!important;transition:var(--transition-fast)!important;font-size:14px!important}.btn-edit:hover{background:var(--primary)!important;color:#fff!important}.btn-delete{background:var(--danger-bg)!important;color:var(--danger)!important;border-radius:var(--radius-md)!important;transition:var(--transition-fast)!important;font-size:14px!important}.btn-delete:hover{background:var(--danger)!important;color:#fff!important}.empty-state{text-align:center!important;padding:48px 24px!important;background:#fff!important;border-radius:var(--radius-lg)!important;border:1px dashed var(--gray-300)!important}.empty-icon{font-size:48px!important;margin-bottom:16px!important;opacity:.5!important}.empty-state h3{font-size:15px!important;font-weight:600!important;color:var(--gray-700)!important;margin-bottom:6px!important}.empty-state p,.empty-text{font-size:13.5px!important;color:var(--gray-500)!important}.orders-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))!important;gap:16px!important}.workforce-grid,.users-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))!important;gap:16px!important}.profile-dropdown{background:#fff!important;border-radius:var(--radius-lg)!important;box-shadow:var(--shadow-2xl)!important;border:1px solid var(--gray-200)!important;overflow:hidden!important}.profile-header{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%)!important;padding:18px 20px!important}.profile-header h3{font-size:16px!important;font-weight:600!important}.profile-details{padding:18px 20px!important}.detail-label{font-size:11px!important;color:var(--gray-400)!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:.5px!important}.detail-value{font-size:14px!important;color:var(--gray-800)!important;font-weight:500!important}.detail-value.badge{font-size:12px!important;padding:5px 12px!important;border-radius:var(--radius-full)!important}.logout-btn{font-size:14px!important;font-weight:600!important;padding:12px!important;background:var(--danger)!important;transition:var(--transition-fast)!important}.logout-btn:hover{background:var(--danger-dark)!important}.delivery-time{display:inline-flex!important;align-items:center!important;gap:5px!important;font-size:11px!important;font-weight:600!important;color:var(--success-dark)!important;background:var(--success-bg)!important;padding:5px 10px!important;border-radius:var(--radius-full)!important;margin-top:6px!important}.tabs-container{display:flex!important;gap:4px!important;background:var(--gray-100)!important;padding:4px!important;border-radius:var(--radius-lg)!important;margin-bottom:24px!important}.tab-button{padding:9px 18px!important;border:none!important;background:transparent!important;color:var(--gray-500)!important;font-size:13.5px!important;font-weight:500!important;border-radius:var(--radius-md)!important;cursor:pointer!important;transition:var(--transition-fast)!important}.tab-button:hover{color:var(--gray-800)!important}.tab-button.active{background:#fff!important;color:var(--primary)!important;font-weight:600!important;box-shadow:var(--shadow-sm)!important}.loading-text{text-align:center!important;padding:40px!important;color:var(--gray-400)!important;font-size:14px!important}.store-settings-panel{gap:12px!important}.store-setting-card{background:#fff!important;border:1px solid var(--gray-200)!important;border-radius:var(--radius-lg)!important;padding:18px 20px!important;transition:var(--transition-fast)!important}.store-setting-card:hover{border-color:var(--gray-300)!important}.store-setting-meta h3{font-size:15px!important;font-weight:700!important;color:var(--gray-900)!important;letter-spacing:-.1px!important}.store-setting-meta p{font-size:13px!important;color:var(--gray-500)!important;margin-top:4px!important}.store-slider{background-color:var(--gray-300)!important}.store-switch input:checked+.store-slider{background-color:var(--success)!important}.store-time-display-btn{border:1.5px solid var(--gray-300)!important;border-radius:var(--radius-md)!important;font-weight:600!important;font-size:14px!important;color:var(--gray-800)!important;transition:var(--transition-fast)!important}.store-time-display-btn:hover{border-color:var(--primary-light)!important}.store-time-display-btn:focus{border-color:var(--primary)!important;box-shadow:0 0 0 3px #4f46e514!important}.promo-header{background:linear-gradient(135deg,#4f46e5,#3730a3)!important;border-radius:var(--radius-lg)!important;padding:16px 20px!important}.promo-header h3{font-size:18px!important;font-weight:700!important;letter-spacing:-.2px!important}.btn-add-promo{background:#fff!important;color:var(--primary)!important;border-radius:var(--radius-md)!important;font-size:13px!important;font-weight:600!important;padding:9px 16px!important;transition:var(--transition-fast)!important;box-shadow:none!important}.btn-add-promo:hover{background:var(--primary-bg)!important;transform:translateY(-1px)!important;box-shadow:var(--shadow-sm)!important}.promo-cards{gap:16px!important}.promo-card{background:#fff!important;border:1px solid var(--gray-200)!important;border-radius:var(--radius-lg)!important;box-shadow:var(--shadow-xs)!important;transition:var(--transition-normal)!important;overflow:hidden!important}.promo-card:hover{border-color:var(--gray-300)!important;box-shadow:var(--shadow-md)!important;transform:translateY(-2px)!important}.promo-card-header{padding:16px 18px!important}.promo-code{font-size:16px!important;font-weight:700!important;letter-spacing:.5px!important}.promo-discount{font-size:20px!important;font-weight:700!important;background:#ffffff2e!important;padding:6px 10px!important;border-radius:var(--radius-md)!important}.promo-card-body{padding:14px 18px!important}.promo-card-body p{font-size:12.5px!important;color:var(--gray-600)!important;margin-bottom:8px!important;line-height:1.5!important}.promo-card-body p strong{color:var(--gray-800)!important}.promo-card-footer{padding:12px 18px!important;background:var(--gray-50)!important;border-top:1px solid var(--gray-100)!important}.btn-edit-promo{background:var(--primary-bg)!important;color:var(--primary)!important;border-radius:var(--radius-md)!important;font-size:12px!important;font-weight:600!important;transition:var(--transition-fast)!important}.btn-edit-promo:hover{background:#ddd6fe!important;transform:none!important}.btn-delete-promo{background:var(--danger-bg)!important;color:var(--danger)!important;border-radius:var(--radius-md)!important;font-size:12px!important;font-weight:600!important;transition:var(--transition-fast)!important}.btn-delete-promo:hover{background:#fecaca!important;transform:none!important}.feature-btn{border-radius:var(--radius-md)!important;font-weight:600!important;transition:var(--transition-fast)!important;letter-spacing:.01em!important}.feature-btn:hover{transform:translateY(-1px)!important}.feature-btn.master-btn{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%)!important;color:#fff!important;box-shadow:var(--shadow-primary)!important}.feature-btn.delete-all-btn{background:linear-gradient(135deg,var(--danger) 0%,var(--danger-dark) 100%)!important;color:#fff!important;box-shadow:0 4px 14px #ef444433!important}.role-badge{font-size:12px!important;font-weight:600!important;padding:4px 12px!important;border-radius:var(--radius-full)!important}.role-badge.role-Admin{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%)!important}.discount-tabs-container{display:flex!important;gap:4px!important;background:var(--gray-100)!important;padding:4px!important;border-radius:var(--radius-lg)!important;margin-bottom:20px!important}.discount-tab{padding:10px 20px!important;border-radius:var(--radius-md)!important;font-size:13.5px!important;font-weight:500!important;border:none!important;cursor:pointer!important;transition:var(--transition-fast)!important;background:transparent!important;color:var(--gray-500)!important}.discount-tab.active{background:#fff!important;color:var(--primary)!important;font-weight:600!important;box-shadow:var(--shadow-sm)!important}.loading{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%)!important;font-family:var(--font-sans)!important;font-weight:600!important;letter-spacing:-.2px!important}@media (max-width: 768px){.admin-header{padding:12px 16px!important}.header-title{font-size:18px!important}.admin-main,.delivery-content{padding:16px!important}.section-content{padding:16px!important;border-radius:var(--radius-md)!important}.orders-grid,.workforce-grid,.users-grid{grid-template-columns:1fr!important;gap:12px!important}.order-card-body{padding:14px!important}.order-thumb{width:64px!important;height:64px!important}.order-total{font-size:16px!important}.section-header h2,.section-content h2{font-size:18px!important}.modal-content{width:95%!important;max-height:90vh!important;border-radius:var(--radius-lg)!important}.modal-body{max-height:50vh!important}.btn-location,.btn-call,.btn-delivered{padding:10px 16px!important;font-size:13px!important}.promo-header{flex-direction:column!important;gap:10px!important;align-items:flex-start!important}.promo-cards{grid-template-columns:1fr!important}}@media (max-width: 480px){.admin-header{padding:10px 12px!important}.header-title{font-size:16px!important}.order-card-header{padding:12px 14px!important}.order-id{font-size:12px!important}.status-badge{font-size:9.5px!important;padding:3px 8px!important}.order-thumb{width:56px!important;height:56px!important}.order-total{font-size:15px!important}.menu-item{padding:9px 12px!important;font-size:12.5px!important}.section-content{padding:14px!important}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.order-card{animation:fadeIn .25s ease!important}.modal-content{animation:slideUp .25s cubic-bezier(.4,0,.2,1)!important}.section-content{animation:fadeIn .2s ease!important}::selection{background:#4f46e526;color:var(--gray-900)}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideIn{0%{transform:translate(-10px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes shimmer{0%{background-position:-1000px 0}to{background-position:1000px 0}}.delivery-container{display:flex;flex-direction:column;width:100vw;height:100vh;background:linear-gradient(135deg,#f5f7fa,#e8eaf6);overflow:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:none}button,.menu-item,.order-card{-webkit-tap-highlight-color:rgba(80,70,229,.1);touch-action:manipulation}input,select,textarea{font-size:16px}.delivery-header{background:linear-gradient(135deg,#5046e5,#4338ca);color:#fff;padding:20px 40px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 8px 32px #5046e559,0 2px 8px #0000001a;position:sticky;top:0;z-index:100;flex-shrink:0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.1)}.delivery-header .header-left{flex:1}.delivery-header .header-title{font-size:28px;font-weight:700;margin:0;letter-spacing:-.5px}.delivery-header .header-right{display:flex;align-items:center;gap:20px;position:relative}.delivery-main{display:flex;flex:1;overflow:hidden}.delivery-sidebar{width:250px;background:linear-gradient(180deg,#fff,#f9fafb);border-right:1px solid #e5e7eb;flex-shrink:0;overflow-y:auto;box-shadow:4px 0 24px #0000000a}.delivery-menu{display:flex;flex-direction:column;padding:24px 0;gap:8px}.menu-item{display:flex;align-items:center;gap:16px;padding:18px 28px;background:transparent;border:none;border-left:4px solid transparent;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);text-align:left;color:#4b5563;font-size:15px;font-weight:600;position:relative;margin:0 12px;border-radius:12px}.menu-item:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#5046e5,#4338ca);border-radius:0 4px 4px 0;opacity:0;transition:opacity .3s ease}.menu-item:hover{background:linear-gradient(90deg,#5046e514,#5046e505);color:#5046e5;transform:translate(4px)}.menu-item:hover:before{opacity:1}.menu-item.active{background:#eef2ff;color:#5046e5;border-left-color:#5046e5;font-weight:600;box-shadow:inset 0 0 0 1px #5046e51a}.menu-item.active:before{opacity:1}.menu-icon{font-size:22px;width:28px;display:flex;align-items:center;justify-content:center}.menu-text{flex:1}.delivery-content{flex:1;overflow-y:auto;padding:30px}.section-container{max-width:1400px;margin:0 auto}.section-header{margin-bottom:30px}.section-header h2{font-size:28px;font-weight:700;color:#333;margin:0 0 8px}.section-subtitle{font-size:15px;color:#666;margin:0}.orders-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}.order-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;cursor:pointer;transition:all .3s ease;overflow:hidden}.order-card:hover{box-shadow:0 6px 20px #5046e526;transform:translateY(-4px)}.order-card-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:linear-gradient(135deg,#f8f9fb,#f0f2f5);border-bottom:1px solid #e8e8e8}.order-id{font-size:16px;font-weight:700;color:#333}.order-card-body{padding:16px;display:flex;gap:16px;flex:1}.order-thumb{width:100px;height:100px;border-radius:8px;overflow:hidden;flex-shrink:0;background:#f5f5f5;display:flex;align-items:center;justify-content:center}.order-thumb-wrapper{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.order-thumb img{width:100%;height:100%;object-fit:cover}.items-count-badge{position:absolute;bottom:4px;right:4px;background:linear-gradient(135deg,#5046e5,#4338ca);color:#fff;font-weight:700;font-size:12px;padding:2px 6px;border-radius:12px;box-shadow:0 2px 8px #0003;border:1px solid rgba(255,255,255,.3)}.order-thumb-placeholder{font-size:40px;color:#ccc}.order-meta{flex:1;display:flex;flex-direction:column;gap:8px;justify-content:center}.order-total{font-size:20px;font-weight:700;color:#5046e5}.order-items{font-size:13px;color:#999}.order-address{font-size:13px;color:#666}.delivery-time{font-size:13px;color:#4caf50;font-weight:600}.order-info p{margin:8px 0;font-size:14px;color:#666}.order-info strong{color:#333;font-weight:600}.status-badge{padding:6px 14px;border-radius:20px;font-size:12px;font-weight:600;text-transform:capitalize}.status-outfordelivery{background:#9c27b0;color:#fff}.status-delivered{background:#4caf50;color:#fff}.empty-state{text-align:center;padding:80px 20px;background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000d}.empty-icon{font-size:80px;margin-bottom:20px;opacity:.5}.empty-state h3{font-size:22px;color:#333;margin:0 0 10px}.empty-state p{font-size:15px;color:#666;margin:0}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:20px}.spinner{width:50px;height:50px;border:4px solid #e0e0e0;border-top-color:#5046e5;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-state p{font-size:16px;color:#666}.btn-location{padding:11px 28px;background:linear-gradient(135deg,#ff9800,#f57c00);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #ff980033}.btn-location:hover{transform:translateY(-2px);box-shadow:0 8px 20px #ff98004d}.btn-call{padding:11px 28px;background:linear-gradient(135deg,#4caf50,#388e3c);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #4caf5033}.btn-call:hover{transform:translateY(-2px);box-shadow:0 8px 20px #4caf504d}@media (max-width: 768px){.delivery-header{padding:12px 16px;position:sticky;top:0;z-index:100}.delivery-header .header-title{font-size:20px}.delivery-header .welcome-text{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.delivery-header .profile-button{width:42px;height:42px;font-size:20px;flex-shrink:0}.delivery-header .profile-dropdown{right:8px;top:56px;min-width:280px}.delivery-sidebar{position:fixed;bottom:0;left:0;right:0;width:100%;height:auto;border-right:none;border-top:2px solid #e5e7eb;z-index:95;box-shadow:0 -4px 16px #00000014;background:#fff}.delivery-menu{flex-direction:row;padding:0;overflow-x:auto;-webkit-overflow-scrolling:touch}.menu-item{flex:1;min-width:100px;flex-direction:column;gap:6px;padding:12px 8px;font-size:12px;border-left:none;border-top:3px solid transparent;justify-content:center;align-items:center;transition:all .2s ease}.menu-item.active{border-left-color:transparent;border-top-color:#5046e5;background:#f3f4f6}.menu-item:active{background:#e5e7eb}.menu-icon{font-size:24px}.menu-text{display:block;white-space:nowrap;font-weight:500}.delivery-content{padding:16px 16px 100px;overflow-y:auto;-webkit-overflow-scrolling:touch;height:calc(100vh - 130px)}.section-container{padding-bottom:20px}.section-header{margin-bottom:16px}.section-header h2{font-size:22px;margin-bottom:6px}.section-subtitle{font-size:14px;color:#6b7280}.orders-grid{grid-template-columns:1fr;gap:14px}.order-card{margin-bottom:0;border-radius:12px;box-shadow:0 2px 8px #00000014;transition:all .2s ease;-webkit-tap-highlight-color:transparent}.order-card:active{transform:scale(.98);box-shadow:0 1px 4px #0000001a}.order-card-header{padding:14px 16px}.order-id{font-size:14px;font-weight:600}.status-badge{font-size:11px;padding:6px 12px;font-weight:600}.order-card-body{padding:16px;gap:14px}.order-thumb{width:85px;height:85px;border-radius:10px}.order-thumb-placeholder{font-size:34px}.items-count-badge{font-size:11px;padding:3px 6px}.order-meta{gap:6px}.order-total{font-size:20px;font-weight:700}.order-items,.order-address,.delivery-time{font-size:13px;line-height:1.4}.modal-content{width:96%;max-width:96%;margin:10px auto;max-height:92vh;border-radius:16px}.modal-header{padding:16px;position:sticky;top:0;background:#f9fafb;z-index:10}.modal-header h2{font-size:18px}.modal-body{padding:16px;max-height:calc(92vh - 150px);overflow-y:auto;-webkit-overflow-scrolling:touch}.modal-footer{padding:12px 16px;flex-wrap:wrap;gap:8px;position:sticky;bottom:0;background:#fff;border-top:1px solid #e5e7eb}.btn-location,.btn-call,.btn-submit,.btn-cancel{flex:1 1 calc(50% - 4px);min-width:0;padding:12px 18px;font-size:14px;font-weight:600}.order-top{grid-template-columns:1fr;gap:12px}.order-id-large{font-size:17px}.order-total-large{font-size:24px}.order-section{padding:14px;margin-bottom:12px}.order-section h4{font-size:15px;margin-bottom:10px}.address-block{font-size:13px;padding:12px;line-height:1.6}.order-items-list{gap:10px}.order-item-row{padding:12px}.item-image{width:72px;height:72px}.item-name{font-size:14px;font-weight:600}.item-qty,.item-price{font-size:12px}.empty-state{padding:60px 20px}.empty-icon{font-size:64px}.empty-state h3{font-size:20px}.empty-state p{font-size:14px;color:#6b7280}}@media (max-width: 480px){.delivery-header{padding:10px 12px}.delivery-header .header-title{font-size:17px}.delivery-header .welcome-text{font-size:11px}.delivery-header .profile-button{width:38px;height:38px;font-size:18px}.delivery-header .profile-dropdown{right:4px;top:52px;min-width:260px}.menu-item{padding:10px 6px;font-size:11px}.menu-icon{font-size:22px}.delivery-content{padding:12px 12px 90px;height:calc(100vh - 117px)}.section-header h2{font-size:19px}.section-subtitle{font-size:13px}.orders-grid{gap:12px}.order-card{border-radius:10px}.order-card-header{padding:12px 14px}.order-id{font-size:13px}.status-badge{font-size:10px;padding:5px 10px}.order-card-body{padding:14px}.order-thumb{width:75px;height:75px}.order-thumb-placeholder{font-size:30px}.items-count-badge{font-size:10px;padding:2px 5px}.order-total{font-size:18px}.order-items,.order-address,.delivery-time{font-size:12px}.modal-content{width:98%;max-width:98%;margin:8px auto;border-radius:12px}.modal-header{padding:14px}.modal-header h2{font-size:16px}.modal-body{padding:14px}.modal-footer{padding:10px 14px}.btn-location,.btn-call,.btn-submit,.btn-cancel{width:100%;margin:4px 0!important;padding:11px 16px;font-size:13px}.order-id-large{font-size:15px}.order-total-large{font-size:22px}.order-section{padding:12px}.order-section h4{font-size:14px}.address-block{font-size:12px;padding:10px}.order-item-row{padding:10px}.item-image{width:65px;height:65px}.item-name{font-size:13px}.item-qty,.item-price{font-size:11px}.empty-state{padding:50px 16px}.empty-icon{font-size:56px}.empty-state h3{font-size:18px}.empty-state p{font-size:13px}}.menu-item{min-width:80px;padding:8px 6px;font-size:10px}.menu-icon{font-size:20px}.delivery-content{padding:12px 12px 100px}.section-header h2{font-size:20px}.section-subtitle{font-size:13px}.modal-content{width:100%;margin:10px;border-radius:12px}.modal-header h2{font-size:16px}.order-card-header{padding:12px 14px}.order-id{font-size:13px}.status-badge{font-size:10px;padding:4px 10px}.order-card-body{padding:14px}.order-thumb{width:70px;height:70px}.order-thumb-placeholder{font-size:28px}.items-count-badge{font-size:10px;padding:2px 4px}.order-total{font-size:16px}.order-items,.order-address,.delivery-time{font-size:11px}.btn-location,.btn-call,.btn-submit,.btn-cancel{width:100%;margin:5px 0!important}.modal-footer{flex-direction:column}.item-image{width:60px;height:60px}.item-meta{gap:6px}.item-name{font-size:13px}.empty-state{padding:50px 15px}.empty-icon{font-size:50px}.empty-state h3{font-size:18px}.delivery-header .profile-dropdown{min-width:260px}@media (max-height: 500px) and (orientation: landscape){.delivery-sidebar{position:relative;width:180px;height:100%;border-right:1px solid #e0e0e0;border-top:none}.delivery-menu{flex-direction:column}.menu-item{flex-direction:row;border-left:4px solid transparent;border-top:none;padding:12px 16px}.menu-item.active{border-left-color:#5046e5;border-top-color:transparent}.menu-icon{font-size:20px}.menu-text{display:block}.delivery-content{padding:15px}}
