@import '_content/IntegraIA.Shared/IntegraIA.Shared.1x54svw2nj.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-layout[b-7mjk468pez] {
    display: flex;
    min-height: 100vh;
}

.sidebar[b-7mjk468pez] {
    width: 260px;
    height: 100vh;
    background: linear-gradient(180deg, #0a0a0a 0%, #111111 60%, #111111 100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(220, 38, 38, 0.3) transparent;
}

.main-content[b-7mjk468pez] {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f4;
    min-height: 100vh;
}

.top-bar[b-7mjk468pez] {
    height: 56px;
    background: #111111;
    border-bottom: 1px solid rgba(220, 38, 38, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar-left[b-7mjk468pez] {
    display: flex;
    align-items: center;
}

.top-bar-right[b-7mjk468pez] {
    display: flex;
    align-items: center;
}

.top-bar-right .text-muted[b-7mjk468pez] {
    color: rgba(232, 234, 240, 0.6) !important;
}

.top-bar-right .btn-link[b-7mjk468pez],
.top-bar-right .dropdown-toggle[b-7mjk468pez] {
    color: #E8EAF0 !important;
}

.sidebar-toggle[b-7mjk468pez] {
    color: #E8EAF0;
    padding: 0;
}

.empresa-logo[b-7mjk468pez] {
    height: 54px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    border-radius: 4px;
}

.empresa-nombre[b-7mjk468pez] {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    color: #E8EAF0 !important;
}

.page-content[b-7mjk468pez] {
    flex: 1;
    padding: 1.5rem;
}

#blazor-error-ui[b-7mjk468pez] {
    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-7mjk468pez] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {
    .sidebar[b-7mjk468pez] {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .main-content[b-7mjk468pez] {
        margin-left: 0;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar-brand[b-2m96p4p9ro] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    color: #dc2626;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

.sidebar-brand i[b-2m96p4p9ro] {
    font-size: 1.5rem;
    color: #dc2626;
}

.sidebar-nav[b-2m96p4p9ro] {
    padding: 0.5rem 0;
}

.nav-section-title[b-2m96p4p9ro] {
    color: rgba(220, 38, 38, 0.5);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 1.5rem 0.4rem;
}

/* Links directos (Dashboard, etc.) */
[b-2m96p4p9ro] .sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1.5rem;
    color: rgba(232, 234, 240, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

[b-2m96p4p9ro] .sidebar-link:hover {
    color: #E8EAF0;
    background-color: rgba(220, 38, 38, 0.08);
}

[b-2m96p4p9ro] .sidebar-link.active {
    color: #dc2626;
    background-color: rgba(220, 38, 38, 0.12);
    border-left-color: #dc2626;
}

[b-2m96p4p9ro] .sidebar-link i {
    font-size: 1.1rem;
    width: 1.25rem;
    text-align: center;
}

/* Sub-links (dentro de grupos) */
[b-2m96p4p9ro] .sidebar-link.sub {
    padding-left: 2.75rem;
    font-size: 0.82rem;
}

[b-2m96p4p9ro] .sidebar-link.sub i {
    font-size: 0.95rem;
}

/* Grupo colapsable */
.nav-group[b-2m96p4p9ro] {
    margin: 0;
}

.nav-group-toggle[b-2m96p4p9ro] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.6rem 1.5rem;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    color: rgba(232, 234, 240, 0.7);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.nav-group-toggle:hover[b-2m96p4p9ro] {
    color: #E8EAF0;
    background-color: rgba(220, 38, 38, 0.08);
}

.nav-group-toggle.open[b-2m96p4p9ro] {
    color: #dc2626;
}

.nav-group-toggle i:first-child[b-2m96p4p9ro] {
    font-size: 1.1rem;
    width: 1.25rem;
    text-align: center;
}

.nav-group-toggle span[b-2m96p4p9ro] {
    flex: 1;
}

.nav-chevron[b-2m96p4p9ro] {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.nav-group-toggle.open .nav-chevron[b-2m96p4p9ro] {
    transform: rotate(180deg);
}

/* Items del grupo */
.nav-group-items[b-2m96p4p9ro] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    background-color: rgba(0, 0, 0, 0.3);
}

.nav-group-items.show[b-2m96p4p9ro] {
    max-height: 500px;
}

.sidebar-version[b-2m96p4p9ro] {
    padding: 0.75rem 1.5rem;
    border-top: 1px solid rgba(220, 38, 38, 0.15);
    text-align: center;
    font-size: 0.7rem;
    opacity: 0.6;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-frr7xq7opb],
.components-reconnect-repeated-attempt-visible[b-frr7xq7opb],
.components-reconnect-failed-visible[b-frr7xq7opb],
.components-pause-visible[b-frr7xq7opb],
.components-resume-failed-visible[b-frr7xq7opb],
.components-rejoining-animation[b-frr7xq7opb] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-frr7xq7opb],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-frr7xq7opb],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-frr7xq7opb],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-frr7xq7opb],
#components-reconnect-modal.components-reconnect-retrying[b-frr7xq7opb],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-frr7xq7opb],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-frr7xq7opb],
#components-reconnect-modal.components-reconnect-failed[b-frr7xq7opb],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-frr7xq7opb] {
    display: block;
}


#components-reconnect-modal[b-frr7xq7opb] {
    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-frr7xq7opb 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-frr7xq7opb 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-frr7xq7opb 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-frr7xq7opb]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-frr7xq7opb 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-frr7xq7opb {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-frr7xq7opb {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-frr7xq7opb {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-frr7xq7opb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-frr7xq7opb] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-frr7xq7opb] {
    border: 0;
    background-color: #dc2626;
    color: #ffffff;
    padding: 4px 24px;
    border-radius: 4px;
    font-weight: 600;
}

    #components-reconnect-modal button:hover[b-frr7xq7opb] {
        background-color: #f87171;
    }

    #components-reconnect-modal button:active[b-frr7xq7opb] {
        background-color: #dc2626;
    }

.components-rejoining-animation[b-frr7xq7opb] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-frr7xq7opb] {
        position: absolute;
        border: 3px solid #dc2626;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-frr7xq7opb 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-frr7xq7opb] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-frr7xq7opb {
    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;
    }
}
/* /Components/Shared/EntitySearch.razor.rz.scp.css */
.entity-search-id[b-rmy0777ds9] {
    max-width: 140px;
    min-width: 100px;
}

.entity-search-dropdown[b-rmy0777ds9] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 260px;
    overflow-y: auto;
    background: #1a1a1a;
    border: 1px solid #dc2626;
    border-radius: 0.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.5);
}

.entity-search-dropdown .dropdown-item[b-rmy0777ds9] {
    color: #e0e0e0;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.entity-search-dropdown .dropdown-item:hover[b-rmy0777ds9] {
    background: #dc2626;
    color: #fff;
}
/* /Components/Shared/LoadingIndicator.razor.rz.scp.css */
.loading-indicator[b-expuhpdn8q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    gap: 1rem;
}

.loading-sm[b-expuhpdn8q] {
    padding: 1rem 0.5rem;
    gap: 0.5rem;
}

.fingerprint-pulse[b-expuhpdn8q] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fingerprint-pulse i[b-expuhpdn8q] {
    font-size: 3rem;
    color: #dc2626;
    animation: fingerScan-b-expuhpdn8q 1.8s ease-in-out infinite;
}

.loading-sm .fingerprint-pulse i[b-expuhpdn8q] {
    font-size: 1.8rem;
}

.fingerprint-pulse[b-expuhpdn8q]::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(220, 38, 38, 0.3);
    animation: ripple-b-expuhpdn8q 1.8s ease-out infinite;
}

.loading-sm .fingerprint-pulse[b-expuhpdn8q]::after {
    width: 36px;
    height: 36px;
}

.loading-text[b-expuhpdn8q] {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.loading-sm .loading-text[b-expuhpdn8q] {
    font-size: 0.78rem;
}

@keyframes fingerScan-b-expuhpdn8q {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.92);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes ripple-b-expuhpdn8q {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}
