/* /Components/Layout/MainLayout.razor.rz.scp.css */
[b-4r8htxxg1g] .app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

[b-4r8htxxg1g] .top-nav {
    display: flex;
    align-items: center;
    background: #1a1a2e;
    color: #fff;
    padding: 0 1rem;
    height: 52px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

[b-4r8htxxg1g] .nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

[b-4r8htxxg1g] .brand-icon {
    font-size: 1.4rem;
}

[b-4r8htxxg1g] .nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

[b-4r8htxxg1g] .nav-link {
    color: #ccc;
    text-decoration: none;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: background 0.2s, color 0.2s;
}

[b-4r8htxxg1g] .nav-link:hover,
[b-4r8htxxg1g] .nav-link.active {
    background: #16213e;
    color: #fff;
}

[b-4r8htxxg1g] .nav-icon {
    font-size: 1rem;
}

[b-4r8htxxg1g] .nav-dropdown {
    position: relative;
}

[b-4r8htxxg1g] .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #16213e;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-radius: 0 0 6px 6px;
    z-index: 1001;
}

[b-4r8htxxg1g] .nav-dropdown:hover .dropdown-content,
[b-4r8htxxg1g] .nav-dropdown.open .dropdown-content {
    display: block;
}

[b-4r8htxxg1g] .dropdown-content a {
    display: block;
    padding: 0.7rem 1.2rem;
    color: #ccc;
    text-decoration: none;
    font-size: 0.88rem;
    transition: background 0.15s;
}

[b-4r8htxxg1g] .dropdown-content a:hover {
    background: #0f3460;
    color: #fff;
}

[b-4r8htxxg1g] .nav-right {
    margin-left: auto;
}

[b-4r8htxxg1g] .language-select {
    background: #16213e;
    color: #fff;
    border: 1px solid #333;
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
}

[b-4r8htxxg1g] .main-content {
    flex: 1;
    padding: 1.5rem 2rem;
    background: #f5f6fa;
}

[b-4r8htxxg1g] .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    margin-left: auto;
    background: transparent;
    border: 1px solid #333;
    border-radius: 4px;
    cursor: pointer;
    padding: 6px;
}

[b-4r8htxxg1g] .nav-toggle-bar {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
}

/* Mobile view */
@media (max-width: 768px) {
    [b-4r8htxxg1g] .top-nav {
        flex-wrap: wrap;
        height: auto;
        padding: 0.5rem 0.75rem;
    }

    [b-4r8htxxg1g] .nav-brand {
        margin-right: 0;
        font-size: 1rem;
    }

    [b-4r8htxxg1g] .nav-toggle {
        display: flex;
    }

    [b-4r8htxxg1g] .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        flex-basis: 100%;
        gap: 0;
        margin-top: 0.5rem;
        background: #1a1a2e;
        border-top: 1px solid #2a2a4e;
    }

    [b-4r8htxxg1g] .top-nav.menu-open .nav-menu {
        display: flex;
    }

    [b-4r8htxxg1g] .nav-link {
        padding: 0.85rem 0.75rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: flex-start;
    }

    [b-4r8htxxg1g] .nav-dropdown {
        width: 100%;
    }

    [b-4r8htxxg1g] .dropdown-content {
        position: static;
        box-shadow: none;
        min-width: 0;
        border-radius: 0;
        background: #0f1a30;
        padding-left: 1rem;
    }

    /* Tap to expand instead of hover on mobile */
    [b-4r8htxxg1g] .nav-dropdown:hover .dropdown-content {
        display: none;
    }

    [b-4r8htxxg1g] .nav-dropdown:focus-within .dropdown-content,
    [b-4r8htxxg1g] .nav-dropdown.open .dropdown-content {
        display: block;
        position: static;
    }

    [b-4r8htxxg1g] .nav-right {
        margin-left: 0;
        flex-basis: 100%;
        padding: 0.5rem 0.25rem 0.75rem;
        display: none;
    }

    [b-4r8htxxg1g] .top-nav.menu-open .nav-right {
        display: block;
    }

    [b-4r8htxxg1g] .language-select {
        width: 100%;
    }

    [b-4r8htxxg1g] .main-content {
        padding: 1rem;
    }
}

#blazor-error-ui[b-4r8htxxg1g] {
    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-4r8htxxg1g] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-qureq4h0im],
.components-reconnect-repeated-attempt-visible[b-qureq4h0im],
.components-reconnect-failed-visible[b-qureq4h0im],
.components-pause-visible[b-qureq4h0im],
.components-resume-failed-visible[b-qureq4h0im],
.components-rejoining-animation[b-qureq4h0im] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-qureq4h0im],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-qureq4h0im],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-qureq4h0im],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-qureq4h0im],
#components-reconnect-modal.components-reconnect-retrying[b-qureq4h0im],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-qureq4h0im],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-qureq4h0im],
#components-reconnect-modal.components-reconnect-failed[b-qureq4h0im],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-qureq4h0im] {
    display: block;
}


#components-reconnect-modal[b-qureq4h0im] {
    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-qureq4h0im 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-qureq4h0im 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-qureq4h0im 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-qureq4h0im]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-qureq4h0im 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-qureq4h0im {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-qureq4h0im {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-qureq4h0im {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-qureq4h0im] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-qureq4h0im] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-qureq4h0im] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-qureq4h0im] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-qureq4h0im] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-qureq4h0im] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-qureq4h0im] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-qureq4h0im 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-qureq4h0im] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-qureq4h0im {
    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;
    }
}
