/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-kr0fe15jer] {
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar[b-kr0fe15jer] {
    position: sticky;
    top: 0;
    height: 100vh;
    background: linear-gradient(180deg, #140f19 0%, #2a0d1f 100%);
    border-right: 1px solid var(--line);
}

.content[b-kr0fe15jer] {
    padding: 1.75rem 2.5rem 4rem;
    max-width: 1280px;
}

/* На телефоне меню становится полосой сверху, содержимое — на всю ширину. */
@media (max-width: 900px) {
    .page[b-kr0fe15jer] {
        grid-template-columns: 1fr;
    }

    .sidebar[b-kr0fe15jer] {
        position: relative;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .content[b-kr0fe15jer] {
        padding: 1.25rem 1rem 4rem;
    }
}

#blazor-error-ui[b-kr0fe15jer] {
    color-scheme: light only;
    background: lightyellow;
    color: #222;
    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-kr0fe15jer] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.side-inner[b-tx2ls33993] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.side-brand[b-tx2ls33993] {
    padding: 22px 20px 26px;
}

.side-nav[b-tx2ls33993] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 12px;
}

    .side-nav[b-tx2ls33993]  .side-link {
        display: block;
        padding: 9px 12px;
        border-radius: 6px;
        color: #cfc4d6;
        text-decoration: none;
    }

        .side-nav[b-tx2ls33993]  .side-link:hover {
            background: rgba(255, 255, 255, 0.05);
            color: var(--text);
        }

        .side-nav[b-tx2ls33993]  .side-link.active {
            color: #fff;
            background: rgba(237, 3, 96, 0.14);
            box-shadow: inset 3px 0 0 var(--accent);
        }

/* Число новых заявок рядом с «Заявки». */
.side-count[b-tx2ls33993] {
    float: right;
    min-width: 1.4rem;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4rem;
    text-align: center;
}

.side-group[b-tx2ls33993] {
    padding: 18px 12px 6px;
    font-size: 0.82rem;
    color: var(--faint);
}

.side-me[b-tx2ls33993] {
    margin-top: auto;
    padding: 16px 20px;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--muted);
}

    .side-me b[b-tx2ls33993] {
        display: block;
        color: var(--text);
        font-weight: 500;
        margin-bottom: 4px;
    }

    .side-me a[b-tx2ls33993], .side-me button[b-tx2ls33993] {
        color: var(--muted);
        background: none;
        border: 0;
        padding: 0;
        text-decoration: none;
        font: inherit;
    }

        .side-me a:hover[b-tx2ls33993], .side-me button:hover[b-tx2ls33993] {
            color: var(--text);
        }

    .side-me a[b-tx2ls33993] {
        margin-right: 12px;
    }

    .side-me form[b-tx2ls33993] {
        display: inline;
    }

    .side-me .side-sound[b-tx2ls33993] {
        display: block;
        margin-top: 8px;
    }

.side-count[hidden][b-tx2ls33993] {
    display: none;
}

/* Телефон: логотип и строка пунктов с горизонтальной прокруткой. */
@media (max-width: 900px) {
    .side-brand[b-tx2ls33993] {
        padding: 16px 16px 12px;
    }

    .side-nav[b-tx2ls33993] {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 0 8px 10px;
    }

        .side-nav[b-tx2ls33993]  .side-link {
            white-space: nowrap;
        }

    /* В строке меню float уводит число на новую строку — ставим его просто рядом со словом. */
    .side-count[b-tx2ls33993] {
        float: none;
        display: inline-block;
        margin-left: 6px;
    }

    .side-group[b-tx2ls33993] {
        display: none;
    }

    .side-me[b-tx2ls33993] {
        margin-top: 0;
        padding: 10px 16px;
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px 12px;
    }

        .side-me b[b-tx2ls33993] {
            margin: 0 auto 0 0;
        }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-kt4txpgihd],
.components-reconnect-repeated-attempt-visible[b-kt4txpgihd],
.components-reconnect-failed-visible[b-kt4txpgihd],
.components-pause-visible[b-kt4txpgihd],
.components-resume-failed-visible[b-kt4txpgihd],
.components-rejoining-animation[b-kt4txpgihd] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-kt4txpgihd],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-kt4txpgihd],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-kt4txpgihd],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-kt4txpgihd],
#components-reconnect-modal.components-reconnect-retrying[b-kt4txpgihd],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-kt4txpgihd],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-kt4txpgihd],
#components-reconnect-modal.components-reconnect-failed[b-kt4txpgihd],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-kt4txpgihd] {
    display: block;
}


#components-reconnect-modal[b-kt4txpgihd] {
    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-kt4txpgihd 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-kt4txpgihd 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-kt4txpgihd 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-kt4txpgihd]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-kt4txpgihd 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-kt4txpgihd {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-kt4txpgihd {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-kt4txpgihd {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-kt4txpgihd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-kt4txpgihd] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-kt4txpgihd] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-kt4txpgihd] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-kt4txpgihd] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-kt4txpgihd] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-kt4txpgihd] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-kt4txpgihd 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-kt4txpgihd] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-kt4txpgihd {
    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;
    }
}
