/* /Components/Layout/LogoEmpresa.razor.rz.scp.css */
.logo-empresa[b-29ajmhr7ij] {
    max-height: 2.5rem;
    max-width: 180px;
    object-fit: contain;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-xuz8ejywb0] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-xuz8ejywb0] {
    flex: 1;
}

.sidebar[b-xuz8ejywb0] {
    background-color: var(--msd-marino);
}

.top-row[b-xuz8ejywb0] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-xuz8ejywb0]  a, .top-row[b-xuz8ejywb0]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-xuz8ejywb0]  a:hover, .top-row[b-xuz8ejywb0]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-xuz8ejywb0]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-xuz8ejywb0] {
        justify-content: space-between;
    }

    .top-row[b-xuz8ejywb0]  a, .top-row[b-xuz8ejywb0]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-xuz8ejywb0] {
        flex-direction: row;
    }

    .sidebar[b-xuz8ejywb0] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-xuz8ejywb0] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-xuz8ejywb0]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-xuz8ejywb0], article[b-xuz8ejywb0] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-xuz8ejywb0] {
    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-xuz8ejywb0] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-6lzjbkymw8] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: var(--msd-marino);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(28, 49, 78, 0.15);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2828, 49, 78, 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 rgba(28, 49, 78, 0.06);
}

.navbar-toggler:checked[b-6lzjbkymw8] {
    background-color: rgba(28, 49, 78, 0.2);
}

/* Encabezado blanco para que se vean todos los colores del logo, con una franja de los cuatro colores */
.top-row[b-6lzjbkymw8] {
    min-height: 3.5rem;
    background-color: white;
    border-bottom: 4px solid;
    border-image: linear-gradient(90deg, var(--msd-marino) 25%, var(--msd-azul) 25% 50%, var(--msd-verde) 50% 75%, var(--msd-amarillo) 75%) 1;
}

.navbar-brand[b-6lzjbkymw8] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--msd-marino);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

    .navbar-brand:hover[b-6lzjbkymw8] {
        color: var(--msd-azul);
    }

    .navbar-brand img[b-6lzjbkymw8] {
        height: 2.25rem;
    }

.bi[b-6lzjbkymw8] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-6lzjbkymw8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' 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");
}

.bi-plus-square-fill-nav-menu[b-6lzjbkymw8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' 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");
}

.bi-bell-fill-nav-menu[b-6lzjbkymw8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-bell-fill' viewBox='0 0 16 16'%3E%3Cpath d='M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2zm.995-14.901a1 1 0 1 0-1.99 0A5.002 5.002 0 0 0 3 6c0 1.098-.5 6-2 7h14c-1.5-1-2-5.902-2-7 0-2.42-1.72-4.44-4.005-4.901z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-6lzjbkymw8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' 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");
}

.nav-item[b-6lzjbkymw8] {
    font-size: 0.9rem;
    padding-bottom: 0.125rem;
}

    .nav-item[b-6lzjbkymw8]  .nav-link {
        color: rgba(255, 255, 255, 0.8);
        background: none;
        border: none;
        border-radius: 4px;
        height: 2.25rem;
        display: flex;
        align-items: center;
        line-height: 2.25rem;
        width: 100%;
    }

.nav-item[b-6lzjbkymw8]  a.active {
    background-color: var(--msd-azul);
    box-shadow: inset 3px 0 0 var(--msd-verde);
    color: white;
}

.nav-item[b-6lzjbkymw8]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-6lzjbkymw8] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-6lzjbkymw8] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-6lzjbkymw8] {
        display: none;
    }

    .nav-scrollable[b-6lzjbkymw8] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem - 4px);
        overflow-y: auto;
    }
}

/* Título de sección: se abre y se cierra al hacer clic */
.menu-grupo[b-6lzjbkymw8] {
    margin-top: 0.25rem;
}

.menu-seccion[b-6lzjbkymw8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    cursor: pointer;
}

    .menu-seccion:hover[b-6lzjbkymw8], .menu-seccion[aria-expanded="true"][b-6lzjbkymw8] {
        color: white;
    }

    /* Flecha: apunta a la derecha cerrada y hacia abajo abierta */
    .menu-seccion[b-6lzjbkymw8]::after {
        content: "";
        width: 0.45rem;
        height: 0.45rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(-45deg);
        transition: transform 0.15s;
    }

    .menu-seccion[aria-expanded="true"][b-6lzjbkymw8]::after {
        transform: rotate(45deg);
    }

    .menu-seccion[aria-expanded="true"][b-6lzjbkymw8] {
        border-left: 3px solid var(--msd-amarillo);
        padding-left: calc(1rem - 3px) !important;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-jhuewgx09v],
.components-reconnect-repeated-attempt-visible[b-jhuewgx09v],
.components-reconnect-failed-visible[b-jhuewgx09v],
.components-pause-visible[b-jhuewgx09v],
.components-resume-failed-visible[b-jhuewgx09v],
.components-rejoining-animation[b-jhuewgx09v] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-jhuewgx09v],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-jhuewgx09v],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-jhuewgx09v],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-jhuewgx09v],
#components-reconnect-modal.components-reconnect-retrying[b-jhuewgx09v],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-jhuewgx09v],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-jhuewgx09v],
#components-reconnect-modal.components-reconnect-failed[b-jhuewgx09v],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-jhuewgx09v] {
    display: block;
}


#components-reconnect-modal[b-jhuewgx09v] {
    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-jhuewgx09v 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-jhuewgx09v 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-jhuewgx09v 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-jhuewgx09v]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-jhuewgx09v 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-jhuewgx09v {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-jhuewgx09v {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-jhuewgx09v {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-jhuewgx09v] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-jhuewgx09v] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-jhuewgx09v] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-jhuewgx09v] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-jhuewgx09v] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-jhuewgx09v] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-jhuewgx09v] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-jhuewgx09v 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-jhuewgx09v] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-jhuewgx09v {
    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/Pages/Home.razor.rz.scp.css */
/* Las tarjetas, semáforos y listas del tablero están en wwwroot/app.css (.tablero), compartidas con Avisos */

/* La cifra principal: una sola por pantalla */
.heroe[b-72t9278vm8] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, #fff 0%, #f5f8fc 100%);
}

.heroe .cifra[b-72t9278vm8] {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--msd-marino);
    margin: 4px 0 8px;
}

.datos[b-72t9278vm8] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    height: 100%;
}

@media (max-width: 575.98px) {
    .datos[b-72t9278vm8] {
        grid-template-columns: 1fr;
    }
}

.valor-dato[b-72t9278vm8] {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--tinta);
    margin-top: 2px;
}

/* Tabla por empresa con una barra pequeña de la cartera */
.tabla-empresas th[b-72t9278vm8] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tinta-2);
    white-space: nowrap;
}

.tabla-empresas td[b-72t9278vm8] {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.col-cartera[b-72t9278vm8] {
    min-width: 200px;
}

.mini[b-72t9278vm8] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-pista[b-72t9278vm8] {
    width: 140px;
    flex: none;
}

.mini-barra[b-72t9278vm8] {
    height: 10px;
    min-width: 2px;
    border-radius: 0 4px 4px 0;
    background: var(--serie-1);
}

.mini span[b-72t9278vm8] {
    font-size: 0.85rem;
}
/* /Components/Pages/TableroAvisos.razor.rz.scp.css */
/* Las tarjetas, semáforos y listas están en wwwroot/app.css (.tablero), compartidas con Inicio */

/* Cinco cifras arriba; cada una lleva a su lista */
.cifras[b-0p0o2vyv3j] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (max-width: 1199.98px) {
    .cifras[b-0p0o2vyv3j] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .cifras[b-0p0o2vyv3j] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.cifra[b-0p0o2vyv3j] {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.15s, border-color 0.15s;
}

.cifra:hover[b-0p0o2vyv3j], .cifra:focus-visible[b-0p0o2vyv3j] {
    background: #f5f8fc;
    border-color: #a5b9d4;
}

.cifra .etiqueta[b-0p0o2vyv3j] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.numero[b-0p0o2vyv3j] {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--tinta);
    font-variant-numeric: tabular-nums;
}

/* Totales por moneda al pie de las listas */
.total td[b-0p0o2vyv3j] {
    font-weight: 600;
    border-bottom: 0;
    color: var(--tinta);
}

.correo[b-0p0o2vyv3j] {
    background: #f5f8fc;
}
/* /Components/Tablero/GraficoBarras.razor.rz.scp.css */
.barras[b-fjdlg005y3] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fila[b-fjdlg005y3] {
    display: grid;
    grid-template-columns: minmax(7rem, 38%) 1fr;
    align-items: center;
    gap: 12px;
}

.etiqueta[b-fjdlg005y3] {
    font-size: 0.85rem;
    color: var(--tinta);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pista[b-fjdlg005y3] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* Barra delgada que crece desde la izquierda, con el extremo de datos redondeado */
.barra[b-fjdlg005y3] {
    height: 14px;
    min-width: 2px;
    border-radius: 0 4px 4px 0;
    background: var(--serie-1);
}

.valor[b-fjdlg005y3] {
    font-size: 0.8rem;
    color: var(--tinta);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.pct[b-fjdlg005y3] {
    color: var(--tinta-2);
}

.fila:hover .barra[b-fjdlg005y3] {
    filter: brightness(1.15);
}

.ver-datos[b-fjdlg005y3] {
    margin-top: 12px;
    font-size: 0.8rem;
}

.ver-datos summary[b-fjdlg005y3] {
    color: var(--tinta-2);
    cursor: pointer;
    width: fit-content;
}

.ver-datos table[b-fjdlg005y3] {
    margin-top: 6px;
    font-variant-numeric: tabular-nums;
}
/* /Components/Tablero/GraficoColumnas.razor.rz.scp.css */
.leyenda[b-v2yx7p394q] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: var(--tinta-2);
}

.leyenda i[b-v2yx7p394q] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-right: 6px;
    vertical-align: -1px;
}

.grafico[b-v2yx7p394q] {
    display: grid;
    column-gap: 4px;
}

/* Cada columna crece desde la línea base; el total va encima */
.columna[b-v2yx7p394q] {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 1px solid var(--eje);
}

.columna:hover .pila[b-v2yx7p394q] {
    filter: brightness(1.15);
}

.total[b-v2yx7p394q] {
    font-size: 0.78rem;
    color: var(--tinta);
    white-space: nowrap;
    margin-bottom: 4px;
}

/* Tramos separados por 2 px de fondo; solo el extremo de arriba es redondeado */
.pila[b-v2yx7p394q] {
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
    width: 24px;
    max-width: 70%;
}

.segmento[b-v2yx7p394q] {
    flex-basis: 0;
    min-height: 1px;
}

.segmento:last-child[b-v2yx7p394q] {
    border-radius: 4px 4px 0 0;
}

/* Los nombres largos pasan a una segunda línea en vez de cortarse */
.categoria[b-v2yx7p394q] {
    padding-top: 6px;
    font-size: 0.75rem;
    line-height: 1.2;
    color: var(--tinta-2);
    text-align: center;
    overflow-wrap: anywhere;
}

.ver-datos[b-v2yx7p394q] {
    margin-top: 12px;
    font-size: 0.8rem;
}

.ver-datos summary[b-v2yx7p394q] {
    color: var(--tinta-2);
    cursor: pointer;
    width: fit-content;
}

.ver-datos table[b-v2yx7p394q] {
    margin-top: 6px;
    font-variant-numeric: tabular-nums;
}
/* /Components/Tablero/Semaforo.razor.rz.scp.css */
.semaforo[b-oz5e8m2098] {
    display: inline-flex;
    gap: 4px;
    padding: 4px 6px;
    border-radius: 999px;
    background: #2b2f36;
    flex: none;
}

.luz[b-oz5e8m2098], .punto[b-oz5e8m2098] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.luz[b-oz5e8m2098] {
    width: 18px;
    height: 18px;
    background: #464b53;
}

.luz.encendida.roja[b-oz5e8m2098] { background: var(--estado-problema); box-shadow: 0 0 8px rgba(208, 59, 59, 0.75); }
.luz.encendida.ambar[b-oz5e8m2098] { background: var(--estado-atencion); box-shadow: 0 0 8px rgba(250, 178, 25, 0.75); color: #0b0b0b; }
.luz.encendida.verde[b-oz5e8m2098] { background: var(--estado-bien); box-shadow: 0 0 8px rgba(12, 163, 12, 0.6); }

.punto[b-oz5e8m2098] {
    width: 16px;
    height: 16px;
    font-size: 10px;
    flex: none;
}

.punto.bien[b-oz5e8m2098] { background: var(--estado-bien); }
.punto.atencion[b-oz5e8m2098] { background: var(--estado-atencion); color: #0b0b0b; }
.punto.problema[b-oz5e8m2098] { background: var(--estado-problema); }
.punto.sin-datos[b-oz5e8m2098] { background: var(--eje); color: #0b0b0b; }
