:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#242424;font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}a{color:#646cff;-webkit-text-decoration:inherit;text-decoration:inherit;font-weight:500}a:hover{color:#535bf2}body{min-width:320px;min-height:100vh;margin:0}h1{font-size:3.2em;line-height:1.1}button{cursor:pointer;background-color:#1a1a1a;border:1px solid #0000;border-radius:8px;padding:.6em 1.2em;font-family:inherit;font-size:1em;font-weight:500;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.dialog-overlay{z-index:1000;background-color:#0009;justify-content:center;align-items:center;padding:1rem;animation:.2s ease-in-out fadeIn;display:flex;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.dialog-content{background:#fff;border-radius:12px;width:100%;max-width:500px;max-height:90vh;animation:.3s ease-out slideUp;overflow-y:auto;box-shadow:0 20px 60px #0000004d}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.dialog-header{border-bottom:1px solid #e0e0e0;justify-content:space-between;align-items:center;padding:1.5rem;display:flex}.dialog-header h2{color:#333;margin:0;font-size:1.5rem}.dialog-close{color:#666;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:32px;height:32px;font-size:2rem;transition:background-color .2s;display:flex}.dialog-close:hover{background-color:#f0f0f0}.dialog-body{padding:1.5rem}.order-product-info{background-color:#f8f9fa;border-radius:8px;margin-bottom:1.5rem;padding:1rem}.order-product-info h3{color:#333;margin:0 0 .5rem;font-size:1.125rem}.order-product-info .product-desc{color:#666;margin:0 0 .5rem;font-size:.9375rem}.order-product-info .product-price-label{color:#4a90e2;margin:0;font-size:1.125rem;font-weight:700}.form-group{margin-bottom:1.25rem}.form-group label{color:#333;margin-bottom:.5rem;font-size:.9375rem;font-weight:600;display:block}.form-group input,.form-group textarea{border:2px solid #e0e0e0;border-radius:6px;width:100%;padding:.75rem;font-family:inherit;font-size:1rem;transition:border-color .2s}.form-group input:focus,.form-group textarea:focus{border-color:#4a90e2;outline:none}.form-group input:disabled,.form-group textarea:disabled{cursor:not-allowed;background-color:#f5f5f5}.form-group textarea{resize:vertical;min-height:80px}.error-text{color:#dc2626;margin-top:.25rem;font-size:.875rem;display:block}.error-message{color:#dc2626;background-color:#fee;border-radius:6px;margin-bottom:1rem;padding:.75rem;font-size:.9375rem}.order-total{background-color:#f0f7ff;border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding:1rem;font-size:1.125rem;font-weight:600;display:flex}.total-amount{color:#4a90e2;font-size:1.5rem;font-weight:700}.dialog-actions{gap:1rem;margin-top:1.5rem;display:flex}.btn-cancel,.btn-submit{cursor:pointer;border:none;border-radius:8px;flex:1;padding:.875rem;font-size:1rem;font-weight:600;transition:all .2s}.btn-cancel{color:#666;background-color:#f5f5f5}.btn-cancel:hover:not(:disabled){background-color:#e0e0e0}.btn-submit{color:#fff;background-color:#4a90e2}.btn-submit:hover:not(:disabled){background-color:#357abd}.btn-cancel:disabled,.btn-submit:disabled{opacity:.6;cursor:not-allowed}@media (max-width:480px){.dialog-content{border-radius:12px 12px 0 0;max-width:100%;max-height:95vh}.dialog-header{padding:1rem}.dialog-header h2{font-size:1.25rem}.dialog-body{padding:1rem}.form-group{margin-bottom:1rem}.dialog-actions{flex-direction:column}.btn-cancel,.btn-submit{width:100%}}.snackbar{z-index:2000;border-radius:8px;justify-content:space-between;align-items:center;min-width:300px;max-width:500px;padding:1rem 1.5rem;animation:.3s ease-out slideInUp;display:flex;position:fixed;bottom:2rem;right:2rem;box-shadow:0 4px 12px #00000026,0 0 0 1px #0000000d}@keyframes slideInUp{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}.snackbar-success{color:#fff;background-color:#10b981}.snackbar-error{color:#fff;background-color:#ef4444}.snackbar-info{color:#fff;background-color:#3b82f6}.snackbar-content{flex:1;align-items:center;gap:.75rem;display:flex}.snackbar-icon{flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;font-size:1.5rem;font-weight:700;display:flex}.snackbar-message{font-size:.9375rem;font-weight:500;line-height:1.4}.snackbar-close{color:#fff;cursor:pointer;background:0 0;border:none;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;margin-left:1rem;padding:0;font-size:1.5rem;transition:background-color .2s;display:flex}.snackbar-close:hover{background-color:#fff3}@media (max-width:767px){.snackbar{min-width:auto;max-width:none;bottom:1rem;left:1rem;right:1rem}}@media (max-width:480px){.snackbar{padding:.875rem 1rem;bottom:.75rem;left:.75rem;right:.75rem}.snackbar-message{font-size:.875rem}.snackbar-icon{font-size:1.25rem}}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif}.app{background-color:#f5f5f5;width:100%;min-height:100vh}.header{text-align:center;background-color:#fff;width:100%;padding:3rem 2rem;box-shadow:0 2px 4px #0000001a}.header h1{color:#333;letter-spacing:-.5px;margin-bottom:.5rem;font-size:2.5rem;font-weight:600}.product-count{color:#666;margin-top:.5rem;font-size:1rem}.content-wrapper{gap:2rem;max-width:1800px;margin:0 auto;padding:3rem 2rem;display:flex}.main{flex:1;min-width:0}.product-grid{grid-template-columns:repeat(4,1fr);gap:2.5rem;display:grid}.product-card{cursor:pointer;background-color:#fff;border-radius:12px;transition:transform .3s,box-shadow .3s;overflow:hidden;box-shadow:0 2px 8px #00000014}.product-card:hover{transform:translateY(-6px);box-shadow:0 8px 24px #00000026}.product-image{justify-content:center;align-items:center;width:100%;height:320px;display:flex;position:relative}.product-image-text{color:#fff;text-shadow:0 2px 4px #0000004d;font-size:2rem;font-weight:700}.product-info{padding:2rem}.product-name{color:#333;margin-bottom:.75rem;font-size:1.375rem;font-weight:600;line-height:1.3}.product-description{color:#666;-webkit-line-clamp:2;text-overflow:ellipsis;-webkit-box-orient:vertical;margin-bottom:1rem;font-size:.9375rem;line-height:1.5;display:-webkit-box;overflow:hidden}.product-price{color:#4a90e2;margin-bottom:1.5rem;font-size:1.75rem;font-weight:700}.buy-btn{color:#fff;cursor:pointer;text-transform:uppercase;letter-spacing:.5px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border:none;border-radius:12px;width:100%;padding:1.125rem 1.5rem;font-size:1.125rem;font-weight:700;transition:all .3s;position:relative;overflow:hidden;box-shadow:0 4px 15px #667eea66}.buy-btn:before{content:"";background:linear-gradient(135deg,#764ba2 0%,#667eea 100%);width:100%;height:100%;transition:left .3s;position:absolute;top:0;left:-100%}.buy-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea99}.buy-btn:hover:before{left:0}.buy-btn span{z-index:1;position:relative}.buy-btn:active{transform:translateY(0);box-shadow:0 2px 10px #667eea66}.loading-state,.error-state,.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:4rem 2rem;display:flex}.loading-state p,.error-state p,.empty-state p{color:#666;margin-top:1rem;font-size:1.125rem}.error-state p{color:#dc2626}.empty-state p{color:#999}.spinner{border:4px solid #f3f3f3;border-top-color:#4a90e2;border-radius:50%;width:48px;height:48px;animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.sidebar{background-color:#fff;border-radius:12px;width:380px;height:fit-content;max-height:calc(100vh - 4rem);padding:2rem;position:sticky;top:2rem;overflow-y:auto;box-shadow:0 2px 8px #00000014}.sidebar-header{border-bottom:2px solid #f0f0f0;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;display:flex}.sidebar-header h2{color:#333;font-size:1.5rem;font-weight:600}.order-count{color:#fff;background-color:#4a90e2;border-radius:20px;padding:.25rem .75rem;font-size:.875rem;font-weight:600}.orders-loading,.orders-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:3rem 1rem;display:flex}.orders-loading p,.orders-empty p{color:#666;margin-top:1rem;font-size:.9375rem}.orders-empty p{color:#999}.small-spinner{border:3px solid #f3f3f3;border-top-color:#4a90e2;border-radius:50%;width:32px;height:32px;animation:1s linear infinite spin}.orders-list{flex-direction:column;gap:1rem;display:flex}.order-card{background-color:#f8f9fa;border-left:4px solid #4a90e2;border-radius:8px;padding:1.25rem;transition:transform .2s,box-shadow .2s}.order-card:hover{transform:translate(-4px);box-shadow:0 4px 12px #0000001a}.order-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.order-number{color:#333;font-size:1rem;font-weight:700}.order-status{text-transform:capitalize;border-radius:12px;padding:.25rem .75rem;font-size:.75rem;font-weight:600}.status-pending{color:#f59e0b;background-color:#fff4e6}.status-confirmed{color:#0284c7;background-color:#e0f2fe}.status-processing{color:#3b82f6;background-color:#eff6ff}.status-shipped{color:#9333ea;background-color:#f3e8ff}.status-delivered{color:#10b981;background-color:#ecfdf5}.status-cancelled{color:#dc2626;background-color:#fee2e2}.order-customer{color:#666;margin-bottom:.5rem;font-size:.9375rem}.order-details{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}.order-items{color:#666;font-size:.875rem}.order-total{color:#4a90e2;font-size:1.125rem;font-weight:700}.order-date{color:#999;font-size:.8125rem}@media (max-width:1280px){.product-grid{grid-template-columns:repeat(3,1fr);gap:2rem}.sidebar{width:320px;padding:1.5rem}}@media (max-width:1023px){.header{padding:2.5rem 1.5rem}.header h1{font-size:2rem}.content-wrapper{flex-direction:column;padding:2rem 1.5rem}.product-grid{grid-template-columns:repeat(2,1fr);gap:2rem}.product-image{height:280px}.product-info{padding:1.5rem}.sidebar{width:100%;max-height:none;position:static}}@media (max-width:767px){.header{padding:1.5rem 1rem}.header h1{font-size:1.5rem}.content-wrapper{padding:1.5rem 1rem}.product-grid{grid-template-columns:1fr;gap:1.5rem}.product-card{border-radius:8px}.product-image{height:240px}.product-info{padding:1.25rem}.product-name{font-size:1.125rem}.product-price{margin-bottom:.75rem;font-size:1.25rem}.buy-btn{border-radius:8px;padding:.875rem 1rem;font-size:.9375rem}.sidebar{padding:1rem}.sidebar-header h2{font-size:1.25rem}.order-card{padding:1rem}.pagination{flex-wrap:wrap;gap:.75rem;margin-top:2rem;padding:1.5rem 0}.pagination-btn{padding:.625rem 1.25rem;font-size:.9375rem}.pagination-numbers{order:3;justify-content:center;gap:.375rem;width:100%}.pagination-number{min-width:36px;height:36px;font-size:.875rem}}@media (max-width:480px){.header{padding:1.25rem .75rem}.header h1{font-size:1.25rem}.content-wrapper{padding:1rem .75rem}.product-grid{gap:1rem}.product-image{height:200px}.product-info{padding:1rem}.product-name{margin-bottom:.5rem;font-size:1rem}.product-price{margin-bottom:.75rem;font-size:1.25rem}.buy-btn{border-radius:8px;padding:.875rem 1rem;font-size:.9375rem}.sidebar{padding:1rem}.sidebar-header{margin-bottom:1.5rem}.sidebar-header h2{font-size:1.125rem}.order-card{padding:.875rem}.order-number{font-size:.9375rem}.order-total{font-size:1rem}.pagination{gap:.5rem;margin-top:1.5rem;padding:1rem 0}.pagination-btn{flex:1;padding:.5rem 1rem;font-size:.875rem}.pagination-number{min-width:32px;height:32px;padding:.375rem;font-size:.8125rem}}
