/* Conforti Werner - YNS | 2026-11-11T03:18:28+01:00 | Reason: Cover both historical spinner assets. Scope: Legacy application overlays using the existing loading-image element. Rollback: Restore the previous stylesheet from the refinement backup. */
/* Conforti Werner - YNS | 2026-11-11T03:12:58+01:00 | Reason: Use a compact loading indicator throughout the 102 application. Scope: Legacy #loading GIF overlays and the public search status; preserve show/hide and interaction blocking. Rollback: Remove the two theme references and this asset; legacy markup is retained elsewhere. */
#loading:has(img#loading-image:is([src*="giphy.gif"],[src*="spinner.gif"])){
  position:fixed!important;inset:0!important;width:100%!important;height:100%!important;
  opacity:1!important;background:rgb(245 247 251 / 28%)!important;z-index:1080!important;
}
#loading:has(img#loading-image:is([src*="giphy.gif"],[src*="spinner.gif"])) img#loading-image:is([src*="giphy.gif"],[src*="spinner.gif"]){
  position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;
  clip-path:inset(50%);margin:-1px!important;
}
#loading:has(img#loading-image:is([src*="giphy.gif"],[src*="spinner.gif"]))::before{
  content:"Caricamento…";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:148px;padding:8px 12px 8px 37px;box-sizing:border-box;border:1px solid #dce3ee;
  background:#fff;color:#25294f;font:700 14px/1.5 Arial,sans-serif;text-align:left;
  border-radius:999px;box-shadow:0 5px 22px #25345e23;
}
#loading:has(img#loading-image:is([src*="giphy.gif"],[src*="spinner.gif"]))::after{
  content:"";position:absolute;left:calc(50% - 61px);top:calc(50% - 8px);width:16px;height:16px;
  box-sizing:border-box;border:2px solid #d8e0f0;border-top-color:#394d81;border-radius:50%;
  animation:yns-application-spin .75s linear infinite;
}
@keyframes yns-application-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#loading:has(img#loading-image:is([src*="giphy.gif"],[src*="spinner.gif"]))::after{animation:none}}

/* Conforti Werner - YNS | 2026-11-11T03:18:28+01:00 | Reason: Keep the public search interaction guard while showing the compact status. Scope: Pointer guard only while the existing loader is visible. Rollback: Remove this rule. */
.yns-customer #loading.yns-search-loading::before{content:"";position:fixed;inset:0;pointer-events:auto;background:transparent}
