@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';
@import '_content/BlazorStrap.V5/BlazorStrap.V5.bundle.scp.css';
@import '_content/BlazorStrap/BlazorStrap.bundle.scp.css';
@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.25o87uqmvr.bundle.scp.css';

/* _content/Intranet/Components/Globals/BlazorInputText.razor.rz.scp.css */
.input-icon-wrapper[b-81mdzx8eof] {
    position: relative;
    width: 100%;
}

.input-icon[b-81mdzx8eof] {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 1rem;
    color: #888;
}

.blazor-input[b-81mdzx8eof] {
    padding: 0.75rem 0.75rem 0.75rem 2.5rem; /* espacio a la izquierda para el ícono */
    border-radius: 10px;
    border: 2px solid transparent;
    background: #eee;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    transition: border 0.2s ease-in-out;
}

    .blazor-input.input-validation-error[b-81mdzx8eof] {
        border: 2px solid red;
    }

    .blazor-input.valid[b-81mdzx8eof] {
        border: 2px solid green;
    }

    .blazor-input:focus[b-81mdzx8eof] {
        outline: none;
        border: 2px solid #b21d26;
    }
/* _content/Intranet/Components/Layout/DirectorLayout.razor.rz.scp.css */
/* ======================================================= */
/* ==== ARQUITECTURA PRINCIPAL DEL LAYOUT CON CSS GRID ==== */
/* ======================================================= */

.primary-layout[b-fx8qcyll6m] {
    display: grid;
    /* Fila 1 (header): Altura automática. Fila 2 (main): Ocupa todo el espacio restante. */
    grid-template-rows: auto 1fr;
    height: 100dvh; /* Altura total de la pantalla dinámica del dispositivo */
    overflow: hidden; /* Previene el scroll en el cuerpo principal de la página */
}


/* ======================================================= */
/* ==== HEADER ==== */
/* ======================================================= */

header[b-fx8qcyll6m] {
    background-color: #ffffff;
    border-bottom: 4px solid #00897B;
    position: relative;
    z-index: 10;
    /* Ya no necesita flex-shrink: 0, la rejilla lo maneja */
}

.header-bg[b-fx8qcyll6m] {
    background: url('/logos/gob/chis/saybg/top_banner.png') repeat;
    display: flex;
    padding: 0.75rem 1rem;
    background-size: cover;
    background-position: center;
    justify-content: center;
    align-items: center;
}

.logo[b-fx8qcyll6m] {
    height: 80px;
}

.usuario[b-fx8qcyll6m] {
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    height: 60px;
    background-color: #00897B;
    padding: 0 20px;
    color: white;
}

.header-left[b-fx8qcyll6m], .header-right[b-fx8qcyll6m] {
    display: flex;
    align-items: center;
    gap: 1rem;
}


/* ======================================================= */
/* ==== CONTENIDO PRINCIPAL (MAIN) ==== */
/* ======================================================= */

main[b-fx8qcyll6m] {
    /* LA CLAVE: Este elemento ahora es el único responsable del scroll */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Mejora la experiencia de scroll en iOS */
    /* El padding se aplica aquí para que el contenido no se pegue a los bordes, 
       y la barra de scroll aparezca fuera de este padding. */
    padding: 2rem;
}


/* ======================================================= */
/* ==== FOOTER Y BARRA DE ACCIÓN MÓVIL ==== */
/* ======================================================= */

footer[b-fx8qcyll6m] {
    /* El footer en sí no necesita estilos porque su contenido está posicionado de forma fija */
}

.mobile-action-bar[b-fx8qcyll6m] {
    position: fixed; /* Se fija a la ventana del navegador, no al layout */
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    padding: 0.75rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    /* Animación de entrada/salida */
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

    /* Si la barra tiene un botón, se muestra deslizándose hacia arriba */
    .mobile-action-bar:has(.action-button-mobile)[b-fx8qcyll6m] {
        transform: translateY(0);
    }

.action-button-mobile[b-fx8qcyll6m] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #00796B;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 121, 107, 0.3);
    cursor: pointer;
}

    .action-button-mobile i[b-fx8qcyll6m] {
        font-size: 1.2rem;
    }


/* ======================================================= */
/* ==== ELEMENTOS DEL HEADER DINÁMICO ==== */
/* ======================================================= */

.page-title-section[b-fx8qcyll6m] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 1rem;
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

    .page-title-section.context-active[b-fx8qcyll6m] {
        opacity: 1;
        transform: translateY(0);
    }

.page-title[b-fx8qcyll6m] {
    margin: 0;
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.2;
}

.page-subtitle[b-fx8qcyll6m] {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.2;
}

.action-button-wrapper-desktop[b-fx8qcyll6m] {
    display: none;
}

.action-button[b-fx8qcyll6m] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: #00695C;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease-in-out;
}

    .action-button.context-active[b-fx8qcyll6m] {
        opacity: 1;
        transform: scale(1);
    }

    .action-button:hover[b-fx8qcyll6m] {
        background-color: #ffffff;
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .action-button i[b-fx8qcyll6m] {
        font-size: 1.1rem;
    }

.home-icon[b-fx8qcyll6m] {
    color: white;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s ease-in-out;
}

    .home-icon:hover[b-fx8qcyll6m] {
        background-color: rgba(255, 255, 255, 0.15);
    }

.header-nav-icon[b-fx8qcyll6m] {
    color: black;
    font-size: 1.6rem;
}


/* ======================================================= */
/* ==== MEDIA QUERIES PARA RESPONSIVIDAD ==== */
/* ======================================================= */

@media (min-width: 769px) {
    .mobile-action-bar[b-fx8qcyll6m] {
        display: none;
    }

    .action-button-wrapper-desktop[b-fx8qcyll6m] {
        display: block;
    }

    .page-title-section[b-fx8qcyll6m] {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .page-subtitle[b-fx8qcyll6m] {
        display: block;
    }
}

@media (max-width: 768px) {
    header[b-fx8qcyll6m] {
        border-bottom-width: 2px;
    }

    .header-bg[b-fx8qcyll6m] {
        display: none;
    }
    /* Ocultamos el banner grande en móvil para más espacio */
    .usuario[b-fx8qcyll6m] {
        height: 56px;
        padding: 0 1rem;
    }

    .page-subtitle[b-fx8qcyll6m] {
        display: none;
    }

    .page-title[b-fx8qcyll6m] {
        font-size: 1.05rem;
    }

    main[b-fx8qcyll6m] {
        padding: 1rem;
    }
}
/* _content/Intranet/Components/Layout/DynamicHeader.razor.rz.scp.css */
/* Contenedor del dropdown */
.user-dropdown[b-gozkj2sdhv] {
    position: relative;
}

/* Botón del avatar */
.btn-user-dropdown[b-gozkj2sdhv] {
    background-color: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

    .btn-user-dropdown:hover[b-gozkj2sdhv] {
        background-color: rgba(255, 255, 255, 0.1);
        transform: scale(1.05);
    }

    /* Avatar de usuario */
    .btn-user-dropdown .user-avatar[b-gozkj2sdhv] {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        object-fit: cover;
        border: 1px solid rgba(255, 255, 255, 0.5);
    }

/* Icono por defecto */
.user-avatar-icon[b-gozkj2sdhv] {
    font-size: 38px;
    color: white;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dropdown general */
.custom-dropdown[b-gozkj2sdhv] {
    min-width: 18rem;
    max-width: 22rem;
    padding: 0.5rem 0;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    left: 0 !important;
    position: absolute;
    z-index: 1050;
}

    /* Dropdown header */
    .custom-dropdown .dropdown-header[b-gozkj2sdhv] {
        font-weight: 600;
        font-size: 0.85rem;
        color: #6c757d;
        padding: 0.5rem 1rem;
        border-bottom: 1px solid #e9ecef;
    }

/* Texto de usuario */
.dropdown-item-text[b-gozkj2sdhv] {
    font-size: 0.9rem;
    font-weight: 500;
    color: #212529;
    padding: 0.35rem 1rem;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Secciones separadas */
.dropdown-divider[b-gozkj2sdhv] {
    margin: 0.4rem 0;
}

/* Botones de acción */
.dropdown-item button[b-gozkj2sdhv] {
    width: 100%;
    text-align: left;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Notificaciones */
.dropdown-item .notification-btn[b-gozkj2sdhv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Mobile */
@media (max-width: 768px) {
    .custom-dropdown[b-gozkj2sdhv] {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .dropdown-item-text[b-gozkj2sdhv] {
        font-size: 0.9rem;
        white-space: normal;
    }
}

/* Scroll personalizado */
.custom-dropdown[b-gozkj2sdhv]::-webkit-scrollbar {
    width: 6px;
}

.custom-dropdown[b-gozkj2sdhv]::-webkit-scrollbar-thumb {
    background-color: #b2b2b2;
    border-radius: 3px;
}

    .custom-dropdown[b-gozkj2sdhv]::-webkit-scrollbar-thumb:hover {
        background-color: #888;
    }
/* _content/Intranet/Components/Layout/EmailAuthenticationTab.razor.rz.scp.css */
/* Contenedor principal */
.email-form-container[b-hxfvw88w6r] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 20px auto;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Etiqueta */
.email-label[b-hxfvw88w6r] {
    font-weight: bold;
    font-size: 1rem;
    color: #333;
}

/* Input de correo */
.email-input[b-hxfvw88w6r] {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 10px;
    transition: border-color 0.3s ease;
}

    .email-input:focus[b-hxfvw88w6r] {
        outline: none;
        border-color: #0056b3;
        box-shadow: 0 0 5px rgba(0, 86, 179, 0.2);
    }

/* Contenedor del botón */
.button-container[b-hxfvw88w6r] {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

/* Botón */
.send-code-button[b-hxfvw88w6r] {
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .send-code-button:hover[b-hxfvw88w6r] {
        background-color: #004499;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

/* Texto de ayuda */
.helper-text[b-hxfvw88w6r] {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
    text-align: left;
}

/* Contenedor de carga */
.loading-container[b-hxfvw88w6r] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 200px; /* Ajusta según la altura deseada */
}

/* Texto de carga */
.loading-text[b-hxfvw88w6r] {
    font-size: 1rem;
    color: #0056b3;
}

/* Transiciones para contenedores de pasos */
.step-container[b-hxfvw88w6r] {
    transition: opacity 0.5s ease-in-out;
    opacity: 0; /* Inicia invisible */
}

    .step-container.active[b-hxfvw88w6r] {
        opacity: 1; /* Completa opacidad cuando está activo */
    }
/* _content/Intranet/Components/Layout/EmployedLayout.razor.rz.scp.css */
/* ======================================================= */
/* ==== ARQUITECTURA PRINCIPAL DEL LAYOUT CON CSS GRID ==== */
/* ======================================================= */

.primary-layout[b-s6qpfceiw0] {
    display: grid;
    /* Fila 1 (header): Altura automática. Fila 2 (main): Ocupa todo el espacio restante. */
    grid-template-rows: auto 1fr;
    height: 100dvh; /* Altura total de la pantalla dinámica del dispositivo */
    overflow: hidden; /* Previene el scroll en el cuerpo principal de la página */
}

/*
        position: absolute;
    border: 0px solid green;
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    box-sizing: border-box;
    left: 0;
    right: 0;
    padding: 0;
*/


/* ======================================================= */
/* ==== HEADER ==== */
/* ======================================================= */

header[b-s6qpfceiw0] {
    background-color: #ffffff;
    border-bottom: 4px solid #00897B;
    position: relative;
    z-index: 10;
    /* Ya no necesita flex-shrink: 0, la rejilla lo maneja */
}

.header-bg[b-s6qpfceiw0] {
    background: url('/logos/gob/chis/saybg/top_banner.png') repeat;
    display: flex;
    padding: 0.75rem 1rem;
    background-size: cover;
    background-position: center;
    justify-content: center;
    align-items: center;
}

.logo[b-s6qpfceiw0] {
    height: 80px;
}

.usuario[b-s6qpfceiw0] {
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    height: 60px;
    background-color: #00897B;
    padding: 0 20px;
    color: white;
}

.header-left[b-s6qpfceiw0], .header-right[b-s6qpfceiw0] {
    display: flex;
    align-items: center;
    gap: 1rem;
}


/* ======================================================= */
/* ==== CONTENIDO PRINCIPAL (MAIN) ==== */
/* ======================================================= */

main[b-s6qpfceiw0] {
    /* LA CLAVE: Este elemento ahora es el único responsable del scroll */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Mejora la experiencia de scroll en iOS */
    /* El padding se aplica aquí para que el contenido no se pegue a los bordes, 
       y la barra de scroll aparezca fuera de este padding. */
    padding: 2rem;
}


/* ======================================================= */
/* ==== FOOTER Y BARRA DE ACCIÓN MÓVIL ==== */
/* ======================================================= */

footer[b-s6qpfceiw0] {
    /* El footer en sí no necesita estilos porque su contenido está posicionado de forma fija */
}

.mobile-action-bar[b-s6qpfceiw0] {
    position: fixed; /* Se fija a la ventana del navegador, no al layout */
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    padding: 0.75rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    /* Animación de entrada/salida */
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

    /* Si la barra tiene un botón, se muestra deslizándose hacia arriba */
    .mobile-action-bar:has(.action-button-mobile)[b-s6qpfceiw0] {
        transform: translateY(0);
    }

.action-button-mobile[b-s6qpfceiw0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #00796B;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 121, 107, 0.3);
    cursor: pointer;
}

    .action-button-mobile i[b-s6qpfceiw0] {
        font-size: 1.2rem;
    }


/* ======================================================= */
/* ==== ELEMENTOS DEL HEADER DINÁMICO ==== */
/* ======================================================= */

.page-title-section[b-s6qpfceiw0] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 1rem;
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

    .page-title-section.context-active[b-s6qpfceiw0] {
        opacity: 1;
        transform: translateY(0);
    }

.page-title[b-s6qpfceiw0] {
    margin: 0;
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.2;
}

.page-subtitle[b-s6qpfceiw0] {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.2;
}

.action-button-wrapper-desktop[b-s6qpfceiw0] {
    display: none;
}

.action-button[b-s6qpfceiw0] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: #00695C;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease-in-out;
}

    .action-button.context-active[b-s6qpfceiw0] {
        opacity: 1;
        transform: scale(1);
    }

    .action-button:hover[b-s6qpfceiw0] {
        background-color: #ffffff;
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .action-button i[b-s6qpfceiw0] {
        font-size: 1.1rem;
    }

.home-icon[b-s6qpfceiw0] {
    color: white;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s ease-in-out;
}

    .home-icon:hover[b-s6qpfceiw0] {
        background-color: rgba(255, 255, 255, 0.15);
    }

.header-nav-icon[b-s6qpfceiw0] {
    color: black;
    font-size: 1.6rem;
}


/* ======================================================= */
/* ==== MEDIA QUERIES PARA RESPONSIVIDAD ==== */
/* ======================================================= */

@media (min-width: 769px) {
    .mobile-action-bar[b-s6qpfceiw0] {
        display: none;
    }

    .action-button-wrapper-desktop[b-s6qpfceiw0] {
        display: block;
    }

    .page-title-section[b-s6qpfceiw0] {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .page-subtitle[b-s6qpfceiw0] {
        display: block;
    }
}

@media (max-width: 768px) {
    header[b-s6qpfceiw0] {
        border-bottom-width: 2px;
    }

    .header-bg[b-s6qpfceiw0] {
        display: none;
    }
    /* Ocultamos el banner grande en móvil para más espacio */
    .usuario[b-s6qpfceiw0] {
        height: 56px;
        padding: 0 1rem;
    }

    .page-subtitle[b-s6qpfceiw0] {
        display: none;
    }

    .page-title[b-s6qpfceiw0] {
        font-size: 1.05rem;
    }

    main[b-s6qpfceiw0] {
        padding: 1rem;
    }
}

.blazored-toast-container-send-front[b-s6qpfceiw0] {
    z-index: 9999 !important;
    position: absolute !important;
    left: 0px !important;
    bottom: 0px !important;
    margin: 1px !important;
    padding: 1px !important;
}

@media (min-width: 641px) {
    .blazored-toast-container-send-front[b-s6qpfceiw0] {
        z-index: 9999 !important;
    }
}
/* _content/Intranet/Components/Layout/LoginLayout.razor.rz.scp.css */
.login-layout[b-0a8lu4022n] {
    min-height: 100vh;
    min-width: 100vw;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Responsivo: en pantallas chicas (móviles), ocupa todo el espacio */
@media (max-width: 768px) {
    .login-layout[b-0a8lu4022n] {
        align-items: stretch;
        justify-content: stretch;
        padding: 0;
    }
}
/* _content/Intranet/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-njwytmrz3p] {
    position: relative;
    display: flex;
    flex-direction: column;
   /* flex-direction: row-reverse;
    position: relative;
    border: 0px solid cyan;
    width: 100%;
    height: 100%;
    display: flex;*/
}

main[b-njwytmrz3p] {
    flex: 1;
}

button[b-njwytmrz3p] {
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    button:hover[b-njwytmrz3p] {
        background-color: #0056b3;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }


/* B E G I N */
.blazored-toast-container-send-front[b-njwytmrz3p] {
    z-index: 9999 !important;
    position: absolute !important;
    left: 0px !important;
    bottom: 0px !important;
    margin: 1px !important;
    padding: 1px !important;
}


/*MAIN TAG*/
.css_section[b-njwytmrz3p] {
    border-right: 0px solid black;
    width: 100%;
    height: inherit;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 0px;
}

    .css_section .css-section-header[b-njwytmrz3p] {
        background-color: #8F1D3E;
        height: 7%;
        background-image: linear-gradient(180deg, #0B231E 0%, #8F1D3E 70%);
        /*background-image: linear-gradient(to left, #8F1D3E, #0B231E);*/
    }

@media (min-width: 641px) {

    .page[b-njwytmrz3p] {
        flex-direction: row-reverse;
        position: relative;
        border: 0px solid cyan;
        width: 100%;
        height: 100%;
        display: flex;
    }

    .sidebar[b-njwytmrz3p] {
        width: 250px;
        /*height: 100vh;
            height: 100%;
            position: sticky;
            top: 0;
            border: 10px solid green;*/
    }

    .top-row[b-njwytmrz3p] {
        display: flex;
        flex-direction: column-reverse;
        justify-content: flex-end;
        align-items: flex-end;
        height: 100%; /* Esto es importante para que el contenido se ajuste correctamente */
    }

    .elemento[b-njwytmrz3p] {
        position: relative;
        bottom: 0;
        right: 0;
        width: auto;
        height: auto;
    }

    .top-row[b-njwytmrz3p], article[b-njwytmrz3p] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .css_section[b-njwytmrz3p] {
        border-right: 3px solid black;
        width: inherit;
        height: inherit;
        position: sticky;
        overflow-x: hidden;
        overflow-y: hidden;
        padding: 0px;
    }

        .css_section .css-section-header[b-njwytmrz3p] {
            background-color: #8F1D3E;
            height: 7%;
        }

    /* MAIN CONAINER */
    .css-main-container[b-njwytmrz3p] {
        position: absolute;
        height: 100%;
        width: 100%;
        /*border: 10px solid darkblue;*/
        left: 0;
        right: 0;
        padding: 0;
    }

        .css-main-container[b-njwytmrz3p]::-webkit-scrollbar-thumb {
            background: transparent;
            background: rgba(90, 90, 90);
            opacity: 0.5;
        }

        .css-main-container[b-njwytmrz3p]::-webkit-scrollbar {
            width: 5px;
            height: 5px;
        }

        .css-main-container[b-njwytmrz3p]::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2);
            background: transparent;
            opacity: 0.5;
        }

    .blazored-toast-container-send-front[b-njwytmrz3p] {
        z-index: 9999 !important;
    }
}

.sidebar[b-njwytmrz3p] {
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    /*background-image: linear-gradient(180deg, #006847 0%, #006847 70%);*/
    /*background-image: linear-gradient(180deg, #006847 0%, #66cc99 70%);*/
    background-image: linear-gradient(180deg, rgb(35,91,78) 0%, #0B231E 70%);
}

.top-row[b-njwytmrz3p] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-njwytmrz3p]  a, .top-row[b-njwytmrz3p]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-njwytmrz3p]  a:hover, .top-row[b-njwytmrz3p]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-njwytmrz3p]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-njwytmrz3p] {
        justify-content: space-between;
    }

    .top-row[b-njwytmrz3p]  a, .top-row[b-njwytmrz3p]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    /*.page {
        flex-direction: row-reverse;
        position: relative;
        border: 0px solid cyan;
        width: 100%;
        height: 100%;
        display: flex;
    }*/
    .page[b-njwytmrz3p] {
        flex-direction: row-reverse;
        position: relative;
        border: 0px solid cyan;
        width: 100%;
        height: 100%;
        display: flex;
    }

    .sidebar[b-njwytmrz3p] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-njwytmrz3p] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-njwytmrz3p]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-njwytmrz3p], article[b-njwytmrz3p] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .sidebar[b-njwytmrz3p] {
        width: 100%;
        height: auto;
    }

    .top-row[b-njwytmrz3p] {
        flex-wrap: wrap;
        justify-content: center;
    }
}



#blazor-error-ui[b-njwytmrz3p] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-njwytmrz3p] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

#QRCodeContainer[b-njwytmrz3p] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(180deg, #ffffff, #f0f0f0); /* Suave degradado */
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

#QRCodeContainer:hover[b-njwytmrz3p] {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.02); /* Suave efecto de escala al pasar el rat�n */
}

/*#QRCodeContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#QRCodeImage {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border: 5px solid #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}*/

aside[b-njwytmrz3p]::-webkit-scrollbar-thumb {
    /*background: transparent;*/
    background: rgba(90, 90, 90);
    opacity: 0.5;
}

aside[b-njwytmrz3p]::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

aside[b-njwytmrz3p]::-webkit-scrollbar-track {
    /*background: rgba(0, 0, 0, 0.2);
            background: transparent;*/
    opacity: 0.5;
}

/* _content/Intranet/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-b7bbsu95el] {
    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.1);
    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.55%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(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-b7bbsu95el] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-b7bbsu95el] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-b7bbsu95el] {
    font-size: 1.1rem;
}

.bi[b-b7bbsu95el] {
    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-b7bbsu95el] {
    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-b7bbsu95el] {
    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-list-nested-nav-menu[b-b7bbsu95el] {
    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-b7bbsu95el] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-b7bbsu95el] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-b7bbsu95el] {
        padding-bottom: 1rem;
    }

    .nav-item[b-b7bbsu95el]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-b7bbsu95el]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-b7bbsu95el]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-b7bbsu95el] {
    display: none;
    height: calc(100vh - 5.5rem);
    overflow-y: auto;
}

.navbar-toggler:checked ~ .nav-scrollable[b-b7bbsu95el] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-b7bbsu95el] {
        display: none;
    }

    .nav-scrollable[b-b7bbsu95el] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/Intranet/Components/Pages/DirectorSrvc/DirectorHome.razor.rz.scp.css */
/* Contenedor principal que ocupa toda la pantalla y organiza las dos secciones (bienvenida y rejilla) */
.page-container-employed[b-9l0jnutu9n] {
    width: 100%;
    max-width: 1100px; /* Ancho máximo del contenido */
    margin: 0 auto; /* TRUCO CLÁSICO Y ROBUSTO: Centra el contenedor horizontalmente */
    background-color: #F4F7F6;
    /* La altura en móvil será automática, determinada por el contenido */
    /* Esto permite que la página haga scroll de forma natural */
}

@media (min-width: 768px) {
    .page-container-employed[b-9l0jnutu9n] {
        /* Aplicamos la altura mínima solo en pantallas grandes para mantener ese look de "portal" */
        min-height: calc(100vh - 140px);
    }
}

/* Sección de bienvenida (parte superior) */
.welcome-section[b-9l0jnutu9n] {
    padding: 2.5rem 2rem;
    text-align: center;
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
}

.welcome-title[b-9l0jnutu9n] {
    font-size: 2.25rem;
    font-weight: 700;
    color: #004D40; /* Verde oscuro institucional */
    margin: 0;
}

.welcome-subtitle[b-9l0jnutu9n] {
    font-size: 1.15rem;
    color: #5A6A68;
    margin-top: 0.5rem;
}

/* Sección de la rejilla (ocupa el espacio restante) */
.menu-grid-section[b-9l0jnutu9n] {
    padding: 3rem 2rem;
    background: linear-gradient(175deg, #F9FBFB 0%, #F0F5F4 100%);
    border-radius: 0 0 12px 12px; /* Redondeamos las esquinas inferiores */
}

/* La rejilla en sí misma */
.menu-grid[b-9l0jnutu9n] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Tarjetas un poco más anchas */
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

/* Tarjeta individual - Diseño limpio y sólido */
.menu-card[b-9l0jnutu9n] {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #D9E0DE;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

    .menu-card:hover[b-9l0jnutu9n] {
        transform: translateY(-8px);
        border-color: #00796B; /* Resalta el borde con el color del tema */
        box-shadow: 0 10px 20px rgba(0, 121, 107, 0.15); /* Sombra de "resplandor" */
    }

/* Círculo que contiene al ícono */
.icon-wrapper[b-9l0jnutu9n] {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E0F2F1; /* Color verde muy claro, del tema */
    margin-bottom: 1rem;
    transition: background-color 0.25s ease-out;
}

.menu-card:hover .icon-wrapper[b-9l0jnutu9n] {
    background-color: #00796B; /* El círculo se vuelve de color sólido al pasar el mouse */
}

/* El ícono dentro del círculo */
.icon[b-9l0jnutu9n] {
    font-size: 2.25rem;
    color: #00796B; /* Color principal del tema */
    transition: color 0.25s ease-out;
}

.menu-card:hover .icon[b-9l0jnutu9n] {
    color: #ffffff; /* El ícono se vuelve blanco al pasar el mouse */
}

/* Título de la tarjeta */
.title[b-9l0jnutu9n] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

/* Descripción de la tarjeta */
.description[b-9l0jnutu9n] {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}
/* _content/Intranet/Components/Pages/DirectorSrvc/InstitutionalStaff.razor.rz.scp.css */
.staff-directory-container[b-f0j3vi5u7z] {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ======================================================= */
/* === NUEVA CABECERA DE DOS NIVELES === */
/* ======================================================= */

.directory-header[b-f0j3vi5u7z] {
    display: flex;
    flex-direction: column; /* Apila la barra de controles y la barra de título */
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* --- BARRA DE CONTROLES (LÍNEA 1) --- */
.controls-bar[b-f0j3vi5u7z] {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se muevan a la siguiente línea en pantallas pequeñas */
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.search-box[b-f0j3vi5u7z] {
    position: relative;
    flex-grow: 1; /* Permite que la búsqueda crezca */
    min-width: 200px;
}

    .search-box .bi-search[b-f0j3vi5u7z] {
        position: absolute;
        top: 50%;
        left: 12px;
        transform: translateY(-50%);
        color: #6c757d;
    }

    .search-box .form-control[b-f0j3vi5u7z] {
        padding-left: 35px;
    }

.filter-box[b-f0j3vi5u7z] {
    min-width: 250px; /* Ancho mínimo para el selector de dirección */
}

.pagination-controls[b-f0j3vi5u7z] {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    white-space: nowrap; /* Evita que el texto de paginación se rompa */
}

/* --- BARRA DE TÍTULO (LÍNEA 2) --- */
.title-bar[b-f0j3vi5u7z] {
    text-align: center;
}

.directory-title[b-f0j3vi5u7z] {
    margin: 0;
    font-weight: 600;
    color: #00796B; /* Color corporativo */
    font-size: 1.5rem;
}

.row-style[b-f0j3vi5u7z] {
    cursor: pointer;
}
/* ======================================================= */
/* === ESTILOS DE TABLA Y OTROS (SIN CAMBIOS) === */
/* ======================================================= */
.avatar-sm[b-f0j3vi5u7z] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.loading-container[b-f0j3vi5u7z], .no-records-container[b-f0j3vi5u7z] {
    text-align: center;
    padding: 4rem 1rem;
    color: #6c757d;
    min-height: 300px;
}
/* _content/Intranet/Components/Pages/DirectorSrvc/InstitutionalTelephoneDirectory.razor.rz.scp.css */
.staff-directory-container[b-na1frvi97o] {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ======================================================= */
/* === NUEVA CABECERA DE DOS NIVELES === */
/* ======================================================= */

.directory-header[b-na1frvi97o] {
    display: flex;
    flex-direction: column; /* Apila la barra de controles y la barra de título */
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* --- BARRA DE CONTROLES (LÍNEA 1) --- */
.controls-bar[b-na1frvi97o] {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se muevan a la siguiente línea en pantallas pequeñas */
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.search-box[b-na1frvi97o] {
    position: relative;
    flex-grow: 1; /* Permite que la búsqueda crezca */
    min-width: 200px;
}

    .search-box .bi-search[b-na1frvi97o] {
        position: absolute;
        top: 50%;
        left: 12px;
        transform: translateY(-50%);
        color: #6c757d;
    }

    .search-box .form-control[b-na1frvi97o] {
        padding-left: 35px;
    }

.filter-box[b-na1frvi97o] {
    min-width: 250px; /* Ancho mínimo para el selector de dirección */
}

.pagination-controls[b-na1frvi97o] {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    white-space: nowrap; /* Evita que el texto de paginación se rompa */
}

/* --- BARRA DE TÍTULO (LÍNEA 2) --- */
.title-bar[b-na1frvi97o] {
    text-align: center;
}

.directory-title[b-na1frvi97o] {
    margin: 0;
    font-weight: 600;
    color: #00796B; /* Color corporativo */
    font-size: 1.5rem;
}

.row-style[b-na1frvi97o] {
    cursor: pointer;
}
/* ======================================================= */
/* === ESTILOS DE TABLA Y OTROS (SIN CAMBIOS) === */
/* ======================================================= */
.avatar-sm[b-na1frvi97o] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.loading-container[b-na1frvi97o], .no-records-container[b-na1frvi97o] {
    text-align: center;
    padding: 4rem 1rem;
    color: #6c757d;
    min-height: 300px;
}
/* _content/Intranet/Components/Pages/DirectorSrvc/PhoneDirectory.razor.rz.scp.css */
.staff-directory-container[b-jnlh67kxjt] {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ======================================================= */
/* === BARRA DE HERRAMIENTAS RESPONSIVA CON CSS GRID === */
/* ======================================================= */

.table-toolbar[b-jnlh67kxjt] {
    display: flex; /* Por defecto (móvil) es flex para apilarse */
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.toolbar-header[b-jnlh67kxjt] {
    width: 100%;
}

.table-title[b-jnlh67kxjt] {
    margin: 0;
    font-weight: 600;
    color: #343a40;
}

.toolbar-controls[b-jnlh67kxjt] {
    display: flex;
    flex-direction: column; /* En móvil, los controles se apilan */
    gap: 1rem;
    width: 100%;
}

.search-box[b-jnlh67kxjt] {
    position: relative;
}

    .search-box .bi-search[b-jnlh67kxjt] {
        position: absolute;
        top: 50%;
        left: 15px;
        transform: translateY(-50%);
        color: #6c757d;
    }

    .search-box .form-control[b-jnlh67kxjt] {
        padding-left: 40px;
        border-radius: 50px;
    }

.filter-box .form-select[b-jnlh67kxjt] {
    border-radius: 50px;
}

.action-box .btn[b-jnlh67kxjt] {
    width: 100%; /* El botón ocupa todo el ancho en móvil */
}


/* --- MEJORAS PARA TABLET Y ESCRITORIO --- */
@media (min-width: 768px) {
    .table-toolbar[b-jnlh67kxjt] {
        flex-direction: row; /* En pantallas más grandes, el título y los controles están en fila */
        align-items: center;
        justify-content: space-between;
    }

    .toolbar-header[b-jnlh67kxjt] {
        width: auto;
    }

    .toolbar-controls[b-jnlh67kxjt] {
        display: grid; /* <-- La magia de Grid */
        /* Crea 3 columnas: la 1ra crece, las otras 2 tienen un ancho fijo */
        grid-template-columns: 1fr 220px 220px 170px;
        gap: 1rem;
        width: auto;
        flex-grow: 1; /* Permite que los controles ocupen el espacio sobrante */
        max-width: 900px; /* Un ancho máximo para que no se estiren demasiado */
    }

    .action-box .btn[b-jnlh67kxjt] {
        width: auto; /* El botón vuelve a su tamaño normal */
    }
}


/* --- El resto de tus estilos se mantienen igual --- */

.directory-body[b-jnlh67kxjt] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.directory-group-header[b-jnlh67kxjt] {
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #00796B;
    border-bottom: 2px solid #00796B;
}

.avatar-sm[b-jnlh67kxjt] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.table[b-jnlh67kxjt] {
    margin-bottom: 0;
}

.no-records-container[b-jnlh67kxjt], .loading-container[b-jnlh67kxjt] {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

    .no-records-container i[b-jnlh67kxjt] {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

.loading-container[b-jnlh67kxjt] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}
/* _content/Intranet/Components/Pages/Home.razor.rz.scp.css */
html[b-1pqr1pgbof], body[b-1pqr1pgbof] {
    height: 100vh; 
    width:100vh;
    margin: 0;
    overflow: hidden;
}

.hero-section[b-1pqr1pgbof] {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 30px; /* Asegura que no haya relleno extra */
    box-sizing: border-box; /* Incluye padding y borde en el cálculo total */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Añade un sombreado sutil */
}

.hero-image[b-1pqr1pgbof] {
    max-width: 80%;
    height: auto; /* Mantiene la proporción de la imagen */
    margin: 0; /* Elimina márgenes adicionales */
    display: block;
    box-sizing: border-box; /* Asegura que no se rompa el diseño */
}
/* _content/Intranet/Components/Pages/LoginPage.razor.rz.scp.css */
.login-wrapper[b-xz4li97ihu] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f2f2f2;
    padding: 1rem;
    width: 100dvw;
}

.login-card[b-xz4li97ihu] {
    background: white;
    border-radius: 20px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 960px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.login-content[b-xz4li97ihu] {
    padding: 2.5rem 4rem;
}

.login-header[b-xz4li97ihu] {
    background-image: url('/logos/gob/chis/saybg/top_banner.png');
    background-size: cover;
    background-position: center;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.central-logo[b-xz4li97ihu] {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
}

.login-title[b-xz4li97ihu] {
    color: #b21d26;
    margin-bottom: 1.2rem;
    font-weight: 800;
    text-align: center;
}

.tab-selector[b-xz4li97ihu] {
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;
}

    .tab-selector button[b-xz4li97ihu] {
        flex: 1;
        padding: 0.6rem;
        border: 1px solid #b21d26;
        background: transparent;
        color: #b21d26;
        font-weight: bold;
        cursor: pointer;
        border-right: none;
    }

        .tab-selector button:last-child[b-xz4li97ihu] {
            border-right: 1px solid #b21d26;
        }

        .tab-selector button.active[b-xz4li97ihu] {
            background: #b21d26;
            color: white;
        }

.login-form[b-xz4li97ihu] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .login-form label[b-xz4li97ihu] {
        font-weight: bold;
    }

    .login-form input[b-xz4li97ihu] {
        padding: 0.75rem;
        border-radius: 10px;
        border: none;
        background: #eee;
        font-size: 1rem;
    }

    .login-form input[b-xz4li97ihu],
    .btn-login[b-xz4li97ihu] {
        width: 100%;
        box-sizing: border-box;
    }

.btn-login[b-xz4li97ihu] {
    margin-top: 1.5rem;
    padding: 0.9rem;
    background: #b21d26;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
}

    .btn-login:hover[b-xz4li97ihu] {
        background: #8f131b;
    }

/* Responsivo */
@media (max-width: 1024px) {
    .login-card[b-xz4li97ihu] {
        max-width: 95%;
    }

    .login-content[b-xz4li97ihu] {
        padding: 2rem;
    }

    .btn-login[b-xz4li97ihu] {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .login-wrapper[b-xz4li97ihu] {
        align-items: stretch;
        justify-content: stretch;
        padding: 0;
        width: 100dvw;
        height: 100dvh;
    }

    .login-card[b-xz4li97ihu] {
        border-radius: 0;
        max-width: 100%;
        height: 100%;
        box-shadow: none;
    }

    .login-content[b-xz4li97ihu] {
        padding: 1.2rem;
        flex-grow: 1;
        overflow-y: auto;
    }

    .tab-selector button[b-xz4li97ihu] {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
}

/* Animaciones */

.slideFadeIn[b-xz4li97ihu] {
    animation: slideFadeIn-b-xz4li97ihu 0.4s ease-in-out both;
}

@keyframes slideFadeIn-b-xz4li97ihu {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-left[b-xz4li97ihu] {
    animation: slideLeftFadeIn-b-xz4li97ihu 0.4s ease-in-out both;
}

@keyframes slideLeftFadeIn-b-xz4li97ihu {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-right[b-xz4li97ihu] {
    animation: slideRightFadeIn-b-xz4li97ihu 0.4s ease-in-out both;
}

@keyframes slideRightFadeIn-b-xz4li97ihu {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.transition-section[b-xz4li97ihu] {
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}


.overlay[b-xz4li97ihu] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

.spinner[b-xz4li97ihu] {
    border: 6px solid #eee;
    border-top: 6px solid #b21d26;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin-b-xz4li97ihu 1s linear infinite;
}

@keyframes spin-b-xz4li97ihu {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* _content/Intranet/Components/Pages/UserSrvc/ConfirmUserData.razor.rz.scp.css */

.title[b-fxw1kuertj] {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.user-card[b-fxw1kuertj] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    flex-direction: column;
}

.user-photo[b-fxw1kuertj] {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007bff;
    margin-bottom: 1rem;
}

.user-info h4[b-fxw1kuertj] {
    margin: 0;
    font-size: 1.4rem;
    text-align: center;
    color: #333;
}

.user-info p[b-fxw1kuertj] {
    margin: 0.2rem 0;
    color: #555;
    text-align: center;
}

.form-actions[b-fxw1kuertj] {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    gap: 10px;
}

@media screen and (max-width: 768px) {
    .form-actions[b-fxw1kuertj] {
        flex-direction: column;
    }

        .form-actions button[b-fxw1kuertj],
        .form-actions BlazorStrap.V5.BSButton[b-fxw1kuertj] {
            margin-bottom: 5px;
            width: 100% !important; /* Forzamos el ancho completo */
        }

        .form-actions .btn[b-fxw1kuertj] {
            display: block;
            width: 100% !important;
        }
}

.error[b-fxw1kuertj] {
    color: red;
    text-align: center;
    margin-bottom: 1rem;
}

.animate[b-fxw1kuertj] {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp-b-fxw1kuertj 0.5s forwards;
}

@keyframes fadeInUp-b-fxw1kuertj {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .user-card[b-fxw1kuertj] {
        padding: 1rem;
    }

    .user-photo[b-fxw1kuertj] {
        width: 130px;
        height: 130px;
    }

    .user-info p[b-fxw1kuertj] {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .user-card[b-fxw1kuertj] {
        padding: 0.8rem;
    }

    .user-photo[b-fxw1kuertj] {
        width: 100px;
        height: 100px;
    }

    .user-info p[b-fxw1kuertj] {
        font-size: 0.85rem;
    }

    .form-actions[b-fxw1kuertj] {
        flex-direction: column;
    }

        .form-actions button[b-fxw1kuertj],
        .form-actions BlazorStrap.V5.BSButton[b-fxw1kuertj] {
            margin-bottom: 5px;
            width: 100% !important; /* Aseguramos que ocupen todo el ancho */
        }
}
/* _content/Intranet/Components/Pages/UserSrvc/EmployedHome.razor.rz.scp.css */
/* Contenedor principal que ocupa toda la pantalla y organiza las dos secciones (bienvenida y rejilla) */
.page-container-employed[b-14f0bxk6nl] {
    width: 100%;
    max-width: 1100px; /* Ancho máximo del contenido */
    margin: 0 auto; /* TRUCO CLÁSICO Y ROBUSTO: Centra el contenedor horizontalmente */
    background-color: #F4F7F6;
    /* La altura en móvil será automática, determinada por el contenido */
    /* Esto permite que la página haga scroll de forma natural */
}

@media (min-width: 768px) {
    .page-container-employed[b-14f0bxk6nl] {
        /* Aplicamos la altura mínima solo en pantallas grandes para mantener ese look de "portal" */
        min-height: calc(100vh - 140px);
    }
}

/* Sección de bienvenida (parte superior) */
.welcome-section[b-14f0bxk6nl] {
    padding: 2.5rem 2rem;
    text-align: center;
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
}

.welcome-title[b-14f0bxk6nl] {
    font-size: 2.25rem;
    font-weight: 700;
    color: #004D40; /* Verde oscuro institucional */
    margin: 0;
}

.welcome-subtitle[b-14f0bxk6nl] {
    font-size: 1.15rem;
    color: #5A6A68;
    margin-top: 0.5rem;
}

/* Sección de la rejilla (ocupa el espacio restante) */
.menu-grid-section[b-14f0bxk6nl] {
    padding: 3rem 2rem;
    background: linear-gradient(175deg, #F9FBFB 0%, #F0F5F4 100%);
    border-radius: 0 0 12px 12px; /* Redondeamos las esquinas inferiores */
}

/* La rejilla en sí misma */
.menu-grid[b-14f0bxk6nl] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Tarjetas un poco más anchas */
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

/* Tarjeta individual - Diseño limpio y sólido */
.menu-card[b-14f0bxk6nl] {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #D9E0DE;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

    .menu-card:hover[b-14f0bxk6nl] {
        transform: translateY(-8px);
        border-color: #00796B; /* Resalta el borde con el color del tema */
        box-shadow: 0 10px 20px rgba(0, 121, 107, 0.15); /* Sombra de "resplandor" */
    }

/* Círculo que contiene al ícono */
.icon-wrapper[b-14f0bxk6nl] {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E0F2F1; /* Color verde muy claro, del tema */
    margin-bottom: 1rem;
    transition: background-color 0.25s ease-out;
}

.menu-card:hover .icon-wrapper[b-14f0bxk6nl] {
    background-color: #00796B; /* El círculo se vuelve de color sólido al pasar el mouse */
}

/* El ícono dentro del círculo */
.icon[b-14f0bxk6nl] {
    font-size: 2.25rem;
    color: #00796B; /* Color principal del tema */
    transition: color 0.25s ease-out;
}

.menu-card:hover .icon[b-14f0bxk6nl] {
    color: #ffffff; /* El ícono se vuelve blanco al pasar el mouse */
}

/* Título de la tarjeta */
.title[b-14f0bxk6nl] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

/* Descripción de la tarjeta */
.description[b-14f0bxk6nl] {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}
/* _content/Intranet/Components/Pages/UserSrvc/HierarchicalTree.razor.rz.scp.css */
html[b-ni0sihdc04], body[b-ni0sihdc04] {
    height: 100%;
}

.directory-container[b-ni0sihdc04] {
    height: 100vh;
    overflow-y: auto;
    padding-bottom: 2rem;
    background-color: #f8f9fa;
}

.alert-info i[b-ni0sihdc04] {
    font-size: 1.2rem;
    vertical-align: middle;
}

.modal-title[b-ni0sihdc04] {
    margin-bottom: 0;
    font-size: 1.25rem;
}

.modal-translucent .modal-content[b-ni0sihdc04] {
    background-color: rgba(255, 255, 255, 0.85); /* blanco con 85% opacidad */
    backdrop-filter: blur(5px); /* opcional: desenfoque sutil del fondo */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}


@media (max-width: 768px) {
    .css-sub-main[b-ni0sihdc04] {
        padding: 0.5rem;
    }

    .modal-title[b-ni0sihdc04] {
        font-size: 1rem;
    }

    .form-label[b-ni0sihdc04] {
        font-size: 0.9rem;
    }

    select.form-select[b-ni0sihdc04],
    input.form-control[b-ni0sihdc04] {
        font-size: 0.9rem;
        padding: 0.375rem 0.75rem;
    }

    .alert-info[b-ni0sihdc04] {
        font-size: 0.85rem;
    }

        .alert-info i[b-ni0sihdc04] {
            font-size: 1rem;
        }
}
/* _content/Intranet/Components/Pages/UserSrvc/HistoryAttendances.razor.rz.scp.css */
/* ======================================================= */
/* === ARQUITECTURA DEL COMPONENTE Y ESTILOS BASE (Mobile First) === */
/* ======================================================= */

.timeline-container[b-c3me4l3jxa] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.timeline-header[b-c3me4l3jxa] {
    background-color: #fff;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #dee2e6;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.summary-stats[b-c3me4l3jxa] {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #555;
    align-items: center;
    flex-wrap: wrap;
}

    .summary-stats span[b-c3me4l3jxa] {
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

.timeline-body[b-c3me4l3jxa] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background-color: #f4f7f6;
}

.timeline-item[b-c3me4l3jxa] {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
    padding: 1rem;
    border-left: 5px solid #ccc; /* Borde de estatus por defecto */
    display: flex;
    flex-direction: column; /* En móvil, todo es una columna */
    gap: 0.75rem;
}

    .timeline-item.status-ontime[b-c3me4l3jxa] {
        border-left-color: #198754;
    }

    .timeline-item.status-late[b-c3me4l3jxa] {
        border-left-color: #ffc107;
    }

    .timeline-item.status-issue[b-c3me4l3jxa] {
        border-left-color: #dc3545;
    }

/* LA SOLUCIÓN para la cabecera del item */
.item-header[b-c3me4l3jxa] {
    display: flex;
    justify-content: space-between; /* Empuja la fecha y el checkbox a los extremos */
    align-items: center;
    width: 100%;
}

.item-date[b-c3me4l3jxa] {
    display: flex;
    flex-direction: column;
}

.day-name[b-c3me4l3jxa] {
    font-weight: 600;
    text-transform: capitalize;
    color: #333;
}

.full-date[b-c3me4l3jxa] {
    font-size: 0.85rem;
    color: #6c757d;
}

.item-checkbox .form-check-input[b-c3me4l3jxa] {
    width: 1.25em;
    height: 1.25em;
    cursor: pointer;
}

/* El separador, ahora visible siempre y con color */
.item-separator[b-c3me4l3jxa] {
    border: 0;
    border-top: 1px solid #e9ecef;
    margin: 0;
    width: 100%;
}

.item-body[b-c3me4l3jxa] {
    display: flex;
    flex-direction: column; /* En móvil, apila horarios y descripción */
    gap: 0.75rem;
    width: 100%;
}

.item-hours[b-c3me4l3jxa] {
    display: flex;
    justify-content: space-around;
    font-weight: 500;
}

.hour-item[b-c3me4l3jxa] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.item-description[b-c3me4l3jxa] {
    font-size: 0.9rem;
    color: #555;
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
}


/* Footer de paginación */
.timeline-pagination[b-c3me4l3jxa] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    flex-shrink: 0;
    font-weight: 600;
}

.current-month-display[b-c3me4l3jxa] {
    color: #00796B;
}

/* Estados de carga/sin registros */
.loading-container[b-c3me4l3jxa], .no-records-container[b-c3me4l3jxa] {
    padding: 4rem 1rem;
    text-align: center;
    color: #888;
}

    .no-records-container i[b-c3me4l3jxa] {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

/* =============================================================== */
/* === MEJORAS PARA ESCRITORIO (Pantallas grandes > 768px) === */
/* =============================================================== */

@media (min-width: 768px) {

    .timeline-body[b-c3me4l3jxa] {
        padding: 1.5rem 2rem;
    }

    .timeline-item[b-c3me4l3jxa] {
        flex-direction: row; /* En desktop, los items son una fila */
        align-items: center;
        gap: 1.5rem;
    }

    .item-header[b-c3me4l3jxa] {
        flex-basis: 220px; /* Ancho fijo para la sección de fecha/checkbox */
        flex-shrink: 0;
        justify-content: flex-start; /* Ya no necesitamos space-between */
        gap: 1rem;
        order: 1; /* El header va primero */
    }

    /* Invertimos el orden visual de fecha y checkbox en desktop */
    .item-date[b-c3me4l3jxa] {
        order: 2;
    }

    .item-checkbox[b-c3me4l3jxa] {
        order: 1;
    }

    .item-separator[b-c3me4l3jxa] {
        display: none; /* Ocultamos el <hr> en desktop */
    }

    .item-body[b-c3me4l3jxa] {
        flex-direction: row; /* Horarios y descripción en una fila */
        align-items: center;
        flex-grow: 1; /* Ocupa el espacio restante */
        order: 2; /* El body va después */
    }

    .item-hours[b-c3me4l3jxa] {
        flex-basis: 200px; /* Ancho fijo para los horarios */
        flex-shrink: 0;
        justify-content: flex-start;
        gap: 2rem;
    }

    .item-description[b-c3me4l3jxa] {
        flex-grow: 1; /* Ocupa el espacio sobrante */
        background-color: transparent;
        padding: 0;
    }
}

/* === Barra flotante para solicitud de justificación === */
.floating-action-bar[b-c3me4l3jxa] {
    position: sticky;
    bottom: 0;
    background: #ffffff;
    padding: 0.75rem 1rem;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
    z-index: 50;
}

    .floating-action-bar .btn[b-c3me4l3jxa] {
        font-weight: 600;
        border-radius: 8px;
        padding: 0.75rem 1rem;
    }

@media (min-width: 768px) {
    .floating-action-bar[b-c3me4l3jxa] {
        position: sticky; /* se mantiene visible al final, sin tapar nada */
        bottom: 0;
        padding: 1rem 2rem;
    }

        .floating-action-bar .btn[b-c3me4l3jxa] {
            width: auto;
            min-width: 280px;
        }
}
/* _content/Intranet/Components/Pages/UserSrvc/InstitutionStaffHierarchically.razor.rz.scp.css */
.staff-directory-container[b-c72utmvxk3] {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* --- BARRA DE HERRAMIENTAS --- */
.table-toolbar[b-c72utmvxk3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.table-title[b-c72utmvxk3] {
    margin: 0;
    font-weight: 600;
    color: #343a40;
}

.toolbar-controls[b-c72utmvxk3] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-box[b-c72utmvxk3] {
    position: relative;
    flex-grow: 1;
    min-width: 250px;
}

    .search-box .bi-search[b-c72utmvxk3] {
        position: absolute;
        top: 50%;
        left: 12px;
        transform: translateY(-50%);
        color: #6c757d;
    }

    .search-box .form-control[b-c72utmvxk3] {
        padding-left: 38px;
        border-radius: 50px;
    }

.filter-box[b-c72utmvxk3] {
    min-width: 250px;
}

    .filter-box .form-select[b-c72utmvxk3] {
        border-radius: 50px;
    }

/* --- ESTILOS DE TABLA (VISTA ESCRITORIO POR DEFECTO) --- */
.table > thead[b-c72utmvxk3] {
    vertical-align: bottom;
    border-bottom-width: 2px;
}

    .table > thead th[b-c72utmvxk3] {
        font-weight: 600;
        font-size: 0.8rem;
        text-transform: uppercase;
        color: #495057;
        white-space: nowrap;
    }

.table-hover > tbody > tr:hover[b-c72utmvxk3] {
    cursor: pointer;
    background-color: #f8f9fa;
}

/* Estilo para el avatar en la tabla */
.avatar-sm[b-c72utmvxk3] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Estados de carga y sin registros */
.no-records-container[b-c72utmvxk3], .loading-container[b-c72utmvxk3] { /* ... sin cambios ... */
}


/* =============================================================== */
/* === TRANSFORMACIÓN A TARJETAS PARA MÓVIL (< 768px) === */
/* =============================================================== */

@media (max-width: 768px) {
    /* Ocultamos la cabecera de la tabla */
    .table thead[b-c72utmvxk3] {
        display: none;
    }

    /* Cada fila (tr) se convierte en una tarjeta con borde y sombra */
    .table tbody[b-c72utmvxk3], .table tr[b-c72utmvxk3], .table td[b-c72utmvxk3] {
        display: block;
        width: 100%;
    }

    .table tr[b-c72utmvxk3] {
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 0; /* Quitamos el padding aquí para dar control a las celdas */
        overflow: hidden; /* Asegura que el contenido respete los bordes redondeados */
    }

    /* Cada celda (td) ahora es una fila dentro de la tarjeta */
    .table td[b-c72utmvxk3] {
        display: flex; /* <-- LA CLAVE: Usamos Flexbox */
        justify-content: space-between; /* <-- Separa la etiqueta del valor */
        align-items: center;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #f0f0f0;
        text-align: right; /* Mantenemos la alineación del valor */
    }

    .table tr:last-child td:last-child[b-c72utmvxk3] {
        border-bottom: none;
    }

    /* La etiqueta (::before) ahora es un elemento flex */
    .table td[b-c72utmvxk3]::before {
        content: attr(data-label);
        font-weight: 600;
        color: #343a40;
        text-align: left;
        margin-right: 1rem; /* Añade un espacio entre la etiqueta y el valor */
    }

    /* Ajustes específicos para celdas especiales */
    .table td[data-label="Foto"][b-c72utmvxk3] {
        justify-content: center;
        padding: 1rem;
        background-color: #f8f9fa;
    }

        .table td[data-label="Foto"][b-c72utmvxk3]::before {
            display: none;
        }

    .table td[data-label="Área / Departamento"] .d-flex[b-c72utmvxk3] {
        align-items: flex-end;
        text-align: right;
    }
}
/* _content/Intranet/Components/Pages/UserSrvc/Modules/JustificationOfIncidents.razor.rz.scp.css */
/* JustificationOfIncidents.razor.css */

/* Wrapper visual del checklist */
.incident-checklist-wrapper[b-soy14fcy6m] {
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    background: #ffffff;
    margin-top: 0.5rem;
    overflow: hidden;
}

/* Header (visual) */
.incident-checklist-header[b-soy14fcy6m] {
    padding: 0.45rem 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,250,250,0.95));
    border-bottom: 1px solid #f0f0f0;
}

/* Body: grid responsive */
.incident-checklist-body[b-soy14fcy6m] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.5rem;
    padding: 0.5rem;
}

/* Item visual */
.incident-item[b-soy14fcy6m] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    background-color: #fafafa;
    border: 1px solid #eee;
    transition: background-color 0.12s ease, box-shadow 0.12s ease;
    cursor: pointer;
}

    .incident-item:hover[b-soy14fcy6m] {
        background-color: #f1f8ff;
        box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    }

/* Checkbox base */
.form-check-input[b-soy14fcy6m] {
    margin-left: 0 !important;
    margin-top: 0 !important;
    transform: scale(1.1); /* más fácil de tocar */
}

/* Label */
.incident-label[b-soy14fcy6m] {
    font-weight: 500;
    color: #222;
    word-break: break-word;
    flex: 1;
}

/* Scrollbar (webkit) */
.incident-checklist-body[b-soy14fcy6m]::-webkit-scrollbar {
    width: 8px;
}

.incident-checklist-body[b-soy14fcy6m]::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 8px;
}

    .incident-checklist-body[b-soy14fcy6m]::-webkit-scrollbar-thumb:hover {
        background: #bfbfbf;
    }

/* 🔹 Modo oscuro */
:root[data-theme='dark'] .incident-checklist-wrapper[b-soy14fcy6m] {
    background: #161616;
    border-color: #2b2b2b;
}

:root[data-theme='dark'] .incident-item[b-soy14fcy6m] {
    background: #1f1f1f;
    border-color: #2b2b2b;
    color: #ddd;
}

/* 🔹 Móvil: mejora espaciado y corrige checkbox */
@media (max-width: 768px) {
    .incident-checklist-body[b-soy14fcy6m] {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .incident-item[b-soy14fcy6m] {
        padding: 0.7rem 1rem;
        gap: 0.85rem;
    }

    .form-check-input[b-soy14fcy6m] {
        transform: scale(1.2);
        margin-left: 2px !important;
    }
}

/* 🔹 Desktop: separa checkbox del borde */
@media (min-width: 769px) {
    .form-check-input[b-soy14fcy6m] {
        margin-left: 0.25rem !important;
        margin-top: 0 !important;
        transform: scale(1.1);
    }
}
/* _content/Intranet/Components/Pages/UserSrvc/RolesManagement.razor.rz.scp.css */
.user-card[b-yzs3cc8sd5] {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

    .user-card:hover[b-yzs3cc8sd5] {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        transform: translateY(-2px);
    }

    .user-card.selected[b-yzs3cc8sd5] {
        border: 1px solid #4682B4; /* Color más sutil y elegante (SteelBlue) */
        color: white;
        border-color: #009C87;
        box-shadow: 0 6px 14px rgba(70, 130, 180, 0.3);
        position: relative;
    }

        .user-card.selected[b-yzs3cc8sd5]::after {
            position: absolute;
            top: 8px;
            right: 12px;
            background-color: #4682B4; /* Color más oscuro pero sutil */
            color: white;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 0.75rem;
            opacity: 0.85;
        }

.user-photo img[b-yzs3cc8sd5] {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #009C87;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.user-info[b-yzs3cc8sd5] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.user-name[b-yzs3cc8sd5] {
    margin: 0;
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #dcdcdc;
    padding-left: 5px;
    padding-bottom: 3px;
    margin-bottom: 0.5rem;
}

    .user-name.selected[b-yzs3cc8sd5] {
        border-color: #009C87;
        box-shadow: 0 6px 14px rgba(70, 130, 180, 0.3);
        position: relative;
    }


        .user-name.selected[b-yzs3cc8sd5]::after {
            background-color: #4682B4; /* Color más oscuro pero sutil */
        }
/* Estilo para los datos en una sola línea */
.info-row[b-yzs3cc8sd5] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-bottom: 0px;
}

.info-label[b-yzs3cc8sd5] {
    font-weight: bold;
    color: #555;
    width: 130px;
    text-align: right;
}

.info-value[b-yzs3cc8sd5] {
    color: #333;
    text-align: left;
    flex: 1;
}

/* Action button */
.action-button[b-yzs3cc8sd5] {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #009C87;
    border: none;
    color: white;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

    .action-button:hover[b-yzs3cc8sd5] {
        background-color: #007b70;
    }

    .action-button i[b-yzs3cc8sd5] {
        font-size: 1.1rem;
    }

.user-card[b-yzs3cc8sd5] {
    position: relative; /* Necesario para que el botón esté en la esquina */
}


/* Responsive Design */
@media screen and (max-width: 768px) {
    .user-card[b-yzs3cc8sd5] {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }

    .user-photo img[b-yzs3cc8sd5] {
        width: 80px;
        height: 80px;
    }

    .user-name[b-yzs3cc8sd5] {
        font-size: 1.2rem;
    }

    .info-label[b-yzs3cc8sd5] {
        width: 100px;
        font-size: 0.9rem;
    }

    .info-value[b-yzs3cc8sd5] {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .user-card[b-yzs3cc8sd5] {
        flex-direction: row;
        gap: 10px;
        padding: 0.5rem;
    }

    .user-photo img[b-yzs3cc8sd5] {
        width: 70px;
        height: 70px;
    }

    .user-name[b-yzs3cc8sd5] {
        font-size: 0.8rem;
    }

    .info-label[b-yzs3cc8sd5] {
        width: 90px;
        font-size: 0.7rem;
    }

    .info-value[b-yzs3cc8sd5] {
        font-size: 0.5rem;
    }
}
/* _content/Intranet/Components/Pages/UserSrvc/UserCard.razor.rz.scp.css */
.user-card-container[b-nsc1f7ijsq] {
    border: none;
}

.user-card-header[b-nsc1f7ijsq] {
    background-color: #f8f9fa;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
}

.user-photo[b-nsc1f7ijsq] {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.user-card-body[b-nsc1f7ijsq] {
    padding: 1.5rem;
    text-align: center;
}

.user-name[b-nsc1f7ijsq] {
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.user-category[b-nsc1f7ijsq] {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.user-details[b-nsc1f7ijsq] {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

    .user-details div[b-nsc1f7ijsq] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 0.5rem;
    }

    .user-details small[b-nsc1f7ijsq] {
        color: #6c757d;
        font-weight: 500;
    }

    .user-details span[b-nsc1f7ijsq] {
        font-weight: 600;
        text-align: right;
    }
/* _content/Intranet/Components/Pages/UserSrvc/UserNode.razor.rz.scp.css */
.user-card-body[b-fy57lmwtnc] {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

    .user-card-body:hover[b-fy57lmwtnc] {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }

.user-photo[b-fy57lmwtnc] {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #007bff;
}

.user-details p[b-fy57lmwtnc] {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #555;
}

    .user-details p strong[b-fy57lmwtnc] {
        color: #333;
    }

.collapsible-content[b-fy57lmwtnc] {
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    max-height: 0;
}

.expanded[b-fy57lmwtnc] {
    max-height: none;
}

.collapsed[b-fy57lmwtnc] {
    max-height: 0;
}

.card-header[b-fy57lmwtnc] {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
}

/* 🌳 Margen jerárquico por nivel (desktop) */
.ml-nivel[b-fy57lmwtnc],
.nivel-1[b-fy57lmwtnc] {
    margin-left: 20px;
}

.nivel-2[b-fy57lmwtnc] {
    margin-left: 40px;
}

.nivel-3[b-fy57lmwtnc] {
    margin-left: 60px;
}

.nivel-4[b-fy57lmwtnc] {
    margin-left: 80px;
}

/* 📱 Estilos responsivos para móviles */
@media (max-width: 768px) {
    .user-card-body[b-fy57lmwtnc] {
        margin: 5px 1px !important; /* sin margen derecho */
        padding: 10px 1px 10px 5px; /* sin padding derecho */
    }

    .ml-nivel[b-fy57lmwtnc],
    .nivel-1[b-fy57lmwtnc],
    .nivel-2[b-fy57lmwtnc],
    .nivel-3[b-fy57lmwtnc],
    .nivel-4[b-fy57lmwtnc] {
        margin-left: 5px !important;
        margin-right: 0 !important;
    }

    .user-details p[b-fy57lmwtnc] {
        font-size: 0.8rem;
    }

    .user-photo[b-fy57lmwtnc] {
        width: 60px;
        height: 60px;
    }

    .card-header[b-fy57lmwtnc] {
        font-size: 0.85rem;
        padding: 0.5rem;
    }

    /* Elimina márgenes internos/residuales */
    .user-card-body *[b-fy57lmwtnc],
    .user-card-body *:not(:last-child)[b-fy57lmwtnc] {
        margin-right: 0 !important;
        padding-right: 0 !important;
    }
}

/* 🔹 Cabecera nombre y badge */
.user-header[b-fy57lmwtnc] {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.user-name-badge[b-fy57lmwtnc] {
    display: flex;
    flex-direction: column;
}

.user-fullname[b-fy57lmwtnc] {
    white-space: nowrap;
    font-weight: bold;
    font-size: 1rem;
}

.user-division[b-fy57lmwtnc] {
    font-size: 0.75rem;
    align-self: flex-start;
    white-space: normal;
}

/* 📱 Ajustes para nombre y división en móviles */
@media (max-width: 768px) {
    .user-name-badge[b-fy57lmwtnc] {
        flex-direction: column;
        align-items: flex-start;
        padding-right: 5px !important;
    }

    .user-fullname[b-fy57lmwtnc] {
        white-space: normal;
    }

    .user-division[b-fy57lmwtnc] {
        margin-top: 0.25rem;
        font-size: 0.7rem;
        width: auto;
    }
}

/* 📷 Reubicar foto arriba de los datos en móvil */
.user-info-container[b-fy57lmwtnc] {
    display: flex;
    align-items: flex-start;
}

.photo-container[b-fy57lmwtnc] {
    margin-right: 1rem;
}

@media (max-width: 768px) {
    .user-info-container[b-fy57lmwtnc] {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .photo-container[b-fy57lmwtnc] {
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }

    .user-details[b-fy57lmwtnc] {
        text-align: left;
        width: 100%;
    }
}

.toggle-btn[b-fy57lmwtnc] {
    width: 28px;
    height: 28px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    background-color: transparent;
    transition: background-color 0.2s ease-in-out;
}

    .toggle-btn:hover[b-fy57lmwtnc] {
        background-color: #f0f0f0;
    }

    .toggle-btn i[b-fy57lmwtnc] {
        margin: 0;
    }

    /* Modo expandido */
    .toggle-btn.btn-secondary[b-fy57lmwtnc] {
        background-color: #6c757d;
        color: white;
        border: none;
    }

/* Responsivo para móviles */
@media (max-width: 768px) {
    .toggle-btn[b-fy57lmwtnc] {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }

    .card-header[b-fy57lmwtnc] {
        padding-right: 10px !important; /* o el valor que necesites */
    }

    .alert-warning-nochill[b-fy57lmwtnc] {
        margin-right: 5px !important; /* ✅ si quieres margen externo */
        padding-right: 5px !important; /* ✅ si quieres espacio interno */
    }
}


/* Desktop: inline por defecto */
.mobile-stack-label .label-icon[b-fy57lmwtnc],
.mobile-stack-label .label-value[b-fy57lmwtnc] {
    display: inline;
}

/* Móvil: dividir en 2 líneas */
@media (max-width: 768px) {
    .mobile-stack-label[b-fy57lmwtnc] {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

        .mobile-stack-label .label-icon[b-fy57lmwtnc] {
            margin-bottom: 2px;
        }

        .mobile-stack-label .label-value[b-fy57lmwtnc] {
            padding-left: 1.5rem; /* para alinear con íconos */
        }
}

/* _content/Intranet/Components/Pages/UserSrvc/VirtualAsistaint.razor.rz.scp.css */
.chat-container[b-1lniza68lt] {
    display: flex;
    background-color: gray;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    padding: 10px;
    box-sizing: border-box;
}

.messages[b-1lniza68lt] {
    overflow-y: auto;
    padding: 10px;
    height: 100%; /* Ajusta según el espacio que quieras para la zona de entrada */
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 10px;
}

.input-area[b-1lniza68lt] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.input-field[b-1lniza68lt] {
    flex-grow: 1;
    margin-right: 10px; /* Asegura espacio entre el campo de texto y el botón */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
}


.send-button[b-1lniza68lt] {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

    .send-button:hover[b-1lniza68lt] {
        background-color: #0056b3;
    }

.response[b-1lniza68lt] {
    background-color: #f1f1f1;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.col-auto[b-1lniza68lt] {
    display: flex;
    align-items: center; /* Alinea los elementos verticalmente en el centro */
    justify-content: space-between; /* Distribuye el espacio entre los elementos */
    width: 100%;
}

.loading-message[b-1lniza68lt] {
    color: #AAA; /* Color gris para el mensaje de carga */
    text-align: center;
    padding: 10px;
}


/* _content/Intranet/src/Gob/SAyBG/SIGLEC/Views/Dashboard/AttendanceStatistics.razor.rz.scp.css */
.chart-scroll-container[b-btphlqokj4] {
    overflow-x: auto; /* Habilitar scroll horizontal */
    overflow-y: hidden; /* Opcional: Ocultar scroll vertical */
    white-space: nowrap; /* Evitar que el contenido se envuelva */
    width: 100%; /* Ajustar al tamaño del contenedor padre */
}

.chart-scroll-container > canvas[b-btphlqokj4] {
    min-width: 1000px; /* Establecer un ancho mínimo para el gráfico */
    max-width: none; /* Permitir crecimiento ilimitado */
}
body[b-btphlqokj4] {
}
/* _content/Intranet/src/Gob/SAyBG/SIGLEC/Views/Dashboard/StaffInfo.razor.rz.scp.css */
.options-container[b-97jy41hdeh] {
    padding: 10px 15px; /* Margen interno alrededor del select */
    background-color: #f8f9fa; /* Color de fondo para diferenciarlo del gráfico */
    border-bottom: 1px solid #ddd; /* Línea divisoria entre el select y el gráfico */
    display: flex;
    align-items: center; /* Alineación vertical de los elementos */
    gap: 10px; /* Espaciado entre el label y el select */
}

    .options-container label[b-97jy41hdeh] {
        font-size: 14px; /* Ajusta el tamaño del texto del label */
        color: #333; /* Color del texto */
    }

    .options-container select[b-97jy41hdeh] {
        font-size: 14px;
        padding: 5px;
        border-radius: 4px;
        border: 1px solid #ccc;
    }


.chart-container[b-97jy41hdeh] {
    overflow-x: visible;
    overflow-y: hidden;
    white-space: nowrap;
    width: 100%;
    height: calc(100% - 50px); /* Reduce el espacio ocupado por el contenedor de opciones */
    padding: 10px; /* Añade un poco de margen interno alrededor de la gráfica */
}



#chart_div[b-97jy41hdeh] {
    display: inline-block; /* Asegura que la gráfica se comporte como un bloque en línea */
    min-width: 100%; /* Define un ancho mínimo si es necesario */
}

@media (max-width: 768px) {
    .options-container[b-97jy41hdeh] {
        flex-direction: column; /* Coloca el label y el select en columnas */
        align-items: flex-start; /* Alineación a la izquierda */
        gap: 5px; /* Menor espaciado entre los elementos */
    }

    .chart-container[b-97jy41hdeh] {
        height: calc(100% - 80px); /* Ajusta el tamaño restante para el gráfico */
    }
}
/* _content/Intranet/src/Gob/SAyBG/SIGLEC/Views/Index.razor.rz.scp.css */
.chart-container[b-bunafgpzgv] {
    width: 100%; /* Que ocupe todo el ancho del contenedor */
    max-width: 100%; /* Limitar tamaño máximo en pantallas pequeñas */
    height: auto; /* Altura dinámica */
    position: relative; /* Necesario para la responsividad */
    margin: 0 auto; /* Centrar el gráfico */
}

    .chart-container canvas[b-bunafgpzgv] {
        display: block;
        width: 100% !important; /* Asegurar que ocupa todo el ancho */
        height: auto !important; /* Ajustar altura proporcionalmente */
    }

/* Media query para pantallas grandes */
@media (min-width: 1024px) {
    .chart-container[b-bunafgpzgv] {
        max-width: 100%; /* Incrementa el tamaño máximo del gráfico */
        height: 400px; /* Altura fija para pantallas grandes */
    }

        .chart-container canvas[b-bunafgpzgv] {
            max-height: 400px; /* Ajustar el tamaño máximo del canvas */
        }
}

/* Media query para pantallas medianas */
@media (min-width: 768px) and (max-width: 1023px) {
    .chart-container[b-bunafgpzgv] {
        max-width: 700px; /* Ajusta el tamaño para tablets o pantallas medianas */
        height: 350px;
    }

        .chart-container canvas[b-bunafgpzgv] {
            max-height: 350px;
        }
}

/* Media query para pantallas pequeñas */
@media (max-width: 767px) {
    .chart-container[b-bunafgpzgv] {
        max-width: 90%; /* Ajustar al 90% del ancho disponible */
        height: 250px; /* Reducir altura para pantallas pequeñas */
    }

        .chart-container canvas[b-bunafgpzgv] {
            max-height: 250px;
        }
}
