/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-orqkq21jyf] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-orqkq21jyf] {
    flex: 1;
}

.sidebar[b-orqkq21jyf] {
    /* Fondo blanco, igual al fondo del logo CAPATAZ NET */
    background-color: #ffffff;
    border-right: 1px solid #dee2e6;
}

.top-row[b-orqkq21jyf] {
    background-color: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-orqkq21jyf]  a, .top-row[b-orqkq21jyf]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-orqkq21jyf]  a:hover, .top-row[b-orqkq21jyf]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-orqkq21jyf]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-orqkq21jyf] {
        justify-content: space-between;
    }

    .top-row[b-orqkq21jyf]  a, .top-row[b-orqkq21jyf]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-orqkq21jyf] {
        flex-direction: row;
    }

    .sidebar[b-orqkq21jyf] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-orqkq21jyf] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-orqkq21jyf]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-orqkq21jyf], article[b-orqkq21jyf] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-orqkq21jyf] {
    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-orqkq21jyf] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-mdnzgfegjv] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem #2478C5;
}

.navbar-toggler:checked[b-mdnzgfegjv] {
    background-color: rgba(255, 255, 255, 0.2);
}

.top-row[b-mdnzgfegjv] {
    min-height: 3.5rem;
    /* Fondo azul CAPATAZ para la barra superior del panel */
    background-color: #2478C5;
}

.navbar-brand[b-mdnzgfegjv] {
    font-size: 1.4em;
    color: white !important;
}

.bi[b-mdnzgfegjv] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

/* Ícono de inicio en azul CAPATAZ para fondo blanco */
.bi-house-door-fill-nav-menu[b-mdnzgfegjv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232478C5' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

/* Ícono de agregar en azul CAPATAZ para fondo blanco */
.bi-plus-square-fill-nav-menu[b-mdnzgfegjv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232478C5' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

/* Ícono de lista en azul CAPATAZ para fondo blanco */
.bi-list-nested-nav-menu[b-mdnzgfegjv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232478C5' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

/* Ícono de historial (registro de descargas) en azul CAPATAZ */
.bi-clock-history-nav-menu[b-mdnzgfegjv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232478C5' viewBox='0 0 16 16'%3E%3Cpath d='M8.515 1.019A7 7 0 0 0 8 1V0a8 8 0 0 1 .589.022l-.074.997zm2.004.45a7.003 7.003 0 0 0-.985-.299l.219-.976c.383.086.76.5 1.126.342l-.36.933zm1.37.71a7.01 7.01 0 0 0-.439-.27l.493-.87a8.025 8.025 0 0 1 .979.654l-.615.789a6.996 6.996 0 0 0-.418-.302zm1.834 1.79a6.99 6.99 0 0 0-.653-.796l.724-.69c.27.285.52.59.747.91l-.818.576zm.744 1.352a7.08 7.08 0 0 0-.214-.468l.893-.45a7.976 7.976 0 0 1 .45 1.088l-.95.313a7.023 7.023 0 0 0-.179-.483zm.53 2.507a6.991 6.991 0 0 0-.1-1.025l.985-.17c.067.386.106.778.116 1.17l-1 .025zm-.131 1.538c.033-.17.06-.339.081-.51l.993.123a7.957 7.957 0 0 1-.23 1.155l-.964-.267c.045-.165.084-.331.12-.501zm-.952 2.379c.184-.29.346-.594.486-.908l.914.405c-.16.36-.345.706-.555 1.038l-.845-.535zm-.964 1.205c.122-.122.239-.248.35-.378l.758.653a8.073 8.073 0 0 1-.401.432l-.707-.707z'/%3E%3Cpath d='M8 1a7 7 0 1 0 4.95 11.95l.707.707A8.001 8.001 0 1 1 8 0v1z'/%3E%3Cpath d='M7.5 3a.5.5 0 0 1 .5.5v5.21l3.248 1.856a.5.5 0 0 1-.496.868l-3.5-2A.5.5 0 0 1 7 9V3.5a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E");
}

/* Ícono de grupos en azul CAPATAZ para fondo blanco */
.bi-people-fill-nav-menu[b-mdnzgfegjv] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232478C5' viewBox='0 0 16 16'%3E%3Cpath d='M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7Zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm-5.784 6A2.238 2.238 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.325 6.325 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1h4.216ZM4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z'/%3E%3C/svg%3E");
}

.nav-item[b-mdnzgfegjv] {
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-mdnzgfegjv] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-mdnzgfegjv] {
        padding-bottom: 1rem;
    }

    /* Texto oscuro para fondo blanco del panel */
    .nav-item[b-mdnzgfegjv]  .nav-link {
        color: #444444;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

/* Estado activo con tono azul CAPATAZ */
.nav-item[b-mdnzgfegjv]  a.active {
    background-color: rgba(36, 120, 197, 0.15);
    color: #2478C5;
}

/* Hover con tono azul CAPATAZ */
.nav-item[b-mdnzgfegjv]  .nav-link:hover {
    background-color: rgba(36, 120, 197, 0.1);
    color: #2478C5;
}

.nav-scrollable[b-mdnzgfegjv] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-mdnzgfegjv] {
    display: block;
}

/* Contenedor del logo al pie del panel izquierdo */
.sidebar-logo[b-mdnzgfegjv] {
    padding: 1rem 0.75rem;
    text-align: center;
}

/* Imagen del logo CAPATAZ NET */
.capataz-logo[b-mdnzgfegjv] {
    width: 100%;
    max-width: 210px;
    display: block;
    margin: 0 auto;
}

/* Versión de build debajo del logo */
.sidebar-version[b-mdnzgfegjv] {
    text-align: center;
    font-size: 1.2rem;
    color: #999;
    margin-top: 0.3rem;
    letter-spacing: 0.03em;
}

@media (min-width: 641px) {
    .navbar-toggler[b-mdnzgfegjv] {
        display: none;
    }

    .nav-scrollable[b-mdnzgfegjv] {
        /* Flex column para empujar el logo al fondo del panel */
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        /* Permite scroll en menús extensos */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-2i5v9h1mhd],
.components-reconnect-repeated-attempt-visible[b-2i5v9h1mhd],
.components-reconnect-failed-visible[b-2i5v9h1mhd],
.components-pause-visible[b-2i5v9h1mhd],
.components-resume-failed-visible[b-2i5v9h1mhd],
.components-rejoining-animation[b-2i5v9h1mhd] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-2i5v9h1mhd],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-2i5v9h1mhd],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-2i5v9h1mhd],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-2i5v9h1mhd],
#components-reconnect-modal.components-reconnect-retrying[b-2i5v9h1mhd],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-2i5v9h1mhd],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-2i5v9h1mhd],
#components-reconnect-modal.components-reconnect-failed[b-2i5v9h1mhd],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-2i5v9h1mhd] {
    display: block;
}


#components-reconnect-modal[b-2i5v9h1mhd] {
    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-2i5v9h1mhd 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-2i5v9h1mhd 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-2i5v9h1mhd 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-2i5v9h1mhd]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-2i5v9h1mhd 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-2i5v9h1mhd {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-2i5v9h1mhd {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-2i5v9h1mhd {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-2i5v9h1mhd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-2i5v9h1mhd] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-2i5v9h1mhd] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-2i5v9h1mhd] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-2i5v9h1mhd] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-2i5v9h1mhd] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-2i5v9h1mhd] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-2i5v9h1mhd 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-2i5v9h1mhd] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-2i5v9h1mhd {
    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;
    }
}
