/* az-hotspots.css - clickable building parts (hero floors, explorer parts, plan viewer building view).
   See az-hotspots.js. Replaces the thin white hover outlines with a soft green glow and fill. */

.az-hero-floor polygon,.az-hs polygon,.azr-building polygon{
 transition:fill .2s ease,stroke .2s ease,stroke-width .2s ease,filter .2s ease;vector-effect:non-scaling-stroke}

.az-hero-floor:hover polygon,.az-hero-floor:focus-visible polygon,.az-hero-floor.az-hs-on polygon,
.az-hs:hover polygon,.az-hs:focus-visible polygon,.az-hs.az-hs-on polygon,
.azr-building polygon:hover,.azr-building polygon:focus-visible,.azr-building polygon.az-hs-on{
 fill:rgba(47,165,42,.24)!important;stroke:#2fa52a!important;stroke-width:2.5!important;stroke-dasharray:none!important;
 filter:drop-shadow(0 0 5px rgba(47,165,42,.9)) drop-shadow(0 0 14px rgba(47,165,42,.5))}
.az-hero-floor:focus-visible polygon,.az-hs:focus-visible polygon,.azr-building polygon:focus-visible{stroke-width:3.5!important}

/* one gentle pulse per part the first time it is seen */
@keyframes azHsPulse{
 0%{fill:rgba(47,165,42,0);stroke:rgba(47,165,42,0)}
 40%{fill:rgba(47,165,42,.26);stroke:rgba(47,165,42,1);filter:drop-shadow(0 0 8px rgba(47,165,42,.8))}
 100%{fill:rgba(47,165,42,0);stroke:rgba(47,165,42,0)}}
.az-hs-pulse polygon,.azr-building polygon.az-hs-pulse{animation:azHsPulse 1.5s ease-in-out both;animation-delay:var(--az-d,0ms);stroke-width:2.5}

/* label with the part's name, next to the cursor (or above the part on touch screens) */
.az-hs-label{position:fixed;z-index:2147483000;left:0;top:0;max-width:min(280px,calc(100vw - 24px));padding:7px 12px;border-radius:8px;
 background:rgba(13,15,13,.9);color:#fff;font:600 13px/1.3 "Plus Jakarta Sans",system-ui,sans-serif;letter-spacing:.01em;
 box-shadow:0 8px 22px -8px rgba(0,0,0,.6);border:1px solid rgba(47,165,42,.7);pointer-events:none;white-space:normal;
 opacity:0;transform:translateY(4px);transition:opacity .15s ease,transform .15s ease}
.az-hs-label.show{opacity:1;transform:none}
.az-hs-label small{display:block;margin-top:2px;font-weight:500;font-size:11.5px;color:#9be596}

@media (prefers-reduced-motion:reduce){
 .az-hs-pulse polygon,.azr-building polygon.az-hs-pulse{animation:none}
 .az-hero-floor polygon,.az-hs polygon,.azr-building polygon,.az-hs-label{transition:none}
}
