*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh}.app{min-height:100vh;padding-bottom:2rem}.dashboard{background:#f7fafc}.header{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 4px 6px #0000001a;position:sticky;top:0;z-index:100}.header-content{max-width:1400px;margin:0 auto;padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center}.logo{font-size:2rem;font-weight:800;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.period-selector{display:flex;gap:.5rem;background:#f7fafc;padding:.25rem;border-radius:12px}.period-selector button{background:transparent;color:#4a5568;border:none;padding:.6rem 1.2rem;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s}.period-selector button:hover{background:#667eea1a;color:#667eea}.period-selector button.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.metrics-container{max-width:1400px;margin:2rem auto;padding:0 2rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.metric-card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 6px #0000000d;display:flex;gap:1rem;align-items:flex-start;cursor:pointer;transition:all .3s;border:2px solid transparent}.metric-card:hover{box-shadow:0 12px 24px #00000026}.metric-card.highlighted{border-color:#667eea;box-shadow:0 8px 32px #667eea66}.metric-icon{font-size:2.5rem;line-height:1}.metric-content{flex:1}.metric-label{color:#718096;font-size:.9rem;font-weight:600;margin-bottom:.5rem}.metric-value{font-size:1.8rem;font-weight:800;color:#2d3748;margin-bottom:.5rem}.metric-trend{font-size:.85rem;font-weight:600}.metric-trend.positive{color:#48bb78}.metric-trend.negative{color:#e53e3e}.charts-container{max-width:1400px;margin:0 auto;padding:0 2rem 2rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(500px,1fr));gap:2rem}.chart-card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 6px #0000000d;cursor:pointer;transition:all .3s;border:2px solid transparent}.chart-card:hover{box-shadow:0 12px 24px #00000026}.chart-card.highlighted{border-color:#667eea;box-shadow:0 8px 32px #667eea66}.chart-card.large{grid-column:span 2}.chart-card h3{font-size:1.1rem;font-weight:700;color:#2d3748;margin-bottom:1rem}@media(max-width:1200px){.charts-container{grid-template-columns:1fr}.chart-card.large{grid-column:span 1}}@media(max-width:768px){.header-content{flex-direction:column;gap:1rem}.metrics-container{grid-template-columns:1fr}.charts-container{padding:0 1rem 1rem}}.cart-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 12px #667eea4d}.cart-button:hover{box-shadow:0 6px 16px #667eea66}.filters{max-width:1400px;margin:2rem auto;padding:0 2rem;display:flex;gap:1rem;flex-wrap:wrap;background:#fff;padding:1.5rem 2rem;border-radius:16px;box-shadow:0 4px 6px #0000000d}.filter-group{display:flex;flex-direction:column;gap:.5rem}.filter-group label{font-size:.85rem;font-weight:600;color:#4a5568}.filter-group select{padding:.6rem 1rem;border:2px solid #e2e8f0;border-radius:8px;font-size:.95rem;background:#fff;cursor:pointer;transition:all .2s}.filter-group select:hover{border-color:#667eea}.filter-group select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.reset-button{background:#f7fafc;color:#4a5568;border:2px solid #e2e8f0;padding:.6rem 1.2rem;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s;align-self:flex-end}.reset-button:hover{background:#667eea;color:#fff;border-color:#667eea}.products{max-width:1400px;margin:0 auto;padding:0 2rem 2rem}.products-header{margin-bottom:1.5rem}.products-header h2{font-size:1.5rem;font-weight:700;color:#fff}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:2rem}.product-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 6px #0000001a;transition:all .3s;cursor:pointer}.product-image{position:relative;width:100%;height:250px;overflow:hidden;background:linear-gradient(135deg,#f5f7fa,#c3cfe2)}.product-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.product-card:hover .product-image img{transform:scale(1.05)}.badge{position:absolute;top:12px;right:12px;background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff;padding:.4rem .8rem;border-radius:20px;font-size:.75rem;font-weight:700;box-shadow:0 2px 8px #f5576c66}.product-info{padding:1.5rem}.product-info h3{font-size:1.1rem;font-weight:700;color:#2d3748;margin-bottom:.5rem}.product-meta{font-size:.85rem;color:#718096;margin-bottom:1rem}.product-footer{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.price{font-size:1.5rem;font-weight:800;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.add-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.6rem 1rem;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s}.add-button:hover{box-shadow:0 4px 12px #667eea66}.stock{font-size:.8rem;color:#e53e3e;font-weight:600}.cart-overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000}.cart-sidebar{position:fixed;top:0;right:0;width:450px;max-width:90vw;height:100vh;background:#fff;box-shadow:-4px 0 12px #0000001a;display:flex;flex-direction:column;z-index:1001}.cart-header{padding:2rem;border-bottom:2px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.cart-header h2{font-size:1.5rem;font-weight:700;color:#2d3748}.close-button{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#718096;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s}.close-button:hover{background:#f7fafc;color:#2d3748}.empty-cart{flex:1;display:flex;align-items:center;justify-content:center;color:#718096;font-size:1.1rem}.cart-items{flex:1;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.cart-item{display:flex;gap:1rem;padding:1rem;background:#f7fafc;border-radius:12px;transition:all .2s}.cart-item img{width:80px;height:80px;object-fit:cover;border-radius:8px}.cart-item-info{flex:1}.cart-item-info h4{font-size:1rem;font-weight:600;color:#2d3748;margin-bottom:.5rem}.cart-item-price{font-size:1.1rem;font-weight:700;color:#667eea;margin-bottom:.5rem}.quantity-controls{display:flex;gap:.5rem;align-items:center}.quantity-controls button{background:#fff;border:2px solid #e2e8f0;width:28px;height:28px;border-radius:6px;font-size:1rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.quantity-controls button:hover{border-color:#667eea;color:#667eea}.quantity-controls span{font-weight:600;min-width:24px;text-align:center}.remove-button{background:none;border:none;font-size:1.2rem;cursor:pointer;padding:.5rem;transition:all .2s}.remove-button:hover{transform:scale(1.1)}.cart-footer{padding:1.5rem 2rem;border-top:2px solid #e2e8f0;background:#f7fafc}.cart-total{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;font-size:1.2rem;font-weight:700;color:#2d3748}.total-price{font-size:1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.buy-button{width:100%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:1rem;border-radius:12px;font-size:1.1rem;font-weight:700;cursor:pointer;transition:all .2s}.buy-button:hover{box-shadow:0 6px 20px #667eea66}.modal-overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:2000}.modal{background:#fff;border-radius:24px;padding:3rem;text-align:center;box-shadow:0 20px 60px #0000004d;max-width:400px}.success-icon{width:80px;height:80px;background:linear-gradient(135deg,#48bb78,#38a169);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:3rem;color:#fff;margin:0 auto 1.5rem;box-shadow:0 8px 24px #48bb7866}.modal h2{font-size:1.8rem;font-weight:700;color:#2d3748;margin-bottom:.5rem}.modal p{font-size:1.1rem;color:#718096}@media(max-width:768px){.filters{flex-direction:column;gap:1rem}.filter-group{width:100%}.reset-button{align-self:stretch}.products-grid{grid-template-columns:1fr}.cart-sidebar{width:100vw}}.chart-modal-overlay{position:fixed;inset:0;background:#000000b3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:3000;padding:2rem}.chart-modal-container{background:#fff;border-radius:24px;padding:2.5rem;max-width:1200px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0006;position:relative}.modal-close-button{position:absolute;top:1.5rem;right:1.5rem;background:#f7fafc;border:none;width:40px;height:40px;border-radius:50%;font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#718096;transition:all .2s;z-index:10}.modal-close-button:hover{background:#e2e8f0;color:#2d3748}.modal-chart-content{margin-top:1rem}.modal-chart-content h3{font-size:1.8rem;font-weight:700;color:#2d3748;margin-bottom:1.5rem;text-align:center}.modal-metric-content{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;min-height:300px}.modal-metric-icon{font-size:6rem;margin-bottom:1.5rem;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.modal-metric-label{font-size:1.5rem;font-weight:600;color:#718096;margin-bottom:1rem}.modal-metric-value{font-size:4rem;font-weight:800;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:1rem}.modal-metric-trend{font-size:1.5rem;font-weight:700;color:#48bb78}@media(max-width:768px){.chart-modal-overlay{padding:1rem}.chart-modal-container{padding:1.5rem;max-height:85vh}.modal-metric-icon{font-size:4rem}.modal-metric-value{font-size:2.5rem}.modal-chart-content h3{font-size:1.3rem}}.notification-container{position:fixed;bottom:24px;right:24px;z-index:10000;display:flex;flex-direction:column;gap:12px;pointer-events:none;max-width:350px}.notification{pointer-events:auto;background:#ffffffd9;backdrop-filter:blur(12px) saturate(180%);-webkit-backdrop-filter:blur(12px) saturate(180%);border:1px solid rgba(255,255,255,.3);border-radius:16px;padding:16px 20px;box-shadow:0 8px 32px #0000001f;display:flex;align-items:center;gap:12px;animation:notification-slide-in .4s cubic-bezier(.175,.885,.32,1.275) forwards;transition:all .3s ease;position:relative;overflow:hidden}.notification:before{content:"";position:absolute;left:0;top:0;height:100%;width:4px;background:linear-gradient(180deg,#6366f1,#a855f7)}.notification-content{color:#1f2937;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:500;line-height:1.5}.notification-icon{font-size:18px;display:flex;align-items:center;justify-content:center;min-width:24px}.notification.fade-out{animation:notification-fade-out .5s cubic-bezier(.4,0,.2,1) forwards}@keyframes notification-slide-in{0%{opacity:0;transform:translate(40px) scale(.95)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes notification-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.9)}}
