/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-mritn2up8m] {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background-color: #f8fafc;
}

.drawer-backdrop[b-mritn2up8m] {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.48);
    z-index: 1040;
}

.app-sidebar[b-mritn2up8m] {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 270px;
    max-width: 85vw;
    background-color: #0f172a;
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    box-shadow: 4px 0 20px rgba(15, 23, 42, 0.25);
}

.app-shell.drawer-open .app-sidebar[b-mritn2up8m] {
    transform: translateX(0);
}

.app-shell.drawer-open .drawer-backdrop[b-mritn2up8m] {
    display: block;
}

.app-main[b-mritn2up8m] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app-topbar[b-mritn2up8m] {
    position: sticky;
    top: 0;
    z-index: 1020;
    height: 3.5rem;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.topbar-left[b-mritn2up8m] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.topbar-right[b-mritn2up8m] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.menu-toggle-btn[b-mritn2up8m] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: #0f172a;
    cursor: pointer;
    flex-shrink: 0;
}

.menu-toggle-btn:hover[b-mritn2up8m] {
    background-color: #f1f5f9;
}

.mobile-brand[b-mritn2up8m] {
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    white-space: nowrap;
}

.app-topbar[b-mritn2up8m]  .proyecto-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
}

.app-topbar[b-mritn2up8m]  .proyecto-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.app-topbar[b-mritn2up8m]  .proyecto-select {
    min-width: 160px;
    max-width: 260px;
    border-color: #cbd5e1;
    font-size: 0.85rem;
}

.app-topbar[b-mritn2up8m]  .proyecto-empty-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background-color: #f1f5f9;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.app-topbar[b-mritn2up8m]  .proyecto-empty-badge:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

.app-content[b-mritn2up8m] {
    flex: 1;
    padding: 1rem;
    max-width: 100%;
}

@media (min-width: 992px) {
    .app-sidebar[b-mritn2up8m] {
        position: sticky;
        top: 0;
        height: 100vh;
        width: 260px;
        transform: none;
        box-shadow: none;
        flex-shrink: 0;
        transition: width 0.2s ease, margin-left 0.2s ease;
    }

    .app-shell.sidebar-collapsed .app-sidebar[b-mritn2up8m] {
        margin-left: -260px;
    }

    .drawer-backdrop[b-mritn2up8m] {
        display: none !important;
    }

    .app-topbar[b-mritn2up8m] {
        padding: 0 1.5rem;
    }

    .app-content[b-mritn2up8m] {
        padding: 1.5rem 1.75rem;
    }
}

#blazor-error-ui[b-mritn2up8m] {
    color-scheme: light only;
    background: #fef3c7;
    color: #92400e;
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

#blazor-error-ui .dismiss[b-mritn2up8m] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar-header[b-1v419n0f2p] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 3.5rem;
}

.brand[b-1v419n0f2p] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: #f8fafc;
    min-width: 0;
}

.brand:hover[b-1v419n0f2p] {
    color: #ffffff;
}

.brand-mark[b-1v419n0f2p] {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-text[b-1v419n0f2p] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.brand-text strong[b-1v419n0f2p] {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.brand-text small[b-1v419n0f2p] {
    font-size: 0.7rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-close-btn[b-1v419n0f2p] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
}

.drawer-close-btn:hover[b-1v419n0f2p] {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.sidebar-nav[b-1v419n0f2p] {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-list[b-1v419n0f2p],
.nav-sublist[b-1v419n0f2p] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list[b-1v419n0f2p] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.25rem;
}

.nav-icon[b-1v419n0f2p] {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    opacity: 0.85;
}

.nav-list[b-1v419n0f2p]  .nav-link-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.75rem;
    min-height: 2.75rem;
    border-radius: 0.5rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-list[b-1v419n0f2p]  .nav-link-item:hover {
    background-color: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

.nav-list[b-1v419n0f2p]  .nav-link-item.active {
    background-color: #2563eb;
    color: #ffffff;
}

.nav-list[b-1v419n0f2p]  .nav-link-item.active .nav-icon {
    opacity: 1;
}

.nav-group[b-1v419n0f2p] {
    margin-top: 0.25rem;
}

.nav-group-title[b-1v419n0f2p] {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.75rem;
    min-height: 2.6rem;
    border-radius: 0.5rem;
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s ease;
}

.nav-group-title[b-1v419n0f2p]::-webkit-details-marker {
    display: none;
}

.nav-group-title:hover[b-1v419n0f2p] {
    background-color: rgba(255, 255, 255, 0.06);
}

.nav-group-label[b-1v419n0f2p] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.chevron[b-1v419n0f2p] {
    width: 1rem;
    height: 1rem;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.nav-group:not([open]) .chevron[b-1v419n0f2p] {
    transform: rotate(-90deg);
}

.nav-sublist[b-1v419n0f2p] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.2rem 0 0.35rem 1.4rem;
    margin-left: 0.65rem;
    border-left: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-sublist[b-1v419n0f2p]  .nav-sublink {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    min-height: 2.5rem;
    border-radius: 0.45rem;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.86rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-sublist[b-1v419n0f2p]  .nav-sublink:hover {
    background-color: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

.nav-sublist[b-1v419n0f2p]  .nav-sublink.active {
    background-color: rgba(37, 99, 235, 0.25);
    color: #ffffff;
    font-weight: 600;
}

.sidebar-footer[b-1v419n0f2p] {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-footer[b-1v419n0f2p]  .footer-user-link,
.footer-action-btn[b-1v419n0f2p] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.55rem 0.75rem;
    min-height: 2.6rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.86rem;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar-footer[b-1v419n0f2p]  .footer-user-link:hover,
.footer-action-btn:hover[b-1v419n0f2p] {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

@media (min-width: 992px) {
    .drawer-close-btn[b-1v419n0f2p] {
        display: none;
    }

    .nav-list[b-1v419n0f2p]  .nav-link-item {
        min-height: 2.4rem;
        padding: 0.45rem 0.75rem;
    }

    .nav-sublist[b-1v419n0f2p]  .nav-sublink {
        min-height: 2.2rem;
        padding: 0.4rem 0.75rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-nhpgfwm9mr],
.components-reconnect-repeated-attempt-visible[b-nhpgfwm9mr],
.components-reconnect-failed-visible[b-nhpgfwm9mr],
.components-pause-visible[b-nhpgfwm9mr],
.components-resume-failed-visible[b-nhpgfwm9mr],
.components-rejoining-animation[b-nhpgfwm9mr] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-nhpgfwm9mr],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-nhpgfwm9mr],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-nhpgfwm9mr],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-nhpgfwm9mr],
#components-reconnect-modal.components-reconnect-retrying[b-nhpgfwm9mr],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-nhpgfwm9mr],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-nhpgfwm9mr],
#components-reconnect-modal.components-reconnect-failed[b-nhpgfwm9mr],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-nhpgfwm9mr] {
    display: block;
}


#components-reconnect-modal[b-nhpgfwm9mr] {
    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-nhpgfwm9mr 0.5s both;
    &[open] {
        animation: components-reconnect-modal-slideUp-b-nhpgfwm9mr 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-nhpgfwm9mr 0.5s ease-in-out 0.3s;
        animation-fill-mode: both;
    }
}

#components-reconnect-modal[b-nhpgfwm9mr]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-nhpgfwm9mr 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-nhpgfwm9mr {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-nhpgfwm9mr {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-nhpgfwm9mr {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-nhpgfwm9mr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-nhpgfwm9mr] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-nhpgfwm9mr] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-nhpgfwm9mr] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-nhpgfwm9mr] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-nhpgfwm9mr] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-nhpgfwm9mr] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-nhpgfwm9mr 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-nhpgfwm9mr] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-nhpgfwm9mr {
    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;
    }
}
