@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lcdo7z9xd2.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Port of Aspire Dashboard 13.5 MainLayout.razor.css */
@media (min-width: 768px) {
    [b-ltofb71qhm].layout {
        height: 100vh;
        width: 100vw;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto 1fr;
        grid-template-areas:
            "head head"
            "nav messagebar"
            "nav main";
        background-color: var(--fill-color);
        color: var(--neutral-foreground-rest);
    }

    [b-ltofb71qhm].layout > header {
        grid-area: head;
    }

    [b-ltofb71qhm].layout > .desktop-nav-rail {
        grid-area: nav;
        display: flex;
        flex-direction: column;
        min-height: 0;
        background: var(--neutral-layer-4);
    }

    [b-ltofb71qhm].layout > .desktop-nav-rail > .fluent-appbar {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        background: var(--neutral-layer-4);
    }

    [b-ltofb71qhm].layout > .layout-body-container {
        grid-area: main;
        overflow-x: auto;
        overflow: auto;
        border-left: 1px solid var(--neutral-stroke-rest);
        display: flex;
        flex: 1;
    }

    [b-ltofb71qhm].layout > .messagebar-container {
        grid-area: messagebar;
        border-top: 1px solid var(--neutral-stroke-rest);
        border-left: 1px solid var(--neutral-stroke-rest);
        display: flex;
    }

    [b-ltofb71qhm].layout > header {
        background-color: var(--neutral-layer-4);
        margin-bottom: 0;
    }

    [b-ltofb71qhm].layout > header > .header-gutters > fluent-anchor {
        font-size: var(--type-ramp-plus-2-font-size);
    }

    [b-ltofb71qhm] .header-gutters fluent-anchor.brand-logo::part(control) {
        padding: 0;
        border: none;
    }

    [b-ltofb71qhm] .header-gutters fluent-anchor.brand-logo,
    [b-ltofb71qhm] .header-gutters fluent-anchor.brand-logo::part(control),
    [b-ltofb71qhm] .header-gutters fluent-anchor.brand-logo::part(content) {
        height: 24px;
        width: 24px;
    }

    [b-ltofb71qhm] .header-gutters fluent-anchor.brand-logo {
        margin-inline-end: 8px;
    }

    [b-ltofb71qhm].layout > header > .header-gutters {
        margin: 0;
        padding-left: 20px;
    }
}

@media (max-width: 768px) {
    [b-ltofb71qhm].layout {
        height: 100vh;
        width: 100vw;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: 52px minmax(0, auto) auto minmax(0, 1fr);
        grid-template-areas:
            "icon head"
            "nav-menu nav-menu"
            "messagebar messagebar"
            "main main";
        background-color: var(--fill-color);
        color: var(--neutral-foreground-rest);
    }

    [b-ltofb71qhm].layout > .aspire-icon {
        grid-area: icon;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--neutral-layer-4);
        padding-left: 15px;
    }

    [b-ltofb71qhm].layout > header {
        grid-area: head;
        background-color: var(--neutral-layer-4);
        margin-bottom: 0;
    }

    [b-ltofb71qhm].layout > .fluent-appbar {
        grid-area: nav;
        overflow-y: auto;
        background: var(--neutral-layer-4);
    }

    [b-ltofb71qhm].layout > .layout-body-container {
        grid-area: main;
        overflow-x: auto;
        overflow: auto;
        border-left: 1px solid var(--neutral-stroke-rest);
    }

    [b-ltofb71qhm].layout > .messagebar-container {
        grid-area: messagebar;
        border-top: 1px solid var(--neutral-stroke-rest);
        border-left: 1px solid var(--neutral-stroke-rest);
        display: flex;
    }

    [b-ltofb71qhm].layout > header > .header-gutters > fluent-anchor {
        font-size: var(--type-ramp-plus-2-font-size);
    }

    [b-ltofb71qhm].layout > header > .header-gutters {
        margin-left: 0;
    }
}

[b-ltofb71qhm] .desktop-nav-menu > .fluent-appbar-item > .fluentui-counterbadge-container > a > .stack-vertical {
    padding-left: 0;
    padding-right: 0;
}

[b-ltofb71qhm].layout > header > .header-gutters > fluent-button[appearance=stealth]:not(:hover)::part(control),
[b-ltofb71qhm].layout > header > .header-gutters > fluent-anchor[appearance=stealth]:not(:hover)::part(control),
[b-ltofb71qhm].layout > header > .header-gutters > fluent-anchor[appearance=stealth].logo::part(control) {
    background-color: transparent;
}

[b-ltofb71qhm] .header-gutters .header-button {
    height: 32px;
    display: block;
}

[b-ltofb71qhm] .header-gutters .header-button::part(control) {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: transparent;
}

/* Page title slot styling handled by app.css */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-6x7nk5kfs0],
.components-reconnect-repeated-attempt-visible[b-6x7nk5kfs0],
.components-reconnect-failed-visible[b-6x7nk5kfs0],
.components-pause-visible[b-6x7nk5kfs0],
.components-resume-failed-visible[b-6x7nk5kfs0],
.components-rejoining-animation[b-6x7nk5kfs0] {
    display: none;
}

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


#components-reconnect-modal[b-6x7nk5kfs0] {
    background-color: #1f1f1f;
    color: #f3f3f3;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid rgba(81, 43, 212, 0.45);
    border-radius: 6px;
    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-6x7nk5kfs0 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

    #components-reconnect-modal button:hover[b-6x7nk5kfs0] {
        background-color: #3a1f9e;
    }

    #components-reconnect-modal button:active[b-6x7nk5kfs0] {
        background-color: #512BD4;
    }

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

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

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

@keyframes components-rejoining-animation-b-6x7nk5kfs0 {
    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/Layout/UserProfile.razor.rz.scp.css */
/* User button + account dropdown. The button reuses the shared .header-button
   class (see app.css) so it looks exactly like the Settings button, except it
   shows an initials avatar instead of an icon. The popup is a plain
   absolutely-positioned panel anchored to the button's right edge — no
   anchored-region, so it can't inherit the FluentProfileMenu quirks near
   the top-right corner, and right: 0 guarantees it never overflows the
   viewport edge. */

.user-profile-container[b-obilr4zn3v] {
    position: relative;
    display: flex;
    align-items: center;
    align-self: center;
    margin-right: 12px;
}

[b-obilr4zn3v] fluent-button.header-button[appearance=stealth]:not(:hover):not(:active)::part(control) {
    background-color: transparent !important;
}

[b-obilr4zn3v] fluent-button.header-button[appearance=stealth]:hover::part(control) {
    background-color: var(--neutral-fill-stealth-hover) !important;
}

/* Initials avatar (like Aspire's FluentPersona): accent-filled circle with
   on-accent text, so contrast adapts automatically in both themes. Sits
   inside the header button and again (slightly larger) in the popup header. */
.user-avatar[b-obilr4zn3v] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--accent-fill-rest);
    color: var(--foreground-on-accent-rest);
    font-size: var(--type-ramp-base-font-size, 14px);
    font-weight: 600;
    line-height: 1;
    user-select: none;
}

.user-avatar--lg[b-obilr4zn3v] {
    width: 40px;
    height: 40px;
    flex: none;
}

/* Transparent full-screen click-catcher behind the popup: any outside click
   closes the menu. Sits below the popup, above the page. */
.user-menu-backdrop[b-obilr4zn3v] {
    position: fixed;
    inset: 0;
    z-index: 20;
}

.user-menu[b-obilr4zn3v] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 21;
    min-width: 240px;
    padding: 8px;
    background-color: var(--neutral-layer-floating);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14), 0 0 2px rgba(0, 0, 0, 0.12);
}

/* Top row (mirrors Aspire's FluentProfileMenu header template): muted
   "Logged in as" on the left, the stealth Sign out button on the right,
   pushed over by the spacer. */
.user-menu-topbar[b-obilr4zn3v] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 12px;
}

.user-menu-topbar-label[b-obilr4zn3v] {
    font-size: var(--type-ramp-minus-1-font-size, 12px);
    color: var(--neutral-foreground-rest);
    opacity: 0.6;
}

.user-menu-signout[b-obilr4zn3v] {
    flex: none;
}

/* Persona-style header below the divider: avatar on the left, bold username
   on the right (username stands in for the full name — the JWT has no other). */
.user-menu-header[b-obilr4zn3v] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
}

.user-menu-id[b-obilr4zn3v] {
    min-width: 0;
}

.user-menu-name[b-obilr4zn3v] {
    font-size: var(--type-ramp-base-font-size, 14px);
    font-weight: 600;
    color: var(--neutral-foreground-rest);
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-divider[b-obilr4zn3v] {
    height: 1px;
    margin: 4px 0;
    background-color: var(--neutral-stroke-divider-rest);
}
