/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-1odfngpzt1] {
    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-1odfngpzt1] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-51keqn43qx],
.components-reconnect-repeated-attempt-visible[b-51keqn43qx],
.components-reconnect-failed-visible[b-51keqn43qx],
.components-pause-visible[b-51keqn43qx],
.components-resume-failed-visible[b-51keqn43qx],
.components-rejoining-animation[b-51keqn43qx],
.components-reconnect-icon[b-51keqn43qx] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-51keqn43qx],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-51keqn43qx],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-51keqn43qx],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-51keqn43qx],
#components-reconnect-modal.components-reconnect-retrying[b-51keqn43qx],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-51keqn43qx],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-51keqn43qx],
#components-reconnect-modal.components-reconnect-failed[b-51keqn43qx],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-51keqn43qx],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-icon[b-51keqn43qx] {
    display: block;
}

#components-reconnect-modal[b-51keqn43qx] {
    background: #1a1a1a;
    border: 1px solid #ec0000;
    border-top: 3px solid #ec0000;
    color: #f0f0f0;
    width: 22rem;
    margin: 20vh auto;
    padding: 2rem 2rem 1.75rem;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,.75);
    opacity: 0;
    transition: display 0.4s allow-discrete, overlay 0.4s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-51keqn43qx 0.4s both;
    &[open] {
        animation: components-reconnect-modal-slideUp-b-51keqn43qx 0.5s cubic-bezier(.05,.89,.25,1.02) 0.1s,
                   components-reconnect-modal-fadeInOpacity-b-51keqn43qx 0.4s ease-in-out 0.1s;
        animation-fill-mode: both;
    }
}

#components-reconnect-modal[b-51keqn43qx]::backdrop {
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(3px);
    animation: components-reconnect-modal-fadeInOpacity-b-51keqn43qx 0.4s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-51keqn43qx {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-51keqn43qx {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-51keqn43qx {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-51keqn43qx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.components-reconnect-title[b-51keqn43qx] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ec0000;
    text-align: center;
    letter-spacing: .03em;
}

.components-reconnect-sub[b-51keqn43qx] {
    margin: 0;
    font-size: 0.88rem;
    color: #aaa;
    text-align: center;
    line-height: 1.5;
}

#components-reconnect-modal button[b-51keqn43qx] {
    margin-top: 0.5rem;
    border: 1px solid #ec0000;
    background: #ec0000;
    color: #fff;
    padding: 7px 28px;
    border-radius: 3px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .03em;
    transition: background 0.15s, border-color 0.15s;
}
#components-reconnect-modal button:hover[b-51keqn43qx]  { background: #c00; border-color: #c00; }
#components-reconnect-modal button:active[b-51keqn43qx] { background: #a00; }

.components-rejoining-animation[b-51keqn43qx] {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 0.25rem;
}

    .components-rejoining-animation div[b-51keqn43qx] {
        position: absolute;
        border: 3px solid #ec0000;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-51keqn43qx 1.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-51keqn43qx] {
            animation-delay: -0.7s;
        }

.components-reconnect-icon svg[b-51keqn43qx] {
    animation: rc-icon-spin-b-51keqn43qx 1.2s linear infinite;
    transform-origin: center;
}

@keyframes components-rejoining-animation-b-51keqn43qx {
    0%   { top: 30px; left: 30px; width: 0;    height: 0;    opacity: 0; }
    5%   { top: 30px; left: 30px; width: 0;    height: 0;    opacity: 1; }
    100% { top: 0;    left: 0;    width: 60px; height: 60px; opacity: 0; }
}

@keyframes components-reconnect-modal-slideUp-b-51keqn43qx {
    0%   { transform: translateY(24px) scale(0.97); }
    100% { transform: translateY(0) scale(1); }
}
@keyframes components-reconnect-modal-fadeInOpacity-b-51keqn43qx  { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes components-reconnect-modal-fadeOutOpacity-b-51keqn43qx { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rc-icon-spin-b-51keqn43qx { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
/* /Components/Shared/PageHeader.razor.rz.scp.css */
:host[b-7oabegp2zt] {
    display: block;
}

.page-header[b-7oabegp2zt] {
    position: sticky;
    top: 0;
    z-index: 300;
    background: transparent;
    border-bottom: 1px solid color-mix(in srgb, var(--color-border) 78%, transparent);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.page-header-main[b-7oabegp2zt] {
    display: grid;
    grid-template-columns: auto minmax(14rem, 1fr) auto auto;
    align-items: center;
    column-gap: 0.85rem;
    min-height: 62px;
    padding: 0.65rem 1.5rem;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-surface) 96%, var(--color-bg)), var(--color-surface));
    border-bottom: 1px solid color-mix(in srgb, var(--color-border) 68%, transparent);
}

.page-header-icon[b-7oabegp2zt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--color-primary) 15%, transparent);
    color: var(--color-primary);
}

.page-header-icon svg[b-7oabegp2zt] {
    display: block;
    width: 16px;
    height: 16px;
}

.page-header-title-group[b-7oabegp2zt] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-header-title[b-7oabegp2zt] {
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-header-subtitle[b-7oabegp2zt] {
    color: var(--color-text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0.12rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-header-badge[b-7oabegp2zt] {
    display: inline-flex;
    align-items: center;
    justify-self: end;
}

.page-header-actions[b-7oabegp2zt] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-self: end;
    min-width: 0;
    max-width: 100%;
}

.page-header-actions :global(.btn)[b-7oabegp2zt] {
    flex: 0 1 auto;
    min-width: 84px;
    height: 40px;
    min-height: 40px;
    padding: 0 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: none;
}

.page-header-actions :global(.form-control)[b-7oabegp2zt],
.page-header-actions :global(.form-select)[b-7oabegp2zt] {
    flex: 1 1 10rem;
    min-width: 8rem;
    max-width: 16rem;
}

.page-header-actions :global(.page-header-icon-button)[b-7oabegp2zt] {
    width: 40px;
    min-width: 40px;
    padding: 0;
}

.page-header-actions :global(.tile-toggle-wrap)[b-7oabegp2zt] {
    display: inline-flex;
    align-items: center;
}

.page-header-filterbar[b-7oabegp2zt] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    row-gap: 0.45rem;
    padding: 0.55rem 1.5rem 0.7rem;
    background: color-mix(in srgb, var(--color-bg) 74%, var(--color-surface));
    color: var(--color-text-muted);
    border-top: 1px solid color-mix(in srgb, var(--color-border) 72%, transparent);
}

.page-header-filterbar :global(strong)[b-7oabegp2zt] {
    color: var(--color-text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-right: 0.1rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.page-header-live[b-7oabegp2zt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 74px;
    height: 40px;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1;
    padding: 0 0.75rem;
    text-transform: none;
}

.page-header-live[b-7oabegp2zt]::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

:global([data-theme="light"]) .page-header-main[b-7oabegp2zt] {
    background: linear-gradient(180deg, #ffffff, #fbfcfe);
    border-bottom-color: #dce2ea;
}

:global([data-theme="light"]) .page-header-filterbar[b-7oabegp2zt] {
    background: #f4f6f9;
    border-top-color: #dce2ea;
}

@media (max-width: 1100px) {
    .page-header-main[b-7oabegp2zt] {
        grid-template-columns: auto minmax(0, 1fr) auto;
        row-gap: 0.55rem;
    }

    .page-header-actions[b-7oabegp2zt] {
        grid-column: 2 / -1;
        justify-content: flex-start;
        justify-self: stretch;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-header-main[b-7oabegp2zt] {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 0.65rem 1rem;
    }

    .page-header-badge[b-7oabegp2zt] {
        grid-column: 2;
        justify-self: start;
    }

    .page-header-actions[b-7oabegp2zt] {
        grid-column: 1 / -1;
    }

    .page-header-filterbar[b-7oabegp2zt] {
        align-items: flex-start;
        padding: 0.65rem 1rem 0.8rem;
    }

    .page-header-filterbar :global(strong)[b-7oabegp2zt] {
        flex-basis: 100%;
        margin-top: 0.25rem;
    }
}

@media (max-width: 420px) {
    .page-header-actions[b-7oabegp2zt] {
        flex-wrap: wrap;
    }

    .page-header-actions :global(.btn)[b-7oabegp2zt],
    .page-header-filterbar :global(.filter-chip)[b-7oabegp2zt] {
        flex: 1 1 auto;
        min-height: 38px;
    }
}
