/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-jaxnkacdyd] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ---- Top header (white, full width) ---- */
.app-header[b-jaxnkacdyd] {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-left[b-jaxnkacdyd] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-toggle-btn[b-jaxnkacdyd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background: none;
    border: none;
    border-radius: 6px;
    padding: 0;
    cursor: pointer;
    color: var(--ink);
    transition: background-color .15s ease;
}

    .sidebar-toggle-btn:hover[b-jaxnkacdyd] {
        background-color: var(--app-bg);
    }

.brand-app[b-jaxnkacdyd] {
    display: flex;
    align-items: center;
    padding-left: 0.75rem;
    border-left: 2px solid var(--neutral);
    line-height: 1;
}

    .brand-app img[b-jaxnkacdyd] {
        height: 2.5rem;
        width: auto;
        display: block;
    }

.header-right[b-jaxnkacdyd] {
    display: flex;
    align-items: center;
}

    /* Header auth block is a child component, so reach its markup via ::deep */
    .header-right[b-jaxnkacdyd]  .hdr-user {
        color: var(--muted);
        font-weight: 500;
    }

    .header-right[b-jaxnkacdyd]  .modo-toggle {
        margin-right: 1.25rem;
    }

    .header-right[b-jaxnkacdyd]  .hdr-link {
        color: var(--brand-primary);
        font-weight: 600;
        margin-left: 1.25rem;
    }

/* ---- Body: DxDrawer (sidebar) + content ---- */
/* DxDrawer renders as a <dxbl-drawer> custom element - its overrides live in
   wwwroot/theme.css (global), not here; scoped-CSS attributes can't reach
   into it. This class just needs to participate in the flex layout. */
.app-drawer[b-jaxnkacdyd] {
    flex: 1;
    min-height: 0;
}

main[b-jaxnkacdyd] {
    flex: 1;
    min-width: 0;
    background: var(--app-bg);
}

.content[b-jaxnkacdyd] {
    padding: 1.5rem 2rem;
}

@media (max-width: 640.98px) {
    .brand-app[b-jaxnkacdyd] {
        display: none;
    }

    .content[b-jaxnkacdyd] {
        padding: 1.25rem;
    }
}

#blazor-error-ui[b-jaxnkacdyd] {
    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-jaxnkacdyd] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* DxMenu renders as a <dxbl-menu> custom element, so Blazor's scoped-CSS
   attribute never reaches its internals. All nav-menu styling lives in
   wwwroot/theme.css (global) instead - see the "Sidebar (DxDrawer + DxMenu)"
   section there. */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-t9mewesgab],
.components-reconnect-repeated-attempt-visible[b-t9mewesgab],
.components-reconnect-failed-visible[b-t9mewesgab],
.components-pause-visible[b-t9mewesgab],
.components-resume-failed-visible[b-t9mewesgab],
.components-rejoining-animation[b-t9mewesgab] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-t9mewesgab],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-t9mewesgab],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-t9mewesgab],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-t9mewesgab],
#components-reconnect-modal.components-reconnect-retrying[b-t9mewesgab],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-t9mewesgab],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-t9mewesgab],
#components-reconnect-modal.components-reconnect-failed[b-t9mewesgab],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-t9mewesgab] {
    display: block;
}


#components-reconnect-modal[b-t9mewesgab] {
    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-t9mewesgab 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-t9mewesgab 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-t9mewesgab 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-t9mewesgab]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-t9mewesgab 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-t9mewesgab {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-t9mewesgab {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-t9mewesgab {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-t9mewesgab] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-t9mewesgab] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-t9mewesgab] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-t9mewesgab] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-t9mewesgab] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-t9mewesgab] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-t9mewesgab] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-t9mewesgab 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-t9mewesgab] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-t9mewesgab {
    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/Biometrias/Importar.razor.rz.scp.css */
.aparato-encabezado[b-qur23blodj] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* Wordmark colors/font come from theme.css (.wordmark-*); only the header size is set here. */
.aparato-wordmark[b-qur23blodj] {
    font-size: 1.9rem;
}

.biom-chip[b-qur23blodj] {
    display: inline-block;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    padding: 0.05rem 0.4rem;
    margin: 0 0.25rem 0.25rem 0;
    font-size: 0.8rem;
    white-space: nowrap;
}

.biom-llenar[b-qur23blodj] {
    background: #e8f5e9;
    border-color: #81c784;
}

.biom-tenia[b-qur23blodj] {
    background: #fff8e1;
    border-color: #ffca28;
}

.biom-noesta[b-qur23blodj] {
    background: #f1f3f5;
    color: #868e96;
}

/* Value outside the analyzer's own Low/High range for that patient profile. */
.biom-rango[b-qur23blodj] {
    border-color: #dc3545;
    border-width: 2px;
    font-weight: 600;
}
/* /Components/Pages/Home.razor.rz.scp.css */
.home-hero[b-njszn8gifn] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.home-hero-logo[b-njszn8gifn] {
    height: 4.5rem;
    width: auto;
}

.home-hero-title[b-njszn8gifn] {
    margin: 0;
    color: var(--lake);
    font-weight: 700;
}

.home-hero-tagline[b-njszn8gifn] {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.home-intro[b-njszn8gifn] {
    max-width: 62rem;
    color: var(--ink);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.home-feature-grid[b-njszn8gifn] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.home-feature-card[b-njszn8gifn] {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

    .home-feature-card h5[b-njszn8gifn] {
        margin: 0.75rem 0 0.5rem;
        color: var(--lake);
    }

    .home-feature-card p[b-njszn8gifn] {
        margin: 0;
        color: var(--muted);
        font-size: 0.925rem;
        line-height: 1.5;
    }

/* .dxbl-image icon classes are global (theme.css) and colored via
   currentColor, so setting `color` here re-tints them for this card. */
.home-feature-icon[b-njszn8gifn] {
    display: block;
    width: 2rem;
    height: 2rem;
    color: var(--brand-primary);
}
/* /Components/Pages/LegacySucursales/Index.razor.rz.scp.css */
.sucursal-fila[b-dly6la4uk8] {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

    .sucursal-fila:last-child[b-dly6la4uk8] {
        border-bottom: none;
    }

.sucursal-logo[b-dly6la4uk8] {
    flex: 0 0 7rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border);
    border-radius: 0.375rem;
    background: #fff;
}

    .sucursal-logo img[b-dly6la4uk8] {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.sucursal-datos[b-dly6la4uk8] {
    flex: 1;
    min-width: 0;
}

.portal-input[b-dly6la4uk8] {
    max-width: 14rem;
}

@media (max-width: 767.98px) {
    .sucursal-fila[b-dly6la4uk8] {
        flex-direction: column;
    }
}
/* /Components/Pages/Monitor/Index.razor.rz.scp.css */
/* Two analyzer lists side by side; stacked on phones. */
.monitor-columnas[b-zmxbpvdolq] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

@media (max-width: 767.98px) {
    .monitor-columnas[b-zmxbpvdolq] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Monitor/MonitorLista.razor.rz.scp.css */
.monitor-lista[b-07y40l165g] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.monitor-lista-encabezado[b-07y40l165g] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.02);
}

.monitor-orden[b-07y40l165g] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border);
    color: inherit;
    text-decoration: none;
}

    .monitor-orden:last-child[b-07y40l165g] {
        border-bottom: none;
    }

    .monitor-orden:hover[b-07y40l165g],
    .monitor-orden:active[b-07y40l165g] {
        background: rgba(0, 0, 0, 0.04);
    }

/* Everything for this analyzer is captured - keep it listed (the order is still pending) but out of the way. */
.monitor-completa[b-07y40l165g] {
    opacity: 0.55;
}

.monitor-numero[b-07y40l165g] {
    flex: 0 0 4.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.monitor-detalle[b-07y40l165g] {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}
/* /Components/Pages/OrdenesPendientes/Index.razor.rz.scp.css */
.pendientes-toolbar[b-jhonv6vtsd] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

    .pendientes-toolbar[b-jhonv6vtsd]  .pendientes-fecha {
        width: 160px;
    }

    .pendientes-toolbar[b-jhonv6vtsd]  .pendientes-search {
        width: 320px;
    }

    .pendientes-toolbar .pendientes-sucursal[b-jhonv6vtsd] {
        width: auto;
        max-width: 260px;
    }

.pendientes-cards[b-jhonv6vtsd] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.pendiente-card[b-jhonv6vtsd] {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    color: inherit;
    text-decoration: none;
}

    .pendiente-card:active[b-jhonv6vtsd] {
        background: var(--border);
    }

    .pendiente-card:last-child[b-jhonv6vtsd] {
        border-bottom: none;
    }

.pendiente-card-left[b-jhonv6vtsd] {
    flex: 0 0 5.5rem;
}

.pendiente-card-body[b-jhonv6vtsd] {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .pendientes-toolbar[b-jhonv6vtsd]  .pendientes-search,
    .pendientes-toolbar[b-jhonv6vtsd]  .pendientes-fecha,
    .pendientes-toolbar .pendientes-sucursal[b-jhonv6vtsd] {
        width: 100%;
        max-width: none;
    }
}
/* /Components/Pages/OrdenesPendientes/Resultados.razor.rz.scp.css */
/* Tabs scroll sideways on narrow screens instead of wrapping into several rows. */
.captura-tabs[b-4ckuvrjlyd] {
    overflow-x: auto;
}

.captura-lista[b-4ckuvrjlyd] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.captura-fila[b-4ckuvrjlyd] {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) minmax(14rem, 2fr) minmax(9rem, auto);
    gap: 0.5rem 1rem;
    align-items: start;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border);
}

    .captura-fila:last-child[b-4ckuvrjlyd] {
        border-bottom: none;
    }

.captura-error[b-4ckuvrjlyd] {
    background: #fff5f5;
}

.captura-estado[b-4ckuvrjlyd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.captura-solo-lectura[b-4ckuvrjlyd] {
    padding: 0.25rem 0;
    white-space: pre-wrap;
}

.captura-fuera[b-4ckuvrjlyd] {
    border-color: #f0ad4e;
    background: #fff8e1;
}

.captura-fuera-texto[b-4ckuvrjlyd] {
    color: #b7791f;
    font-weight: 600;
}

/* Phones: title, editor and status stacked. */
@media (max-width: 767.98px) {
    .captura-fila[b-4ckuvrjlyd] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Quimicas/ES300.razor.rz.scp.css */
/* Same chips as Biometrias/Importar (scoped CSS isn't shared between components). */
.quim-chip[b-esmzcz8g0c] {
    display: inline-block;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    padding: 0.05rem 0.4rem;
    margin: 0 0.25rem 0.25rem 0;
    font-size: 0.8rem;
    white-space: nowrap;
}

.quim-llenar[b-esmzcz8g0c] {
    background: #e8f5e9;
    border-color: #81c784;
}

.quim-tenia[b-esmzcz8g0c] {
    background: #fff8e1;
    border-color: #ffca28;
}

.quim-noesta[b-esmzcz8g0c] {
    background: #f1f3f5;
    color: #868e96;
}
/* /Components/Pages/Solicitudes/Index.razor.rz.scp.css */
.solicitudes-header[b-6258w5lmyr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.solicitudes-toolbar[b-6258w5lmyr] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

    .solicitudes-toolbar[b-6258w5lmyr]  .solicitudes-search {
        width: 320px;
    }

.solicitudes-cards[b-6258w5lmyr] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.solicitud-card[b-6258w5lmyr] {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
}

    .solicitud-card:last-child[b-6258w5lmyr] {
        border-bottom: none;
    }

.solicitud-card-body[b-6258w5lmyr] {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem 0.75rem 0.875rem 1rem;
    color: inherit;
    text-decoration: none;
}

    .solicitud-card-body:active[b-6258w5lmyr] {
        background: var(--border);
    }

.solicitud-card-left[b-6258w5lmyr] {
    flex: 1 1 55%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.solicitud-card-middle[b-6258w5lmyr] {
    flex: 1 1 45%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.solicitud-card-action[b-6258w5lmyr] {
    flex: 0 0 5.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    border: none;
    border-left: 1px solid var(--border);
    background: transparent;
    color: var(--brand-primary);
    font-size: 0.875rem;
}

    .solicitud-card-action .glyph[b-6258w5lmyr] {
        width: 1.75rem;
        height: 1.75rem;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .solicitud-card-action:disabled[b-6258w5lmyr] {
        opacity: 0.35;
    }

/* Phones: search and "Convertir todas" each take a full row, like the original mobile app. */
@media (max-width: 767.98px) {
    .solicitudes-toolbar[b-6258w5lmyr]  .solicitudes-search,
    .solicitudes-toolbar > .btn[b-6258w5lmyr] {
        width: 100%;
    }
}
