/* /Components/Layout/CustomSidebar.razor.rz.scp.css */
/* ========== SIDEBAR PERSONALIZADO - MODERNO Y MINIMALISTA ========== */

.custom-sidebar[b-w1dodfqfux] {
    position: fixed;
    left: 0;
    top: 56px;
    bottom: 0;
    width: 260px;
    background: #ffffff;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.custom-sidebar.collapsed[b-w1dodfqfux] {
    transform: translateX(-260px);
}

.custom-sidebar-menu[b-w1dodfqfux] {
    padding: 12px 0;
    height: 100%;
    overflow-y: auto;
}

.menu-list[b-w1dodfqfux] {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Items del menú */
[b-w1dodfqfux] .menu-item {
    margin: 4px 12px;
}

[b-w1dodfqfux] .menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    padding-left: 20px;
    border-radius: 12px;
    background: transparent;
    color: rgba(0, 0, 0, 0.75);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

/* Hover - fondo sutil y desplazamiento */
[b-w1dodfqfux] .menu-link:hover {
    background: rgba(42, 47, 114, 0.06);
    color: rgba(0, 0, 0, 0.88);
    transform: translateX(3px);
}

/* Item activo - pill destacado con barra lateral */
[b-w1dodfqfux] .menu-item.active .menu-link {
    background: linear-gradient(135deg, rgba(42, 47, 114, 0.10) 0%, rgba(42, 47, 114, 0.08) 100%);
    color: rgba(0, 0, 0, 0.92);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Barra lateral izquierda del item activo */
[b-w1dodfqfux] .menu-item.active .menu-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, rgba(42, 47, 114, 1) 0%, rgba(42, 47, 114, 0.85) 100%);
    box-shadow: 2px 0 6px rgba(42, 47, 114, 0.25);
}

/* Iconos */
[b-w1dodfqfux] .menu-icon {
    font-size: 1.25rem;
    color: rgba(0, 0, 0, 0.55);
    transition: color 0.2s ease;
    flex-shrink: 0;
}

[b-w1dodfqfux] .menu-link:hover .menu-icon {
    color: rgba(42, 47, 114, 0.85);
}

[b-w1dodfqfux] .menu-item.active .menu-icon {
    color: rgba(42, 47, 114, 0.95);
}

/* Texto del menú */
[b-w1dodfqfux] .menu-text {
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* Scrollbar personalizado */
.custom-sidebar-menu[b-w1dodfqfux]::-webkit-scrollbar {
    width: 6px;
}

.custom-sidebar-menu[b-w1dodfqfux]::-webkit-scrollbar-track {
    background: transparent;
}

.custom-sidebar-menu[b-w1dodfqfux]::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.custom-sidebar-menu[b-w1dodfqfux]::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .custom-sidebar[b-w1dodfqfux] {
        top: 48px;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-6fbiu3znhs] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-6fbiu3znhs] {
    flex: 1;
}

.sidebar[b-6fbiu3znhs] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-6fbiu3znhs] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-6fbiu3znhs]  a, .top-row[b-6fbiu3znhs]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-6fbiu3znhs]  a:hover, .top-row[b-6fbiu3znhs]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-6fbiu3znhs]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-6fbiu3znhs] {
        justify-content: space-between;
    }

    .top-row[b-6fbiu3znhs]  a, .top-row[b-6fbiu3znhs]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-6fbiu3znhs] {
        flex-direction: row;
    }

    .sidebar[b-6fbiu3znhs] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-6fbiu3znhs] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-6fbiu3znhs]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-6fbiu3znhs], article[b-6fbiu3znhs] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-6fbiu3znhs] {
    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-6fbiu3znhs] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-jkjv2cd312],
.components-reconnect-repeated-attempt-visible[b-jkjv2cd312],
.components-reconnect-failed-visible[b-jkjv2cd312],
.components-pause-visible[b-jkjv2cd312],
.components-resume-failed-visible[b-jkjv2cd312],
.components-rejoining-animation[b-jkjv2cd312] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-jkjv2cd312],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-jkjv2cd312],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-jkjv2cd312],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-jkjv2cd312],
#components-reconnect-modal.components-reconnect-retrying[b-jkjv2cd312],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-jkjv2cd312],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-jkjv2cd312],
#components-reconnect-modal.components-reconnect-failed[b-jkjv2cd312],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-jkjv2cd312] {
    display: block;
}


#components-reconnect-modal[b-jkjv2cd312] {
    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-jkjv2cd312 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-jkjv2cd312 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-jkjv2cd312 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-jkjv2cd312]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-jkjv2cd312 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-jkjv2cd312 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-jkjv2cd312 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-jkjv2cd312 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-jkjv2cd312] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-jkjv2cd312] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-jkjv2cd312] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-jkjv2cd312] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-jkjv2cd312] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-jkjv2cd312] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-jkjv2cd312] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-jkjv2cd312 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-jkjv2cd312] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-jkjv2cd312 {
    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;
    }
}
