.page{min-height:100vh;background:var(--color-background);padding-top:70px}.sale-banner{margin-top:70px}#confetti-canvas{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:100}.page-header{text-align:center;margin-bottom:1rem}.page-header h1{font-size:1.875rem;font-weight:800;color:var(--color-text);margin-bottom:.5rem}.text-gradient{background:linear-gradient(90deg,#4338ca,#818cf8);-webkit-background-clip:text;background-clip:text;color:transparent}.subtitle{font-size:1rem;color:var(--color-text-light)}.add-order-section{margin-bottom:2rem}.add-order-card{background:#fff;border:2px solid var(--color-border);border-radius:1rem;padding:1.5rem}.add-order-header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.add-order-icon{font-size:1.5rem}.add-order-header h3{font-size:1rem;font-weight:700;color:var(--color-text);margin-bottom:2px}.add-order-header p{font-size:.875rem;color:var(--color-text-light)}.add-order-form{display:flex;gap:.75rem}.add-order-input-group{flex:1;display:flex;align-items:center;background:#fff;border:2px solid var(--color-border);border-radius:.75rem;padding:0 1rem;transition:border-color .2s ease}.add-order-input-group:focus-within{border-color:var(--color-primary)}.add-order-input-group .input-prefix{font-size:1rem;font-weight:600;color:var(--color-text-light);margin-right:.25rem}.add-order-input-group input{flex:1;border:none;background:transparent;font-size:1rem;font-weight:500;color:var(--color-text);padding:.75rem 0;outline:none}.add-order-input-group input::placeholder{color:var(--color-text-light);font-weight:400}.add-order-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:linear-gradient(90deg,#4338ca,#818cf8);border:none;border-radius:.75rem;font-size:.875rem;font-weight:700;color:#fff;cursor:pointer;transition:all .2s ease;white-space:nowrap}.add-order-btn:hover{transform:translateY(-2px);box-shadow:0 4px 16px #4338ca4d}.add-order-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.add-order-btn svg{width:18px;height:18px}.add-order-error{margin-top:.75rem;padding:.75rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:.5rem;font-size:.875rem;color:#dc2626}.add-order-success{margin-top:.75rem;padding:.75rem 1rem;background:#f0fdf4;border:1px solid #86efac;border-radius:.5rem;font-size:.875rem;color:#16a34a}.loading-spinner-small{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.invoice-section{margin-top:1rem;padding:1rem;background:linear-gradient(135deg,#fefce8,#fef9c3);border:1px solid #fde047;border-radius:.75rem}.invoice-section.invoice-sent{background:#f0fdf4;border-color:#86efac;padding:.75rem 1rem}.invoice-sent-message{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:600;color:#16a34a}.invoice-sent-message svg{width:18px;height:18px;color:#16a34a}.invoice-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.invoice-icon{font-size:1.25rem}.invoice-header h4{font-size:.875rem;font-weight:700;color:var(--color-text);margin-bottom:2px}.invoice-header p{font-size:12px;color:var(--color-text-light)}.invoice-form{display:flex;gap:.5rem}.invoice-input-group{flex:1;display:flex;align-items:center;background:#fff;border:2px solid var(--color-border);border-radius:.5rem;transition:border-color .2s ease}.invoice-input-group:focus-within{border-color:var(--color-primary)}.invoice-input-group input{flex:1;border:none;background:transparent;font-size:.875rem;color:var(--color-text);padding:.5rem .75rem;outline:none}.invoice-input-group input::placeholder{color:var(--color-text-light)}.invoice-btn{display:flex;align-items:center;gap:.25rem;padding:.5rem 1rem;background:linear-gradient(90deg,#4338ca,#818cf8);border:none;border-radius:.5rem;font-size:.875rem;font-weight:600;color:#fff;cursor:pointer;transition:all .2s ease;white-space:nowrap}.invoice-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #4338ca4d}.invoice-btn:disabled{opacity:.7;cursor:not-allowed;transform:none}.invoice-btn svg{width:16px;height:16px}.invoice-error{margin-top:.5rem;padding:.5rem .75rem;background:#fef2f2;border:1px solid #fecaca;border-radius:.5rem;font-size:12px;color:#dc2626}.invoice-success{margin-top:.5rem;display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#f0fdf4;border:1px solid #86efac;border-radius:.5rem;font-size:12px;font-weight:600;color:#16a34a}.invoice-success svg{width:16px;height:16px;flex-shrink:0}.loading-state{text-align:center;padding:3rem}.loading-spinner{width:48px;height:48px;border:4px solid var(--color-border);border-top-color:var(--color-primary);border-radius:50%;margin:0 auto 1rem;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-state p{color:var(--color-text-light);font-weight:500}.empty-state{text-align:center;padding:3rem;background:#fff;border:2px solid var(--color-border);border-radius:1rem;margin-bottom:2rem}.empty-icon{font-size:4rem;margin-bottom:1rem}.empty-state h2{font-size:1.25rem;font-weight:700;color:var(--color-text);margin-bottom:.5rem}.empty-state p{color:var(--color-text-light);margin-bottom:2rem}.orders-container{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.parent-order{background:#fff;border:2px solid var(--color-border);border-radius:1rem;overflow:hidden;transition:all .3s ease;position:relative}.parent-order.expanded{border-color:var(--color-primary-light);box-shadow:0 8px 32px #4338ca1f}.parent-order.is-new{border-color:#22c55e;animation:newOrderPulse 2s ease-out}@keyframes newOrderPulse{0%{box-shadow:0 0 #22c55e66}70%{box-shadow:0 0 0 15px #22c55e00}to{box-shadow:0 0 #22c55e00}}.parent-order-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;cursor:pointer;transition:background .2s ease}.parent-order-header:hover{background:#f9fafb}.parent-order-info{display:flex;align-items:center;gap:.75rem}.order-platform-badge{width:44px;height:44px;border-radius:.75rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.order-platform-badge svg{width:24px;height:24px;color:#fff}.order-meta{display:flex;flex-direction:column;gap:2px}.order-id{font-size:.875rem;font-weight:700;color:var(--color-text)}.order-date{font-size:12px;color:var(--color-text-light)}.parent-order-right{display:flex;align-items:center;gap:.75rem}.order-status-badge{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:6px 12px;border-radius:9999px}.order-status-badge.completed{background:#f0fdf4;color:#059669}.order-status-badge.in-progress{background:#fef3c7;color:#d97706}.order-status-badge .status-dot{width:8px;height:8px;border-radius:50%}.order-status-badge.completed .status-dot{background:#22c55e}.order-status-badge.in-progress .status-dot{background:#f59e0b;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.7}}.expand-icon{width:24px;height:24px;color:var(--color-text-light);transition:transform .3s ease}.parent-order.expanded .expand-icon{transform:rotate(180deg)}.child-orders{display:none;border-top:1px solid #f3f4f6;padding:1rem 1.5rem;background:#f9fafb}.parent-order.expanded .child-orders{display:block}.child-orders-title{font-size:.875rem;font-weight:600;color:var(--color-text-light);margin-bottom:.75rem;text-transform:uppercase;letter-spacing:.5px}.child-order{background:#fff;border:1px solid var(--color-border);border-radius:.75rem;padding:1rem;margin-bottom:.75rem}.child-order:last-child{margin-bottom:0}.child-order-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.child-order-service{display:flex;align-items:center;gap:.5rem}.service-icon{font-size:1.125rem}.service-name{font-size:.875rem;font-weight:700;color:var(--color-text)}.child-status{font-size:11px;font-weight:600;padding:4px 10px;border-radius:9999px}.child-status.completed{background:#dcfce7;color:#166534}.child-status.in-progress{background:#fef3c7;color:#92400e}.child-order-details{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-bottom:.75rem}.detail-item{text-align:center;padding:.5rem;background:#f9fafb;border-radius:.5rem}.detail-label{display:block;font-size:10px;color:var(--color-text-light);text-transform:uppercase;letter-spacing:.5px;margin-bottom:2px}.detail-value{font-size:.875rem;font-weight:700;color:var(--color-text)}.detail-value.success{color:#059669}.progress-container{margin-bottom:.5rem}.progress-bar{height:6px;background:#e5e7eb;border-radius:3px;overflow:hidden}.progress-fill{height:100%;border-radius:3px;transition:width .5s ease}.progress-fill.completed{background:linear-gradient(90deg,#22c55e,#16a34a)}.progress-fill.in-progress{background:linear-gradient(90deg,#f59e0b,#d97706);animation:progressPulse 2s ease-in-out infinite}@keyframes progressPulse{0%,to{opacity:1}50%{opacity:.7}}.progress-text{display:flex;justify-content:space-between;font-size:11px;color:var(--color-text-light);margin-top:4px}.child-order-link{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#f9fafb;border-radius:.5rem;font-size:12px;color:var(--color-text-light);overflow:hidden}.link-icon{flex-shrink:0}.link-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quick-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;margin-bottom:1rem}.action-card{display:flex;align-items:center;gap:.75rem;padding:1rem;background:#fff;border:2px solid var(--color-border);border-radius:.75rem;text-decoration:none;transition:all .2s ease}.action-card:hover{border-color:var(--color-primary-light);transform:translateY(-2px);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.action-card.new-order:hover{border-color:#22c55e}.action-card.faq:hover{border-color:#3b82f6}.action-icon{font-size:1.25rem}.action-content{flex:1}.action-content h3{font-size:.875rem;font-weight:700;color:var(--color-text);margin-bottom:2px}.action-content p{font-size:12px;color:var(--color-text-light)}.action-card svg{width:18px;height:18px;color:var(--color-text-light)}.chat-card{background:linear-gradient(90deg,#4338ca,#818cf8);border-radius:1rem;padding:1.5rem;margin-bottom:1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;box-shadow:0 4px 24px #4338ca4d}.chat-content h3{font-size:1rem;font-weight:700;color:#fff;margin-bottom:4px}.chat-content p{font-size:.875rem;color:#fffc}.chat-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:#fff;border:none;border-radius:9999px;font-size:.875rem;font-weight:700;color:var(--color-primary);cursor:pointer;transition:all .2s ease;white-space:nowrap;box-shadow:0 2px 8px #0000001a}.chat-btn:hover{transform:translateY(-2px);box-shadow:0 4px 16px #00000026}.chat-btn svg{width:18px;height:18px}.trust-badges{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}.trust-badge{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--color-text-light)}.trust-badge svg{width:16px;height:16px;color:var(--color-primary)}.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:1rem 1.5rem;background:linear-gradient(90deg,#4338ca,#818cf8);border:none;border-radius:9999px;font-size:.875rem;font-weight:700;color:#fff;cursor:pointer;transition:all .2s ease;text-decoration:none;box-shadow:0 4px 16px #4338ca4d}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 24px #4338ca66}.btn-primary svg{width:18px;height:18px}.new-order-badge{position:absolute;top:-8px;right:16px;background:#22c55e;color:#fff;font-size:10px;font-weight:700;padding:4px 10px;border-radius:9999px;text-transform:uppercase;letter-spacing:.5px;animation:badgePulse 2s ease-in-out infinite;z-index:10}@keyframes badgePulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}@media(max-width:640px){.page{padding:1rem;padding-top:calc(70px + 1rem)}.page-header h1{font-size:1.5rem}.add-order-form{flex-direction:column}.add-order-btn{width:100%;justify-content:center}.invoice-form{flex-direction:column}.invoice-btn{width:100%;justify-content:center}.parent-order-header,.child-orders{padding:.75rem 1rem}.child-order-details{grid-template-columns:repeat(2,1fr)}.quick-actions{grid-template-columns:1fr}.chat-card{flex-direction:column;text-align:center}.chat-content{text-align:center}.trust-badges{gap:.75rem}.order-status-badge{font-size:11px;padding:4px 8px}}
