*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:linear-gradient(135deg,#5046e5,#4338ca);min-height:100vh;display:flex;justify-content:center;align-items:center}.login-container{width:100%;min-height:100vh;display:flex;justify-content:center;align-items:center;background:linear-gradient(135deg,#5046e5,#4338ca);position:relative;overflow:hidden}.login-container:before{content:"";position:absolute;width:500px;height:500px;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);border-radius:50%;top:-250px;right:-250px;animation:float 6s ease-in-out infinite}.login-container:after{content:"";position:absolute;width:400px;height:400px;background:radial-gradient(circle,rgba(255,255,255,.08) 0%,transparent 70%);border-radius:50%;bottom:-200px;left:-200px;animation:float 8s ease-in-out infinite reverse}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}.login-box{background:#fff;padding:48px 40px;border-radius:16px;box-shadow:0 20px 50px #0003;width:100%;max-width:440px;position:relative;z-index:1;animation:slideUp .5s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.logo-container{text-align:center;margin-bottom:30px}.logo-circle{width:64px;height:64px;margin:0 auto 16px;background:linear-gradient(135deg,#5046e5,#4338ca);border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 20px #5046e54d}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.logo-icon{width:40px;height:40px;color:#fff}.login-box h1{text-align:center;color:#1f2937;margin-bottom:0;font-size:28px;line-height:1.2;font-weight:700}.login-box h1 .console-text{display:block;font-size:20px;color:#4338ca;margin-top:5px;font-weight:600}.welcome-text{text-align:center;color:#666;font-size:17px;margin-bottom:35px;font-weight:400}.form-group{margin-bottom:28px}.form-group label{display:flex;align-items:center;gap:10px;margin-bottom:14px;color:#1f2937;font-weight:600;font-size:15px;line-height:1}.input-icon{width:20px;height:20px;color:#5046e5;flex-shrink:0}.phone-input-wrapper{display:flex;align-items:center;border:2px solid #e0e0e0;border-radius:10px;overflow:hidden;transition:all .3s ease;background:#fafafa}.phone-input-wrapper:focus-within{border-color:#5046e5;background:#fff;box-shadow:0 0 0 4px #5046e51a}.country-code{background:#f0f0f0;padding:18px 20px;color:#333;font-weight:700;border-right:2px solid #e0e0e0;-webkit-user-select:none;user-select:none;font-size:17px}.phone-input{flex:1;padding:18px 20px;border:none;outline:none;font-size:17px;color:#333;background:transparent;font-weight:500}.phone-input:disabled{background:#f5f5f5;color:#333;cursor:default}.otp-input{width:100%;padding:12px;border:2px solid #ddd;border-radius:6px;font-size:18px;text-align:center;letter-spacing:4px;transition:border-color .3s}.otp-input:focus{outline:none;border-color:#5046e5}.login-button{width:100%;padding:16px 24px;background:linear-gradient(135deg,#5046e5,#4338ca);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 15px #5046e559}.login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #5046e573}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.button-icon{width:18px;height:18px;flex-shrink:0}.spinner{width:20px;height:20px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.back-button{width:100%;padding:14px 20px;margin-top:12px;background:#fff;color:#5046e5;border:2px solid #e5e7eb;border-radius:12px;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:8px}.back-button:hover:not(:disabled){background:#f8f9ff;border-color:#5046e5}.back-button:disabled{opacity:.5;cursor:not-allowed}.back-button .button-icon{width:16px;height:16px}.error-message{background:#fef2f2;color:#dc2626;padding:14px 16px;border-radius:12px;margin-bottom:24px;border-left:4px solid #dc2626;display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;animation:shake .5s ease}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-10px)}75%{transform:translate(10px)}}.error-icon{width:22px;height:22px;flex-shrink:0}.otp-subtitle{color:#4b5563;font-size:15px;margin-bottom:24px;text-align:center;display:flex;align-items:center;justify-content:center;gap:10px;line-height:1.5;flex-wrap:wrap}.subtitle-icon{width:18px;height:18px;color:#5046e5;flex-shrink:0}.otp-input-container{display:flex;gap:10px;justify-content:center;margin-bottom:28px}.otp-input-box{width:52px;height:58px;border:2px solid #e0e0e0;border-radius:12px;font-size:26px;font-weight:700;text-align:center;outline:none;transition:all .3s ease;color:#1f2937;background:#fafafa}.otp-input-box:focus{border-color:#5046e5;background:#fff;box-shadow:0 0 0 4px #5046e526;transform:scale(1.05)}.otp-input-box.filled{border-color:#5046e5;background:#f0f4ff;transform:scale(1.02)}.otp-input-box:disabled{background:#f0f0f0;cursor:default;opacity:.6}.resend-container{text-align:center;margin-top:18px;margin-bottom:18px}.resend-text{color:#666;font-size:15px}.resend-button{background:none;border:none;color:#5046e5;font-weight:700;cursor:pointer;text-decoration:none;margin-left:5px;transition:all .2s;padding:2px 6px;border-radius:4px}.resend-button:hover:not(:disabled){color:#4338ca;background:#5046e51a}.resend-button:disabled{color:#999;cursor:not-allowed;text-decoration:none}.dashboard-container{width:100%;min-height:100vh;display:flex;justify-content:center;align-items:center;background:linear-gradient(135deg,#5046e5,#4338ca);padding:20px}.dashboard-card{background:#fff;padding:60px 40px;border-radius:10px;box-shadow:0 20px 60px #0000004d;text-align:center;max-width:500px;width:100%}.dashboard-card h1{color:#333;font-size:32px;margin-bottom:20px}.dashboard-card h2{color:#5046e5;font-size:28px;margin-bottom:30px;font-weight:600}.user-info{color:#666;font-size:16px;margin:10px 0}.logout-button{width:100%;padding:12px;margin-top:30px;background:linear-gradient(135deg,#5046e5,#4338ca);color:#fff;border:none;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s}.logout-button:hover{transform:translateY(-2px);box-shadow:0 10px 20px #5046e54d}.loading{text-align:center;color:#fff;font-size:24px}@media (max-width: 768px){.login-container:before,.login-container:after{animation:none}.login-box{padding:40px 30px;margin:20px;width:calc(100% - 40px);max-width:450px}.logo-circle{width:80px;height:80px}.logo-icon{width:40px;height:40px}.login-box h1{font-size:32px}.login-box h1 .console-text{font-size:22px}.welcome-text{font-size:15px}.input-label{font-size:14px}.phone-input-wrapper input,.otp-inputs-container{font-size:15px}.otp-input-box{width:48px;height:52px;font-size:22px}.login-button{padding:14px;font-size:15px}.resend-text{font-size:13px}.back-button{font-size:13px;padding:10px 16px}}@media (max-width: 480px){.login-container{padding:20px 10px}.login-box{padding:35px 20px;border-radius:16px;margin:10px;width:calc(100% - 20px);box-shadow:0 8px 24px #00000026}.logo-circle{width:70px;height:70px;margin-bottom:20px}.logo-icon{width:35px;height:35px}.login-box h1{font-size:26px;margin-bottom:8px}.login-box h1 .console-text{font-size:18px;display:block;margin-top:4px}.welcome-text{font-size:14px;margin-bottom:30px}.input-label{font-size:13px;margin-bottom:8px}.phone-input-wrapper{margin-bottom:24px}.country-code{font-size:14px;padding:12px 14px}.phone-input-wrapper input{padding:12px 14px;font-size:14px}.otp-inputs-container{gap:8px;margin-bottom:24px}.otp-input-box{width:42px;height:48px;font-size:20px}.login-button{padding:13px;font-size:14px;margin-top:20px}.resend-text{font-size:12px;margin-top:16px}.resend-link{font-size:12px}.back-button{font-size:12px;padding:9px 14px;margin-top:16px}.dashboard-card{padding:40px 20px;margin:15px}.dashboard-card h1{font-size:28px}.dashboard-card h2{font-size:24px}.dashboard-card p{font-size:14px}}@media (max-width: 380px){.login-box{padding:30px 18px}.logo-circle{width:60px;height:60px}.logo-icon{width:30px;height:30px}.login-box h1{font-size:24px}.login-box h1 .console-text{font-size:16px}.otp-inputs-container{gap:6px}.otp-input-box{width:38px;height:44px;font-size:18px}.phone-input-wrapper input,.login-button{font-size:13px}}@media (max-height: 600px) and (orientation: landscape){.login-container{overflow-y:auto}.login-box{margin:20px auto;padding:25px 30px}.logo-circle{width:60px;height:60px;margin-bottom:15px}.logo-icon{width:30px;height:30px}.login-box h1{font-size:24px;margin-bottom:8px}.login-box h1 .console-text{font-size:18px}.welcome-text{font-size:13px;margin-bottom:20px}.input-label{margin-bottom:6px}.phone-input-wrapper,.otp-inputs-container{margin-bottom:16px}.login-button{margin-top:16px;padding:11px}.resend-text,.back-button{margin-top:12px}}.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:#667eea;background:#f8f9ff;transform:translateY(-2px);box-shadow:0 4px 12px #667eea26}.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 #667eea;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{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,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.btn-upload-excel:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.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(-2px);box-shadow:0 6px 16px #10b98166}.btn-watchlist{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;box-shadow:0 4px 12px #f59e0b4d}.btn-watchlist:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px #f59e0b66}.btn-watchlist.active{background:linear-gradient(135deg,#d97706,#b45309);box-shadow:0 4px 12px #d9770680}.btn-sort{background:#06b6d4;color:#fff;box-shadow:0 4px 12px #06b6d44d}.btn-sort:hover:not(:disabled){background:#0891b2;transform:translateY(-2px);box-shadow:0 6px 16px #06b6d466}.btn-discount{background:#8b5cf6;color:#fff;box-shadow:0 4px 12px #8b5cf64d}.btn-discount:hover:not(:disabled){background:#7c3aed;transform:translateY(-2px);box-shadow:0 6px 16px #8b5cf666}.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(-2px);box-shadow:0 4px 12px #dc26264d}.btn-delete-all:active:not(:disabled){transform:translateY(0)}.btn-delete-all:disabled{opacity:.5;cursor:not-allowed}.btn-search{padding:10px 18px;background:#06b6d4;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-search:hover:not(:disabled){background:#0891b2;transform:translateY(-2px);box-shadow:0 4px 12px #06b6d44d}.btn-search:active:not(:disabled){transform:translateY(0);background:#0e7490}.btn-search:disabled{opacity:.5;cursor:not-allowed}.upload-menu-dropdown{position:absolute;top:100%;left:0;background:#fff;border:2px solid #06b6d4;border-radius:8px;box-shadow:0 8px 24px #06b6d433;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:#e0e7ff;color:#667eea;border-radius:6px;font-weight:600;font-family:Courier New,monospace}.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,#667eea,#764ba2);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,#667eea,#764ba2);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 #667eea;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,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease}.btn-close-success:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.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{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{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:#06b6d4;box-shadow:0 0 0 3px #06b6d41a,0 1px 3px #0000000d;background:#f0f9ff}.search-results-panel{background:linear-gradient(135deg,#f0f9ff,#f8fafc);border-radius:8px;padding:20px;border:2px solid #cffafe;box-shadow:0 2px 8px #06b6d414;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,#667eea,#764ba2);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:24px;box-shadow:0 40px 120px #0009;width:93%;max-width:1100px;max-height:92vh;overflow:hidden;animation:modalSlideIn .45s cubic-bezier(.34,1.56,.64,1);display:flex;flex-direction:column}.product-detail-header{padding:28px 35px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:space-between;box-shadow:0 6px 30px #667eea66;border-bottom:3px solid rgba(255,255,255,.1)}.product-detail-header h3{margin:0;font-size:28px;font-weight:800;letter-spacing:-1px}.product-detail-id{margin:5px 0 0;font-size:13px;opacity:.9;font-weight:500;letter-spacing:1px}.modal-close-btn{background:#ffffff40;color:#fff;border:none;width:48px;height:48px;border-radius:50%;font-size:28px;cursor:pointer;transition:all .35s cubic-bezier(.34,1.56,.64,1);display:flex;align-items:center;justify-content:center;flex-shrink:0}.modal-close-btn:hover{background:#fff6;transform:rotate(90deg) scale(1.1)}.product-detail-body{padding:35px;overflow-y:auto;flex:1;background:linear-gradient(180deg,#fafbfc,#fff)}.product-detail-body::-webkit-scrollbar{width:10px}.product-detail-body::-webkit-scrollbar-track{background:#e5e7eb;border-radius:10px}.product-detail-body::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px;box-shadow:0 0 6px #667eea4d}.product-detail-body::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#764ba2,#667eea)}.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:16px;overflow:hidden;background:#fff;border:3px solid #e5e7eb;box-shadow:0 8px 32px #0000001f;transition:all .4s ease}.product-image-container:hover{transform:scale(1.02);box-shadow:0 12px 48px #667eea40;border-color:#667eea}.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:#667eea!important;box-shadow:0 0 0 4px #667eea26!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(-3px);box-shadow:0 10px 32px #10b98180}.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:#667eea;box-shadow:0 0 0 5px #667eea26;transform:translateY(-2px);background:#fafbfc}.product-field-textarea-large{resize:vertical;min-height:120px;line-height:1.7;font-family:inherit}.product-detail-footer{padding:28px 35px;background:#fff;border-top:3px solid #e5e7eb;display:flex;gap:16px;justify-content:flex-end;align-items:center;box-shadow:0 -6px 30px #00000014}.btn-save-product{padding:15px 40px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:10px;cursor:pointer;font-size:16px;font-weight:800;letter-spacing:.5px;transition:all .35s cubic-bezier(.34,1.56,.64,1);box-shadow:0 6px 20px #10b98159}.btn-save-product:hover{background:linear-gradient(135deg,#059669,#047857);transform:translateY(-3px);box-shadow:0 10px 32px #10b98180}.btn-cancel-product{padding:15px 40px;background:linear-gradient(135deg,#6b7280,#4b5563);color:#fff;border:none;border-radius:10px;cursor:pointer;font-size:16px;font-weight:800;letter-spacing:.5px;transition:all .35s cubic-bezier(.34,1.56,.64,1);box-shadow:0 6px 20px #6b72804d}.btn-cancel-product:hover{background:linear-gradient(135deg,#4b5563,#374151);transform:translateY(-3px);box-shadow:0 10px 32px #6b728066}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.85) translateY(60px)}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{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:8px;border-bottom:2px solid #e5e7eb;background:#f9fafb;border-radius:8px 8px 0 0;padding:8px}.section-tab{padding:12px 20px;background:transparent;border:none;cursor:pointer;font-size:16px;font-weight:500;color:#6b7280;border-radius:6px;transition:all .3s ease;border-bottom:3px solid transparent;margin-bottom:-8px}.section-tab:hover{background:#06b6d41a;color:#06b6d4}.section-tab.active{background:#fff;color:#06b6d4;border-bottom:3px solid #06b6d4}.main-tabs{border-bottom:2px solid #e5e7eb;background:#f9fafb;padding:12px 16px;margin-bottom:16px;border-radius:0}.main-tabs .section-tab{padding:10px 18px;margin-bottom:0;font-size:15px;font-weight:600}.main-tabs .section-tab.active{background:linear-gradient(135deg,#06b6d4,#0891b2);color:#fff;border-bottom:none}.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:15px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:8px}.promo-header h3{margin:0;font-size:20px;font-weight:600}.btn-add-promo{padding:10px 18px;background:#fff;color:#667eea;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:6px;white-space:nowrap}.btn-add-promo:hover{background:#f0f9ff;transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.promo-form-container{margin-bottom:30px;animation:slideDown .3s ease}.promo-form{background:#f8fafc;border:2px solid #e0e7ff;border-radius:8px;padding:20px;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:15px;margin-bottom:15px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-size:14px;font-weight:600;color:#374151}.form-group input,.form-group select,.form-group textarea{padding:10px 12px;border:2px solid #e5e7eb;border-radius:6px;font-size:14px;font-family:inherit;transition:all .2s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group textarea{resize:vertical;min-height:80px}.form-actions{display:flex;gap:10px;margin-top:20px;padding-top:15px;border-top:1px solid #e5e7eb}.btn-save-promo,.btn-cancel-promo{padding:10px 18px;border:none;border-radius:6px;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,#667eea,#764ba2);color:#fff;flex:1}.btn-save-promo:hover{transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.btn-cancel-promo{background:#e5e7eb;color:#374151;flex:1}.btn-cancel-promo:hover{background:#d1d5db}.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:2px solid #e5e7eb;border-radius:8px;overflow:hidden;transition:all .3s ease;box-shadow:0 1px 3px #0000000d}.promo-card:hover{border-color:#667eea;box-shadow:0 8px 20px #667eea26;transform:translateY(-4px)}.promo-card-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding: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:#e0e7ff;color:#667eea}.btn-edit-promo:hover{background:#c7d2fe;transform:scale(1.05)}.btn-delete-promo{background:#fee2e2;color:#dc2626}.btn-delete-promo:hover{background:#fecaca;transform:scale(1.05)}@media (max-width: 768px){.section-tabs{flex-wrap:wrap}.section-tab{flex:1;min-width:120px}.promo-cards,.form-row{grid-template-columns:1fr}}@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:linear-gradient(135deg,#f5f7fa,#e8eaf6);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 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)}.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}.admin-content{display:flex;flex:1;overflow:hidden;gap:0}.admin-sidebar{width:280px;background:#fff;border-right:1px solid #e0e0e0;overflow-y:auto;padding:30px 0;box-shadow:2px 0 8px #0000000d;flex-shrink:0}.section-content{background:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px #0000000d;min-height:100%}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid #f0f0f0}.section-content h2{color:#333;font-size:26px;margin:0}.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}.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 8px 20px #0000001a;border-color:#5046e5;transform:translateY(-4px)}.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,#5046e5,#4338ca);color:#fff;padding:20px 40px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 12px #5046e54d;position:sticky;top:0;z-index:100}.header-left{flex:1}.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:15px;height:45px}.welcome-text{font-size:16px;font-weight:500;white-space:nowrap;display:flex;align-items:center;height:100%}.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}@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:280px;background:#fff;border-right:1px solid #e0e0e0;overflow-y:auto;padding:30px 0;box-shadow:2px 0 8px #0000000d}.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-label{flex:1}.admin-main{flex:1;overflow-y:auto;padding:40px;background:#f5f7fa}.section-content{background:#fff;border-radius:12px;padding:30px;box-shadow:0 2px 8px #0000000d}.section-content h2{color:#333;font-size:26px;margin:0 0 20px;padding-bottom:15px;border-bottom:2px solid #f0f0f0}.section-content p{color:#666;font-size:16px;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}.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: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 8px 24px #0000001f;border-color:#5046e5;transform:translateY(-6px)}.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-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:16px;padding:24px;display:flex;align-items:center;gap:20px;box-shadow:0 2px 8px #0000000f;transition:all .3s ease;border:2px solid transparent}.kpi-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.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: #5046e5;--primary-dark: #4338ca;--primary-light: #818cf8;--primary-bg: #eef2ff;--primary-subtle: #f5f7ff;--success: #10b981;--success-bg: #d1fae5;--success-dark: #059669;--warning: #f59e0b;--warning-bg: #fef3c7;--warning-dark: #d97706;--danger: #ef4444;--danger-bg: #fee2e2;--danger-dark: #dc2626;--info: #3b82f6;--info-bg: #dbeafe;--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, .05);--shadow-sm: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .06);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 10px 10px -5px rgba(0, 0, 0, .04);--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px;--radius-2xl: 20px;--radius-full: 9999px;--transition-fast: .15s ease;--transition-normal: .2s ease;--transition-slow: .3s cubic-bezier(.4, 0, .2, 1)}*{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)}.admin-header{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%)!important;box-shadow:var(--shadow-lg)!important;border-bottom:none!important}.header-title{font-weight:700!important;letter-spacing:-.5px!important}.welcome-section{display:flex!important;align-items:center!important;gap:12px!important}.welcome-text{font-size:14px!important;font-weight:500!important;color:#ffffffe6!important;display:flex!important;align-items:center!important;height:40px!important}.welcome-text strong{color:#fff!important;margin-left:4px!important}.profile-button{width:40px!important;height:40px!important;border-radius:var(--radius-full)!important;background:#ffffff26!important;border:2px solid rgba(255,255,255,.25)!important;display:flex!important;align-items:center!important;justify-content:center!important;transition:var(--transition-normal)!important;cursor:pointer!important}.profile-button:hover{background:#ffffff40!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:none!important}.menu-list{padding:16px 12px!important}.menu-item{display:flex!important;align-items:center!important;gap:12px!important;padding:12px 16px!important;margin-bottom:4px!important;border-radius:var(--radius-md)!important;border:none!important;border-left:none!important;background:transparent!important;color:var(--gray-600)!important;font-size:14px!important;font-weight:500!important;cursor:pointer!important;transition:var(--transition-normal)!important}.menu-item:hover{background:var(--gray-100)!important;color:var(--gray-900)!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-icon{font-size:18px!important;width:24px!important;display:flex!important;align-items:center!important;justify-content:center!important}.menu-label{flex:1!important}.admin-main,.delivery-content{background:var(--gray-50)!important;padding:24px 32px!important}.section-header{margin-bottom:24px!important;padding-bottom:16px!important;border-bottom:1px solid var(--gray-200)!important}.section-header h2{font-size:22px!important;font-weight:700!important;color:var(--gray-900)!important;letter-spacing:-.3px!important;margin:0!important}.section-subtitle{font-size:14px!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-sm)!important;overflow:hidden!important;transition:var(--transition-slow)!important;cursor:pointer!important}.order-card:hover{border-color:var(--gray-300)!important;box-shadow:var(--shadow-md)!important;transform:translateY(-2px)!important}.order-card-header{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:16px 20px!important;background:var(--gray-50)!important;border-bottom:1px solid var(--gray-200)!important}.order-id{font-size:14px!important;font-weight:600!important;color:var(--gray-800)!important;font-family:SF Mono,Consolas,monospace!important}.order-card-body{display:flex!important;gap:16px!important;padding:20px!important}.order-thumb{width:80px!important;height:80px!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.05)!important}.order-thumb-placeholder{width:100%!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:32px!important;color:var(--gray-400)!important}.items-count-badge{position:absolute!important;bottom:-4px!important;right:-4px!important;background:var(--gray-800)!important;color:#fff!important;font-size:10px!important;font-weight:600!important;padding:2px 6px!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:4px!important}.order-user,.order-phone{font-size:13px!important;color:var(--gray-600)!important}.order-total{font-size:20px!important;font-weight:700!important;color:var(--gray-900)!important;margin-top:4px!important}.order-items,.order-date{font-size:12px!important;color:var(--gray-400)!important}.status-badge{display:inline-flex!important;align-items:center!important;padding:5px 12px!important;border-radius:var(--radius-full)!important;font-size:11px!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:.5px!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:#f3e8ff!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:12px 24px!important;border-radius:var(--radius-md)!important;font-size:14px!important;font-weight:600!important;cursor:pointer!important;transition:var(--transition-slow)!important;box-shadow:0 4px 14px #5046e540!important}.btn-add:hover,.btn-submit:hover,.login-button:hover:not(:disabled){transform:translateY(-2px)!important;box-shadow:0 6px 20px #5046e559!important}.btn-location{background:linear-gradient(135deg,#f97316,#ea580c)!important;color:#fff!important;border:none!important;padding:12px 20px!important;border-radius:var(--radius-md)!important;font-size:14px!important;font-weight:600!important;cursor:pointer!important;transition:var(--transition-slow)!important;box-shadow:0 4px 14px #f9731640!important}.btn-location:hover{transform:translateY(-2px)!important;box-shadow:0 6px 20px #f9731659!important}.btn-call{background:linear-gradient(135deg,var(--success) 0%,var(--success-dark) 100%)!important;color:#fff!important;border:none!important;padding:12px 20px!important;border-radius:var(--radius-md)!important;font-size:14px!important;font-weight:600!important;cursor:pointer!important;transition:var(--transition-slow)!important;box-shadow:0 4px 14px #10b98140!important}.btn-call:hover{transform:translateY(-2px)!important;box-shadow:0 6px 20px #10b98159!important}.btn-delivered{background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%)!important;color:#fff!important;border:none!important;padding:14px 24px!important;border-radius:var(--radius-md)!important;font-size:14px!important;font-weight:600!important;cursor:pointer!important;transition:var(--transition-slow)!important;box-shadow:0 4px 14px #5046e540!important;width:100%!important}.btn-delivered:hover{transform:translateY(-2px)!important;box-shadow:0 6px 20px #5046e559!important}.btn-close,.back-button{background:#fff!important;color:var(--gray-600)!important;border:1px solid var(--gray-300)!important;padding:12px 24px!important;border-radius:var(--radius-md)!important;font-size:14px!important;font-weight:600!important;cursor:pointer!important;transition:var(--transition-normal)!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:#00000080!important;-webkit-backdrop-filter:blur(4px)!important;backdrop-filter:blur(4px)!important}.modal-content{background:#fff!important;border-radius:var(--radius-xl)!important;box-shadow:var(--shadow-xl)!important;border:1px solid var(--gray-200)!important;max-width:600px!important;width:90%!important;max-height:85vh!important;overflow:hidden!important}.modal-header{padding:20px 24px!important;background:var(--gray-50)!important;border-bottom:1px solid var(--gray-200)!important}.modal-header h2,.modal-header h3{font-size:18px!important;font-weight:700!important;color:var(--gray-900)!important;margin:0!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:12px!important;justify-content:flex-end!important}.form-group{margin-bottom:20px!important}.form-group label{display:block!important;font-size:14px!important;font-weight:600!important;color:var(--gray-700)!important;margin-bottom:8px!important}.form-group input,.form-group select,.form-group textarea{width:100%!important;padding:12px 16px!important;border:1px 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-normal)!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 #5046e51a!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-sm)!important;padding:20px!important;transition:var(--transition-slow)!important}.workforce-card:hover,.user-card:hover{border-color:var(--gray-300)!important;box-shadow:var(--shadow-md)!important;transform:translateY(-2px)!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:16px!important;font-weight:600!important;color:var(--gray-800)!important;margin-bottom:8px!important}.empty-state p,.empty-text{font-size:14px!important;color:var(--gray-500)!important}.orders-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(340px,1fr))!important;gap:20px!important}.workforce-grid,.users-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))!important;gap:20px!important}.profile-dropdown{background:#fff!important;border-radius:var(--radius-lg)!important;box-shadow:var(--shadow-xl)!important;border:1px solid var(--gray-200)!important;overflow:hidden!important}.delivery-time{display:inline-flex!important;align-items:center!important;gap:6px!important;font-size:12px!important;font-weight:600!important;color:var(--success-dark)!important;background:var(--success-bg)!important;padding:6px 12px!important;border-radius:var(--radius-full)!important;margin-top:8px!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:10px 20px!important;border:none!important;background:transparent!important;color:var(--gray-600)!important;font-size:14px!important;font-weight:500!important;border-radius:var(--radius-md)!important;cursor:pointer!important;transition:var(--transition-normal)!important}.tab-button:hover{color:var(--gray-900)!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-500)!important;font-size:14px!important}.alert-overlay{background:#00000080!important;-webkit-backdrop-filter:blur(4px)!important;backdrop-filter:blur(4px)!important}.alert-box{background:#fff!important;border-radius:var(--radius-xl)!important;box-shadow:var(--shadow-xl)!important;padding:24px!important}@media (max-width: 768px){.admin-main,.delivery-content{padding:16px!important}.orders-grid,.workforce-grid,.users-grid{grid-template-columns:1fr!important;gap:16px!important}.order-card-body{padding:16px!important}.order-thumb{width:70px!important;height:70px!important}.order-total,.section-header h2{font-size:18px!important}.modal-content{width:95%!important;max-height:90vh!important}.modal-body{max-height:50vh!important}.btn-location,.btn-call,.btn-delivered{padding:10px 16px!important;font-size:13px!important}}@media (max-width: 480px){.order-card-header{padding:12px 16px!important}.order-id{font-size:13px!important}.status-badge{font-size:10px!important;padding:4px 10px!important}.order-thumb{width:60px!important;height:60px!important}.order-total{font-size:16px!important}.menu-item{padding:10px 14px!important;font-size:13px!important}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.order-card{animation:fadeIn .3s ease}.modal-content{animation:slideUp .3s ease}@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}}
