/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-dc0o7nqob0] { height: 100vh; height: 100dvh; }
/* Below lg the page scrolls instead of <main> (mobile audit M12); the topbar stays put. */
@media (max-width: 991.98px) {
    .app-shell[b-dc0o7nqob0] { height: auto; min-height: 100dvh; }
    .topbar[b-dc0o7nqob0] { position: sticky; top: 0; z-index: 1020; }
}

.topbar[b-dc0o7nqob0] {
    display: flex;
    align-items: center;
    gap: .5rem;
    height: var(--topbar-h);
    padding: 0 1.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.crumb-root[b-dc0o7nqob0] { color: var(--ink-secondary); text-decoration: none; }
a.crumb-root:hover[b-dc0o7nqob0] { color: var(--ink); }
.crumb-sep[b-dc0o7nqob0] { font-size: 10px; color: var(--ink-tertiary); }
.crumb-current[b-dc0o7nqob0] { color: var(--ink); font-weight: 500; }

#blazor-error-ui[b-dc0o7nqob0] {
    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-dc0o7nqob0] {
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar[b-5v18gq1q7a] {
    width: 232px;
    min-width: 232px;
    min-height: 100vh;
    background: var(--surface);
    border-right: 1px solid var(--border);
}

/* Workspace mark: a plain zap glyph on an accent tile (Relay iconography), then the app name. */
.sidebar-brand[b-5v18gq1q7a] {
    gap: 10px;
    height: var(--topbar-h);
    padding: 0 12px 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}
.sidebar-mark[b-5v18gq1q7a] {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 24px; height: 24px; border-radius: var(--radius-sm);
    background: var(--accent); color: var(--on-accent); font-size: 13px;
}

[b-5v18gq1q7a] .sidebar-tenant {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 12px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-subtle);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
}

[b-5v18gq1q7a] .sidebar-tenant:hover {
    background: var(--surface-hover);
    border-color: var(--border-strong);
}

/* Overline: 11/16 600, uppercase, only for sidebar and menu group labels. */
.sidebar-group[b-5v18gq1q7a] {
    padding: 16px 20px 4px;
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ink-tertiary);
}

[b-5v18gq1q7a] .sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: var(--control-md);
    margin: 2px 8px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 20px;
    color: var(--ink-secondary);
    text-decoration: none;
}
[b-5v18gq1q7a] .sidebar-link .lc { width: 16px; height: 16px; }

[b-5v18gq1q7a] .sidebar-link:hover {
    background: var(--surface-hover);
    color: var(--ink);
}

/* Active: accent-subtle fill, accent-ink label and a 3px accent bar on the left edge. */
[b-5v18gq1q7a] .sidebar-link.active {
    background: var(--accent-subtle);
    color: var(--accent-ink);
    font-weight: 500;
    box-shadow: inset 3px 0 0 var(--accent);
}

.sidebar-user[b-5v18gq1q7a] {
    border-top: 1px solid var(--border);
    padding: 12px 20px;
    font-size: 13px;
}

.sidebar-user-name[b-5v18gq1q7a] { color: var(--ink); font-weight: 500; }

.sidebar-signout[b-5v18gq1q7a] {
    display: inline-block;
    padding: .25rem 0;
    font-size: 12px;
    color: var(--ink-secondary);
    text-decoration: none;
}

.sidebar-signout:hover[b-5v18gq1q7a] { color: var(--accent-ink); }

/* Phones: drawer rows and "Salir" are full 44px touch targets (mobile audit M7, M10). */
@media (max-width: 991.98px) {
    [b-5v18gq1q7a] .sidebar-link { min-height: 44px; padding: 10px 12px; }
    .sidebar-signout[b-5v18gq1q7a] { display: block; padding: .75rem 0; }
}

/* Scroll shadows: a soft edge shows when more links sit above or below the fold. */
nav.overflow-auto[b-5v18gq1q7a] {
    background:
        linear-gradient(var(--surface) 30%, transparent) top / 100% 24px no-repeat local,
        linear-gradient(transparent, var(--surface) 70%) bottom / 100% 24px no-repeat local,
        linear-gradient(rgba(0,0,0,.12), transparent) top / 100% 8px no-repeat scroll,
        linear-gradient(transparent, rgba(0,0,0,.12)) bottom / 100% 8px no-repeat scroll;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-mjcn8xja2p],
.components-reconnect-repeated-attempt-visible[b-mjcn8xja2p],
.components-reconnect-failed-visible[b-mjcn8xja2p],
.components-pause-visible[b-mjcn8xja2p],
.components-resume-failed-visible[b-mjcn8xja2p],
.components-rejoining-animation[b-mjcn8xja2p] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

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