/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-b7x0rh8quf] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-column[b-b7x0rh8quf] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.top-bar[b-b7x0rh8quf] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
    padding: 0 var(--space-3);
    border-bottom: 1px solid var(--color-border);
    background: rgba(10, 14, 26, .8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 20;
    flex-shrink: 0;
}

.top-bar .brand[b-b7x0rh8quf] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: var(--color-text);
    text-decoration: none;
}

.top-bar .top-link[b-b7x0rh8quf] {
    font-size: 0.9rem;
}

.top-bar-actions[b-b7x0rh8quf] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.culture-switch[b-b7x0rh8quf] {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.culture-switch a[b-b7x0rh8quf] { color: var(--color-text-muted); text-decoration: none; }
.culture-switch a.active[b-b7x0rh8quf] { color: var(--color-accent); font-weight: 600; }
.culture-switch span[b-b7x0rh8quf] { opacity: .4; }

.profile-menu[b-b7x0rh8quf] {
    position: relative;
}

.profile-btn[b-b7x0rh8quf] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-size: 1rem;
}

.profile-btn:hover[b-b7x0rh8quf] {
    background-color: var(--color-surface-raised);
}

.profile-btn-named[b-b7x0rh8quf] {
    width: auto;
    max-width: 160px;
    padding: 4px 10px 4px 4px;
    gap: var(--space-2);
}

.profile-btn-chevron[b-b7x0rh8quf] { font-size: .7rem; color: var(--color-text-muted); }

.profile-btn-name[b-b7x0rh8quf] {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .profile-btn-name[b-b7x0rh8quf] {
        display: none;
    }

    .profile-btn-named[b-b7x0rh8quf] {
        max-width: none;
        padding: 4px;
    }
}

.dropdown-backdrop[b-b7x0rh8quf] {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: transparent;
}

.profile-dropdown[b-b7x0rh8quf] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    min-width: 170px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(3, 6, 20, 0.6);
    z-index: 1000;
}

.profile-dropdown a[b-b7x0rh8quf],
.profile-dropdown button[b-b7x0rh8quf] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
}

.profile-dropdown a:hover[b-b7x0rh8quf],
.profile-dropdown button:hover[b-b7x0rh8quf] {
    background-color: rgba(148, 163, 255, 0.08);
}

.content[b-b7x0rh8quf] {
    flex: 1;
    width: 100%;
    max-width: var(--content-max);
    min-width: 0;
    margin: 0 auto;
    padding: var(--space-3) var(--space-3) calc(5rem + var(--space-3));
}

@media (max-width: 420px) {
    .culture-switch i[b-b7x0rh8quf] { display: none; }
}

@media (min-width: 768px) {
    .app-shell[b-b7x0rh8quf] {
        flex-direction: row;
    }

    /* The sidebar carries the brand on desktop. */
    .top-bar .brand[b-b7x0rh8quf] {
        visibility: hidden;
    }

    .top-bar[b-b7x0rh8quf] {
        padding: 0 var(--space-4);
        height: 4rem;
    }

    .content[b-b7x0rh8quf] {
        padding: var(--space-4) var(--space-5) var(--space-5);
    }
}

#blazor-error-ui[b-b7x0rh8quf] {
    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-b7x0rh8quf] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-rrt62mpycq],
.components-reconnect-repeated-attempt-visible[b-rrt62mpycq],
.components-reconnect-failed-visible[b-rrt62mpycq],
.components-pause-visible[b-rrt62mpycq],
.components-resume-failed-visible[b-rrt62mpycq],
.components-rejoining-animation[b-rrt62mpycq] {
    display: none;
}

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


#components-reconnect-modal[b-rrt62mpycq] {
    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-rrt62mpycq 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-rrt62mpycq {
    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;
    }
}
