/* GAP-WEBPLANNER-041 — branded splash screen. Was the stock Fuse loader
   (blue #1E96F7 bounce dots on Fuse gray #111827) — off-design. Now echoes
   the v3 sign-in full-dark surface (slate-900 + a faint purple depth glow)
   and the DS pulse language in the IS purple accent.
   Pre-Angular surface: DS tokens aren't loaded yet, so values mirror
   assets/styles/tokens.css (--purple: #9b59b6). */

body fuse-splash-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(420px 280px at 50% 42%, rgba(155, 89, 182, 0.14), transparent 70%),
        #0f172a;
    color: #e2e8f0;
    z-index: 999999;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

body fuse-splash-screen img {
    width: 120px;
    max-width: 120px;
    filter: drop-shadow(0 6px 24px rgba(155, 89, 182, 0.25));
}

body fuse-splash-screen .spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 34px;
    width: auto;
}

body fuse-splash-screen .spinner > div {
    width: 8px;
    height: 8px;
    background-color: #9b59b6;
    border-radius: 50%;
    display: inline-block;
    animation: awvent-splash-pulse 1.2s infinite ease-in-out both;
}

body fuse-splash-screen .spinner .bounce1 {
    animation-delay: -0.3s;
}

body fuse-splash-screen .spinner .bounce2 {
    animation-delay: -0.15s;
}

/* The DS "breathing" pulse (agent-live-dot family) — scale + fade,
   never the hard 0→1 pop of the Fuse default. */
@keyframes awvent-splash-pulse {
    0%, 80%, 100% {
        transform: scale(0.55);
        opacity: 0.35;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

body fuse-splash-screen .splash-caption {
    margin-top: 20px;
    font-family: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

body:not(.fuse-splash-screen-hidden) {
    overflow: hidden;
}

body.fuse-splash-screen-hidden fuse-splash-screen {
    visibility: hidden;
    opacity: 0;
}
