/* @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); */


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    min-height: 100vh;
    background: url('../img/fondos/bg-ia-01.webp') no-repeat;
    background-color: black;
    background-size: cover;
    /* background-size: contain; */
    background-position: center top;
    background-attachment: scroll;
}

header {
    display: flex;
    background: transparent;
    backdrop-filter: blur(4px);
    align-items: center;
    width: 60%;
    margin: 0 auto;
    margin-top: 10px;
    height: 20%;
    border-radius: 17px;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .2);
    /* min-width: 350px; */
    justify-content: space-between;
}

a{
    text-decoration: none;
}

main{
    background: transparent;
    backdrop-filter: blur(1px);
    width: 87%;
    height: 666px;
    /* align-items: center; */
    margin: 0 auto;
    margin-top: 25px;
    padding: 0.5rem;
    border: 1.7px solid rgba(255, 255, 255, .2);
    border-radius: 7px;
    color: #fff;
}

.main-p .titulo{
    padding: 10px;
    background: rgba(255, 255, 255, .2);
    -webkit-text-stroke:  5.5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    text-align: center;
}

.header-1-user{
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    width: 100%;
    max-width: 800px;
    padding: 0.5rem;
}

.header-1-user p{
    margin-left: 0.5rem;
}

p.bold {
    font-weight: 760;
    -webkit-text-stroke:  0.5px yellow; /*Borde de 0.5px de color amarrillo.*/
}

.header-1-user img{
    width: 50px;
    height: 50px;
    border-radius: 100%;
    /* display: inline-block;
    vertical-align: middle; */
}

.sidebar{
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 100%;
    background: transparent;
    backdrop-filter: blur(4px);
    border-right: 2px solid rgba(255, 255, 255, .2);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2s);
    padding: 6px 14px;
    transition: .5s;
    z-index: 9999;
}

.sidebar.active {
    width: 269px;
}

.sidebar .logo-menu{
    display: flex;
    align-items: center;
    width: 100%;
    height: 70px;
    /* background: slateblue; */
}

.sidebar .logo-menu .logo{
    font-size: 25px;
    color: #fff;
    pointer-events: none;
    opacity: 0;
    transition: .3s;
}

.sidebar.active .logo-menu .logo{
    opacity: 1;
    transition-delay: .2s;
}

.sidebar .logo-menu .icono-p{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    /* background: salmon; */
    font-size: 22px;
    color: #fff;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    transition: .5s;
}

.sidebar .list-item .icono-d{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    /* background: salmon; */
    font-size: 22px;
    color: #fff;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    transition: .5s;
}

.sidebar.active .list-item .icono-d{
    left: 85%;

}

.sidebar.active .logo-menu .icono-p{
    left: 90%;
}

/* .sidebar .list{
    margin-top: 3px;
} */



/* .sub-menu.active{
    display: none;
} */



.sidebar .list__show {
    list-style: none;
    width: 100%;
    height: 50px;
    /* background: rgb(28, 189, 135); */
    margin: 3px 0;
    display: none;
    /* place-items: center; */

}


.sidebar.active .list__show{
    display: block;
}

.sidebar .list__show a{
    color: #fff;
    text-decoration: none;
    display: flex;
    height: 25px;
    align-items: center;
    padding-left: 10px;
    border-radius: 7px;
    
}

/* .sidebar .sub-menu .sub-i-usu{
    background: rgba(255, 255, 255, .2);
} */

/* .sidebar .sub-menu .sub-i-rol{
    background: rgba(255, 1, 1, .2);
} */

/* .sidebar .sub-menu .sub-i-doc{
    background: rgba(1, 1, 255, .2);
} */

.sidebar .list__show .list__inside .sub-i-usu:hover {
    background: rgba(255, 255, 255, .2);
}

.sidebar .list__show .list__inside .sub-i-rol-1:hover {
    background: rgba(255, 1, 1, .2);
}

.sidebar .list__show .list__inside .sub-i-rol-2:hover{
    background: rgba(1, 1, 255, .3);
}

.sidebar.active .list__show a{
    color: #fff;
    text-decoration: none;
    margin-left: 40px;
    white-space: nowrap;
    transition: .5s;
}

/* .sm-usuarios{
    display: none;
    flex-direction: column;
} */



.sidebar.active .list__show a{
    /* background: red; */
    text-align: center;
    
    /* margin: 5px 0; */
    /* margin-top: 5px; */
}

.sidebar hr{
    color: #fff;
}

.list__show .item-a{

    margin: 5px 0;
}



.list .list-item{
    list-style: none;
    width: 100%;
    height: 50px;
    /* background: slateblue; */
    margin: 40px 0;
    /* line-height: 50px; */
}

.list .list-item .a-despliega{
    padding: 10px;
    height: 35px;
}

.list .list-item .a-despliega:hover{
    padding: 10px;
    background: rgba(255, 255, 255, .2);
    cursor: pointer;
}



/* .sidebar .list .list-item a{
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    /* background: blue; *//*
    border-radius: 6px;
    /* background: rgba(255, 255, 255, .2); *//*
    white-space: nowrap;
    transition: .5s;
} */

/* .list .list-item.i-pu{
    padding: 10px;
    background: rgba(255, 255, 255, .2);
    cursor: pointer;
} */

.sidebar .list-item .a-despliega{
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    /* background: blue; */
    border-radius: 6px;
    /* background: rgba(255, 255, 255, .2); */
    white-space: nowrap;
    transition: .5s;
    margin-left: 25px;
}

.list .list-item .a1{
    border-radius: 7px;
    display: flex;
    font-size: 18px;
    align-items: center;
    padding: 10px;
    height: 40px;
}

.list .list-item.active a,
.list .list-item a:hover {
    background: rgba(255, 255, 255, .2);
}

.list .list-item a img{
    width: 20px;
    min-height: 20px;
    height: 20px;
    /* background: salmon; */
    text-align: center;
    line-height: 50px;
    margin-left: 10px;
    margin-right: 10px;
}

.principal{
    color: green;
    /* -webkit-text-stroke:  0.2px yellow; Borde de 0.5px de color amarrillo. */
}

.usuarios{
    -webkit-text-stroke:  0.2px yellow; /*Borde de 0.5px de color amarrillo.*/
}

.roles{
    color: red;
    -webkit-text-stroke:  0.5px rgba(255, 255, 255, .2); /*Borde de 0.5px de color amarrillo.*/
}

.documentos{
    color: blue;
    -webkit-text-stroke:  0.5px rgba(255, 255, 255, .2); /*Borde de 0.5px de color amarrillo.*/
}

.cerrar-sesion{
    color: rgb(131, 19, 4);
    /* -webkit-text-stroke:  0.5px yellow; Borde de 0.5px de color amarrillo. */
    
}
.principal, .usuarios, .roles, .documentos, .cerrar-sesion{
    font-weight: 800;
}




#pielogo {
    /* position: fixed;
    bottom: 0;
    left: 0; */
    display: flex;
    transform: translateY(179px);
    justify-content: center;
    width: 100%;
    padding: 2%;
    background-color: #0F76A0;

    }
    #pielogo > div {
    display: flex;
    flex: 1;
    max-width: 960px;
    background-color: #9FC8D9;
    border-radius: 10px;
    margin-left: 25%;
    }
    .seccionpie {
    flex: 1;
    padding: 25px;

    }
    .seccionpie h1 {
    font: bold 20px Arial, sans-serif;
    }
    .seccionpie p {
    margin-top: 5px;
    }
    .seccionpie a {
    font: bold 16px Arial, sans-serif;
    color: #666666;
    text-decoration: none;
    }


/* TABLA INICIO ESTILOS */

    /* table{
        border: 3.7px solid rgba(255, 255, 255, .2);
        border-radius: 5px;
    } */

    .tabla .tabla__header h1{
        -webkit-text-stroke:  1px yellow; 
    }

    .tabla__seccion{
        height: 276px;
        
    }

    .tabla__seccion table{
        width: 100%;
        table-layout: fixed;
        margin-top: 10px;
        min-width: 900px;
        border-collapse: collapse;
        background: rgba(0, 0, 0, 0.7);
    }

    .tabla__seccion table thead th{
        position: sticky;
        top: 0;
        background-color: #f6f9fc;
        color: #8493a5;
        border-radius: 7px;
        font-size: 15px;
        padding: 5px;
    }

    .tabla__seccion table th, td{
        border-bottom: 1px solid #dddddd;
        padding: 10px 20px;
        text-align: center;
        word-break: break-all;
    }

    .tabla__seccion table tbody tr td button{
        outline: none;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        padding: 3px;
        color: #fff;
    }

    .tabla__seccion table tbody tr td button:nth-child(1){
        background-color: #999999;
    }

    .tabla__seccion table tbody tr td button:nth-child(2){
        background-color: #00f800;
    }

    .tabla__seccion table tbody tr td button:nth-child(3){
        background-color: #f80000;
    }



    tr:hover td{
        font-weight: 876;
        cursor: pointer;
        background: rgba(255, 255, 255, .2);
    }

    .tabla{
        margin-top: 20px;
        border: 2.7px solid rgba(255, 255, 255, .2);
        padding: 10px;
        border-radius: 5px;
        width: 100%;
        height: 555px;
    }

    .tabla__header{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        background-color: rgba(240, 240, 240, .2);
        border-radius: 5px;
        flex-wrap: wrap;
    }

    .tabla__header p{
        color: white;
    }

    .tabla .tabla__header div button{
        outline: none;
        border: none;
        border-radius: 6px;
        cursor: pointer;
    }

    .btn__buscar--tabla{
        padding: 10px 20px;
        color: #ffffff;
        background-color: #0298cf;
    }

    .tabla .tabla__header div input{
        padding: 10px 20px;
        margin: 0 10px;
        outline: none;
        border: 2px solid #0298cf;
        border-radius: 6px;
        color: #0298cf;
    }

    :placeholder{
        color: #0298cf;
    }

    /* :-webkit-scrollbar{
        height: 5px;
        width: 5px;
    }

    :-webkit-scrollbar-track{
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    }

    :-webkit-scrollbar-thumb{
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    } */



/* TABLA FIN ESTILOS */


/* PRINCIPAL PIE INICIO */
.tabla .paginacion{
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 10px 20px;
    background: #8493a5;
    border-radius: 5px;
    background-color: rgba(240, 240, 240, .2);
    margin-top: 100px;
}

.tabla .paginacion button{
    padding: 10px;
    border: 2px solid #d5d0d0;
    height: 40px;
    width: 40px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0298cf;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.75);
    margin: 0 5px;
    cursor: pointer;
}
/* PRINCIPAL PIE FIN */

/* Paginacion inicio */

.paginacion {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.paginacion a {
    padding: 5px 10px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
}

.paginacion a.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.paginacion a.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.paginacion a:hover:not(.active, .disabled) {
    background-color: #f1f1f1;
}

/* Fin Paginacion */

/* AGREGAR USUARIOS INICIO */

.registrar-usu, .registrar-doc{
    width: 100%;
    margin: 10px auto 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 7px;
    margin-top: 10px;
    padding: 20px;    
    position: relative;
    background: rgba(0, 0, 0, 0.7);
}

.form-columns{
    display: flex;
    justify-content: center; /* Centra las columnas horizontalmente */
    position: relative;
    /* flex-wrap: wrap; */
    /* gap: 40px; */
    /* margin-bottom: 20px; */
    padding: 0 50px;
}

/* Barra vertical divisoria */
/* .form-columns::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2.7px;
    background: linear-gradient(to bottom, 
              transparent, 
              rgba(255, 255, 255, 0.3), 
              transparent);
    transform: translateX(-50%);
} */

.c-iz{
    margin-right: 150px;
    /* margin-left: 100px; */
    /* margin-left: auto; */
    /* padding-right: 350px;  */
}

.c-de{
    margin-left: 100px;
    margin-right: 100px;
}

.c-iz, .c-de {
    /* flex: 1; */
    /* width: calc(50% - 15px); 50% menos la mitad del gap central */
    max-width: 400px;
    min-width: 300px;
}

.campos {
    margin-bottom: 15px;
}

.campos label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 900;
}

.campo {
    width: 370px;
    padding: 10px;
    border: none;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    font-weight: 766;
    text-decoration: none;
}



.campo::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btns {
    display: flex;
    justify-content: center; /* Centra los botones */
    gap: 15px;
    /* margin-top: auto; Empuja los botones hacia abajo */
    margin-top: 40px;
    /* width: 100%; */

}



.btns .btn-listo, .btn-cancelar{
    width: 170px;
}

/* .btns .btn-cancelar{
    width: 30%;
} */

.btns .btn-listo{
    margin-left: 12px;
}

.btns button {
    
    padding: 10px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 976;
    transition: all 0.3s ease;
}

.btns button[type="submit"] {
    /* background-color: #4CAF50; */
    /* background: transparent; */
    background: rgba(255, 255, 255, 0.2);
    color: #4CAF50;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btns button[type="submit"]:hover {
    background-color: #45a049;
    color: #fff;
    
}

.btns button:not([type="submit"]) {
    /* background-color: #f44336; */
    /* background: transparent; */
    background: rgba(255, 255, 255, 0.2);
    color: #f44336;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btns button:not([type="submit"]):hover {
    background-color: #f44336;;
    color: #fff;
    
}


.registrar-usu form .campos{
    width: 250px;
    border-radius: 12px;
}

/* AGREGAR USUARIOS FIN */

/* AGREGAR DOCUMENTOS INICIO */

.form-columns-doc{
    align-content: center;
    display: flex;
}

input, textarea{
    margin: none;
}

.form-group{
    margin: 25px 0 25px 25px;
    width: 100%;
}

.btns-doc{
    margin: 25px 0 25px 25px;
}

/* .form-group {
    width: 370px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    font-weight: 766;
} */

.form-group label{
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 900;
}

.form-group #descripcion, #nombre{
    width: 100%;
}

/* AGREGAR DOCUMENTOS FIN */


/* AGREGAR ROL INICIO */
.btns-rol{
    margin-left: 30px;
}
/* AGREGAR ROL FIN */

/* MODAL CREAR INICIO */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #111111bd;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s;
}

.modal--show{
    opacity: 1;
    pointer-events: unset;
    transition: opacity .6s;
}

.modal__container{
    width: 90%;
    max-width: 600px;
    max-height: 90%;
    /* background-color: transparent; */
    background: rgba(255, 255, 255, 0.2);
    margin: auto;
    border-radius: 6px;
    padding: 3em 2.5em;
    display: grid;
    gap: 1em;
    /* place-items: center; */
    grid-auto-columns: 100%;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    overflow-y: auto; /* Scroll vertical cuando sea necesario */
}



/* .modal__title{
    font-size: 2.5rem;
} */

.modal__paragraph{
    margin-bottom: 10px;
}

.modal__close{
    text-decoration: none;
    color: #f26250;
    background: rgba(255, 255, 255, 0.2);
    text-align: center;
    padding: 0.8em 2em;
    border-radius: 7px;
    transition: background-color .3s;
    font-weight: 900;
}

.modal__close:hover{
    color: #f26250;
    background-color: #fff;
    border: solid 2px #f26250;
    transition: background-color .3s;
}

.btn-cnasunto{
    text-decoration: none;
    color: #5062f2;
    background: rgba(255, 255, 255, 0.2);
    text-align: center;
    padding: 1em 3em;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    font-weight: 900;
}

.btn-cnasunto:hover{
    color: #5062f2;
    background-color: #fff;
    font-weight: 900;
    border: solid 2px #5062f2;
    transition: background-color .3s;
}
/* MODAL CREAR FIN */

.document-log{
    border: solid 20px #5062f2;
}



/* INICIO PARTE1PL */
main .tabla_info_ia{
    overflow: hidden;    
}

.info__seccion{
    overflow-y: auto;
    overflow-x: hidden;
    height: 400px;
    border: solid 2px #5062f2;
    border-radius: 7px;
    margin-top: 10px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
}

/* FIN PARTE1PL */
    /* DIMENSION DE LOS ICONOS */


.icono{
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;


}

.foto-perfil{
    width: 30px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
}

.sidebar .link-name {
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.sidebar.active .link-name {
    opacity: 1;
    pointer-events: auto;
    transition-delay: calc(.1s * var(--i));
    margin-left: 10px;
}

/* 
.paginacion {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.paginacion a {
    padding: 5px 10px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 3px;
}

.paginacion a.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.paginacion a:hover:not(.active) {
    background-color: #f1f1f1;
}

.paginacion img {
    width: 16px;
    height: 16px;
    vertical-align: middle; *//*
}*/ 