*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Inter,SF Pro Display,Roboto,sans-serif;line-height:1.6;color:#0f172a;background:#fafbfc;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#fafbfc;padding:20px}.login-card{background:#fff;border-radius:12px;padding:48px;width:100%;max-width:400px;box-shadow:0 1px 3px #00000014,0 1px 2px #0000000a;border:1px solid #e2e8f0}.login-header{text-align:center;margin-bottom:40px}.login-logo{width:64px;height:64px;background:#0f172a;border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 24px}.login-logo-svg{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;filter:brightness(0) invert(1);transition:transform .3s ease}.login-logo:hover .login-logo-svg{transform:scale(1.1)}.login-title{font-size:32px;font-weight:600;color:#0f172a;margin-bottom:12px;letter-spacing:-.02em}.login-subtitle{color:#64748b;font-size:16px;font-weight:400;margin-bottom:16px}.login-tagline{color:#94a3b8;font-size:14px;display:flex;align-items:center;justify-content:center;gap:8px}.login-form{display:flex;flex-direction:column;gap:24px}.form-group{display:flex;flex-direction:column;gap:8px}.form-label{font-size:14px;font-weight:500;color:#374151}.form-input{width:100%;padding:10px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:15px;background:#fff;transition:all .15s ease;color:#0f172a}.form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f614;background:#fff}.form-input::-moz-placeholder{color:#94a3b8}.form-input::placeholder{color:#94a3b8}textarea.form-input{resize:vertical;min-height:80px;font-family:inherit}.login-button{width:100%;padding:12px 20px;background:#0f172a;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:500;cursor:pointer;transition:all .15s ease;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 1px 2px #0000000d}.login-button:hover:not(:disabled){background:#1e293b;box-shadow:0 2px 4px #0000001a}.login-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.loading-spinner{width:20px;height:20px;border:2px solid rgba(255,255,255,.2);border-top:2px solid white;border-radius:50%;animation:spin .8s cubic-bezier(.5,0,.5,1) infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.arrow-icon{transition:transform .2s ease}.login-button:hover .arrow-icon{transform:translate(4px)}.error-message{background:#fef2f2;border:1px solid #fecaca;border-radius:12px;padding:16px;display:flex;align-items:center;gap:8px;color:#dc2626;font-weight:500}.error-dot{width:8px;height:8px;background:#dc2626;border-radius:50%}.login-footer{margin-top:32px;padding-top:24px;border-top:1px solid #e5e7eb;text-align:center;color:#9ca3af;font-size:14px}.nav-container{background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 1px #0000000d;position:sticky;top:0;z-index:100}.nav-content{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;height:70px}.nav-logo{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:600;color:#0f172a;letter-spacing:-.01em}.nav-logo-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;margin-right:12px;border-radius:8px;overflow:hidden;background:#0f172a}.logo-svg{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;filter:brightness(0) invert(1);transition:transform .3s ease}.nav-logo:hover .logo-svg{transform:scale(1.1)}.nav-menu{display:flex;align-items:center;gap:32px}.nav-link{color:#64748b;text-decoration:none;font-weight:500;padding:8px 12px;border-radius:6px;transition:all .15s ease;font-size:14px}.nav-link:hover{color:#0f172a;background:#f1f5f9}.nav-link.active{color:#0f172a;background:#f1f5f9;font-weight:600}.nav-link.disabled{color:#94a3b8;cursor:not-allowed;opacity:.6}.nav-link.disabled:hover{color:#94a3b8;background:transparent}.mobile-menu-button{display:none;background:none;border:none;cursor:pointer;padding:8px;border-radius:8px;transition:all .2s ease;color:#64748b}.mobile-menu-button:hover{background:#667eea1a;color:#667eea}.hamburger{width:24px;height:20px;position:relative;display:flex;flex-direction:column;justify-content:space-between}.hamburger span{display:block;width:100%;height:2px;background:currentColor;border-radius:1px;transition:all .3s ease;transform-origin:center}.hamburger.open span:nth-child(1){transform:rotate(45deg) translate(6px,6px)}.hamburger.open span:nth-child(2){opacity:0}.hamburger.open span:nth-child(3){transform:rotate(-45deg) translate(6px,-6px)}.nav-user{display:flex;align-items:center;gap:12px;padding:6px 12px;background:#f1f5f9;border-radius:8px;color:#0f172a;font-weight:500;font-size:14px}.dashboard-container{min-height:100vh;background:#fafbfc;padding:32px 24px}.dashboard-content{max-width:1200px;margin:0 auto}.dashboard-header{margin-bottom:32px}.dashboard-welcome{font-size:32px;font-weight:600;color:#0f172a;margin-bottom:8px;display:flex;align-items:center;gap:12px;letter-spacing:-.02em}.dashboard-subtitle{color:#64748b;font-size:15px;font-weight:400}.dashboard-section{margin-bottom:32px}.section-title{font-size:20px;font-weight:600;color:#1e293b;margin-bottom:24px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-bottom:32px}.stat-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #00000014,0 1px 2px #0000000a;border:1px solid #e2e8f0;transition:all .15s ease}.stat-card:hover{box-shadow:0 4px 12px #00000014,0 2px 4px #0000000a;border-color:#cbd5e1}.stat-value{font-size:32px;font-weight:600;color:#0f172a;margin-bottom:8px;letter-spacing:-.02em}.stat-label{font-size:14px;color:#64748b;font-weight:500;margin-bottom:4px}.stat-description{font-size:12px;color:#94a3b8}.chart-placeholder{background:#fff;border-radius:12px;padding:48px 24px;text-align:center;box-shadow:0 1px 3px #00000014,0 1px 2px #0000000a;border:1px solid #e2e8f0}.chart-placeholder-icon{font-size:48px;margin-bottom:16px;opacity:.5}.chart-placeholder-text{color:#64748b;font-size:16px;margin-bottom:8px}.chart-placeholder-subtext{color:#94a3b8;font-size:14px}.sales-placeholder{background:#fff;border-radius:12px;padding:48px 24px;text-align:center;box-shadow:0 1px 3px #00000014,0 1px 2px #0000000a;border:1px solid #e2e8f0}.sales-placeholder-icon{font-size:48px;margin-bottom:16px;opacity:.5}.sales-placeholder-text{color:#64748b;font-size:16px;margin-bottom:8px}.sales-placeholder-subtext{color:#94a3b8;font-size:14px}.orders-filters{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 1px 3px #00000014,0 1px 2px #0000000a;border:1px solid #e2e8f0}.filters-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.filters-title{font-size:18px;font-weight:600;color:#1e293b}.clear-filters{background:none;border:none;color:#667eea;font-size:14px;font-weight:500;cursor:pointer;padding:4px 8px;border-radius:6px;transition:all .2s ease}.clear-filters:hover{background:#667eea1a}.filters-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.filter-group{display:flex;flex-direction:column;gap:6px}.filter-label{font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.filter-input{padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;background:#fff;transition:all .2s ease}.filter-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 2px #667eea1a}.filter-select{padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;background:#fff;cursor:pointer;transition:all .2s ease}.filter-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 2px #667eea1a}.products-filters{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 1px 3px #00000014,0 1px 2px #0000000a;border:1px solid #e2e8f0}.products-filters .filters-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}.search-container{flex:1;min-width:300px}.search-input-wrapper{position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:12px;color:#6b7280;z-index:1}.search-input{width:100%;padding:12px 16px 12px 44px;border:1px solid #d1d5db;border-radius:12px;font-size:16px;background:#fffc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .2s ease}.search-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;background:#fff}.clear-search{position:absolute;right:12px;background:none;border:none;color:#6b7280;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.clear-search:hover{color:#374151;background:#0000000d}.products-filters .clear-filters{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#f3f4f6;border:1px solid #d1d5db;border-radius:8px;color:#374151;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.products-filters .clear-filters:hover:not(:disabled){background:#e5e7eb;border-color:#9ca3af}.products-filters .clear-filters:disabled{opacity:.5;cursor:not-allowed}.orders-results{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.results-count{color:#64748b;font-size:14px;font-weight:500}.orders-grid{display:grid;gap:24px}.order-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #00000014,0 1px 2px #0000000a;border:1px solid #e2e8f0;transition:all .15s ease}.order-card:hover{box-shadow:0 4px 12px #00000014,0 2px 4px #0000000a;border-color:#cbd5e1}.order-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #e5e7eb}.order-info{flex:1}.order-number{font-size:18px;font-weight:600;color:#1e293b;margin-bottom:4px}.order-date{color:#64748b;font-size:14px}.order-status{display:flex;align-items:center;gap:8px}.status-badge{padding:6px 12px;border-radius:20px;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.status-pending{background:#fef3c7;color:#d97706}.status-processing{background:#dbeafe;color:#2563eb}.status-shipped{background:#dcfce7;color:#16a34a}.status-delivered{background:#f0fdf4;color:#15803d}.status-cancelled{background:#fee2e2;color:#dc2626}.order-customer{margin-bottom:20px}.customer-name{font-weight:600;color:#1e293b;margin-bottom:4px}.customer-email{color:#64748b;font-size:14px;margin-bottom:4px}.customer-phone{color:#64748b;font-size:14px}.order-items{margin-bottom:20px}.order-item{display:flex;gap:16px;padding:16px;background:#f8fafc;border-radius:12px;margin-bottom:12px}.item-image{width:60px;height:60px;border-radius:8px;-o-object-fit:cover;object-fit:cover;flex-shrink:0}.item-details{flex:1}.item-title{font-weight:600;color:#1e293b;margin-bottom:4px;line-height:1.4}.item-price{color:#667eea;font-weight:600;font-size:14px}.item-quantity{color:#64748b;font-size:12px}.order-totals{display:flex;justify-content:space-between;align-items:center;padding-top:16px;border-top:1px solid #e5e7eb}.total-amount{font-size:20px;font-weight:700;color:#1e293b}.order-actions{display:flex;gap:12px;margin-top:16px}.action-button{padding:8px 16px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px}.primary-button{background:#0f172a;color:#fff}.primary-button:hover{background:#1e293b;box-shadow:0 2px 4px #0000001a}.secondary-button{background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0}.secondary-button:hover{background:#e2e8f0;color:#475569}.status-select{padding:6px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;background:#fff;color:#374151;cursor:pointer}.status-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 2px #667eea1a}.shipping-label{background:#fff;border:2px solid #1e293b;border-radius:12px;padding:24px;max-width:400px;margin:20px auto;box-shadow:0 8px 25px #00000026;font-family:Courier New,monospace}.label-header{text-align:center;margin-bottom:20px;padding-bottom:16px;border-bottom:2px solid #e5e7eb}.label-logo{font-size:24px;font-weight:700;color:#667eea;margin-bottom:8px;letter-spacing:2px}.label-title{font-size:18px;font-weight:700;color:#1e293b;margin-bottom:4px;letter-spacing:1px}.label-subtitle{color:#64748b;font-size:14px;font-weight:500}.label-section{margin-bottom:20px}.section-label{font-size:12px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:1px;margin-bottom:8px;border-bottom:1px solid #e5e7eb;padding-bottom:4px}.section-content{font-size:14px;color:#1e293b;line-height:1.6;font-weight:500}.section-content strong{font-weight:700;color:#000}.qr-code{text-align:center;margin:20px 0;padding:16px;background:#f8fafc;border-radius:8px;border:2px solid #e5e7eb}.qr-code img{width:120px;height:120px;border-radius:8px;border:2px solid #e5e7eb}.qr-placeholder{width:120px;height:120px;background:#e2e8f0;border:2px dashed #cbd5e1;border-radius:8px;display:flex;align-items:center;justify-content:center;margin:0 auto;color:#64748b;font-size:12px;font-weight:700;letter-spacing:.5px}.label-footer{text-align:center;margin-top:20px;padding-top:16px;border-top:1px solid #e5e7eb;color:#64748b;font-size:12px;font-weight:700;letter-spacing:.5px}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:12px;max-width:600px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;border:1px solid #e2e8f0}.modal-header{padding:24px 24px 0;display:flex;justify-content:space-between;align-items:center}.modal-title{font-size:20px;font-weight:600;color:#1e293b}.modal-close{background:none;border:none;font-size:24px;cursor:pointer;color:#64748b;padding:4px;border-radius:4px;transition:all .2s ease}.modal-close:hover{background:#f1f5f9;color:#374151}.modal-body{padding:24px;display:flex;flex-direction:column;gap:20px;max-height:calc(90vh - 140px);overflow-y:auto}.modal-footer{padding:0 24px 24px;display:flex;gap:12px;justify-content:flex-end}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px;margin-bottom:32px}.product-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 3px #00000014,0 1px 2px #0000000a;transition:all .15s ease;border:1px solid #e2e8f0}.product-card:hover{box-shadow:0 4px 12px #00000014,0 2px 4px #0000000a;border-color:#cbd5e1}.product-image{position:relative;width:100%;height:200px;overflow:hidden;background:#f9fafb}.product-image img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .3s ease}.product-card:hover .product-image img{transform:scale(1.05)}.price-badge{position:absolute;top:12px;right:12px;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;color:#fff}.price-badge.dropping{background:#10b981}.price-badge.increasing{background:#ef4444}.product-info{padding:20px}.product-title{font-size:18px;font-weight:600;color:#111827;margin-bottom:8px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-description{color:#6b7280;font-size:14px;line-height:1.5;margin-bottom:16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.product-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;font-size:12px}.product-category{color:#059669;font-weight:500;text-transform:capitalize}.product-id{color:#9ca3af;font-family:Courier New,monospace}.product-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.stat{display:flex;flex-direction:column;gap:4px}.stat-label{font-size:12px;color:#6b7280;font-weight:500}.stat-value{font-size:14px;font-weight:600;color:#111827}.stat-value.price{color:#059669;font-size:16px}.price-change,.quantity-change{font-size:11px;font-weight:500;padding:2px 6px;border-radius:4px}.price-change.positive,.quantity-change.positive{background:#dcfce7;color:#166534}.price-change.negative,.quantity-change.negative{background:#fef2f2;color:#dc2626}.product-footer{display:flex;justify-content:space-between;align-items:center;padding-top:16px;border-top:1px solid #f3f4f6}.provider-info{display:flex;align-items:center;gap:8px}.provider-logo{width:20px;height:20px;border-radius:4px;-o-object-fit:contain;object-fit:contain}.provider-market{font-size:12px;color:#6b7280;font-weight:500}.product-date{font-size:11px;color:#9ca3af}.load-more-container{display:flex;justify-content:center;margin-top:32px}.load-more-button{padding:12px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:12px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 6px -1px #667eea4d}.load-more-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 15px -3px #667eea66}.load-more-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.retry-button{padding:8px 16px;background:#dc2626;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;margin-top:12px}.retry-button:hover{background:#b91c1c;transform:translateY(-1px)}.loading-spinner .spinner{width:40px;height:40px;border:4px solid #f3f4f6;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}.loading-spinner p{color:#6b7280;font-size:16px;font-weight:500;animation:textFade 2s ease-in-out infinite}.header-content{display:flex;justify-content:space-between;align-items:flex-start;width:100%}.view-toggle{display:flex;gap:8px;background:#f9fafb;border-radius:12px;padding:4px;border:1px solid #e5e7eb}.toggle-button{display:flex;align-items:center;gap:8px;padding:8px 16px;border:none;background:transparent;border-radius:8px;font-size:14px;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s ease}.toggle-button:hover{background:#f3f4f6;color:#374151}.toggle-button.active{background:#fff;color:#667eea;box-shadow:0 2px 4px #0000001a}.toggle-button svg{width:16px;height:16px}.products-table-container{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;border:1px solid #e5e7eb;overflow-x:auto}.products-table{width:100%;border-collapse:collapse;font-size:14px}.products-table thead{background:#f9fafb;border-bottom:1px solid #e5e7eb}.products-table th{padding:16px 12px;text-align:left;font-weight:600;color:#374151;font-size:13px;text-transform:uppercase;letter-spacing:.5px}.products-table tbody tr{border-bottom:1px solid #f3f4f6;transition:background-color .2s ease}.products-table tbody tr:hover{background:#f9fafb}.products-table td{padding:16px 12px;vertical-align:top}.product-image-cell{position:relative;width:80px}.table-product-image{width:50px;height:50px;-o-object-fit:cover;object-fit:cover;border-radius:8px;border:1px solid #e5e7eb}.table-badge{position:absolute;top:8px;right:8px;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:#fff}.table-badge.dropping{background:#10b981}.table-badge.increasing{background:#ef4444}.product-info-cell{min-width:250px}.table-product-title{font-weight:600;color:#111827;margin-bottom:4px;line-height:1.4}.table-product-id{font-size:12px;color:#9ca3af;font-family:Courier New,monospace;margin-bottom:4px}.table-product-description{color:#6b7280;font-size:13px;line-height:1.4}.product-category-cell{min-width:120px}.category-badge{background:#dcfce7;color:#166534;padding:4px 8px;border-radius:6px;font-size:12px;font-weight:500;text-transform:capitalize}.product-price-cell,.product-stock-cell{min-width:100px}.price-info,.stock-info{display:flex;flex-direction:column;gap:2px}.table-price{font-weight:600;color:#059669;font-size:15px}.table-stock{font-weight:600;color:#111827}.table-price-change,.table-stock-change{font-size:11px;font-weight:500;padding:2px 6px;border-radius:4px;width:-moz-fit-content;width:fit-content}.table-price-change.positive,.table-stock-change.positive{background:#dcfce7;color:#166534}.table-price-change.negative,.table-stock-change.negative{background:#fef2f2;color:#dc2626}.product-views-cell,.product-sales-cell{text-align:center;font-weight:600;color:#111827}.product-provider-cell{min-width:100px}.table-provider-info{display:flex;align-items:center;gap:8px}.table-provider-logo{width:20px;height:20px;border-radius:4px;-o-object-fit:contain;object-fit:contain}.table-provider-market{font-size:12px;color:#6b7280;font-weight:500}.product-date-cell{font-size:12px;color:#9ca3af;min-width:100px}@media (max-width: 1024px){.products-table-container{overflow-x:auto}.products-table{min-width:900px}}.orders-table-container{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;border:1px solid #e5e7eb;overflow-x:auto}.orders-table{width:100%;border-collapse:collapse;font-size:14px}.orders-table thead{background:#f9fafb;border-bottom:1px solid #e5e7eb}.orders-table th{padding:16px 12px;text-align:left;font-weight:600;color:#374151;font-size:13px;text-transform:uppercase;letter-spacing:.5px}.orders-table tbody tr{border-bottom:1px solid #f3f4f6;transition:background-color .2s ease}.orders-table tbody tr:hover{background:#f9fafb}.orders-table td{padding:16px 12px;vertical-align:top}.order-number-cell{min-width:120px}.table-order-number{font-weight:600;color:#111827;font-family:Courier New,monospace;font-size:13px}.order-customer-cell{min-width:200px}.table-customer-info{display:flex;flex-direction:column;gap:4px}.table-customer-name{font-weight:600;color:#111827;font-size:14px}.table-customer-email{color:#6b7280;font-size:13px}.table-customer-phone{color:#6b7280;font-size:12px}.order-items-cell{min-width:250px}.table-items-list{display:flex;flex-direction:column;gap:8px}.table-item{display:flex;align-items:center;gap:8px;padding:8px;background:#f9fafb;border-radius:8px}.table-item-image{width:40px;height:40px;-o-object-fit:cover;object-fit:cover;border-radius:6px;border:1px solid #e5e7eb}.table-item-details{flex:1;min-width:0}.table-item-title{font-weight:500;color:#111827;font-size:13px;line-height:1.3;margin-bottom:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-item-info{color:#6b7280;font-size:12px}.order-status-cell{min-width:120px}.table-status-badge{display:inline-flex;align-items:center;gap:4px;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:500;text-transform:capitalize}.order-total-cell{min-width:120px}.table-total-info{display:flex;flex-direction:column;gap:4px}.table-total-amount{font-weight:600;color:#059669;font-size:15px}.table-total-breakdown{display:flex;flex-direction:column;gap:2px;font-size:11px;color:#6b7280}.order-date-cell{min-width:120px;font-size:12px;color:#9ca3af}.order-actions-cell{min-width:150px}.table-actions{display:flex;flex-direction:column;gap:8px}.table-status-select{width:100%;padding:6px 8px;border:1px solid #d1d5db;border-radius:6px;font-size:12px;background:#fff;color:#374151;cursor:pointer;transition:border-color .2s ease}.table-status-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 2px #667eea1a}.table-action-button{width:100%;padding:6px 8px;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#6b7280;cursor:pointer;transition:all .2s ease;font-size:14px}.table-action-button:hover{background:#f9fafb;border-color:#9ca3af;color:#374151}@media (max-width: 1024px){.orders-table-container{overflow-x:auto}.orders-table{min-width:1000px}}.header-actions{display:flex;align-items:center;gap:16px}.limit-selector{position:relative}.limit-button{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#667eea1a;border:1px solid rgba(102,126,234,.2);border-radius:8px;color:#667eea;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.limit-button:hover{background:#667eea26;border-color:#667eea4d}.limit-arrow{transition:transform .2s ease}.limit-arrow.open{transform:rotate(180deg)}.limit-dropdown{position:absolute;top:100%;left:0;margin-top:4px;background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;border:1px solid #e5e7eb;min-width:140px;z-index:1000;animation:dropdownSlideIn .2s ease}.limit-option{width:100%;padding:8px 12px;background:none;border:none;color:#374151;font-size:14px;text-align:left;cursor:pointer;transition:all .2s ease;border-radius:0}.limit-option:hover{background:#f3f4f6;color:#667eea}.limit-option.active{background:#eff6ff;color:#2563eb;font-weight:500}@keyframes dropdownSlideIn{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.refresh-button{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#f3f4f6;border:1px solid #d1d5db;border-radius:8px;font-size:14px;font-weight:500;color:#374151;cursor:pointer;transition:all .2s ease}.refresh-button:hover:not(:disabled){background:#e5e7eb;border-color:#9ca3af}.refresh-button:disabled{opacity:.6;cursor:not-allowed}.refresh-button svg{width:16px;height:16px}.product-actions{display:flex;flex-direction:column;gap:8px;align-items:flex-end}.edit-button{padding:6px 12px;background:#0f172a;color:#fff;border:none;border-radius:6px;font-size:12px;font-weight:500;cursor:pointer;transition:all .15s ease}.edit-button:hover{background:#1e293b}.product-actions-cell{min-width:80px;text-align:center}.table-edit-button{padding:6px 12px;background:#0f172a;color:#fff;border:none;border-radius:6px;font-size:14px;cursor:pointer;transition:all .15s ease}.table-edit-button:hover{background:#1e293b}.artistic-loader{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;gap:24px}.artistic-loader .logo-container{position:relative;width:64px;height:64px;display:flex;align-items:center;justify-content:center}.artistic-loader .logo-svg{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;filter:brightness(0) invert(1);animation:logoPulse 2s ease-in-out infinite}.artistic-loader .logo-ring{position:absolute;inset:-8px;border:2px solid transparent;border-top:2px solid #0f172a;border-radius:50%;animation:logoSpin 1s cubic-bezier(.5,0,.5,1) infinite}.artistic-loader .logo-ring:nth-child(2){inset:-16px;border-top-color:#3b82f6;animation:logoSpin 1.2s cubic-bezier(.5,0,.5,1) infinite reverse;animation-delay:.2s}.artistic-loader .logo-ring:nth-child(3){inset:-24px;border-top-color:#0f172a;animation:logoSpin 1.4s cubic-bezier(.5,0,.5,1) infinite;animation-delay:.4s}.artistic-loader .loading-text{color:#64748b;font-size:15px;font-weight:500;text-align:center;animation:textFade 2s ease-in-out infinite;letter-spacing:.01em}.artistic-loader .loading-dots{display:flex;gap:6px;margin-top:8px}.artistic-loader .loading-dot{width:6px;height:6px;background:#0f172a;border-radius:50%;animation:dotBounce 1.2s ease-in-out infinite both}.artistic-loader .loading-dot:nth-child(1){animation-delay:-.24s}.artistic-loader .loading-dot:nth-child(2){animation-delay:-.12s}.artistic-loader .loading-dot:nth-child(3){animation-delay:0s}@keyframes logoPulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.8}}@keyframes logoSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes textFade{0%,to{opacity:.6}50%{opacity:1}}@keyframes dotBounce{0%,80%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1);opacity:1}}.loading-spinner{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;gap:16px}.loading-spinner .spinner{width:40px;height:40px;border:3px solid #f1f5f9;border-top:3px solid #0f172a;border-radius:50%;animation:spin .8s cubic-bezier(.5,0,.5,1) infinite;position:relative}.loading-spinner .spinner:before{content:"";position:absolute;inset:-6px;border:2px solid transparent;border-top:2px solid #3b82f6;border-radius:50%;animation:spin 1s cubic-bezier(.5,0,.5,1) infinite reverse}.loading-spinner p{color:#64748b;font-size:15px;font-weight:500;animation:textFade 2s ease-in-out infinite;letter-spacing:.01em}.nav-user{position:relative}.user-avatar{display:flex;align-items:center;gap:8px;padding:8px 16px;background:#667eea1a;border:none;border-radius:12px;color:#667eea;font-weight:500;cursor:pointer;transition:all .2s ease}.user-avatar:hover{background:#667eea26;transform:translateY(-1px)}.avatar-icon{font-size:16px}.user-name{font-size:14px;font-weight:500}.dropdown-arrow{transition:transform .2s ease}.dropdown-arrow.open{transform:rotate(180deg)}.user-dropdown{position:absolute;top:100%;right:0;margin-top:8px;background:#fff;border-radius:12px;box-shadow:0 10px 25px #00000026;border:1px solid #e5e7eb;min-width:200px;z-index:1000;animation:dropdownSlide .2s ease-out}.dropdown-header{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #f3f4f6}.dropdown-avatar{width:40px;height:40px;background:#0f172a;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;color:#fff}.dropdown-user-info{flex:1}.dropdown-name{font-weight:600;color:#111827;font-size:14px;margin-bottom:2px}.dropdown-role{color:#6b7280;font-size:12px}.dropdown-divider{height:1px;background:#f3f4f6;margin:8px 0}.dropdown-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 16px;background:none;border:none;color:#374151;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;text-align:left}.dropdown-item:hover{background:#f9fafb;color:#667eea}.dropdown-item svg{width:16px;height:16px;color:#6b7280}.dropdown-item:hover svg{color:#667eea}@keyframes dropdownSlide{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.mobile-menu-overlay{position:fixed;inset:0;background:#00000080;z-index:2000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:overlayFadeIn .3s ease}@keyframes overlayFadeIn{0%{opacity:0}to{opacity:1}}.mobile-menu-content{position:fixed;top:0;right:0;width:320px;height:100vh;background:#fff;box-shadow:-4px 0 25px #00000026;display:flex;flex-direction:column;animation:slideInRight .3s ease;overflow-y:auto}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}.mobile-menu-header{padding:1.5rem;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.mobile-user-info{display:flex;align-items:center;gap:.75rem;flex:1}.mobile-avatar{width:3rem;height:3rem;background:#fff3;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem;border:2px solid rgba(255,255,255,.3)}.mobile-user-details{flex:1}.mobile-user-name{font-weight:600;font-size:1.1rem;margin-bottom:.25rem}.mobile-user-role{font-size:.9rem;opacity:.9}.mobile-menu-close{background:none;border:none;color:#fff;cursor:pointer;padding:.5rem;border-radius:.5rem;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.mobile-menu-close:hover{background:#ffffff1a}.mobile-menu-items{flex:1;padding:1rem 0}.mobile-nav-link{display:flex;align-items:center;gap:1rem;padding:1rem 1.5rem;color:#374151;text-decoration:none;font-weight:500;font-size:1rem;transition:all .2s ease;border:none;background:none;width:100%;text-align:left;cursor:pointer;border-bottom:1px solid #f3f4f6}.mobile-nav-link:hover{background:#f9fafb;color:#1f2937}.mobile-nav-link.active{background:#eff6ff;color:#2563eb;border-left:4px solid #2563eb}.mobile-nav-link.disabled{color:#9ca3af;cursor:not-allowed;opacity:.6}.mobile-nav-link.disabled:hover{background:none;color:#9ca3af}.mobile-nav-link svg{width:20px;height:20px;flex-shrink:0}.mobile-menu-footer{padding:1.5rem;border-top:1px solid #e5e7eb;background:#f9fafb}.mobile-logout-button{width:100%;display:flex;align-items:center;justify-content:center;gap:.75rem;padding:.875rem 1.5rem;background:#ef4444;color:#fff;border:none;border-radius:.75rem;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease}.mobile-logout-button:hover{background:#dc2626;transform:translateY(-1px)}.mobile-logout-button svg{width:20px;height:20px}.nav-link.disabled{opacity:.5;cursor:not-allowed;pointer-events:none;position:relative}.nav-link.disabled:after{content:"Coming Soon";position:absolute;top:-30px;left:50%;transform:translate(-50%);background:#374151;color:#fff;padding:4px 8px;border-radius:6px;font-size:11px;white-space:nowrap;opacity:0;transition:opacity .2s ease;pointer-events:none}.nav-link.disabled:hover:after{opacity:1}@media (max-width: 1024px){.dashboard-container{padding:16px}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.products-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.orders-grid{grid-template-columns:1fr;gap:16px}}@media (max-width: 768px){.nav-container{padding:12px 16px}.nav-content{flex-direction:row;gap:16px;align-items:center;justify-content:space-between}.nav-logo{justify-content:flex-start;margin-bottom:0}.nav-logo-text,.nav-menu.desktop-menu{display:none}.mobile-menu-button{display:block}.nav-user{align-self:center}.user-avatar{padding:6px 12px}.user-name{display:none}.user-dropdown{right:-50%;min-width:180px}.mobile-menu-content{width:100%;max-width:320px}.mobile-menu-header{padding:1rem}.mobile-nav-link{padding:.875rem 1rem;font-size:.95rem}.mobile-menu-footer{padding:1rem}.mobile-logout-button{padding:.75rem 1rem;font-size:.95rem}.dashboard-container{padding:12px}.dashboard-header{margin-bottom:24px}.header-content{flex-direction:column;gap:16px;align-items:stretch}.dashboard-welcome{font-size:24px;text-align:center}.dashboard-subtitle{text-align:center}.view-toggle{justify-content:center}.header-actions{flex-direction:column;gap:12px}.limit-selector{align-self:stretch}.limit-button{width:100%;justify-content:center}.limit-dropdown{width:100%;left:0;right:0}.refresh-button{justify-content:center}.stats-grid{grid-template-columns:1fr;gap:12px}.stat-card{padding:20px}.stat-value{font-size:28px}.products-grid{grid-template-columns:1fr;gap:12px}.product-card{margin-bottom:0}.product-info{padding:16px}.product-stats{grid-template-columns:1fr 1fr;gap:8px}.product-footer{flex-direction:column;gap:12px;align-items:flex-start}.product-actions{align-items:flex-start}.products-table-container{overflow-x:auto;border-radius:12px}.products-table{min-width:800px;font-size:12px}.products-table th,.products-table td{padding:12px 8px}.product-info-cell{min-width:200px}.table-product-title{font-size:12px}.table-product-description{font-size:11px}.orders-filters,.products-filters{padding:16px}.products-filters .filters-header{flex-direction:column;align-items:stretch;gap:12px}.search-container{min-width:auto}.filters-grid{grid-template-columns:1fr;gap:16px}.orders-grid{grid-template-columns:1fr;gap:12px}.order-card{padding:16px}.order-header{flex-direction:column;gap:12px;align-items:flex-start}.order-actions{flex-direction:column;gap:12px}.action-button{width:100%;justify-content:center}.orders-table-container{overflow-x:auto;border-radius:12px}.orders-table{min-width:900px;font-size:12px}.orders-table th,.orders-table td{padding:12px 8px}.order-items-cell{min-width:200px}.table-item{padding:6px}.table-item-image{width:30px;height:30px}.table-item-title{font-size:11px}.modal-content{margin:20px;max-width:calc(100vw - 40px);max-height:calc(100vh - 40px)}.modal-header,.modal-body{padding:16px}.modal-footer{padding:16px;flex-direction:column;gap:12px}.action-button{width:100%}.login-container{padding:16px}.login-card{padding:32px 24px;border-radius:16px}.login-title{font-size:28px}.login-subtitle,.form-input,.filter-input,.filter-select{font-size:16px}.login-button,.action-button,.refresh-button{font-size:16px;padding:12px 16px}}@media (max-width: 480px){.nav-container{padding:8px 12px}.nav-logo-icon{width:32px;height:32px}.logo-svg{width:20px;height:20px}.mobile-menu-content{width:100%;max-width:280px}.mobile-menu-header{padding:.875rem}.mobile-avatar{width:2.5rem;height:2.5rem;font-size:1.25rem}.mobile-user-name{font-size:1rem}.mobile-user-role{font-size:.85rem}.mobile-nav-link{padding:.75rem .875rem;font-size:.9rem}.mobile-menu-footer{padding:.875rem}.mobile-logout-button{padding:.75rem .875rem;font-size:.9rem}.dashboard-container{padding:8px}.dashboard-welcome{font-size:20px}.dashboard-subtitle{font-size:14px}.stat-card{padding:16px}.stat-value{font-size:24px}.product-card{border-radius:12px}.product-info{padding:12px}.product-stats{grid-template-columns:1fr;gap:6px}.order-card{padding:12px}.order-items{gap:8px}.order-item{padding:8px}.item-image{width:40px;height:40px}.products-table th:nth-child(4),.products-table td:nth-child(4),.products-table th:nth-child(6),.products-table td:nth-child(6),.products-table th:nth-child(7),.products-table td:nth-child(7){display:none}.orders-table th:nth-child(3),.orders-table td:nth-child(3),.orders-table th:nth-child(6),.orders-table td:nth-child(6){display:none}}@media (hover: none) and (pointer: coarse){.nav-link,.action-button,.refresh-button,.edit-button,.table-edit-button,.user-avatar,.dropdown-item{min-height:44px}.toggle-button{min-height:40px}.form-input,.filter-input,.filter-select{min-height:44px}.product-card:hover,.order-card:hover,.stat-card:hover{transform:none}}@media (max-width: 768px) and (orientation: landscape){.nav-content{flex-direction:row;gap:12px}.nav-menu{flex:1;justify-content:center}.dashboard-container{padding:8px 16px}.header-content{flex-direction:row;align-items:center}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}}@media (max-width: 768px){body{overflow-x:hidden}.products-table-container,.orders-table-container{-webkit-overflow-scrolling:touch;scrollbar-width:thin}.dropdown-item{min-height:48px;padding:16px}.modal-content{overflow-y:auto;-webkit-overflow-scrolling:touch}.form-group{margin-bottom:20px}.filters-header{flex-direction:column;gap:12px;align-items:stretch}.clear-filters{align-self:center}.order-actions,.product-actions{gap:8px}.artistic-loader{padding:40px 20px}.artistic-loader .logo-container{width:60px;height:60px}.error-message{flex-direction:column;gap:8px;text-align:center}.sales-placeholder,.chart-placeholder{padding:32px 16px}.sales-placeholder-icon,.chart-placeholder-icon{font-size:36px}}@supports (-webkit-touch-callout: none){.nav-link,.action-button,.refresh-button,.edit-button,.table-edit-button,.user-avatar,.dropdown-item{-webkit-tap-highlight-color:transparent}.form-input,.filter-input,.filter-select{-webkit-appearance:none;border-radius:8px}.modal-overlay{-webkit-overflow-scrolling:touch}}@media screen and (-webkit-min-device-pixel-ratio: 0){.nav-link,.action-button,.refresh-button,.edit-button,.table-edit-button,.user-avatar,.dropdown-item{-webkit-tap-highlight-color:transparent}}@media (min-resolution: 192dpi){.logo-svg,.login-logo-svg{image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges}}@media print{.nav-container,.header-actions,.view-toggle,.order-actions,.product-actions,.modal-overlay{display:none!important}.dashboard-container{padding:0}.product-card,.order-card,.stat-card{-moz-column-break-inside:avoid;break-inside:avoid;box-shadow:none;border:1px solid #e5e7eb}}
