/* ==========================================
   ESTILOS GENERALES
   ========================================== */

* {
    box-sizing: border-box;
}


html,
body {
    width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    background-color: #095CA7F2;

    font-family: Arial, sans-serif;

    color: #000000;
}



/* ==========================================
   BARRA SUPERIOR
   ========================================== */

.BarraSuperior {
    width: 100%;

    height: 80px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        10px 25px;

    background-color: #F2F2F2;

    border-bottom:
        3px solid #ffffff;

    position: relative;

    z-index: 100;
}



/* ==========================================
   LOGOS
   ========================================== */

.LogoIzquierdo,
.LogoDerecho {
    width: 100px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.LogoIzquierdo img,
.LogoDerecho img {
    max-width: 100%;

    max-height: 55px;

    object-fit: contain;
}



/* ==========================================
   RESPONSIVE COMÚN
   ========================================== */

@media (max-width: 480px) {

    .BarraSuperior {
        padding:
            10px 15px;
    }


    .LogoIzquierdo,
    .LogoDerecho {
        width: 80px;
    }

}


/* =========================================================
   2. CSS GENERAL / LOGIN / COMPONENTES ANTIGUOS
   ========================================================= */

/* ==========================================
   FORMULARIOS / LOGIN
   ========================================== */


.BarraSuperior+.FormCajaLogin {
    min-height: calc(100vh - 80px);
}


.FormLogin {
    width: 100%;

    max-width: 800px;

    margin: auto;

    padding: 40px;

    background-color: #F2F2F2;

    border: 1px solid #000000;

    border-radius: 8px;

    color: #000000;

    text-align: center;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.10);
}



/* ==========================================
   PANTALLA USUARIOS
   ========================================== */

.usuarios-panel {
    position: relative;

    width: 100%;

    max-width: 930px;

    padding-bottom: 100px;
}


.TituloUsuarios {
    margin-top: 5px;

    margin-bottom: 35px;

    font-size: 32px;

    color: #000000;

    text-align: center;
}


/* jpmm-i*/
.SubTituloUsuarios {
    margin-top: 2px;

    margin-bottom: 35px;

    font-size: 16px;

    color: #095CA7F2;

    text-align: center;
}

/* jpmm-f*/

/* ==========================================
   ETIQUETAS
   ========================================== */

.TextoCajas {
    display: block;

    width: 100%;

    margin: 0 0 8px 0;

    color: #000000;

    font-weight: bold;

    text-align: left;
}



/* ==========================================
   CUADROS DE TEXTO
   ========================================== */

.CajaTexto {
    display: block;

    width: 100%;

    margin: 0 0 20px 0;

    padding: 12px;

    font-size: 16px;

    color: #000000;

    background-color: #ffffff;

    border: 1px solid #000000;

    border-radius: 5px;

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}


.CajaTexto:focus {
    border-color: #095CA7;

    box-shadow:
        0 0 0 2px rgba(9, 92, 167, 0.15);
}



/* ==========================================
   CHECKBOX
   ========================================== */

.CheckBox1 {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: flex-start;

    margin: 10px 0 20px 0;

    color: #000000;

    text-align: left;
}


.CheckBox1 input {
    margin-right: 8px;
}



/* ==========================================
   BOTÓN GENERAL
   ========================================== */

.BtnLogin {
    width: 100%;

    padding: 15px;

    margin-top: 10px;

    background-color: darkblue;

    border: 0;

    cursor: pointer;

    font-weight: bold;

    color: #ffffff;

    transition:
        background-color 0.2s;
}


.BtnLogin:hover {
    background-color: #095CA7;
}


.BtnLogin:active {
    transform: scale(0.98);
}



/* ==========================================
   NOMBRE DE USUARIO
   ========================================== */

.NomUsuario {
    margin: 10px 0;

    color: #000000;

    font-size: 18px;

    word-break: break-word;
}



/* ==========================================
   BARRA LATERAL
   ========================================== */

.BarraLateral {
    position: fixed;

    top: 0;
    left: 0;

    width: 220px;

    height: 100vh;

    padding: 20px;

    background-color: #ffffff;

    border-right:
        1px solid #000000;

    text-align: center;
}


.BarraLateral ul {
    list-style: none;

    margin: 0;
    padding: 0;
}


.BarraLateral li {
    margin-bottom: 12px;

    padding: 12px 10px;

    text-align: center;

    background-color: #095CA7F2;

    border:
        1px solid #000000;

    border-radius: 5px;
}


.BarraLateral a {
    display: block;

    color: #ffffff;

    text-decoration: none;

    font-weight: bold;
}


.BarraLateral li:hover {
    background-color: #095CA7;
}



/* ==========================================
   CONTENEDOR PRINCIPAL
   ========================================== */

.ContenedorPrincipal {
    width:
        calc(100% - 220px);

    min-height: 100vh;

    margin-left: 220px;

    padding: 30px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}



/* ==========================================
   TABLAS GENERALES
   ========================================== */

.ContenedorTabla {
    width: 100%;

    max-width: 1260px;

    margin-left: auto;
    margin-right: auto;

    overflow-x: auto;
}


table {
    width: 100%;

    margin: 0 auto;

    border-collapse: collapse;

    background-color: #ffffff;

    border:
        1px solid #000000;

    box-shadow:
        0 0 10px rgba(0, 0, 0, 0.08);
}



th {
    padding: 12px;

    background-color: #095CA7F2;

    color: #ffffff;

    border:
        1px solid #000000;

    font-weight: bold;

    text-align: center;
}


th,
td {
    padding: 10px;

    text-align: center;

    border:
        1px solid #dddddd;
}


td {
    color: #000000;

    background-color: #ffffff;
}



/* ==========================================
   BOTONES DE USUARIOS ANTIGUOS
   ========================================== */

.BotonesUsuarios {
    width: 100%;

    padding: 15px;

    margin-top: 10px;

    background-color:
        rgb(10, 224, 224);

    border: 0;

    cursor: pointer;

    font-weight: bold;

    color: #ffffff;

    transition:
        background-color 0.2s;
}


.BotonesUsuarios:hover {
    background-color: #095CA7;
}


.BotonesUsuarios:active {
    transform: scale(0.98);
}



/* ==========================================
   GRID USUARIOS 2 x 2
   ========================================== */

.AccionesUsuarios {
    width: 100%;

    max-width: 650px;

    margin:
        30px auto 0 auto;

    padding: 0;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;

    background: transparent;

    border: none;
}



/* ==========================================
   BOTONES USUARIOS
   ========================================== */

.BtnUsuario {
    width: 100%;

    min-height: 54px;

    margin: 0;

    padding:
        12px 16px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 9px;

    background-color: #1C355E;

    color: #ffffff;

    border:
        1px solid #000000;

    border-radius: 6px;

    font-family:
        Arial,
        sans-serif;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    white-space: nowrap;

    transition:
        background-color 0.2s,
        transform 0.2s,
        box-shadow 0.2s;
}


.BtnUsuario:hover {
    background-color: #3BD4AE;
}


.BtnUsuario:active {
    transform: scale(0.98);
}



/* ==========================================
   BOTÓN ELIMINAR
   ========================================== */

.BtnUsuarioEliminar {
    width: 100%;

    min-height: 54px;

    margin: 0;

    padding:
        12px 16px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 9px;

    background-color: #1C355E;

    color: #ffffff;

    border:
        1px solid #000000;

    border-radius: 6px;

    font-family:
        Arial,
        sans-serif;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    white-space: nowrap;

    transition:
        background-color 0.2s,
        transform 0.2s,
        box-shadow 0.2s;
}


.BtnUsuarioEliminar:hover {
    background-color: #3BD4AE;
}


.BtnUsuarioEliminar:active {
    transform: scale(0.98);
}



/* ==========================================
   ICONOS DE ACCIÓN
   ========================================== */

.IconoAccion {
    width: 20px;

    height: 20px;

    flex-shrink: 0;

    color: currentColor;
}



/* ==========================================
   BOTÓN VOLVER GENERAL
   ========================================== */

.BotonVolver {
    position: relative;

    left: 15%;

    transform:
        translateX(-50%);
}


.BotonVolver a {
    display: inline-block;

    padding:
        10px 25px;

    background-color: #1C355E;

    color: #ffffff;

    border:
        1px solid #000000;

    border-radius: 6px;

    font-size: 16px;

    font-weight: bold;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.2s,
        transform 0.2s;
}


.BotonVolver a:hover {
    background-color: #3BD4AE;
}



/* ==========================================
   VOLVER ESPECÍFICO USUARIOS
   ========================================== */

.BotonVolverUsuarios {
    position: absolute;

    left: 30px;

    bottom: 25px;
}


.BotonVolverUsuarios a {
    display: inline-flex;

    justify-content: center;

    align-items: center;

    gap: 7px;

    padding:
        10px 25px;

    background-color: #1C355E;

    color: #ffffff;

    border:
        1px solid #000000;

    border-radius: 6px;

    font-size: 16px;

    font-weight: bold;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.2s,
        transform 0.2s;
}


.BotonVolverUsuarios a:hover {
    background-color: #3BD4AE;
}


.BotonVolverUsuarios a:active {
    transform: scale(0.98);
}



/* ==========================================
   POPUP
   ========================================== */

.caja_popup2 {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    padding: 20px;

    display: flex;

    justify-content: center;

    align-items: center;

    background-color:
        rgba(0, 0, 0, 0.5);

    z-index: 999;
}


.contenedor_popup {
    position: relative;

    width: 100%;

    max-width: 450px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 30px;

    background-color: #ffffff;

    border:
        1px solid #000000;

    border-radius: 8px;

    text-align: center;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.2);

    transition:
        all 0.2s;
}



/* ==========================================
   ELEMENTOS DEL POPUP
   ========================================== */

.contenedor_popup .TextoCajas {
    color: #000000;

    font-weight: bold;

    text-align: left;
}


.contenedor_popup .CajaTexto {
    width: 100%;

    margin-left: 0;

    margin-right: 0;
}


.contenedor_popup .BotonesUsuarios,
.contenedor_popup .BtnLogin {
    background-color: #095CA7F2;

    color: #ffffff;

    border:
        1px solid #000000;
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */

@media (max-width: 768px) {

    .BarraLateral {
        position: relative;

        width: 100%;

        height: auto;

        padding: 15px;

        border-right: none;

        border-bottom:
            1px solid #000000;
    }


    .BarraLateral ul {
        display: flex;

        flex-wrap: wrap;

        justify-content: center;

        gap: 8px;
    }


    .BarraLateral li {
        flex:
            1 1 150px;

        max-width: 220px;

        margin-bottom: 0;
    }


    .ContenedorPrincipal {
        width: 100%;

        margin-left: 0;

        padding: 20px;

        min-height: auto;
    }


    .FormCajaLogin {
        padding: 20px;
    }


    .FormLogin {
        width: 100%;

        max-width: 700px;
    }


    .usuarios-panel {
        max-width: 700px;
    }


    .ContenedorTabla {
        overflow-x: auto;
    }


    .AccionesUsuarios {
        grid-template-columns:
            repeat(2, 1fr);

        max-width: 560px;
    }

}



/* ==========================================
   RESPONSIVE - MÓVIL
   ========================================== */

@media (max-width: 480px) {

    .FormCajaLogin {
        width: 100%;

        padding: 15px;
    }


    .FormLogin {
        width: 100%;

        max-width: 100%;

        padding:
            25px 20px;

        border-radius: 6px;
    }


    .usuarios-panel {
        padding-bottom: 25px;
    }


    .TituloUsuarios {
        margin-bottom: 35px;

        font-size: 26px;
    }

    /*jmpm-i*/
    .SubTituloUsuarios {
        margin-bottom: 35px;

        font-size: 16px;
    }

    /*jmpm-i*/

    .TextoCajas {
        width: 100%;

        font-size: 15px;

        text-align: left;
    }


    .CajaTexto {
        width: 100%;

        margin-left: 0;

        padding: 11px;

        font-size: 16px;
    }


    .BtnLogin {
        width: 100%;

        max-width: none;

        padding: 12px;
    }


    .AccionesUsuarios {
        grid-template-columns:
            1fr;

        max-width: none;

        gap: 10px;
    }


    .BtnUsuario,
    .BtnUsuarioEliminar {
        width: 100%;

        min-height: 50px;

        font-size: 16px;
    }


    .BotonVolverUsuarios {
        position: static;

        width: 100%;

        margin-top: 25px;
    }


    .BotonVolverUsuarios a {
        width: 100%;

        justify-content: center;
    }


    .BarraLateral {
        padding: 10px;
    }


    .BarraLateral li {
        width: 100%;

        max-width: none;
    }


    .ContenedorPrincipal {
        width: 100%;

        margin-left: 0;

        padding: 15px;
    }


    .ContenedorTabla {
        width: 100%;

        overflow-x: auto;
    }


    table {
        min-width: 600px;
    }


    .caja_popup2 {
        padding: 15px;
    }


    .contenedor_popup {
        width: 100%;

        max-width: 100%;

        padding: 20px;

        max-height: 90vh;
    }

}



/* ==========================================
   PANTALLAS MUY PEQUEÑAS
   ========================================== */

@media (max-width: 320px) {

    .FormLogin {
        padding: 15px;
    }


    .TextoCajas {
        font-size: 14px;
    }


    .CajaTexto {
        padding: 10px;

        font-size: 15px;
    }


    .BtnLogin,
    .BtnUsuario,
    .BtnUsuarioEliminar {
        font-size: 15px;
    }


    .ContenedorPrincipal {
        padding: 10px;
    }


    .AccionesUsuarios {
        gap: 8px;
    }

}


/* =========================================================
   3. CSS USUARIOS Y LISTADO DE USUARIOS
   ========================================================= */

/* =========================================================
   NUEVO DISEÑO PANTALLA USUARIOS
   ========================================================= */

.usuarios-contenedor {
    width: 100%;

    height: auto;

    min-height:
        calc(100vh - 80px);

    margin: 0;

    padding:
        45px 15px;

    display: flex;

    justify-content: center;

    align-items: flex-start;

    background-color: transparent;

    box-shadow: none;
}


.usuarios-panel {
    position: relative;

    width: 400px;

    max-width: 100%;

    margin: 0 auto;

    padding: 0;

    background-color: #ffffff;

    border: 0;

    border-radius: 0;

    color: #000000;

    box-shadow:
        0 0 9px 0 rgba(0, 0, 0, 0.30);

    overflow: hidden;
}


.usuarios-panel form {
    width: 100%;

    margin: 0;

    padding:
        0 20px 25px 20px;

    display: flex;

    flex-direction: column;

    align-items: center;
}


.usuarios-panel .TituloUsuarios {
    width:
        calc(100% + 40px);

    margin:
        0 -20px 30px -20px;

    padding:
        20px 0;

    color: #1C355E;

    font-size: 24px;

    font-weight: bold;

    text-align: center;

    border-bottom:
        1px solid #dee0e4;
}

/*jmpm-i*/
.usuarios-panel .SubTituloUsuarios {
    width:
        calc(100% + 40px);

    margin:
        0 -20px 30px -20px;

    padding:
        20px 0;

    color: #095CA7F2;

    font-size: 16px;

    font-weight: bold;

    text-align: center;

    border-bottom:
        1px solid #dee0e4;
}

/*jmpm-f*/

/* ==========================================
   FILA ICONO + CAMPO
   ========================================== */

.FilaCampoUsuario {
    width: 360px;

    max-width: 100%;

    min-height: 50px;

    margin-bottom: 20px;

    display: flex;

    align-items: stretch;

    justify-content: center;
}



/* ==========================================
   ICONO DEL CAMPO
   ========================================== */

.IconoCampoUsuario {
    width: 50px;

    min-width: 50px;

    height: 50px;

    margin: 0;

    padding: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    background-color: #1C355E;

    color: #ffffff;

    border: 0;
}


.IconoCampoUsuario i {
    margin: 0;

    padding: 0;

    color: #ffffff;

    font-size: 16px;
}



/* ==========================================
   CAMPO DE USUARIO
   ========================================== */

.FilaCampoUsuario .CajaTexto {
    display: block;

    width: 310px;

    max-width:
        calc(100% - 50px);

    height: 50px;

    margin: 0;

    padding:
        0 15px;

    background-color: #ffffff;

    color: #000000;

    border:
        1px solid #dee0e4;

    border-radius: 0;

    outline: none;

    font-size: 16px;

    box-shadow: none;
}


.FilaCampoUsuario .CajaTexto:focus {
    border-color: #1C355E;

    box-shadow:
        inset 0 0 0 1px #1C355E;
}


.FilaCampoUsuario .CajaTexto::placeholder {
    color: #777777;

    opacity: 1;
}



/* ==========================================
   DESPLEGABLE PERFIL
   ========================================== */

.FilaCampoUsuario select.CajaTexto,
.SelectPerfil {
    width: 310px;

    max-width:
        calc(100% - 50px);

    height: 50px;

    margin: 0;

    padding:
        0 15px;

    background-color: #ffffff;

    color: #4a536e;

    border:
        1px solid #dee0e4;

    border-radius: 0;

    cursor: pointer;

    font-size: 16px;
}



/* ==========================================
   GRID USUARIOS NUEVO
   ========================================== */

.usuarios-panel .AccionesUsuarios {
    width: 310px;

    max-width: 100%;

    margin:
        10px auto 0 auto;

    padding: 0;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;

    background: transparent;

    border: 0;
}



/* ==========================================
   BOTONES USUARIOS NUEVOS
   ========================================== */

.usuarios-panel .BtnUsuario {
    width: 100%;

    min-height: 50px;

    margin: 0;

    padding:
        12px 5px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    background-color: #1C355E;

    color: #ffffff;

    border: 0;

    border-radius: 0;

    font-family:
        Arial,
        sans-serif;

    font-size: 14px;

    font-weight: bold;

    line-height: 1.2;

    text-align: center;

    white-space: normal;

    cursor: pointer;

    transition:
        background-color 0.2s,
        transform 0.2s;
}


.usuarios-panel .BtnUsuario:hover {
    background-color: #3BD4AE;
}


.usuarios-panel .BtnUsuario:active {
    transform:
        scale(0.98);
}


.usuarios-panel .BtnUsuario i,
.usuarios-panel .BtnUsuarioEliminar i {
    color: #ffffff;

    font-size: 15px;
}



/* ==========================================
   ELIMINAR NUEVO
   ========================================== */

.usuarios-panel .BtnUsuarioEliminar {
    width: 100%;

    min-height: 50px;

    margin: 0;

    padding:
        12px 5px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    background-color: #1C355E;

    color: #ffffff;

    border: 0;

    border-radius: 0;

    font-family:
        Arial,
        sans-serif;

    font-size: 14px;

    font-weight: bold;

    line-height: 1.2;

    text-align: center;

    white-space: normal;

    cursor: pointer;

    transition:
        background-color 0.2s,
        transform 0.2s;
}


.usuarios-panel .BtnUsuarioEliminar:hover {
    background-color: #DC3545;
}


.usuarios-panel .BtnUsuarioEliminar:active {
    transform:
        scale(0.98);
}



/* ==========================================
   VOLVER USUARIOS NUEVO
   ========================================== */

.usuarios-panel .BotonVolverUsuarios {
    position: static;

    width: 310px;

    max-width: 100%;

    margin:
        30px auto 0 auto;
}


.usuarios-panel .BotonVolverUsuarios a {
    width: 100%;

    min-height: 50px;

    margin: 0;

    padding:
        12px 10px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 7px;

    background-color: #1C355E;

    color: #ffffff;

    border: 0;

    border-radius: 0;

    font-size: 14px;

    font-weight: bold;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.2s,
        transform 0.2s;
}


.usuarios-panel .BotonVolverUsuarios a:hover {
    background-color: #3BD4AE;
}


.usuarios-panel .BotonVolverUsuarios a:active {
    transform:
        scale(0.98);
}


.usuarios-panel .BotonVolverUsuarios i {
    color: #ffffff;

    font-size: 15px;
}



/* =========================================================
   LISTADO / BÚSQUEDA DE USUARIOS
   ========================================================= */

.ListadoUsuariosContenedor {
    width: 100%;

    min-height:
        calc(100vh - 80px);

    padding:
        45px 25px;

    display: flex;

    justify-content: center;

    align-items: flex-start;

    background-color: transparent;
}



/* ==========================================
   PANEL LISTADO
   ========================================== */

.ListadoUsuariosPanel {
    width: 100%;

    max-width: 700px;

    margin: 0 auto;

    padding:
        0 25px 25px 25px;

    background-color: #ffffff;

    box-shadow:
        0 0 9px 0 rgba(0, 0, 0, 0.30);

    overflow: hidden;
}



/* ==========================================
   TÍTULO LISTADO
   ========================================== */

.TituloListadoUsuarios {
    width:
        calc(100% + 50px);

    margin:
        0 -25px 30px -25px;

    padding:
        20px 0;

    text-align: center;

    color: #1C355E;

    font-size: 24px;

    font-weight: bold;

    border-bottom:
        1px solid #dee0e4;
}



/* ==========================================
   BUSCADOR
   ========================================== */

.BuscadorUsuarios {
    width: 100%;

    margin-bottom: 25px;
}


.BuscadorUsuarios form {
    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;
}



/* ==========================================
   CAMPO BUSCADOR
   ========================================== */

.CampoBusquedaUsuarios {
    height: 50px;

    display: flex;

    align-items: stretch;
}


.IconoBusquedaUsuarios {
    width: 50px;

    min-width: 50px;

    height: 50px;

    display: flex;

    justify-content: center;

    align-items: center;

    background-color: #1C355E;

    color: #ffffff;
}


.IconoBusquedaUsuarios i {
    color: #ffffff;

    font-size: 16px;
}


.CampoBusquedaUsuarios input {
    width: 280px;

    height: 50px;

    margin: 0;

    padding:
        0 15px;

    background-color: #ffffff;

    color: #000000;

    border:
        1px solid #dee0e4;

    border-radius: 0;

    outline: none;

    font-size: 16px;
}


.CampoBusquedaUsuarios input:focus {
    border-color: #1C355E;

    box-shadow:
        inset 0 0 0 1px #1C355E;
}



/* ==========================================
   BOTÓN BUSCAR
   ========================================== */

.BtnBuscarUsuarios {
    height: 50px;

    padding:
        0 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    background-color: #1C355E;

    color: #ffffff;

    border: 0;

    cursor: pointer;

    font-size: 14px;

    font-weight: bold;

    transition:
        background-color 0.2s,
        transform 0.2s;
}


.BtnBuscarUsuarios i {
    color: #ffffff;
}


.BtnBuscarUsuarios:hover {
    background-color: #3BD4AE;
}


.BtnBuscarUsuarios:active {
    transform:
        scale(0.98);
}



/* ==========================================
   MOSTRAR TODOS
   ========================================== */

.BtnMostrarTodos {
    height: 50px;

    padding:
        0 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    background-color: #1C355E;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: bold;

    transition:
        background-color 0.2s,
        transform 0.2s;
}


.BtnMostrarTodos i {
    color: #ffffff;
}


.BtnMostrarTodos:hover {
    background-color: #3BD4AE;

    color: #ffffff;
}


.BtnMostrarTodos:active {
    transform:
        scale(0.98);
}



/* ==========================================
   CONTENEDOR TABLA USUARIOS
   ========================================== */

.TablaUsuariosContenedor {
    width: 100%;

    margin:
        0 auto 25px auto;

    overflow-x: auto;

    background-color: #ffffff;
}



/* ==========================================
   TABLA USUARIOS
   ========================================== */

.TablaUsuarios {
    width: 100%;

    margin: 0;

    border-collapse: collapse;

    background-color: #ffffff;

    border: 0;

    box-shadow: none;
}


.TablaUsuarios th {
    padding:
        14px 12px;

    background-color: #1C355E;

    color: #ffffff;

    border:
        1px solid #dee0e4;

    font-weight: bold;

    text-align: center;
}


.TablaUsuarios td {
    padding:
        13px 12px;

    color: #4a536e;

    background-color: #ffffff;

    border:
        1px solid #dee0e4;

    text-align: center;
}


.TablaUsuarios tbody tr:hover td {
    background-color: #f4f6f8;
}


.SinUsuarios {
    padding:
        25px !important;

    color:
        #4a536e !important;

    font-weight: bold;
}



/* =========================================================
   PAGINACIÓN
   ========================================================= */

.PaginacionUsuarios {
    width: 100%;

    max-width: 500px;

    margin:
        25px auto 0 auto;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;
}



/* ==========================================
   BOTONES ANTERIOR / SIGUIENTE
   ========================================== */

.BtnPaginacion {
    width: 100%;

    min-height: 50px;

    padding:
        12px 15px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    background-color: #1C355E;

    color: #ffffff;

    border: 0;

    border-radius: 0;

    font-family:
        Arial,
        sans-serif;

    font-size: 14px;

    font-weight: bold;

    cursor: pointer;

    transition:
        background-color 0.2s,
        transform 0.2s;
}


.BtnPaginacion i {
    color: #ffffff;

    font-size: 14px;
}


.BtnPaginacion:hover:not(:disabled) {
    background-color: #3BD4AE;
}


.BtnPaginacion:active:not(:disabled) {
    transform:
        scale(0.98);
}



/* ==========================================
   PAGINACIÓN DESACTIVADA
   ========================================== */

.BtnPaginacion:disabled {
    background-color: #9ca3af;

    color: #ffffff;

    cursor: default;

    opacity: 0.65;
}



/* ==========================================
   INFORMACIÓN DE PÁGINA
   ========================================== */

.InfoPaginacionUsuarios {
    width: 100%;

    margin-top: 12px;

    color: #4a536e;

    font-size: 14px;

    text-align: center;
}



/* ==========================================
   VOLVER LISTADO
   ========================================== */

.VolverListadoUsuarios {
    width: 310px;

    max-width: 100%;

    margin:
        30px auto 0 auto;
}


.VolverListadoUsuarios a {
    width: 100%;

    min-height: 50px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 7px;

    padding:
        12px 15px;

    background-color: #1C355E;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: bold;

    transition:
        background-color 0.2s,
        transform 0.2s;
}


.VolverListadoUsuarios a i {
    color: #ffffff;
}


.VolverListadoUsuarios a:hover {
    background-color: #3BD4AE;

    color: #ffffff;
}


.VolverListadoUsuarios a:active {
    transform:
        scale(0.98);
}



/* ==========================================
   RESPONSIVE LISTADO TABLET
   ========================================== */

@media (max-width: 768px) {

    .ListadoUsuariosContenedor {
        padding:
            30px 15px;
    }


    .ListadoUsuariosPanel {
        padding:
            0 15px 20px 15px;
    }


    .TituloListadoUsuarios {
        width:
            calc(100% + 30px);

        margin:
            0 -15px 25px -15px;
    }


    .BuscadorUsuarios form {
        align-items: stretch;
    }


    .CampoBusquedaUsuarios {
        flex:
            1 1 330px;
    }


    .CampoBusquedaUsuarios input {
        width: 100%;
    }

}



/* ==========================================
   RESPONSIVE LISTADO MÓVIL
   ========================================== */

@media (max-width: 480px) {

    .ListadoUsuariosContenedor {
        padding:
            20px 10px;
    }


    .ListadoUsuariosPanel {
        width: 100%;

        padding:
            0 10px 20px 10px;
    }


    .TituloListadoUsuarios {
        width:
            calc(100% + 20px);

        margin:
            0 -10px 20px -10px;

        font-size: 22px;
    }


    .BuscadorUsuarios form {
        flex-direction: column;

        align-items: stretch;
    }


    .CampoBusquedaUsuarios {
        width: 100%;

        flex: none;
    }


    .CampoBusquedaUsuarios input {
        width:
            calc(100% - 50px);
    }


    .BtnBuscarUsuarios,
    .BtnMostrarTodos {
        width: 100%;
    }


    .TablaUsuarios {
        min-width: 600px;
    }


    .PaginacionUsuarios {
        width: 100%;

        grid-template-columns:
            1fr 1fr;

        gap: 8px;
    }


    .BtnPaginacion {
        min-height: 48px;

        padding: 10px;

        font-size: 13px;
    }


    .VolverListadoUsuarios {
        width: 100%;
    }

}



/* ==========================================
   RESPONSIVE USUARIOS NUEVO
   ========================================== */

@media (max-width: 480px) {

    .usuarios-contenedor {
        padding:
            25px 15px;
    }


    .usuarios-panel {
        width: 400px;

        max-width: 100%;

        padding: 0;

        border-radius: 0;
    }


    .usuarios-panel form {
        padding:
            0 15px 20px 15px;
    }


    .usuarios-panel .TituloUsuarios {
        width:
            calc(100% + 30px);

        margin:
            0 -15px 25px -15px;
    }

    /*jmpm-i*/
    .SubTituloUsuarios {
        width:
            calc(100% + 30px);

        margin:
            0 -15px 25px -15px;
    }

    /*jmpm-f*/

    .FilaCampoUsuario {
        width: 100%;

        max-width: 360px;
    }


    .IconoCampoUsuario {
        width: 50px;

        min-width: 50px;
    }


    .FilaCampoUsuario .CajaTexto,
    .FilaCampoUsuario select.CajaTexto,
    .SelectPerfil {
        width:
            calc(100% - 50px);

        max-width: none;
    }


    .usuarios-panel .AccionesUsuarios {
        width: 310px;

        max-width: 100%;

        grid-template-columns:
            1fr 1fr;

        gap: 8px;
    }


    .usuarios-panel .BtnUsuario,
    .usuarios-panel .BtnUsuarioEliminar {
        min-height: 48px;

        padding:
            10px 4px;

        font-size: 13px;
    }


    .usuarios-panel .BotonVolverUsuarios {
        width: 310px;

        max-width: 100%;

        margin-top: 25px;
    }

}



/* ==========================================
   MÓVILES MUY PEQUEÑOS
   ========================================== */

@media (max-width: 340px) {

    .usuarios-panel .AccionesUsuarios {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   4. CSS INCIDENCIAS
   ========================================================= */

/* =========================================================
   CONTENEDOR
   ========================================================= */

.pagina-incidencia {
    width: 100%;

    min-height:
        calc(100vh - 80px);

    margin: 0;

    padding:
        45px 15px;

    display: flex;

    justify-content: center;

    align-items: flex-start;
}



/* =========================================================
   TARJETA
   ========================================================= */

.tarjeta-incidencia {
    width: 500px;

    max-width: 100%;

    margin: 0 auto;

    padding:
        0 25px 25px 25px;

    background-color: #ffffff;

    border: 0;

    border-radius: 0;

    box-shadow:
        0 0 9px 0 rgba(0, 0, 0, 0.30);

    overflow: hidden;
}



/* =========================================================
   TÍTULO
   ========================================================= */

.tarjeta-incidencia h1 {
    width:
        calc(100% + 50px);

    margin:
        0 -25px 30px -25px;

    padding:
        20px 10px;

    color: #1C355E;

    font-size: 24px;

    font-weight: bold;

    text-align: center;

    border-bottom:
        1px solid #dee0e4;
}



/* =========================================================
   FORMULARIO
   ========================================================= */

.tarjeta-incidencia form {
    width: 100%;

    margin: 0;

    padding: 0;
}



/* =========================================================
   FILA ICONO + CAMPO
   ========================================================= */

.FilaCampoIncidencia {
    width: 100%;

    height: 50px;

    margin-bottom: 22px;

    display: flex;

    align-items: stretch;
}



/* =========================================================
   ICONO IZQUIERDO
   ========================================================= */

.IconoCampoIncidencia {
    width: 50px;

    min-width: 50px;

    height: 50px;

    margin: 0;

    padding: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    background-color: #1C355E;

    color: #ffffff;

    border: 0;

    border-radius: 0;
}


.IconoCampoIncidencia i {
    color: #ffffff;

    font-size: 16px;
}



/* =========================================================
   CAMPO NORMAL
   ========================================================= */

.CampoIncidencia {
    flex: 1;

    width:
        calc(100% - 50px);

    height: 50px;

    margin: 0;

    padding:
        0 15px;

    background-color: #ffffff;

    color: #4a536e;

    border:
        1px solid #dee0e4;

    border-radius: 0;

    outline: none;

    font-family:
        Arial,
        sans-serif;

    font-size: 16px;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}


.CampoIncidencia:focus {
    border-color: #1C355E;

    box-shadow:
        inset 0 0 0 1px #1C355E;
}



/* =========================================================
   CONTENEDOR FECHA
   ========================================================= */

.ContenedorFecha {
    position: relative;

    flex: 1;

    height: 50px;
}



/* =========================================================
   CAMPO FECHA
   ========================================================= */

.CampoFecha {
    width: 100%;

    height: 50px;

    margin: 0;

    padding:
        0 55px 0 15px;

    background-color: #ffffff;

    color: #4a536e;

    border:
        1px solid #dee0e4;

    border-radius: 0;

    outline: none;

    font-family:
        Arial,
        sans-serif;

    font-size: 16px;

    appearance: none;

    -webkit-appearance: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}


.CampoFecha:focus {
    border-color: #1C355E;

    box-shadow:
        inset 0 0 0 1px #1C355E;
}



/* =========================================================
   OCULTAR ICONO NATIVO DEL CALENDARIO
   ========================================================= */

.CampoFecha::-webkit-calendar-picker-indicator {
    display: none;

    opacity: 0;

    -webkit-appearance: none;
}



/* =========================================================
   FLECHA DERECHA DEL CALENDARIO
   ========================================================= */

.BotonDesplegarFecha {
    position: absolute;

    top: 0;
    right: 0;

    width: 50px;

    height: 50px;

    margin: 0;

    padding: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    background-color: transparent;

    color: #1C355E;

    border: 0;

    border-left:
        1px solid #dee0e4;

    border-radius: 0;

    cursor: pointer;

    transition:
        background-color 0.2s,
        color 0.2s,
        transform 0.2s;
}


.BotonDesplegarFecha i {
    color: #1C355E;

    font-size: 14px;
}


.BotonDesplegarFecha:hover {
    background-color: #1C355E;
}


.BotonDesplegarFecha:hover i {
    color: #ffffff;
}


.BotonDesplegarFecha:active {
    background-color: #3BD4AE;

    transform:
        scale(0.98);
}



/* =========================================================
   MOTIVO
   ========================================================= */

.SelectIncidencia {
    cursor: pointer;

    background-color: #ffffff;

    color: #4a536e;
}



/* =========================================================
   GRUPOS
   ========================================================= */

.grupo {
    width: 100%;

    margin-bottom: 22px;
}



/* =========================================================
   HORA
   ========================================================= */

.selector-hora {
    width: 100%;

    padding:
        15px 10px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    background-color: #f7f8fa;

    border:
        1px solid #dee0e4;
}



/* =========================================================
   UNIDAD DE TIEMPO
   ========================================================= */

.unidad-tiempo {
    width: 82px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 5px;
}



/* =========================================================
   INPUT HORA
   ========================================================= */

.unidad-tiempo input {
    width: 68px;

    height: 48px;

    margin: 0;

    padding: 0;

    background-color: #ffffff;

    color: #1C355E;

    border:
        1px solid #dee0e4;

    border-radius: 0;

    outline: none;

    font-family:
        Arial,
        sans-serif;

    font-size: 20px;

    font-weight: bold;

    text-align: center;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}


.unidad-tiempo input:focus {
    border-color: #1C355E;

    box-shadow:
        inset 0 0 0 1px #1C355E;
}



/* =========================================================
   HORA / MIN / SEG
   ========================================================= */

.unidad-tiempo span {
    margin-top: 2px;

    color: #4a536e;

    font-size: 12px;

    font-weight: bold;
}



/* =========================================================
   FLECHAS HORA
   ========================================================= */

.flecha-tiempo {
    width: 68px;

    height: 28px;

    margin: 0;

    padding: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    background-color: #1C355E;

    color: #ffffff;

    border: 0;

    border-radius: 0;

    cursor: pointer;

    transition:
        background-color 0.2s,
        transform 0.2s;
}


.flecha-tiempo i {
    color: #ffffff;

    font-size: 11px;
}


.flecha-tiempo:hover {
    background-color: #3BD4AE;
}


.flecha-tiempo:active {
    transform:
        scale(0.96);
}



/* =========================================================
   DOS PUNTOS
   ========================================================= */

.separador-hora {
    margin-top: 2px;

    color: #1C355E;

    font-size: 28px;

    font-weight: bold;
}



/* =========================================================
   ENTRADA / SALIDA
   ========================================================= */

.radio-contenedor {
    width: 100%;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;
}



/* =========================================================
   RADIO OPCIÓN
   ========================================================= */

.radio-opcion {
    position: relative;

    width: 100%;

    margin: 0;

    padding: 0;

    cursor: pointer;
}



/* =========================================================
   RADIO NATIVO OCULTO
   ========================================================= */

.radio-opcion input[type="radio"] {
    position: absolute;

    opacity: 0;

    width: 1px;

    height: 1px;
}



/* =========================================================
   BOTONES ENTRADA / SALIDA
   SIN ICONOS
   ========================================================= */

.radio-boton {
    width: 100%;

    min-height: 50px;

    padding:
        12px 15px;

    display: flex;

    justify-content: center;

    align-items: center;

    background-color: #1C355E;

    color: #ffffff;

    border: 0;

    border-radius: 0;

    font-size: 14px;

    font-weight: bold;

    text-align: center;

    cursor: pointer;

    transition:
        background-color 0.2s,
        transform 0.2s;
}


.radio-opcion:hover .radio-boton {
    background-color: #3BD4AE;
}



/* =========================================================
   ENTRADA / SALIDA SELECCIONADO
   ========================================================= */

.radio-opcion input[type="radio"]:checked+.radio-boton {

    background-color: #3BD4AE;

    color: #ffffff;
}



/* =========================================================
   FOCUS ENTRADA / SALIDA
   ========================================================= */

.radio-opcion input[type="radio"]:focus+.radio-boton {

    outline:
        2px solid #1C355E;

    outline-offset: 2px;
}



/* =========================================================
   COMENTARIO
   ========================================================= */

.grupo-comentario textarea {
    width: 100%;

    height: 120px;

    min-height: 120px;

    max-height: 120px;

    margin: 0;

    padding:
        12px 15px;

    background-color: #ffffff;

    color: #000000;

    border:
        1px solid #dee0e4;

    border-radius: 0;

    outline: none;

    font-family:
        Arial,
        sans-serif;

    font-size: 16px;

    line-height: 1.4;

    resize: none;

    overflow-y: scroll;

    overflow-x: hidden;

    scrollbar-width: thin;

    scrollbar-color:
        #1C355E #f1f1f1;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}


.grupo-comentario textarea:focus {
    border-color: #1C355E;

    box-shadow:
        inset 0 0 0 1px #1C355E;
}


.grupo-comentario textarea::placeholder {
    color: #777777;

    opacity: 1;
}



/* =========================================================
   SCROLL COMENTARIO
   ========================================================= */

.grupo-comentario textarea::-webkit-scrollbar {
    width: 10px;
}


.grupo-comentario textarea::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}


.grupo-comentario textarea::-webkit-scrollbar-thumb {
    background-color: #1C355E;

    border:
        2px solid #f1f1f1;
}


.grupo-comentario textarea::-webkit-scrollbar-thumb:hover {
    background-color: #3BD4AE;
}



/* =========================================================
   BOTONES INFERIORES
   ========================================================= */

.botones {
    width: 100%;

    margin-top: 30px;

    display: flex;

    flex-direction: column;

    gap: 10px;
}



/* =========================================================
   BOTÓN GENERAL
   ========================================================= */

.boton {
    width: 100%;

    min-height: 50px;

    margin: 0;

    padding:
        12px 15px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 7px;

    background-color: #1C355E;

    color: #ffffff;

    border: 0;

    border-radius: 0;

    font-family:
        Arial,
        sans-serif;

    font-size: 14px;

    font-weight: bold;

    text-align: center;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.2s,
        transform 0.2s;
}


.boton i {
    color: #ffffff;

    font-size: 15px;
}



/* =========================================================
   GUARDAR
   ========================================================= */

.boton-guardar {
    background-color: #1C355E;

    color: #ffffff;
}


.boton-guardar:hover {
    background-color: #3BD4AE;
}


.boton-guardar:active {
    transform:
        scale(0.98);
}



/* =========================================================
   VOLVER
   ========================================================= */

.boton-volver {
    background-color: #1C355E;

    color: #ffffff;
}


.boton-volver:hover {
    background-color: #3BD4AE;

    color: #ffffff;
}


.boton-volver:active {
    transform:
        scale(0.98);
}



/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 768px) {

    .pagina-incidencia {
        padding:
            35px 15px;
    }


    .tarjeta-incidencia {
        width: 500px;

        max-width: 100%;
    }

}



/* =========================================================
   RESPONSIVE MÓVIL
   ========================================================= */

@media (max-width: 480px) {

    .pagina-incidencia {
        padding:
            25px 15px;
    }


    .tarjeta-incidencia {
        width: 100%;

        padding:
            0 15px 20px 15px;
    }


    .tarjeta-incidencia h1 {
        width:
            calc(100% + 30px);

        margin:
            0 -15px 25px -15px;

        padding:
            18px 8px;

        font-size: 22px;
    }


    .FilaCampoIncidencia {
        width: 100%;
    }


    .IconoCampoIncidencia {
        width: 50px;

        min-width: 50px;
    }


    .selector-hora {
        gap: 5px;

        padding:
            12px 5px;
    }


    .unidad-tiempo {
        width: 70px;
    }


    .unidad-tiempo input {
        width: 60px;

        height: 45px;

        font-size: 18px;
    }


    .flecha-tiempo {
        width: 60px;
    }


    .separador-hora {
        font-size: 24px;
    }


    .radio-contenedor {
        grid-template-columns:
            1fr 1fr;

        gap: 8px;
    }


    .radio-boton {
        min-height: 48px;

        padding: 10px;

        font-size: 13px;
    }


    .boton {
        min-height: 48px;

        padding: 10px;

        font-size: 13px;
    }

}



/* =========================================================
   PANTALLAS MUY PEQUEÑAS
   ========================================================= */

@media (max-width: 360px) {

    .selector-hora {
        gap: 2px;
    }


    .unidad-tiempo {
        width: 62px;
    }


    .unidad-tiempo input {
        width: 54px;

        font-size: 17px;
    }


    .flecha-tiempo {
        width: 54px;
    }


    .separador-hora {
        font-size: 20px;
    }


    .radio-contenedor {
        grid-template-columns: 1fr;
    }

}


/* Más estilos nuevos */
/*jmpm-i*/

/* =========================================================
   CONTENEDOR
   ========================================================= */

.ListadoFichajesContenedor {
    width: 100%;
    min-height: calc(100vh - 80px);
    padding: 45px 25px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}


/* =========================================================
   PANEL
   ========================================================= */

.ListadoFichajesPanel {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 0 25px 25px 25px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.30);
    overflow: hidden;
}


/* =========================================================
   TÍTULO
   ========================================================= */

.TituloListadoFichajes {
    width: calc(100% + 50px);
    margin: 0 -25px 30px -25px;
    padding: 20px 0;
    color: #1C355E;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #dee0e4;
}


/* =========================================================
   BUSCADOR
   ========================================================= */

.BuscadorFichajes {
    width: 100%;
    margin-bottom: 25px;
}

.BuscadorFichajes form {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.CampoBusquedaFichajes {
    height: 50px;
    display: flex;
    align-items: stretch;
}

.IconoBusquedaFichajes {
    width: 50px;
    min-width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1C355E;
    color: #ffffff;
}

.IconoBusquedaFichajes i {
    color: #ffffff;
    font-size: 16px;
}

.CampoBusquedaFichajes input {
    width: 210px;
    height: 50px;
    margin: 0;
    padding: 0 15px;
    background-color: #ffffff;
    color: #4a536e;
    border: 1px solid #dee0e4;
    border-radius: 0;
    outline: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
    cursor: pointer;
}

.CampoBusquedaFichajes input:focus {
    border-color: #1C355E;
    box-shadow: inset 0 0 0 1px #1C355E;
}


/* =========================================================
   BOTÓN BUSCAR
   ========================================================= */

.BtnBuscarFichajes {
    height: 50px;
    padding: 0 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    background-color: #1C355E;
    color: #ffffff;
    border: 0;
    border-radius: 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.BtnBuscarFichajes i {
    color: #ffffff;
}

.BtnBuscarFichajes:hover {
    background-color: #3BD4AE;
}

.BtnBuscarFichajes:active {
    transform: scale(0.98);
}


/* =========================================================
   MOSTRAR TODOS
   ========================================================= */

.BtnMostrarFichajes {
    height: 50px;
    padding: 0 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    background-color: #1C355E;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s, transform 0.2s;
}

.BtnMostrarFichajes i {
    color: #ffffff;
}

.BtnMostrarFichajes:hover {
    background-color: #3BD4AE;
    color: #ffffff;
}

.BtnMostrarFichajes:active {
    transform: scale(0.98);
}


/* =========================================================
   TABLA
   ========================================================= */

.TablaFichajesContenedor {
    width: 100%;
    margin: 0 auto 25px auto;
    overflow-x: auto;
    background-color: #ffffff;
}

.TablaFichajes {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    background-color: #ffffff;
    border: 0;
    box-shadow: none;
}

.TablaFichajes th {
    padding: 14px 12px;
    background-color: #1C355E;
    color: #ffffff;
    border: 1px solid #dee0e4;
    font-weight: bold;
    text-align: center;
}

.TablaFichajes td {
    padding: 13px 12px;
    color: #4a536e;
    background-color: #ffffff;
    border: 1px solid #dee0e4;
    text-align: center;
}

.TablaFichajes tbody tr:hover td {
    background-color: #f4f6f8;
}

.IconoCabeceraFichajes {
    margin-right: 7px;
    color: #ffffff;
    font-size: 14px;
}

.SinFichajes {
    padding: 25px !important;
    color: #4a536e !important;
    font-weight: bold;
}


/* =========================================================
   PAGINACIÓN
   ========================================================= */

.PaginacionFichajes {
    width: 100%;
    max-width: 500px;
    margin: 25px auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.BtnPaginacionFichajes {
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: #1C355E;
    color: #ffffff;
    border: 0;
    border-radius: 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.BtnPaginacionFichajes i {
    color: #ffffff;
    font-size: 14px;
}

.BtnPaginacionFichajes:hover {
    background-color: #3BD4AE;
    color: #ffffff;
}

.BtnPaginacionFichajes:active {
    transform: scale(0.98);
}

.BtnPaginacionDesactivado {
    background-color: #9ca3af;
    color: #ffffff;
    cursor: default;
    opacity: 0.65;
}

.BtnPaginacionDesactivado:hover {
    background-color: #9ca3af;
    color: #ffffff;
    transform: none;
}

.BtnPaginacionDesactivado:active {
    transform: none;
}

.InfoPaginacionFichajes {
    width: 100%;
    margin-top: 12px;
    color: #4a536e;
    font-size: 14px;
    text-align: center;
}


/* =========================================================
   BOTÓN PDF CENTRADO ENCIMA DE VOLVER
   ========================================================= */

.ContenedorPdfFichajes {
    width: 100%;
    margin: 0;
    padding-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.BtnPdfFichajes {
    width: 310px;
    max-width: 100%;
    min-height: 50px;
    margin-bottom: 10px;
    padding: 12px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: #1C355E;
    color: #ffffff;
    border: 0;
    border-radius: 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.BtnPdfFichajes i {
    color: #ffffff;
    font-size: 17px;
}

.BtnPdfFichajes:hover {
    background-color: #3BD4AE;
    color: #ffffff;
}

.BtnPdfFichajes:hover i {
    color: #ffffff;
}

.BtnPdfFichajes:active {
    transform: scale(0.98);
}


/* =========================================================
   VOLVER
   ========================================================= */

.VolverListadoFichajes {
    width: 310px;
    max-width: 100%;
    margin: 30px auto 0 auto;
}

.VolverListadoFichajes a {
    width: 100%;
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 12px 15px;
    background-color: #1C355E;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s, transform 0.2s;
}

.VolverListadoFichajes a i {
    color: #ffffff;
}

.VolverListadoFichajes a:hover {
    background-color: #3BD4AE;
    color: #ffffff;
}

.VolverListadoFichajes a:active {
    transform: scale(0.98);
}


/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 768px) {

    .ListadoFichajesContenedor {
        padding: 30px 15px;
    }

    .ListadoFichajesPanel {
        padding: 0 15px 20px 15px;
    }

    .TituloListadoFichajes {
        width: calc(100% + 30px);
        margin: 0 -15px 25px -15px;
    }

    .BuscadorFichajes form {
        align-items: stretch;
    }
}


/* =========================================================
   RESPONSIVE MÓVIL
   ========================================================= */

@media (max-width: 480px) {

    .BarraSuperior {
        padding: 10px 15px;
    }

    .LogoIzquierdo,
    .LogoDerecho {
        width: 80px;
    }

    .ListadoFichajesContenedor {
        padding: 20px 10px;
    }

    .ListadoFichajesPanel {
        width: 100%;
        padding: 0 10px 20px 10px;
    }

    .TituloListadoFichajes {
        width: calc(100% + 20px);
        margin: 0 -10px 20px -10px;
        font-size: 22px;
    }

    .BuscadorFichajes form {
        flex-direction: column;
        align-items: stretch;
    }

    .CampoBusquedaFichajes {
        width: 100%;
    }

    .CampoBusquedaFichajes input {
        width: calc(100% - 50px);
    }

    .BtnBuscarFichajes,
    .BtnMostrarFichajes {
        width: 100%;
    }

    .TablaFichajes {
        min-width: 600px;
    }

    .PaginacionFichajes {
        width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .BtnPaginacionFichajes {
        min-height: 48px;
        padding: 10px;
        font-size: 13px;
    }

    .BtnPdfFichajes,
    .VolverListadoFichajes {
        width: 100%;
    }
}


/* =========================================================
   SELECTOR DE MES Y AÑO PARA PDF
   ========================================================= */

.SelectorPdfContenedor {
    width: 100%;
    min-height: calc(100vh - 80px);
    padding: 45px 15px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}


.SelectorPdfPanel {
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 25px 25px 25px;
    background-color: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.30);
    overflow: hidden;
}


.TituloSelectorPdf {
    width: calc(100% + 50px);
    margin: 0 -25px 30px -25px;
    padding: 20px 10px;
    color: #1C355E;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #dee0e4;
}


.FormularioSelectorPdf {
    width: 100%;
    margin: 0;
    padding: 0;
}


.CampoSelectorPdf {
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: stretch;
}


.IconoSelectorPdf {
    width: 50px;
    min-width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1C355E;
    color: #ffffff;
}


.IconoSelectorPdf i {
    color: #ffffff;
    font-size: 16px;
}


.SelectPdfFichajes {
    flex: 1;
    width: calc(100% - 50px);
    height: 50px;
    margin: 0;
    padding: 0 15px;
    background-color: #ffffff;
    color: #4a536e;
    border: 1px solid #dee0e4;
    border-radius: 0;
    outline: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
    cursor: pointer;
}


.SelectPdfFichajes:focus {
    border-color: #1C355E;
    box-shadow: inset 0 0 0 1px #1C355E;
}


.BtnGenerarPdfFichajes,
.BtnVolverSelectorPdf {
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 12px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: #1C355E;
    color: #ffffff;
    border: 0;
    border-radius: 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}


.BtnGenerarPdfFichajes {
    margin-top: 10px;
}


.BtnVolverSelectorPdf {
    margin-top: 10px;
}


.BtnGenerarPdfFichajes i,
.BtnVolverSelectorPdf i {
    color: #ffffff;
    font-size: 16px;
}


.BtnGenerarPdfFichajes:hover,
.BtnVolverSelectorPdf:hover {
    background-color: #3BD4AE;
    color: #ffffff;
}


.BtnGenerarPdfFichajes:active,
.BtnVolverSelectorPdf:active {
    transform: scale(0.98);
}


@media (max-width: 480px) {

    .SelectorPdfContenedor {
        padding: 25px 15px;
    }


    .SelectorPdfPanel {
        width: 100%;
        padding: 0 15px 20px 15px;
    }


    .TituloSelectorPdf {
        width: calc(100% + 30px);
        margin: 0 -15px 25px -15px;
        padding: 18px 8px;
        font-size: 22px;
    }

}

/*jmpm-f*/
/* =========================================================
   5. VERINCIDENCIAS.PHP
   ESTILOS EXCLUSIVOS DE ESTA PÁGINA
   ========================================================= */

/*
   IMPORTANTE:
   Este bloque SOLO afecta a verincidencias.php porque el <body>
   de esa página lleva la clase:

       <body class="PaginaVerIncidencias">

   Además, los contenedores principales usan IDs exclusivos.
   Así, el resto de páginas que comparten style_profe.css no cambian.
*/

/* =========================================================
   VARIABLES DE TAMAÑO
   ========================================================= */

.PaginaVerIncidencias {
    --ver-incidencias-ancho-panel: 800px;
    --ver-incidencias-ancho-tabla: 800px;
    --ver-incidencias-tamano-texto: 14px;
    --ver-incidencias-padding-celda-vertical: 10px;
    --ver-incidencias-padding-celda-horizontal: 7px;
}

/* =========================================================
   CONTENEDOR GENERAL
   ========================================================= */

.PaginaVerIncidencias #VerIncidenciasContenedor {
    width: 100% !important;
    min-height: calc(100vh - 80px);
    padding: 45px 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
}

/* =========================================================
   PANEL BLANCO PRINCIPAL
   ========================================================= */

.PaginaVerIncidencias #VerIncidenciasPanel {
    width: 96% !important;
    max-width: var(--ver-incidencias-ancho-panel) !important;
    margin: 0 auto !important;
    padding: 0 25px 25px 25px !important;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.30);
    overflow: hidden;
}

/* =========================================================
   TÍTULO
   ========================================================= */

.PaginaVerIncidencias #VerIncidenciasPanel .TituloListadoFichajes {
    width: calc(100% + 50px);
    margin: 0 -25px 30px -25px;
    padding: 20px 0;
    color: #1C355E;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #dee0e4;
}

/* =========================================================
   BUSCADOR Y BOTONES SUPERIORES
   ========================================================= */

.PaginaVerIncidencias #BuscadorVerIncidencias {
    width: 100%;
    margin-bottom: 25px;
}

.PaginaVerIncidencias #BuscadorVerIncidencias form {
    width: 100%;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
}

/* =========================================================
   CAMPO DE BÚSQUEDA
   ========================================================= */

.PaginaVerIncidencias #BuscadorVerIncidencias .CampoBusquedaFichajes {
    height: 50px;
    display: flex;
    align-items: stretch;
    flex: 0 0 auto !important;
}

.PaginaVerIncidencias #BuscadorVerIncidencias .IconoBusquedaFichajes {
    width: 50px;
    min-width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1C355E;
    color: #ffffff;
}

.PaginaVerIncidencias #BuscadorVerIncidencias .IconoBusquedaFichajes i {
    color: #ffffff;
    font-size: 16px;
}

.PaginaVerIncidencias #BuscadorVerIncidencias .CampoBusquedaFichajes input {
    width: 260px !important;
    height: 50px;
    margin: 0;
    padding: 0 15px;
    background-color: #ffffff;
    color: #4a536e;
    border: 1px solid #dee0e4;
    border-radius: 0;
    outline: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.PaginaVerIncidencias #BuscadorVerIncidencias .CampoBusquedaFichajes input:focus {
    border-color: #1C355E;
    box-shadow: inset 0 0 0 1px #1C355E;
}

/* =========================================================
   BOTÓN BUSCAR
   ========================================================= */

.PaginaVerIncidencias #BuscadorVerIncidencias .BtnBuscarFichajes {
    height: 50px;
    padding: 0 20px;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto !important;
    width: auto !important;
    background-color: #1C355E;
    color: #ffffff;
    border: 0;
    border-radius: 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s, transform 0.2s;
}

.PaginaVerIncidencias #BuscadorVerIncidencias .BtnBuscarFichajes:hover {
    background-color: #3BD4AE;
}

.PaginaVerIncidencias #BuscadorVerIncidencias .BtnBuscarFichajes:active {
    transform: scale(0.98);
}

/* =========================================================
   BOTÓN MOSTRAR CERRADAS
   ========================================================= */

.PaginaVerIncidencias #BuscadorVerIncidencias .BtnMostrarCerradas {
    height: 50px;
    padding: 0 20px;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto !important;
    width: auto !important;
    background-color: #1C355E;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    transition: background-color 0.2s, transform 0.2s;
}

.PaginaVerIncidencias #BuscadorVerIncidencias .BtnMostrarCerradas:hover {
    background-color: #3BD4AE;
    color: #ffffff;
}

.PaginaVerIncidencias #BuscadorVerIncidencias .BtnMostrarCerradas:active {
    transform: scale(0.98);
}

/* =========================================================
   BOTÓN MOSTRAR CERRADAS ACTIVO
   ========================================================= */

.PaginaVerIncidencias .BtnMostrarCerradasActivo {

    background-color: #3BD4AE !important;

    color: #ffffff !important;
}


.PaginaVerIncidencias .BtnMostrarCerradasActivo:hover {

    background-color: #3BD4AE !important;

    color: #ffffff !important;
}

/* =========================================================
   BOTÓN MOSTRAR TODOS
   ========================================================= */

.PaginaVerIncidencias #BuscadorVerIncidencias .BtnMostrarFichajes {
    height: 50px;
    padding: 0 20px;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto !important;
    width: auto !important;
    background-color: #1C355E;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    transition: background-color 0.2s, transform 0.2s;
}

.PaginaVerIncidencias #BuscadorVerIncidencias .BtnMostrarFichajes:hover {
    background-color: #3BD4AE;
    color: #ffffff;
}

.PaginaVerIncidencias #BuscadorVerIncidencias .BtnMostrarFichajes:active {
    transform: scale(0.98);
}

/* =========================================================
   CONTENEDOR DE LA TABLA
   ========================================================= */

.PaginaVerIncidencias #TablaVerIncidenciasContenedor {
    width: 100% !important;
    max-width: var(--ver-incidencias-ancho-tabla) !important;
    margin: 0 auto 25px auto !important;
    overflow-x: auto !important;
    background-color: #ffffff;
}

/* =========================================================
   TABLA
   ========================================================= */

.PaginaVerIncidencias #TablaVerIncidenciasContenedor .TablaFichajes {
    width: 100% !important;
    margin: 0;
    border-collapse: collapse;
    background-color: #ffffff;
    border: 0;
    box-shadow: none;
    font-size: var(--ver-incidencias-tamano-texto);
    table-layout: auto;
}

/* =========================================================
   CABECERAS DE LA TABLA
   ========================================================= */

.PaginaVerIncidencias #TablaVerIncidenciasContenedor .TablaFichajes th {
    padding: var(--ver-incidencias-padding-celda-vertical) var(--ver-incidencias-padding-celda-horizontal) !important;
    background-color: #1C355E;
    color: #ffffff;
    border: 1px solid #dee0e4;
    font-size: var(--ver-incidencias-tamano-texto);
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

/* =========================================================
   ICONO + TEXTO DE CADA CABECERA
   ========================================================= */

.PaginaVerIncidencias .CabeceraIncidencia {
    display: inline-flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    vertical-align: middle;
}

.PaginaVerIncidencias .CabeceraIncidencia i {
    display: inline-block !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff;
    line-height: 1;
}

.PaginaVerIncidencias .CabeceraIncidencia span {
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

/* =========================================================
   CELDAS DE LA TABLA
   ========================================================= */

.PaginaVerIncidencias #TablaVerIncidenciasContenedor .TablaFichajes td {
    padding: var(--ver-incidencias-padding-celda-vertical) var(--ver-incidencias-padding-celda-horizontal) !important;
    color: #4a536e;
    background-color: #ffffff;
    border: 1px solid #dee0e4;
    text-align: center;
    vertical-align: middle;
}

/* =========================================================
   ANCHOS DE COLUMNAS
   ========================================================= */

.PaginaVerIncidencias .TablaFichajes th:nth-child(1),
.PaginaVerIncidencias .TablaFichajes td:nth-child(1) {
    width: 40px;
}

.PaginaVerIncidencias .TablaFichajes th:nth-child(2),
.PaginaVerIncidencias .TablaFichajes td:nth-child(2) {
    width: 70px;
}

.PaginaVerIncidencias .TablaFichajes th:nth-child(3),
.PaginaVerIncidencias .TablaFichajes td:nth-child(3) {
    width: 100px;
}

.PaginaVerIncidencias .TablaFichajes th:nth-child(4),
.PaginaVerIncidencias .TablaFichajes td:nth-child(4) {
    width: 145px;
}

.PaginaVerIncidencias .TablaFichajes th:nth-child(5),
.PaginaVerIncidencias .TablaFichajes td:nth-child(5) {
    width: 85px;
    white-space: nowrap;
}

.PaginaVerIncidencias .TablaFichajes th:nth-child(6),
.PaginaVerIncidencias .TablaFichajes td:nth-child(6) {
    width: 80px;
    white-space: nowrap;
}

.PaginaVerIncidencias .TablaFichajes th:nth-child(7),
.PaginaVerIncidencias .TablaFichajes td:nth-child(7) {
    width: 105px;
}

.PaginaVerIncidencias .TablaFichajes th:nth-child(8),
.PaginaVerIncidencias .TablaFichajes td:nth-child(8) {
    width: 110px;
    max-width: 110px;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

.PaginaVerIncidencias .TablaFichajes th:nth-child(9),
.PaginaVerIncidencias .TablaFichajes td:nth-child(9) {
    width: 90px;
    white-space: nowrap;
}

/* =========================================================
   FILAS SELECCIONABLES
   ========================================================= */

.PaginaVerIncidencias .FilaIncidencia {
    cursor: pointer;
}

.PaginaVerIncidencias .FilaIncidencia:hover td {
    background-color: #eaf4ff;
}

.PaginaVerIncidencias .FilaIncidenciaSeleccionada td {
    background-color: #3BD4AE !important;
    color: #ffffff !important;
}

/* =========================================================
   ESTADO DE LA INCIDENCIA
   ========================================================= */

.PaginaVerIncidencias .EstadoIncidencia {
    display: inline-block;
    min-width: 72px;
    padding: 6px 8px;
    color: #1C355E;
    font-size: 14px;

    text-align: center;
}




/* =========================================================
   PAGINACIÓN
   ========================================================= */

.PaginaVerIncidencias .PaginacionFichajes {
    width: 100%;
    max-width: 500px;
    margin: 25px auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.PaginaVerIncidencias .BtnPaginacionFichajes {
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: #1C355E;
    color: #ffffff;
    border: 0;
    border-radius: 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.PaginaVerIncidencias .BtnPaginacionFichajes:hover {
    background-color: #3BD4AE;
    color: #ffffff;
}

.PaginaVerIncidencias .BtnPaginacionFichajes:active {
    transform: scale(0.98);
}

.PaginaVerIncidencias .BtnPaginacionDesactivado {
    background-color: #9ca3af;
    color: #ffffff;
    cursor: default;
    opacity: 0.65;
}

.PaginaVerIncidencias .BtnPaginacionDesactivado:hover {
    background-color: #9ca3af;
    color: #ffffff;
}

.PaginaVerIncidencias .InfoPaginacionFichajes {
    width: 100%;
    margin-top: 12px;
    color: #4a536e;
    font-size: 14px;
    text-align: center;
}

/* =========================================================
   BOTÓN VALIDAR
   ========================================================= */

.PaginaVerIncidencias .ContenedorPdfFichajes {
    width: 100%;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.PaginaVerIncidencias #BtnValidarIncidencia,
.PaginaVerIncidencias #BtnVerHistorial {

    width: 310px;

    max-width: 100%;

    min-height: 50px;

    margin: 0;

    padding: 12px 15px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    background-color: #1C355E;

    color: #ffffff;

    border: 0;

    border-radius: 0;

    font-family: Arial, sans-serif;

    font-size: 14px;

    font-weight: bold;

    text-align: center;

    cursor: pointer;

    transition:
        background-color 0.2s,
        transform 0.2s;
}

.PaginaVerIncidencias #BtnValidarIncidencia:hover {
    background-color: #3BD4AE;
}

.PaginaVerIncidencias #BtnValidarIncidencia:active {
    transform: scale(0.98);
}

.PaginaVerIncidencias #BtnValidarIncidencia:disabled {
    background-color: #999999;
    color: #ffffff;
    opacity: 0.6;
    cursor: not-allowed;
}

.PaginaVerIncidencias #BtnValidarIncidencia:disabled:hover {
    background-color: #999999;
}

/* =========================================================
   BOTÓN VER HISTORIAL
   ========================================================= */


.PaginaVerIncidencias #BtnVerHistorial {
    width: 310px;
    max-width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 12px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: #1C355E;
    color: #ffffff;
    border: 0;
    border-radius: 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.PaginaVerIncidencias #BtnVerHistorial:hover {
    background-color: #3BD4AE;
}

.PaginaVerIncidencias #BtnVerHistorial:active {
    transform: scale(0.98);
}

.PaginaVerIncidencias #BtnVerHistorial:disabled {
    background-color: #999999;
    color: #ffffff;
    opacity: 0.6;
    cursor: not-allowed;
}

.PaginaVerIncidencias #BtnVerHistorial:disabled:hover {
    background-color: #999999;
}

/* =========================================================
   BOTÓN VOLVER
   ========================================================= */

.PaginaVerIncidencias .VolverListadoFichajes {
    width: 310px;
    max-width: 100%;
    margin: 10px auto 0 auto;
}

.PaginaVerIncidencias .VolverListadoFichajes a {
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    background-color: #1C355E;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s, transform 0.2s;
}

.PaginaVerIncidencias .VolverListadoFichajes a:hover {
    background-color: #3BD4AE;
    color: #ffffff;
}

.PaginaVerIncidencias .VolverListadoFichajes a:active {
    transform: scale(0.98);
}

/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 900px) {
    .PaginaVerIncidencias #VerIncidenciasPanel {
        width: 100% !important;
        max-width: 100% !important;
    }

    .PaginaVerIncidencias #TablaVerIncidenciasContenedor {
        width: 100% !important;
        max-width: 100% !important;
    }

    .PaginaVerIncidencias #BuscadorVerIncidencias form {
        flex-wrap: wrap !important;
    }
}

/* =========================================================
   RESPONSIVE - MÓVIL
   ========================================================= */

@media (max-width: 480px) {
    .PaginaVerIncidencias #VerIncidenciasContenedor {
        padding: 20px 10px !important;
    }

    .PaginaVerIncidencias #VerIncidenciasPanel {
        padding: 0 10px 20px 10px !important;
    }

    .PaginaVerIncidencias #VerIncidenciasPanel .TituloListadoFichajes {
        width: calc(100% + 20px);
        margin: 0 -10px 20px -10px;
        font-size: 22px;
    }

    .PaginaVerIncidencias #BuscadorVerIncidencias form {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .PaginaVerIncidencias #BuscadorVerIncidencias .CampoBusquedaFichajes {
        width: 100%;
    }

    .PaginaVerIncidencias #BuscadorVerIncidencias .CampoBusquedaFichajes input {
        width: calc(100% - 50px) !important;
    }

    .PaginaVerIncidencias #BuscadorVerIncidencias .BtnBuscarFichajes,
    .PaginaVerIncidencias #BuscadorVerIncidencias .BtnMostrarCerradas,
    .PaginaVerIncidencias #BuscadorVerIncidencias .BtnMostrarFichajes {
        width: 100% !important;
    }

    .PaginaVerIncidencias #TablaVerIncidenciasContenedor .TablaFichajes {
        min-width: 940px;
    }

    .PaginaVerIncidencias #BtnValidarIncidencia,
    .PaginaVerIncidencias .VolverListadoFichajes {
        width: 100%;
    }
}

/* =========================================================
   AJUSTES ESPECÍFICOS PARA PERFIL DE USUARIO
   ========================================================= */

.usuarios-panel table {
    min-width: unset !important; /* Quita los 600px que desbordan en móvil */
    width: 100% !important;
    max-width: 340px;
    margin: 15px auto 25px auto !important;
    border: 1px solid #dee0e4 !important;
    box-shadow: none !important;
}

.usuarios-panel table td {
    padding: 12px 10px !important;
    text-align: left !important;
    font-size: 15px;
    border: 1px solid #dee0e4 !important;
}

.usuarios-panel table td:first-child {
    font-weight: bold;
    color: #1C355E;
    width: 45%;
    background-color: #f7f8fa;
}

.usuarios-panel table td:last-child {
    color: #333333;
    word-break: break-word;
}

.usuarios-panel p {
    text-align: center;
    color: #4a536e;
    font-size: 15px;
    margin-bottom: 10px;
}

/* 5. Ajustes finos para pantallas móviles */
@media (max-width: 480px) {
    .usuarios-panel {
        width: 100% !important;
        margin: 0 10px;
    }

    .usuarios-panel table {
        width: 100% !important;
        max-width: 100% !important;
    }

    .usuarios-panel table td {
        font-size: 14px;
        padding: 10px 8px !important;
    }
    
}
/* =========================================================
   VER HISTORIAL - MISMO ANCHO QUE VALIDAR
   SOLO EN VERINCIDENCIAS
   ========================================================= */

@media (max-width: 480px) {

    .PaginaVerIncidencias
    #BtnVerHistorial {

        width: 100% !important;
    }

}