/* Shared by every server-rendered static page (see Pages/StaticPages/Shared/_StaticPageLayout.cshtml). */

/* ---- Header shell ---- */
/* The shared design header (.fl-header) is sticky inside its own wrapper only; stick the wrapper to keep it visible like the app header. */
.static-page-header { position: sticky; top: 0; z-index: 50; }

/* A session exists (inline script of the layout sets html.is-auth before the first paint): the React header is about to replace the
   server-rendered logged-out one, so show neutral placeholders instead of its sign-up/login buttons: no flash for a signed-in user. */
html.is-auth .fl-header__actions a { visibility: hidden; }
html.is-auth .fl-header__actions { display: flex; align-items: center; gap: 0.75rem; }
html.is-auth .fl-header__actions::before,
html.is-auth .fl-header__actions::after {
    content: "";
    display: block;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    animation: static-page-header-pulse 1.2s ease-in-out infinite;
}
@keyframes static-page-header-pulse { 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) {
    html.is-auth .fl-header__actions::before,
    html.is-auth .fl-header__actions::after { animation: none; }
}
