/* /Components/Layout/MainLayout.razor.rz.scp.css */
/*
  Horus logo in 2 variants (logo-light.svg = dark text, for light backgrounds;
  logo-dark.svg = white text, for dark backgrounds) — same CSS swap mechanism
  as the color palette in md3-tokens.css (data-theme attribute on <html>, with
  a @media prefers-color-scheme fallback for "system, no cookie yet").
  Don't use C#/JS to pick which one to show: both <img> elements always live
  in the DOM, CSS decides visibility, so there's no flash of the wrong logo.
*/
.horus-logo[b-7ewvimikjn] {
    height: 32px;
    width: auto;
    display: block;
}

.horus-logo-dark[b-7ewvimikjn] {
    display: none;
}

:root[data-theme="dark"] .horus-logo-light[b-7ewvimikjn] {
    display: none;
}

:root[data-theme="dark"] .horus-logo-dark[b-7ewvimikjn] {
    display: block;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .horus-logo-light[b-7ewvimikjn] {
        display: none;
    }

    :root:not([data-theme]) .horus-logo-dark[b-7ewvimikjn] {
        display: block;
    }
}

#blazor-error-ui[b-7ewvimikjn] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-7ewvimikjn] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-0daydwx7p8],
.components-reconnect-repeated-attempt-visible[b-0daydwx7p8],
.components-reconnect-failed-visible[b-0daydwx7p8],
.components-pause-visible[b-0daydwx7p8],
.components-resume-failed-visible[b-0daydwx7p8],
.components-rejoining-animation[b-0daydwx7p8] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-0daydwx7p8],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-0daydwx7p8],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-0daydwx7p8],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-0daydwx7p8],
#components-reconnect-modal.components-reconnect-retrying[b-0daydwx7p8],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-0daydwx7p8],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-0daydwx7p8],
#components-reconnect-modal.components-reconnect-failed[b-0daydwx7p8],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-0daydwx7p8] {
    display: block;
}


#components-reconnect-modal[b-0daydwx7p8] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-0daydwx7p8 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-0daydwx7p8 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-0daydwx7p8 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-0daydwx7p8]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-0daydwx7p8 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-0daydwx7p8 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-0daydwx7p8 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-0daydwx7p8 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-0daydwx7p8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-0daydwx7p8] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-0daydwx7p8] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-0daydwx7p8] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-0daydwx7p8] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-0daydwx7p8] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-0daydwx7p8] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-0daydwx7p8 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-0daydwx7p8] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-0daydwx7p8 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/SignIn.razor.rz.scp.css */
/*
  The sign-in page. MD3 tokens directly (md3-tokens.css) rather than MudBlazor components: the page
  is static, and the tokens follow data-theme like the rest of the app without a MudThemeProvider.
*/
.horus-signin[b-jj6hnshbfn] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--md-sys-color-background);
    color: var(--md-sys-color-on-background);
}

.horus-signin-card[b-jj6hnshbfn] {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px 24px;
    border-radius: 28px;
    background: var(--md-sys-color-surface);
    border: 1px solid var(--md-sys-color-outline-variant);
}

.horus-signin-logo[b-jj6hnshbfn] {
    height: 40px;
    width: auto;
    align-self: center;
    margin-bottom: 8px;
}

.horus-signin-title[b-jj6hnshbfn] {
    margin: 0 0 8px;
    text-align: center;
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 1.75rem;
}

/*
  Routes' FocusOnNavigate moves focus to the page's h1 on arrival, so a screen reader announces the
  question. The title is not something to act on, so the ring it draws is only noise; the focus
  stays.
*/
.horus-signin-title:focus[b-jj6hnshbfn] {
    outline: none;
}

.horus-signin-option[b-jj6hnshbfn] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--md-sys-color-outline-variant);
    color: var(--md-sys-color-on-surface);
    text-decoration: none;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.horus-signin-option:hover[b-jj6hnshbfn],
.horus-signin-option:focus-visible[b-jj6hnshbfn] {
    background: color-mix(in srgb, var(--md-sys-color-primary) 8%, transparent);
    border-color: var(--md-sys-color-primary);
    outline: none;
}

.horus-signin-option-icon[b-jj6hnshbfn] {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    fill: var(--md-sys-color-on-surface-variant);
}

.horus-signin-option-text[b-jj6hnshbfn] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.horus-signin-option-label[b-jj6hnshbfn] {
    font-size: 1rem;
    font-weight: 500;
}

.horus-signin-option-hint[b-jj6hnshbfn] {
    font-size: 0.875rem;
    color: var(--md-sys-color-on-surface-variant);
}

/* Same light/dark swap as the app bar's logo (MainLayout.razor.css). */
.horus-signin-logo-dark[b-jj6hnshbfn] {
    display: none;
}

:root[data-theme="dark"] .horus-signin-logo-light[b-jj6hnshbfn] {
    display: none;
}

:root[data-theme="dark"] .horus-signin-logo-dark[b-jj6hnshbfn] {
    display: block;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .horus-signin-logo-light[b-jj6hnshbfn] {
        display: none;
    }

    :root:not([data-theme]) .horus-signin-logo-dark[b-jj6hnshbfn] {
        display: block;
    }
}
