/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-7y0uumfr6l] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-7y0uumfr6l] {
    flex: 1;
}

.sidebar[b-7y0uumfr6l] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-7y0uumfr6l] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-7y0uumfr6l]  a, .top-row[b-7y0uumfr6l]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-7y0uumfr6l]  a:hover, .top-row[b-7y0uumfr6l]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-7y0uumfr6l]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-7y0uumfr6l] {
        justify-content: space-between;
    }

    .top-row[b-7y0uumfr6l]  a, .top-row[b-7y0uumfr6l]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-7y0uumfr6l] {
        flex-direction: row;
    }

    .sidebar[b-7y0uumfr6l] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-7y0uumfr6l] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-7y0uumfr6l]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-7y0uumfr6l], article[b-7y0uumfr6l] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-7y0uumfr6l] {
    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-7y0uumfr6l] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* =========================================================
   Desktop-style internal multi-tab workspace
   ========================================================= */
.jli-workspace-tabs[b-7y0uumfr6l] {
    position: sticky;
    top: 0;
    z-index: 34;
    display: flex;
    align-items: stretch;
    gap: .28rem;
    min-width: 0;
    padding: .14rem .55rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, .28);
    background: rgba(248, 250, 252, .94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.workspace-tabs-scroll[b-7y0uumfr6l] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: flex-end;
    gap: .22rem;
    overflow: hidden;
    scrollbar-width: none;
}

.workspace-tab[b-7y0uumfr6l] {
    flex: 0 1 auto;
    width: max-content;
    display: flex;
    align-items: center;
    min-width: 0;
    max-width: 260px;
    height: 27px;
    border: 1px solid rgba(148, 163, 184, .26);
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    background: rgba(255, 255, 255, .72);
    color: #475569;
    transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.workspace-tab:hover[b-7y0uumfr6l] {
    background: #fff;
    color: #0f172a;
}

.workspace-tab.active[b-7y0uumfr6l] {
    position: relative;
    background: #fff;
    border-color: rgba(59, 130, 246, .32);
    color: #0f172a;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, .055);
}

.workspace-tab.active[b-7y0uumfr6l]::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 0;
    height: 1.5px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #2563eb, #4f46e5);
}

.workspace-tab-main[b-7y0uumfr6l] {
    flex: 0 1 auto;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    gap: .30rem;
    padding: 0 .28rem 0 .52rem;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    font-size: .78rem;
    text-align: left;
}

.workspace-tab-main i[b-7y0uumfr6l] {
    flex: 0 0 auto;
    width: 14px;
    text-align: center;
    color: #3b82f6;
}

.workspace-tab-main span[b-7y0uumfr6l] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workspace-tab-close[b-7y0uumfr6l] {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-right: .10rem;
    align-self: center;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
}

.workspace-tab-close:hover[b-7y0uumfr6l] {
    background: #fee2e2;
    color: #dc2626;
}

.workspace-tab-home[b-7y0uumfr6l] {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    margin-bottom: 1px;
    border: 1px solid rgba(148, 163, 184, .3);
    border-radius: 6px;
    background: #fff;
    color: #2563eb;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .05);
}

.workspace-tab-home:hover[b-7y0uumfr6l] { background: #eff6ff; }

.dark .jli-workspace-tabs[b-7y0uumfr6l] {
    background: rgba(15, 23, 42, .94);
    border-bottom-color: rgba(71, 85, 105, .6);
}
.dark.workspace-tab[b-7y0uumfr6l] {
    background: rgba(30, 41, 59, .82);
    border-color: rgba(71, 85, 105, .68);
    color: #cbd5e1;
}
.dark .workspace-tab:hover[b-7y0uumfr6l],
.dark .workspace-tab.active[b-7y0uumfr6l],
.dark .workspace-tab-home[b-7y0uumfr6l] {
    background: #1e293b;
    color: #f8fafc;
}
.dark .workspace-tab-home[b-7y0uumfr6l] { border-color: #475569; color: #60a5fa; }

@media (max-width: 768px) {
    .jli-workspace-tabs[b-7y0uumfr6l] { padding: .12rem .35rem 0; gap: .18rem; }
   .workspace-tab[b-7y0uumfr6l] { min-width: 0; max-width: 156px; height: 26px; }
    .workspace-tab-main[b-7y0uumfr6l] { padding-left: .42rem; gap: .24rem; font-size: .72rem; }
    .workspace-tab-close[b-7y0uumfr6l] { flex-basis: 19px; width: 19px; height: 19px; margin-right: .08rem; }
    .workspace-tab-home[b-7y0uumfr6l] { width: 25px; flex-basis: 25px; height: 25px; }
}


/* AH7 - No-scroll adaptive tab sizing.
   Tabs keep their content-based natural width while space is available,
   then flex-shrink together and ellipsize instead of creating a scrollbar. */
.workspace-tabs-scroll[b-7y0uumfr6l] {
    overflow: hidden !important;
}
.workspace-tab[b-7y0uumfr6l] {
    flex-grow: 0;
    flex-shrink: 1;
    min-width: 0 !important;
}
.workspace-tab-main[b-7y0uumfr6l] {
    min-width: 0 !important;
}
.workspace-tab-main span[b-7y0uumfr6l] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* AH8 - Hidden module/page private unlock */
.clean-version[b-7y0uumfr6l] { cursor: default; user-select: none; }
.hidden-lock-backdrop[b-7y0uumfr6l]{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:18px;background:rgba(2,6,23,.64);backdrop-filter:blur(8px)}
.hidden-lock-card[b-7y0uumfr6l]{width:min(430px,100%);padding:24px;border:1px solid rgba(148,163,184,.28);border-radius:18px;background:#fff;box-shadow:0 28px 80px rgba(2,6,23,.34);color:#0f172a}
.hidden-lock-icon[b-7y0uumfr6l]{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#0f172a,#334155);color:#fff;font-size:20px;margin-bottom:14px}
.hidden-lock-copy span[b-7y0uumfr6l]{font-size:10px;font-weight:900;letter-spacing:.16em;color:#6366f1}.hidden-lock-copy h3[b-7y0uumfr6l]{margin:4px 0 5px;font-size:20px}.hidden-lock-copy p[b-7y0uumfr6l]{margin:0 0 16px;color:#64748b;font-size:13px;line-height:1.55}
.hidden-lock-card input[b-7y0uumfr6l]{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #cbd5e1;border-radius:10px;outline:none;font:inherit}.hidden-lock-card input:focus[b-7y0uumfr6l]{border-color:#6366f1;box-shadow:0 0 0 3px #eef2ff}
.hidden-lock-actions[b-7y0uumfr6l]{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}.hidden-lock-actions button[b-7y0uumfr6l]{border:0;border-radius:9px;padding:9px 13px;background:#0f172a;color:#fff;font-weight:800;cursor:pointer}.hidden-lock-actions button.ghost[b-7y0uumfr6l]{background:#f1f5f9;color:#334155}
.hidden-lock-error[b-7y0uumfr6l]{margin-top:10px;padding:9px 10px;border-radius:8px;background:#fef2f2;color:#b91c1c;font-size:12px;font-weight:750}.hidden-lock-success[b-7y0uumfr6l]{margin-top:8px;padding:11px;border-radius:9px;background:#ecfdf5;color:#047857;font-size:12px;font-weight:800}
.dark .hidden-lock-card[b-7y0uumfr6l]{background:#0f172a;color:#f8fafc;border-color:#334155}.dark .hidden-lock-copy p[b-7y0uumfr6l]{color:#94a3b8}.dark .hidden-lock-card input[b-7y0uumfr6l]{background:#111827;border-color:#475569;color:#fff}.dark .hidden-lock-actions button.ghost[b-7y0uumfr6l]{background:#1e293b;color:#e2e8f0}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-32ms7b9han],
.components-reconnect-repeated-attempt-visible[b-32ms7b9han],
.components-reconnect-failed-visible[b-32ms7b9han],
.components-pause-visible[b-32ms7b9han],
.components-resume-failed-visible[b-32ms7b9han],
.components-rejoining-animation[b-32ms7b9han] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-32ms7b9han],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-32ms7b9han],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-32ms7b9han],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-32ms7b9han],
#components-reconnect-modal.components-reconnect-retrying[b-32ms7b9han],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-32ms7b9han],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-32ms7b9han],
#components-reconnect-modal.components-reconnect-failed[b-32ms7b9han],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-32ms7b9han] {
    display: block;
}


#components-reconnect-modal[b-32ms7b9han] {
    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-32ms7b9han 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-32ms7b9han 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-32ms7b9han 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-32ms7b9han]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-32ms7b9han 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-32ms7b9han {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-32ms7b9han {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-32ms7b9han {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-32ms7b9han] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-32ms7b9han] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-32ms7b9han] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-32ms7b9han] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-32ms7b9han] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-32ms7b9han] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-32ms7b9han] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-32ms7b9han 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-32ms7b9han] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-32ms7b9han {
    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;
    }
}
