@@ -246,7 +246,7 @@ body .p-highlight {
246246.search-input-group {
247247 width : min (1320px , 96vw );
248248 margin : 2rem auto 0 ;
249- padding : 0.25 rem 0.4rem ;
249+ padding : 0.35 rem 0.4rem ;
250250 border-radius : 16px ;
251251 border : 1px solid rgba (255 , 255 , 255 , 0.22 );
252252 background : rgba (0 , 0 , 0 , 0.25 );
@@ -257,6 +257,11 @@ body .p-highlight {
257257 z-index : 2 ;
258258}
259259
260+ .search-input-group > :not (.search-progress ) {
261+ position : relative ;
262+ z-index : 1 ;
263+ }
264+
260265.search-input-group--external-on {
261266 border-color : rgba (74 , 163 , 255 , 0.85 );
262267 box-shadow : 0 18px 36px rgba (0 , 0 , 0 , 0.28 ),
@@ -295,12 +300,23 @@ body .p-highlight {
295300 background : rgba (255 , 255 , 255 , 0.06 );
296301 color : #ffffff ;
297302 border-radius : 999px ;
298- padding : 0.35 rem 0.9 rem ;
303+ padding : 0.4 rem 0.95 rem ;
299304 font-weight : 700 ;
300305 font-size : 0.9rem ;
301306 letter-spacing : 0.01em ;
302307 backdrop-filter : blur (4px );
303308 transition : all 0.18s ease ;
309+ position : relative ;
310+ overflow : hidden ;
311+ }
312+
313+ .product-type-chip__main {
314+ display : inline-flex ;
315+ align-items : center ;
316+ justify-content : center ;
317+ gap : 0.45rem ;
318+ position : relative ;
319+ z-index : 1 ;
304320}
305321
306322.product-type-chip i {
@@ -335,10 +351,88 @@ body .p-highlight {
335351 opacity : 1 ;
336352}
337353
354+ .product-type-chip--error {
355+ border-color : rgba (248 , 113 , 113 , 0.95 );
356+ box-shadow : 0 12px 28px rgba (248 , 113 , 113 , 0.28 );
357+ }
358+
338359.product-type-chip__label {
339360 white-space : nowrap ;
340361}
341362
363+ .product-type-chip__progress {
364+ position : absolute ;
365+ inset : 2px ;
366+ border-radius : 999px ;
367+ overflow : hidden ;
368+ opacity : 0 ;
369+ transition : opacity 420ms ease ;
370+ pointer-events : none ;
371+ z-index : 0 ;
372+ }
373+
374+ .product-type-chip__progress--visible {
375+ opacity : 0.22 ;
376+ }
377+
378+ .product-type-chip__progress-track {
379+ width : 100% ;
380+ height : 100% ;
381+ border-radius : 999px ;
382+ background : rgba (255 , 255 , 255 , 0.08 );
383+ overflow : hidden ;
384+ display : block ;
385+ }
386+
387+ .product-type-chip--active .product-type-chip__progress-track {
388+ background : rgba (15 , 23 , 42 , 0.08 );
389+ }
390+
391+ .product-type-chip__progress-fill {
392+ display : block ;
393+ height : 100% ;
394+ width : 0 ;
395+ border-radius : 999px ;
396+ background : linear-gradient (90deg , #38bdf8 , #60a5fa );
397+ box-shadow : 0 0 12px rgba (96 , 165 , 250 , 0.45 );
398+ transition : width 320ms ease ;
399+ }
400+
401+ .product-type-chip__progress-fill--error {
402+ background : linear-gradient (90deg , #f97316 , #ef4444 );
403+ box-shadow : 0 0 10px rgba (239 , 68 , 68 , 0.55 );
404+ }
405+
406+ .search-progress {
407+ position : absolute ;
408+ inset : 4px ;
409+ border-radius : 14px ;
410+ background : rgba (255 , 255 , 255 , 0.06 );
411+ overflow : hidden ;
412+ pointer-events : none ;
413+ opacity : 0 ;
414+ transition : opacity 480ms ease ;
415+ z-index : 0 ;
416+ }
417+
418+ .search-progress--visible {
419+ opacity : 0.22 ;
420+ }
421+
422+ .search-progress__fill {
423+ height : 100% ;
424+ width : 0 ;
425+ border-radius : 999px ;
426+ background : linear-gradient (90deg , #22d3ee , #3b82f6 );
427+ box-shadow : 0 0 18px rgba (59 , 130 , 246 , 0.4 );
428+ transition : width 360ms ease ;
429+ }
430+
431+ .search-progress--error .search-progress__fill {
432+ background : linear-gradient (90deg , #fb7185 , #ef4444 );
433+ box-shadow : 0 0 16px rgba (239 , 68 , 68 , 0.45 );
434+ }
435+
342436/* Toast styling */
343437:host ::ng-deep .product-toast.p-toast {
344438 width : auto ;
0 commit comments