/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-3apdwr71kg] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-3apdwr71kg] {
    flex: 1;
    min-width: 0;
}

.sidebar[b-3apdwr71kg] {
    background-color: transparent;
}

article.content[b-3apdwr71kg] {
    max-width: 1240px;
}

@media (min-width: 641px) {
    .page[b-3apdwr71kg] {
        flex-direction: row;
    }

    .sidebar[b-3apdwr71kg] {
        width: 272px;
        flex-shrink: 0;
        height: 100vh;
        position: sticky;
        top: 0;
        padding: 1.25rem 0 1.25rem 1.25rem;
    }

    article.content[b-3apdwr71kg] {
        padding-left: 2.25rem !important;
        padding-right: 2rem !important;
    }
}

#blazor-error-ui[b-3apdwr71kg] {
    color-scheme: dark only;
    background: #1b1e2e;
    color: #ffd18f;
    border-top: 1px solid rgba(245, 185, 90, 0.4);
    bottom: 0;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.45);
    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 .reload[b-3apdwr71kg] {
    color: #9db0ff;
}

#blazor-error-ui .dismiss[b-3apdwr71kg] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar-panel[b-vxkp06pizd] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--sv-surface-0);
    border: 1px solid var(--sv-border);
    border-radius: 1.25rem;
    padding: 1.1rem 0.9rem 0.9rem;
    box-shadow: 0 18px 50px rgba(2, 4, 12, 0.5);
}

/* ------------------------------------------------------------------ brand */

.brand[b-vxkp06pizd] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0 0.35rem 1rem;
}

.brand-mark[b-vxkp06pizd] {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.8rem;
    background-image: var(--sv-accent-gradient);
    box-shadow: var(--sv-accent-glow);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: -0.03em;
}

.brand-text[b-vxkp06pizd] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name[b-vxkp06pizd] {
    color: var(--sv-text);
    font-weight: 700;
    font-size: 1rem;
}

.brand-sub[b-vxkp06pizd] {
    color: var(--sv-text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

/* ------------------------------------------------------------------ welcome card */

.welcome-card[b-vxkp06pizd] {
    background-color: var(--sv-surface-1);
    border: 1px solid var(--sv-border);
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    margin-bottom: 0.9rem;
}

.welcome-date[b-vxkp06pizd] {
    color: var(--sv-text-muted);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.welcome-title[b-vxkp06pizd] {
    color: var(--sv-text);
    font-size: 1.05rem;
    font-weight: 650;
    margin-top: 0.15rem;
}

/* ------------------------------------------------------------------ navigation */

.nav-panel[b-vxkp06pizd] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    background-color: var(--sv-surface-1);
    border: 1px solid var(--sv-border);
    border-radius: 0.9rem;
    padding: 0.5rem;
}

.nav-panel[b-vxkp06pizd]  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.62rem 0.75rem;
    border-radius: 0.65rem;
    color: var(--sv-text-muted);
    font-size: 0.92rem;
    font-weight: 550;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-panel[b-vxkp06pizd]  .nav-link:hover {
    background-color: rgba(140, 156, 222, 0.08);
    color: var(--sv-text);
}

.nav-panel[b-vxkp06pizd]  .nav-link.active {
    background-color: var(--sv-surface-hover);
    border: 1px solid var(--sv-border-strong);
    padding: calc(0.62rem - 1px) calc(0.75rem - 1px);
    color: #fff;
}

.nav-panel[b-vxkp06pizd]  .nav-link.active .nav-icon {
    background-color: #8ea2ff;
}

.nav-panel[b-vxkp06pizd]  .nav-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(91, 116, 248, 0.35);
}

@media (prefers-reduced-motion: reduce) {
    .nav-panel[b-vxkp06pizd]  .nav-link { transition: none; }
}

/* Icons: alpha masks filled with currentColor so active/hover recoloring works */
[b-vxkp06pizd] .nav-icon {
    display: inline-block;
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    background-color: currentColor;
    -webkit-mask: var(--icon) no-repeat center / contain;
    mask: var(--icon) no-repeat center / contain;
}

[b-vxkp06pizd] .icon-overview {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

[b-vxkp06pizd] .icon-members {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7Zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm-5.784 6A2.238 2.238 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.325 6.325 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1h4.216ZM4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z'/%3E%3C/svg%3E");
}

[b-vxkp06pizd] .icon-votes {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M3 14.5A1.5 1.5 0 0 1 1.5 13V3A1.5 1.5 0 0 1 3 1.5h8a.5.5 0 0 1 0 1H3a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h10a.5.5 0 0 0 .5-.5V8a.5.5 0 0 1 1 0v5a1.5 1.5 0 0 1-1.5 1.5H3z'/%3E%3Cpath d='M8.354 10.354l7-7a.5.5 0 0 0-.708-.708L8 9.293 5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0z'/%3E%3C/svg%3E");
}

[b-vxkp06pizd] .icon-history {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z'/%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0z'/%3E%3C/svg%3E");
}

[b-vxkp06pizd] .icon-settings {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ bot status card */

.user-card[b-vxkp06pizd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    margin-bottom: 0.6rem;
    padding: 0.6rem 1rem;
    border-radius: 0.9rem;
    background-color: var(--sv-surface-1);
    border: 1px solid var(--sv-border);
}

.user-name[b-vxkp06pizd] {
    color: var(--sv-text);
    font-size: 0.85rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-logout[b-vxkp06pizd] {
    color: var(--sv-text-muted);
    font-size: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.user-logout:hover[b-vxkp06pizd] {
    color: #ff8b9c;
}

.bot-card[b-vxkp06pizd] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
}

/* Without a logged-in user the bot card is the flex-end anchor itself. */
.nav-scrollable > .bot-card:not(.user-card + .bot-card)[b-vxkp06pizd] {
    margin-top: auto;
}

.bot-online[b-vxkp06pizd] {
    background-image: var(--sv-accent-gradient);
    box-shadow: var(--sv-accent-glow);
}

.bot-offline[b-vxkp06pizd] {
    background-color: var(--sv-surface-1);
    border: 1px solid rgba(255, 93, 116, 0.35);
}

.bot-dot[b-vxkp06pizd] {
    flex-shrink: 0;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
}

.bot-online .bot-dot[b-vxkp06pizd] {
    background-color: #7cf7de;
    animation: bot-pulse-b-vxkp06pizd 2.4s ease-out infinite;
}

.bot-offline .bot-dot[b-vxkp06pizd] {
    background-color: var(--sv-red);
}

@keyframes bot-pulse-b-vxkp06pizd {
    0% { box-shadow: 0 0 0 0 rgba(124, 247, 222, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(124, 247, 222, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 247, 222, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .bot-online .bot-dot[b-vxkp06pizd] { animation: none; }
}

.bot-text[b-vxkp06pizd] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.bot-label[b-vxkp06pizd] {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.bot-online .bot-label[b-vxkp06pizd] { color: rgba(255, 255, 255, 0.75); }
.bot-offline .bot-label[b-vxkp06pizd] { color: var(--sv-text-muted); }

.bot-state[b-vxkp06pizd] {
    font-size: 0.95rem;
    font-weight: 650;
}

.bot-online .bot-state[b-vxkp06pizd] { color: #fff; }
.bot-offline .bot-state[b-vxkp06pizd] { color: var(--sv-red); }

/* ------------------------------------------------------------------ mobile */

.navbar-toggler[b-vxkp06pizd] {
    appearance: none;
    cursor: pointer;
    width: 3.25rem;
    height: 2.4rem;
    position: absolute;
    top: 1.35rem;
    right: 1.25rem;
    border: 1px solid var(--sv-border-strong);
    border-radius: 0.6rem;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28233, 236, 247, 0.6%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.6rem var(--sv-surface-2);
}

.navbar-toggler:checked[b-vxkp06pizd] {
    background-color: var(--sv-surface-hover);
    border-color: rgba(114, 144, 255, 0.5);
}

.nav-scrollable[b-vxkp06pizd] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-vxkp06pizd] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (max-width: 640.98px) {
    .sidebar-panel[b-vxkp06pizd] {
        border-radius: 0 0 1.25rem 1.25rem;
        border-top: none;
    }

    .bot-card[b-vxkp06pizd] {
        margin-top: 0.9rem;
    }
}

@media (min-width: 641px) {
    .navbar-toggler[b-vxkp06pizd] {
        display: none;
    }

    .nav-scrollable[b-vxkp06pizd] {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-szxp83t7cj],
.components-reconnect-repeated-attempt-visible[b-szxp83t7cj],
.components-reconnect-failed-visible[b-szxp83t7cj],
.components-pause-visible[b-szxp83t7cj],
.components-resume-failed-visible[b-szxp83t7cj],
.components-rejoining-animation[b-szxp83t7cj] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

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