/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-qgp3magvxq] {
    position: relative;
    display: flex;
    flex-direction: column;
}

/*
  Workaround: Syncfusion may add the class .e-dlg-target.e-scroll-disabled which
  forces overflow:hidden and can permanently disable page scroll in some
  edge cases. Add a last-resort override to restore scrolling when that class
  ends up lingering. This preserves normal dialog behavior in the common case
  but avoids leaving the whole page unscrollable.
*/
.e-dlg-target.e-scroll-disabled[b-qgp3magvxq] {
    overflow: auto !important;
}

main[b-qgp3magvxq] {
    flex: 1;
}

.sidebar[b-qgp3magvxq] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-qgp3magvxq] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-qgp3magvxq]  a, .top-row[b-qgp3magvxq]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-qgp3magvxq]  a:hover, .top-row[b-qgp3magvxq]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-qgp3magvxq]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-qgp3magvxq] {
        justify-content: space-between;
    }

    .top-row[b-qgp3magvxq]  a, .top-row[b-qgp3magvxq]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-qgp3magvxq] {
        flex-direction: row;
    }

    .sidebar[b-qgp3magvxq] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-qgp3magvxq] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-qgp3magvxq]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-qgp3magvxq], article[b-qgp3magvxq] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-qgp3magvxq] {
    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-qgp3magvxq] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenuNode.razor.rz.scp.css */
/* ── Nodo de menú ────────────────────────────────────────────────────────── */

li.nav-nodo[b-1ptnmysib7] {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Botón de ítem (funciona como hoja y como padre) */
.nav-item-btn[b-1ptnmysib7] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 7px 12px;
    border-radius: 6px;
    color: #dee2e6;
    font-size: 0.88rem;
    text-align: left;
    transition: background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
}

.nav-item-btn:hover[b-1ptnmysib7] {
    background-color: rgba(255, 255, 255, 0.10);
    color: #ffffff;
}

.nav-item-btn.activo[b-1ptnmysib7] {
    background-color: rgba(13, 110, 253, 0.35);
    color: #ffffff;
    font-weight: 600;
}

.nav-item-btn.expandido[b-1ptnmysib7] {
    color: #ffffff;
}

/* Icono Bootstrap Icons */
.nav-icono[b-1ptnmysib7] {
    font-size: 0.95rem;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

/* Texto del nodo — se oculta cuando el sidebar está colapsado */
.nav-texto[b-1ptnmysib7] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Chevron (derecha) */
.nav-chevron[b-1ptnmysib7] {
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-left: auto;
    transition: transform 0.2s ease;
}

/* ── Sangría por nivel ───────────────────────────────────────────────────── */

li.nivel-1 > .nav-item-btn[b-1ptnmysib7] { padding-left: 12px; }
li.nivel-2 > .nav-item-btn[b-1ptnmysib7] { padding-left: 28px; }
li.nivel-3 > .nav-item-btn[b-1ptnmysib7] { padding-left: 44px; }

/* ── Lista de hijos (colapsable) ────────────────────────────────────────── */

ul.nav-hijos[b-1ptnmysib7] {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

ul.nav-hijos.abierto[b-1ptnmysib7] {
    max-height: 600px; /* suficientemente alto para cualquier submenú */
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-zm8vww9o9l],
.components-reconnect-repeated-attempt-visible[b-zm8vww9o9l],
.components-reconnect-failed-visible[b-zm8vww9o9l],
.components-pause-visible[b-zm8vww9o9l],
.components-resume-failed-visible[b-zm8vww9o9l],
.components-rejoining-animation[b-zm8vww9o9l] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-zm8vww9o9l],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-zm8vww9o9l],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-zm8vww9o9l],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-zm8vww9o9l],
#components-reconnect-modal.components-reconnect-retrying[b-zm8vww9o9l],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-zm8vww9o9l],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-zm8vww9o9l],
#components-reconnect-modal.components-reconnect-failed[b-zm8vww9o9l],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-zm8vww9o9l] {
    display: block;
}


#components-reconnect-modal[b-zm8vww9o9l] {
    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-zm8vww9o9l 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-zm8vww9o9l 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-zm8vww9o9l 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-zm8vww9o9l]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-zm8vww9o9l 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-zm8vww9o9l {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-zm8vww9o9l {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-zm8vww9o9l {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-zm8vww9o9l] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-zm8vww9o9l] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-zm8vww9o9l] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-zm8vww9o9l] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-zm8vww9o9l] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-zm8vww9o9l] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-zm8vww9o9l] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-zm8vww9o9l 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-zm8vww9o9l] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-zm8vww9o9l {
    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/Layout/SideNav.razor.rz.scp.css */
/* ── Contenedor principal del sidebar ───────────────────────────────────── */

.sidenav-wrapper[b-h49dds5y8d] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    /*background-color: #1e2a38;*/
    background-color: #50007d;
    overflow: hidden;
    transition: width 0.25s ease;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.sidenav-abierto[b-h49dds5y8d]  { width: 280px; }
.sidenav-cerrado[b-h49dds5y8d]  { width: 4px;  }

/* ── Cabecera ────────────────────────────────────────────────────────────── */

.sidenav-header[b-h49dds5y8d] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    min-height: 48px;
    flex-shrink: 0;
}

.sidenav-titulo[b-h49dds5y8d] {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* ── Botón hamburger ────────────────────────────────────────────────────── */

.btn-hamburger[b-h49dds5y8d] {
    background: none;
    border: none;
    cursor: pointer;
    color: #dee2e6;
    font-size: 1.4rem;
    padding: 4px 6px;
    border-radius: 6px;
    line-height: 1;
    flex-shrink: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-hamburger:hover[b-h49dds5y8d] {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

/* ── Zona de navegación ─────────────────────────────────────────────────── */

.sidenav-nav[b-h49dds5y8d] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.sidenav-nav[b-h49dds5y8d]::-webkit-scrollbar       { width: 4px; }
.sidenav-nav[b-h49dds5y8d]::-webkit-scrollbar-track { background: transparent; }
.sidenav-nav[b-h49dds5y8d]::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

/* ── Lista raíz ─────────────────────────────────────────────────────────── */

.sidenav-lista[b-h49dds5y8d] {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ── Spinner de carga ───────────────────────────────────────────────────── */

.sidenav-cargando[b-h49dds5y8d] {
    display: flex;
    justify-content: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.3rem;
}

.spin[b-h49dds5y8d] {
    animation: girar-b-h49dds5y8d 1s linear infinite;
}

@keyframes girar-b-h49dds5y8d {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
/* /Components/Pages/Administrativas/Procesos/ProcesarAlertas.razor.rz.scp.css */
/*body {
}*/
/*.grid-correo-enviar {
    background-color: yellow;
    color: blue;
}
*/
/* /Components/Pages/Home.razor.rz.scp.css */
/* ================================================
   PÁGINA DE ENTRADA — SISTEMA FONTÁN
   Responsive: móvil portrait/landscape + desktop
   ================================================ */

/* ---------- Fondo de pantalla completa ---------- */
.entrada-fondo[b-erpt6zddcw] {
    position: fixed;
    inset: 0;
    background-image: url('images/fondo-inicio.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 3vw, 2rem);
    overflow-y: auto;
}

/* ---------- Tarjeta central ---------- */
/* Móvil portrait: 88% del ancho de pantalla */
.entrada-tarjeta[b-erpt6zddcw] {
    padding: clamp(1rem, 4vw, 2.5rem);
    width: 88vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.5rem);
}

/* ---------- Contenedor del logo ---------- */
.entrada-logo-contenedor[b-erpt6zddcw] {
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 0.6rem;
    padding: clamp(0.6rem, 2vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.entrada-logo[b-erpt6zddcw] {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    padding:15%;
}

/* ---------- Botones ---------- */
.entrada-botones[b-erpt6zddcw] {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: clamp(0.5rem, 2vw, 1.25rem);
}

.entrada-btn[b-erpt6zddcw] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    font-size: clamp(0.85rem, 1.6vw, 1.1rem);
    font-weight: 600;
    padding: 0.6em 1em;
    border-radius: 0.5rem;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.entrada-btn:hover[b-erpt6zddcw],
.entrada-btn:focus-visible[b-erpt6zddcw] {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* ---------- Texto de instrucciones ---------- */
.entrada-instrucciones[b-erpt6zddcw] {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.75rem, 1.4vw, 1rem);
    font-weight: 600;
    text-align: center;
    line-height: 1.55;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* ================================================
   TABLET (≥ 600px)
   Tarjeta crece a 68% del ancho de pantalla
   ================================================ */
@media (min-width: 600px) {
    .entrada-tarjeta[b-erpt6zddcw] {
        width: 68vw;
    }
}

/* ================================================
   DESKTOP PEQUEÑO (≥ 1024px)
   Tarjeta crece a 50% del ancho de pantalla
   ================================================ */
@media (min-width: 1024px) {
    .entrada-tarjeta[b-erpt6zddcw] {
        width: 50vw;
    }
}

/* ================================================
   DESKTOP GRANDE (≥ 1440px)
   Tarjeta crece a 40% del ancho de pantalla
   ================================================ */
@media (min-width: 1440px) {
    .entrada-tarjeta[b-erpt6zddcw] {
        width: 40vw;
    }
}

/* ================================================
   PANTALLAS MUY GRANDES (≥ 2200px)
   Evita que la tarjeta sea excesivamente ancha
   ================================================ */
@media (min-width: 2200px) {
    .entrada-tarjeta[b-erpt6zddcw] {
        width: 30vw;
        max-width: 960px;
    }
}

/* ================================================
   LANDSCAPE MÓVIL (altura < 500px)
   Layout horizontal: logo + botones en fila
   ================================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .entrada-fondo[b-erpt6zddcw] {
        align-items: flex-start;
        padding: 0.5rem 1rem;
    }

    .entrada-tarjeta[b-erpt6zddcw] {
        flex-direction: row;
        flex-wrap: wrap;
        width: 95vw;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .entrada-logo-contenedor[b-erpt6zddcw] {
        width: auto;
        flex: 0 0 auto;
        max-width: 28vw;
        padding: 0.5rem;
    }

    .entrada-botones[b-erpt6zddcw] {
        flex: 1 1 auto;
        flex-direction: column;
        min-width: 130px;
        gap: 0.4rem;
    }

    .entrada-instrucciones[b-erpt6zddcw] {
        flex: 1 1 100%;
        font-size: 0.72rem;
        text-align: left;
    }
}
