.ai-generating-loader{position:relative}.ai-generating-loader:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:9999px;background:conic-gradient(from 0deg,transparent 0deg,rgba(71,85,105,.3) 90deg,rgba(51,65,85,.5) 180deg,rgba(71,85,105,.3) 270deg,transparent 360deg);animation:techRotate 2s linear infinite;filter:blur(2px)}.ai-generating-loader:after{content:"";position:absolute;top:.5rem;right:.5rem;bottom:.5rem;left:.5rem;border-radius:9999px;background:conic-gradient(from 180deg,transparent 0deg,rgba(51,65,85,.3) 90deg,rgba(71,85,105,.5) 180deg,rgba(51,65,85,.3) 270deg,transparent 360deg);animation:techRotate 2s linear infinite reverse;filter:blur(1px)}.ai-generating-core{position:absolute;top:1rem;right:1rem;bottom:1rem;left:1rem;border-radius:9999px;background:radial-gradient(circle,#475569e6,#334155cc,#1e293b99);box-shadow:0 0 20px #47556999,0 0 40px #33415566,inset 0 0 20px #ffffff4d;animation:techCorePulse 2s ease-in-out infinite}.ai-generating-core:before{content:"";position:absolute;top:.5rem;right:.5rem;bottom:.5rem;left:.5rem;border-radius:9999px;background:radial-gradient(circle,rgba(255,255,255,.9) 0%,rgba(71,85,105,.3) 50%,transparent 100%);animation:techInnerPulse 1.5s ease-in-out infinite}.ai-generating-particles{position:absolute;top:0;right:0;bottom:0;left:0}.ai-generating-particle{position:absolute;height:.75rem;width:.75rem;border-radius:9999px;background:radial-gradient(circle,rgba(71,85,105,1) 0%,rgba(51,65,85,.8) 50%,transparent 100%);box-shadow:0 0 8px #475569cc,0 0 4px #33415599;animation:techParticleFloat 3s ease-in-out infinite}.ai-generating-particle:nth-child(1){top:0;left:50%;transform:translate(-50%);animation-delay:0s}.ai-generating-particle:nth-child(2){top:25%;right:0;animation-delay:.5s}.ai-generating-particle:nth-child(3){bottom:25%;right:0;animation-delay:1s}.ai-generating-particle:nth-child(4){bottom:0;left:50%;transform:translate(-50%);animation-delay:1.5s}.ai-generating-particle:nth-child(5){bottom:25%;left:0;animation-delay:2s}.ai-generating-particle:nth-child(6){top:25%;left:0;animation-delay:2.5s}@keyframes techRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes techCorePulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.9}}@keyframes techInnerPulse{0%,to{transform:scale(1);opacity:.8}50%{transform:scale(1.2);opacity:1}}@keyframes techParticleFloat{0%,to{transform:translateY(0) scale(1);opacity:.8}50%{transform:translateY(-10px) scale(1.2);opacity:1}}.rotating-border{position:relative;border-radius:.5rem;background:#fff}.rotating-border:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:.5rem;padding:2px;background:conic-gradient(from 0deg,#000 0deg,#000 90deg,transparent 90deg,transparent 360deg);animation:borderRotate 2s linear infinite}.rotating-border:after{content:"";position:absolute;top:2px;right:2px;bottom:2px;left:2px;background:#fff;border-radius:.375rem;z-index:1}.rotating-border-content{position:relative;z-index:2;height:100%;width:100%}.gradient-rotating-border{position:relative;border-radius:.5rem;background:#fff}.gradient-rotating-border:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:.5rem;padding:2px;background:conic-gradient(from 0deg,#000 0deg,#000 90deg,transparent 90deg,transparent 360deg);animation:borderRotate 2s linear infinite}.gradient-rotating-border:after{content:"";position:absolute;top:2px;right:2px;bottom:2px;left:2px;background:#fff;border-radius:.375rem;z-index:1}.gradient-rotating-border-content{position:relative;z-index:2;height:100%;width:100%}.simple-rotating-border{position:relative;border-radius:.5rem;background:#fff}.simple-rotating-border:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:.5rem;padding:2px;background:conic-gradient(from 0deg,#000 0deg,#000 90deg,transparent 90deg,transparent 360deg);animation:borderRotate 2s linear infinite}.simple-rotating-border:after{content:"";position:absolute;top:2px;right:2px;bottom:2px;left:2px;background:#fff;border-radius:.375rem;z-index:1}.simple-rotating-border>*{position:relative;z-index:2}.rotating-border-fallback{position:relative;border-radius:.5rem;background:#fff;border:2px solid transparent;background-image:conic-gradient(from 0deg,#000 0deg,#000 90deg,transparent 90deg,transparent 360deg);background-origin:border-box;background-clip:border-box;animation:borderRotate 2s linear infinite}.rotating-border-fallback>*{position:relative;z-index:2}.rotating-border-direct{position:relative;border-radius:.5rem;background:#fff}.rotating-border-direct:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:.5rem;padding:3px;background:linear-gradient(90deg,#3b82f6 0%,#3b82f6 80%,transparent 80%,transparent 100%);background-size:400% 100%;animation:borderProgress 3s linear infinite}.rotating-border-direct:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:.5rem;padding:3px;background:linear-gradient(90deg,#60a5fa 0%,#60a5fa 20%,transparent 20%,transparent 100%);background-size:400% 100%;animation:borderProgress 3s linear infinite;filter:blur(1px);opacity:.8}.rotating-border-direct .content-mask{position:absolute;top:3px;right:3px;bottom:3px;left:3px;background:#fff;border-radius:.375rem;z-index:1}.rotating-border-direct>*{position:relative;z-index:2}@keyframes borderProgress{0%{background-position:0% 0%}25%{background-position:100% 0%}50%{background-position:100% 100%}75%{background-position:0% 100%}to{background-position:0% 0%}}@keyframes borderTraverse{0%{top:-6px;left:-6px}24.9%{top:-6px;left:calc(100% - 6px)}25%{top:-6px;left:calc(100% - 6px)}49.9%{top:calc(100% - 6px);left:calc(100% - 6px)}50%{top:calc(100% - 6px);left:calc(100% - 6px)}74.9%{top:calc(100% - 6px);left:-6px}75%{top:calc(100% - 6px);left:-6px}99.9%{top:-6px;left:-6px}to{top:-6px;left:-6px}}.border-progress-container{position:relative;overflow:visible}.border-track-line{position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;border:2px solid #000000;border-radius:inherit;opacity:.3;z-index:10}.border-track-line:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border:2px dashed #666666;border-radius:inherit;opacity:.5}.border-bullet-simple{position:absolute;width:6px;height:16px;background:#000;border:1px solid #333333;border-radius:3px 3px 50% 50%;box-shadow:0 0 8px #0009,0 2px 4px #0000004d;animation:simpleBorderMove 4s linear infinite;z-index:100;pointer-events:none}.border-bullet-simple:before{content:"";position:absolute;top:-2px;left:1px;width:4px;height:4px;background:#333;border-radius:50%}@keyframes simpleBorderMove{0%{top:-6px;left:0;transform:rotate(90deg)}24.9%{top:-6px;left:calc(100% - 6px);transform:rotate(90deg)}25%{top:0;left:calc(100% + -0px);transform:rotate(180deg)}49.9%{top:calc(100% - 16px);left:calc(100% + -0px);transform:rotate(180deg)}50%{top:calc(100% - 6px);left:calc(100% - 6px);transform:rotate(270deg)}74.9%{top:calc(100% - 6px);left:0;transform:rotate(270deg)}75%{top:calc(100% - 16px);left:-6px;transform:rotate(0)}99.9%{top:0;left:-6px;transform:rotate(0)}to{top:-6px;left:0;transform:rotate(90deg)}}.border-bullet-animation{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;background:transparent;overflow:visible}.border-bullet-animation:before{content:"";position:absolute;top:-6px;left:-6px;width:16px;height:16px;background:radial-gradient(circle,#ffffff 0%,#ff6b6b 20%,#e74c3c 40%,#c0392b 70%,transparent 100%);border:2px solid #ffffff;border-radius:50%;box-shadow:0 0 25px #e74c3c,0 0 15px #ff6b6bcc,0 0 8px #fff,inset 0 0 4px #ffffffe6;animation:borderTraverse 3s linear infinite,bulletPulse 1.2s ease-in-out infinite;z-index:4}.border-bullet-animation:after{content:"";position:absolute;top:-4px;left:-4px;width:12px;height:12px;background:radial-gradient(ellipse 150% 50%,rgba(255,107,107,.7) 0%,rgba(231,76,60,.5) 30%,rgba(192,57,43,.3) 60%,transparent 100%);border-radius:50%;filter:blur(2px);animation:borderTraverse 4s linear infinite;animation-delay:-.2s;z-index:3;opacity:.9}@keyframes bulletPulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.9}}.border-trail-animation{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;background:transparent;overflow:visible}.border-trail-animation:before{content:"";position:absolute;top:-2px;left:-2px;width:8px;height:8px;background:radial-gradient(circle,rgba(255,107,107,.6) 0%,rgba(231,76,60,.4) 50%,rgba(192,57,43,.2) 70%,transparent 100%);border-radius:50%;filter:blur(1px);animation:borderTraverse 4s linear infinite;animation-delay:-.4s;z-index:2;opacity:.8}.border-trail-animation:after{content:"";position:absolute;top:-1px;left:-1px;width:6px;height:6px;background:radial-gradient(circle,rgba(255,107,107,.4) 0%,rgba(231,76,60,.2) 50%,transparent 100%);border-radius:50%;filter:blur(1.5px);animation:borderTraverse 4s linear infinite;animation-delay:-.6s;z-index:1;opacity:.6}.border-scan-top{position:absolute;top:0;left:0;width:100%;height:3px;overflow:hidden;border-radius:12px 12px 0 0}.border-scan-top:before{content:"";position:absolute;top:0;left:-200px;width:200px;height:100%;background:linear-gradient(to right,transparent,rgba(51,65,85,.2),rgba(51,65,85,.6),rgba(30,41,59,.9),rgba(51,65,85,.6),rgba(51,65,85,.2),transparent);box-shadow:0 0 20px #33415599,0 0 40px #3341554d;animation:scanTop 3s linear infinite}@keyframes scanTop{0%{left:-200px}to{left:100%}}.border-scan-right{position:absolute;top:0;right:0;width:3px;height:100%;overflow:hidden;border-radius:0 12px 12px 0}.border-scan-right:before{content:"";position:absolute;top:-200px;left:0;width:100%;height:200px;background:linear-gradient(to bottom,transparent,rgba(51,65,85,.2),rgba(51,65,85,.6),rgba(30,41,59,.9),rgba(51,65,85,.6),rgba(51,65,85,.2),transparent);box-shadow:0 0 20px #33415599,0 0 40px #3341554d;animation:scanRight 3s linear infinite;animation-delay:.75s}@keyframes scanRight{0%{top:-200px}to{top:100%}}.border-scan-bottom{position:absolute;bottom:0;left:0;width:100%;height:3px;overflow:hidden;border-radius:0 0 12px 12px}.border-scan-bottom:before{content:"";position:absolute;top:0;right:-200px;width:200px;height:100%;background:linear-gradient(to left,transparent,rgba(51,65,85,.2),rgba(51,65,85,.6),rgba(30,41,59,.9),rgba(51,65,85,.6),rgba(51,65,85,.2),transparent);box-shadow:0 0 20px #33415599,0 0 40px #3341554d;animation:scanBottom 3s linear infinite;animation-delay:1.5s}@keyframes scanBottom{0%{right:-200px}to{right:100%}}.border-scan-left{position:absolute;top:0;left:0;width:3px;height:100%;overflow:hidden;border-radius:12px 0 0 12px}.border-scan-left:before{content:"";position:absolute;bottom:-200px;left:0;width:100%;height:200px;background:linear-gradient(to top,transparent,rgba(51,65,85,.2),rgba(51,65,85,.6),rgba(30,41,59,.9),rgba(51,65,85,.6),rgba(51,65,85,.2),transparent);box-shadow:0 0 20px #33415599,0 0 40px #3341554d;animation:scanLeft 3s linear infinite;animation-delay:2.25s}@keyframes scanLeft{0%{bottom:-200px}to{bottom:100%}}.ripple{position:relative;overflow:hidden}.ripple:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:#fff;opacity:0;transition:opacity .3s}.ripple:active:after{opacity:.2}.history-pending-card{border:1.5px solid rgba(223,190,130,.85);background:linear-gradient(180deg,#dfbe8226,#18181cfa);box-shadow:0 0 0 1px #dfbe8247,0 0 22px #dfbe8247;animation:history-pending-pulse 1.8s ease-in-out infinite}.history-pending-frame{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:.75rem;border-radius:.75rem;border:1px solid rgba(242,220,175,.34);background:radial-gradient(circle at 50% 42%,#dfbe8242,#0c0c0ff5 78%);overflow:hidden}.history-pending-glow{position:absolute;top:-20%;right:-20%;bottom:-20%;left:-20%;background:linear-gradient(115deg,transparent 24%,rgba(247,230,195,.16) 44%,rgba(223,190,130,.36) 50%,rgba(247,230,195,.16) 56%,transparent 76%);transform:translate(-100%);animation:history-shimmer-sweep 1.65s linear infinite;pointer-events:none}.history-pending-spinner{color:#f2dcaf;filter:drop-shadow(0 0 8px rgba(223,190,130,.85))}.history-pending-percent{font-variant-numeric:tabular-nums;color:#f7e6c3;text-shadow:0 0 12px rgba(223,190,130,.65);letter-spacing:.02em}.history-pending-progress-fill{position:relative;height:100%;border-radius:9999px;background:linear-gradient(90deg,#d3ab6b,#f2dcaf 55%,#fff3d6);box-shadow:0 0 12px #f2dcafd9;transition:width .25s cubic-bezier(.22,1,.36,1)}.history-pending-progress-fill:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.55) 50%,transparent 100%);animation:history-shimmer-sweep 1.2s linear infinite}@keyframes history-pending-pulse{0%,to{border-color:#dfbe82d9;box-shadow:0 0 0 1px #dfbe8240,0 0 16px #dfbe823d}50%{border-color:#f7e6c3;box-shadow:0 0 0 1px #f7e6c3b8,0 0 28px #dfbe828f}}@keyframes history-shimmer-sweep{to{transform:translate(100%)}}@media (prefers-reduced-motion: reduce){.history-pending-card,.history-pending-glow,.history-pending-progress-fill:after{animation:none}}
