﻿:root {
    /* Paleta de colores */

    --primary-color: #373D49;
    --secondary-color: #DCE7E6;
    --white-color: #FFF;
    --accent-color: #859DB0;
    --axtic-primary-color: #197bbf; /* Azul principal de AxTic */
    --background-color: #f4f4f4;
    --text-color: #DCE7E6;
    /* Imágenes */
    --logoInstitucion: url('../assets/cliente/logoCliente.png');
    --logoSistema: url('../assets/sistema/sinaseg.png');
    /* Background */
    --bgLogin: url('../assets/sistema/bgLogin.png');
    --bgSistema: url('/assets/sistema/bgSistema.png');
}

/*Loader - carga de procesos*/
.loader {
    color: var(--axtic-primary-color);
    font-size: 12px;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: fixed;
    z-index: 99;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-indent: -9999em;
    animation: mulShdSpin 1.3s infinite linear;
    transform: translateZ(0);
}

@keyframes mulShdSpin {
    0%,
    100% {
        box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
    }

    12.5% {
        box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    25% {
        box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
    }

    37.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    50% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }

    62.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }

    75% {
        box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }

    87.5% {
        box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
}

/*ASI SE USA EL MODAL LOADER EN HTML
        <div id="myLoader" class="mymodal-overlay ">
        <div class="mymodal">
            <span class="loader"></span>
        </div>
    </div>


*/

/* Estilos del fondo del modal Loader*/
.mymodal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0);
    justify-content: center;
    align-items: center;
    z-index: 50;
}

/* Contenedor del modal Loader*/
.mymodal {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: ghostwhite;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 300px;
    height: 300px;
    z-index: 60;
}

/*loader con una imagen 
    <div class="loader1">
        <img src="tu-imagen.png" alt="Cargando...">
    </div>
*/
.loader1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.1); /* Fondo semitransparente */
}

    .loader1 img {
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 50;
        width: 300px; /* Ajusta el tamaño de la imagen */

        animation: spin 6s linear infinite; /* Animación de rotación */
    }

/* Animación de rotación */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

table.table tbody tr.fila-seleccionada td {
    background-color: #859db0 !important;
    color: white !important;
    font-size: 0.85rem !important;
}

th, td {
    text-align: center;
}


.table tbody tr th {
    background-color: #f1eded;
    font-size: 0.85rem;
    font-weight: bold;
}

.selected2 {
    /*background-color: #023859 !important;
            color:lightgray;*/
    background-color: lightgray !important;
    color: black;
}

a.classnameEdit {
    background: url('../assets/images/tabla/edit_2.png');
    background-repeat: no-repeat;
    background-size: 30px;
    display: inline-block;
    width: 30px;
    height: 30px;
    text-indent: -9999px; /* hides the link text */
}

a.classnameDelete {
    background: url('/assets/images/tabla/delete_2.png');
    background-repeat: no-repeat;
    background-size: 30px;
    display: inline-block;
    width: 30px;
    height: 30px;
    text-indent: -9999px; /* hides the link text */
}

a.classnameDetails {
    background: url('/assets/images/tabla/details_2.png');
    background-repeat: no-repeat;
    background-size: 30px;
    display: inline-block;
    width: 30px;
    height: 30px;
    text-indent: -9999px; /* hides the link text */
}

a.classnameImprimir {
    background: url('/assets/images/tabla/print.png');
    background-repeat: no-repeat;
    background-size: 30px;
    display: inline-block;
    width: 30px;
    height: 30px;
    text-indent: -9999px; /* hides the link text */
}

.text-hide {
    font-size: 0; /* Hides the text while keeping the icon */
}

.table {
    font-size: 0.9rem;
}

.navbar.bg-primary .nav-link {
    color: white !important;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

    .navbar.bg-primary .nav-link:hover {
        background-color: #0b5ed7; /* más oscuro que bg-primary */
        color: #ffffff !important;
        border-radius: 5px;
    }

.col-Oculta {
    display: none;
}

p, h4 {
    padding-left: 0.5rem;
}