
/* start editing from here */
.clear{clear:both;}/* clear float */
.underline{	padding-bottom:5px;	border-bottom: 1px solid #eee; margin:0 0 20px 0;}/* Add 5px bottom padding and a underline */
/*end reset*/
/*--header start here--*/

body{
    background-color: #fff;
    font-size: 0.75rem;
    padding-top: var(--nav-h);
}

p {
    margin-top: 0;
    margin-bottom: 0;
}
.modal {
    max-width: 1000px;
    top: 5%;
    max-height: 85vh;
}

.modal a.close-modal {
    top: 5px;
    right: 5px;
}

.blocker {
    z-index: 10000;
}
.blocker .modal {
    z-index: 10001;
}

.container-fluid{
    padding-left: 0;
    padding-right: 0;
}


/*                                                      MENUES */

:root { --nav-h: 70px; --filtros-h: 0px; }

.header {
    position: sticky;
    top: calc(var(--nav-h) + var(--filtros-h));
    background: #08d;
    color: #fff;
    z-index: 5;
}

.contenedor-personas .filtros,
.contenedor-tenidas .filtros,
.contenedor-logs .filtros,
.barra-acciones {
    position: sticky;
    top: var(--nav-h);
    z-index: 10;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.07);
    padding: 8px 10px;
}

.contenedor-logs .filtros {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    align-items: flex-end;
}

.contenedor-personas .filtros,
.contenedor-tenidas .filtros {
    padding-bottom: 4px;
}

.header-tenida-asistencias{
        position:sticky;
        top: 0px ;
        background: #fff;
        z-index: 1;
    }

/*                                                      MENUES */

.menu {
    background: #fff;
    padding: 0;
    flex-wrap: wrap;
}

.menu .btn, .menu .dropdown-item {
    font-size: 0.82rem;
}

.lista-menu {
    margin-right: 1%;
}
.navbar-brand img{
    margin-left: 2em;
}

.nav-link {
    font-size: 1em;
}

.menu-opciones {
    padding-right:1%; ;
}

/*                                                      TABLAS */


.table {
        border-color: #00a;
        border-style: solid;
        border-width: 2px;
        margin-bottom: 0px;
}

.table td {
    padding: 0.1em 0.3em 0.1em 0.3em;
}

.table thead th {
    border-bottom: 0px;
    padding: 0.8em 0.3em 0.8em 0.3em;
    background: #08d;
    color: #fff;
    vertical-align: bottom;
}



/*                                                      BOTONES */ 

.btn{
    
}


/*                                                      SEPARADORES*/ 

.separador-contenido {
    background: rgb(0,85,153);
    background: linear-gradient(0deg, rgba(0,85,153,1) 0%, rgba(255,255,255,1) 100%);
    height: 10px;
}


.separador-pie {
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,85,153,1) 100%);
    height: 20px;
    margin-top: 0px;
    padding-top: 0px;
}


/*                                                      CONTENEDORES */

.contenedor-contenido {
    background-color: #059;
    min-height: 90vh;
    min-width: 1200px;
    padding-bottom: 4em;
}


.contenedor-pie {
    background-color: #000;
    min-height: 100px;
}

#contenedor-agregar {
    width: 95%;
    background-color: #fff;
}

.contenedor-personas {
    width: max-content;
    background-color: #fff;
}

.contenedor-tenidas{
    width: max-content;
    background-color: #fff;
}

.contenedor-estadisticas {
    width: max-content;
    background-color: #fff;
}

.contenedor-ciudades {
    width: 35em;
    background-color: #fff;
    padding-top: 30px;
}

.contenedor-mutualistas {
    width: 35em;
    background-color: #fff;
    padding-top: 30px;
}

.contenedor-emergencias {
    width: 35em;
    background-color: #fff;
    padding-top: 30px;
}

.contenedor-usuarios {
    width: max-content;
    min-width: 600px;
    max-width: 900px;
    background-color: #fff;
    padding-top: 30px;
}

.contenedor-documentos h3.titulo {
    border-bottom-color: #00CC00;
}

.contenedor-documentos {
    background-color: #fff;
    padding: 30px 2em 4em 2em;
    min-width: 900px;
    max-width: 1100px;
}

.documentos-header {
    margin-bottom: 1.5em;
    display: flex;
    align-items: center;
}

.contenedor-documentos #tabla-documentos tr td {
    vertical-align: middle;
}

.contenedor-documentos #tabla-documentos > tbody > tr > td .btn {
    font-size: 0.7rem;
}

.contenedor-encabezados,
.contenedor-saludos {
    background-color: #fff;
    padding: 30px 2em 4em 2em;
    min-width: 600px;
    max-width: 1100px;
}

.contenedor-roles {
    width: 35em;
    background-color: #fff;
    padding-top: 30px;
}



.contenedor-personas table {
    margin-bottom: 0px;
}


#contenedor-tenida-asistencias{
    margin-left: auto;
    margin-right: auto;
}

.info-asistencias {
    text-align: center;
    font-size: 1.4em;
}

#cant-asist{
    color: green;
    margin-right: 2em;
}

#cant-inasist{
    color: red;
}

#cant-justif{
    color: orange;
    margin-right: 2em;
}


#contenedor-tenida-asistencias .titulo {
    margin-bottom: 10px;
}

.pagina-principal {
    padding: 1em 1.5em;
}

.pagina-principal h1,
.pagina-principal h4 {
    color: #ddd;
    text-shadow: 0.1em 0.1em 0.2em #000;
}

.contenedor-inicio {
    position: relative;
}

.contenedor-inicio::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/logo_tile.png) 0 0 / 140px 144px repeat;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.contenedor-inicio > * {
    position: relative;
    z-index: 1;
}


.tenida-asistencias{
    height: 530px;
    width: 450px;
    overflow-y: scroll;
    margin-left: auto;
    margin-right: auto;
}

#contenedor-tenida-asistencias .titulo .fecha-tenida{
    font-size: 0.8em;
    margin-left: 0.2em;
}

#contenedor-tenida-asistencias .titulo .grado-tenida{
    font-size: 0.8em;
    margin-left: 0.2em;
}

.eliminar-tenida-aviso{
    text-align: center;
    font-size: 1.4em;
    font-weight: 600;
    color: red;
}

.contenedor-botones{
    margin-top: 2em;
    text-align: center;
}   

                                                             /* TABLAS*/

thead >tr >th >a {
    cursor: pointer;
}

#tabla-tenidas tr td {
    vertical-align: middle;
}

#tabla-tenidas > tbody > tr > td {
    padding-left: 15px;
}

#tabla-tenidas > tbody > tr > td .btn{
    font-size: 0.7rem;
}

#tabla-estadisticas tr td {
    vertical-align: middle;
}

#tabla-estadisticas > tbody > tr > td {
    
}

#tabla-estadisticas > tbody > tr > td .btn{
    font-size: 0.7rem;
}

#tabla-estadisticas .col-hh {
    font-weight: 600;
}

#tabla-estadisticas .col-tenida {
    text-align: center;
}


#tabla-estadisticas th.col-porcentaje {
    text-align: right;
    padding-right: 1em;
}

#tabla-estadisticas td.col-porcentaje {
    text-align: right;
    padding-right: 1.4em;
}


#tabla-estadisticas .asist-A {
background-color: #00FF0055;
}

#tabla-estadisticas .asist-I {
background-color: #FF000055;
}

#tabla-estadisticas .asist-J {
background-color: #FFFF0055;
}

#tabla-ciudades tr td {
    vertical-align: middle;
}

#tabla-ciudades > tbody > tr > td {
    padding-left: 15px;
}

#tabla-ciudades > tbody > tr > td .btn{
    font-size: 0.7rem;
}

#tabla-mutualistas tr td {
    vertical-align: middle;
}

#tabla-mutualistas > tbody > tr > td {
    padding-left: 15px;
}

#tabla-mutualistas > tbody > tr > td .btn{
    font-size: 0.7rem;
}


.formulario-editable p input,
.formulario-editable p select,
.formulario-editable p textarea {
    border-color: #00CC00;
    background-color: #00CC0005;
}

.note-editable {
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
}
.note-editable p {
    margin: 0 0 1.6em 0;
    min-height: 1.2em;
}

.texto-documento-preview {
    border-bottom: 0.1em solid #C00;
    background-color: #cc000005;
    min-height: 12em;
    padding: 0.4em 0.5em;
    overflow-y: auto;
    max-height: 300px;
    line-height: 1.5;
}

#tabla-documentos tr td {
    vertical-align: middle;
}

#tabla-documentos > tbody > tr > td .btn {
    font-size: 0.7rem;
}

#tabla-emergencias tr td {
    vertical-align: middle;
}

#tabla-emergencias > tbody > tr > td {
    padding-left: 15px;
}

#tabla-emergencias > tbody > tr > td .btn{
    font-size: 0.7rem;
}


h3.titulo {
    border-bottom: 2px #C00 solid;
    margin-bottom: 1.6em;
    font-size: 1.6em;
}

h3.titulo .codigo{
    font-size: 0.7em;
}

h3.subtitulo {
    border-bottom: 1px #C00 solid;
    margin-bottom: 1.4em;
    font-size: 1.4em;
}

.formulario p.col1 {
    width: 99%;
    display: inline-block;
    margin-left: 1%;
    margin-bottom: `30px;
}

.formulario p.col2 {
    width: 49%;
    display: inline-block;
    margin-left: 1%;
    margin-bottom: `30px;
}

.formulario p.col3 {
    width: 31%;
    display: inline-block;
    margin-left: 1%;
    margin-bottom: `30px;
}

.formulario p.col4 {
    width: 23%;
    display: inline-block;
    margin-left: 1%;
    margin-bottom: 30px;
}

.formulario p.col8 {
    width: 12%;
    display: inline-block;
    margin-left: 1%;
    margin-bottom: 30px;
}


.formulario p.col12 {
    width: 8.3%;
    display: inline-block;
    margin-bottom: 30px;
}

.formulario p input {
    box-shadow: none;
    border-width: 0 0 0.1em;
    border-style: solid;
    border-color: #C00;
    background-color: #cc000005;
    color: #000;
    width: 98%;
}

.formulario p select {
    box-shadow: none;
    height: 2em;
    border-width: 0 0 0.1em;
    border-style: solid;
    border-color: #C00;
    background-color: #cc000005;
    width: 98%;
}

.etiqueta-form {
    width: 100%;
    display: inline-block;
    font-style: italic;
    color: #333;
}


/*                                                      TABLA PERSONAS
*/

.col-nombres{
    min-width: 11em;
    text-align: left;
    border-right: solid #ccc 1px;
}

.col-ci-fechanac{
    width: 9em;
    text-align: center;
    border-right: solid #ccc 1px;
}

.col-fecha {
    min-width: 8em;
    text-align: center;
    border-right: solid #ccc 1px;
}

.col-domicilio {
    min-width: 18em;
    text-align: left;
    border-right: solid #ccc 1px;
}

.col-telefonos{
    width: 8em;
    text-align: center;
    border-right: solid #ccc 1px;
}

.col-email{
    min-width: 18em;
    text-align: left;
    border-right: solid #ccc 1px;
}

.col-afiliado {
    width: 8em;
    text-align: center;
    border-right: solid #ccc 1px;
}

.col-inic-colac-exalt {
    width: 8em;
    text-align: center;
    border-right: solid #ccc 1px;
}

.col-acciones{
    width: 8em;
    text-align: center;
}

.col-fechatenida {
    width: 8em;
    text-align: center;
    border-right: solid #ccc 1px;
}

.col-gradotenida {
    width: 8em;
    text-align: center;
    border-right: solid #ccc 1px;
}

.col-trazado {
    width: 4em;
    text-align: center;
    border-right: solid #ccc 1px;
}

.col-sacoben {
    width: 6em;
    text-align: right;
    border-right: solid #ccc 1px;
}

.header.col-sacoben {
    text-align: center;
}

.col-sacopro {
    width: 6em;
    text-align: right;
    border-right: solid #ccc 1px;
}

.header.col-sacopro {
    text-align: center;
}

.col-asistencias {
    width: 4em;
    text-align: center;
    border-right: solid #ccc 1px;
}


.col-visitantes {
    width: 4em;
    text-align: center;
    border-right: solid #ccc 1px;
}

.col-inasistencias {
    width: 4em;
    text-align: center;
    border-right: solid #ccc 1px;
}

.col-justificados {
    width: 4em;
    text-align: center;
    border-right: solid #ccc 1px;
}

.col-observaciones {
    width: 4em;
    text-align: center;
    border-right: solid #ccc 1px;
}

.col-observaciones a {
    cursor: pointer;
}



th.col-asistencias-hermano {
    width: auto;
    text-align: center;
    border-right: solid #ccc 1px;
}

td.col-asistencias-hermano {
    width: auto;
    border-right: solid #ccc 1px;
    vertical-align: middle;
    font-weight: 600;
}

.col-asistencias-grado {
    width: 6em;
    text-align: center;
    border-right: solid #ccc 1px;
}

.col-asistencias-acciones {
    width: 8em;
    text-align: center;
    border-right: solid #ccc 1px;
}

.tenida-asistencia-Inasistencia {
    color: red;
}

.tenida-asistencia-Asistencia {
    color: green;
}

.tenida-asistencia-Justificado {
    color: orange;
}

.botones-tenida-asistencia {
    align-content: center;
    text-align: center;
}
.botones-tenida-asistencia .btn {
    padding: 2px;
    margin: 0px 2px;
    width: 24px;
}

/*                                                      FILTROS    */


#personas_filtros{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 15px 10px 0px 10px;
}

#personas_filtros p {
    margin: 5px 0px;
}

#estadisticas_filtros{
    display: block;
    margin-bottom: 20px;
    padding: 15px 10px 0px 10px;
}

#estadisticas_filtros p {
    margin: 5px 0px;
}


#filtro_apellidos{
    width: 12em;
    margin-left: 0.5em;
}

#filtro_nombres{
    width: 12em;
    margin-left: 0.5em;
}

#filtro_grado , #filtro_grado_tenida_estadisticas {
    width: 8em;
    margin: 0.3em 0em 0em 0.5em;
}

#filtro_hhestado{
    width: 11em;
    margin: 0.3em 0em 0em 0.5em;
}


.filtros input {
    height: 2em;
    border: 1px solid #aaa;
}


.etiqueta_filtro{
    margin-top: 0.2em;
}

p.w10em {
    width: 10em;
    display: inline-flex;
}

p.w14em {
    width: 14em;
    display: inline-flex;
}

p.w18em {
    width: 18em;
    display: inline-flex;
}

/*                                                      FORMULARIOS */

.botoncito {
    display: inline-block;
    margin-top: 10px;
    padding:2px 6px;
    border: 1px solid #333;
    color: #333;
    background: #ddd;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px; 
    font-size: 1em;
}

.botoncito:hover {
    border: 1px solid #000;
    color: #fff;
    background: #333;
    text-decoration: none;
    cursor: pointer;
}

.boton-centrado {
    text-align: center;
}

.boton {
    display: inline-block;
    margin-top: 10px;
    padding:6px 18px;
    border: 1px solid #333;
    color: #333;
    background: #ddd;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px; 
    font-size: 1.3em;
}

.boton-estadisticas {
    margin-top: 0.5em;
    margin-left: 2em;
}

.boton:hover {
    border: 1px solid #000;
    color: #fff;
    background: #333;
    text-decoration: none;
    cursor: pointer;
}

#boton-submenu {
    position: fixed;
    z-index: 99999;
    left: 200px;
    top: calc(var(--nav-h) - 10px);
    color: #fff;
    font-size: 1em;
    background: #059;
    border: 1px solid #040;
    border-radius: 5px;    
    padding: 5px;
    transition: 0.5s;
}

#boton-submenu:hover {
    text-decoration: none;
    background: #fff;
    color: #059;
    border: 1px solid #040;
}

#boton_actualizar {
    display: none;
    color: #fff;
    background: #060;
    border-color: #040;
}

#boton_actualizar:hover {
    color: #040;
    background: #ddd;
}

#boton_editar {
    display: inline-block;
    color: #fff;
    background: #C00;
    border-color: #040;
}

#boton_editar:hover {
    color: #C00;
    background: #ddd;
}

#boton_agregar {
    color: #fff;
    background: #060;
    border-color: #040;
}

#boton_agregar:hover{
    color: #040;
    background: #ddd;
}

#boton_crear {
    display: none;
    color: #fff;
    background: #060;
    border-color: #040;
}

#contenedor-mensaje {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    vertical-align: middle;
    display: block;
    height: 1.2em;
}

#mensaje{
    padding: 10px 30px;
    border-radius: 5px;
    background-color: #b11;
    color: #fff;
    display: none;
    text-align: center;
    font-weight: 900;
    font-size: 1.2em;
}

.mensaje{
    padding: 10px;
    border-radius: 2px;
    background-color: #b11;
    color: #fff;
    font-weight: 900;
}

.texto-error {
    font-size: 0.7em;
    margin-left: 2em;
}


.formulario p input.boton-volver {
    margin-top: 1em;
    margin-right: 2em;
    border: none;
    border-radius: 5px !important;
}

.formulario p input.boton-submit {
    margin-top: 1em;
    border: none;
    border-radius: 5px !important;}




/*                                                  LOGIN */


.body-login{
  font-family: 'Montserrat', sans-serif;
   font-size: 100%;
/*   background: url(../images/bbb.jpg)no-repeat;*/
   background-size: cover  ;
/*   height: 90vh;*/
}



.login-form{
	
	padding:100px 0px 0px 0px;

}
.login-form h1{
	font-size:2em;
	color:#fff;
	text-transform:uppercase;
	text-align:center;
	margin-bottom:2em;
/*-- w3layouts --*/
}

.login-form p {
    color: #fff;
    font-size: 2em;
}

.top-login2 {
    width: 250px;
    height: 250px;
    display: block;
    margin: 0 auto 4em;
    position: relative;
}

.top-login2 span img{
    margin: 0px 0 0 0px;
    opacity: 0.8;
    max-width: 100%;
}

.top-login2 span{

}


.form-404 {
    padding:100px 0px 0px 0px;
}

.form-404 h1{
    font-size:4em;
    color:#fff;
    text-transform:uppercase;
    text-align:center;
    margin-bottom:0;
/*-- w3layouts --*/
}

.form-404 p {
    color: #fff;
    font-size: 2em;
}
/*----*/

.login-top{
	width: 460px;
	display: block;
	margin: 0 auto;
}
.login-ic {
    background: rgba(255, 255, 255, 0.32); 
	margin-bottom:1.5em;
    padding: 8px;	
}
.login-ic i {
        background: url(../images/m.png)no-repeat 6px 6px;
    width: 38px;
    height: 38px;
    float: left;
	/*-- agileits --*/
    display: inline-block;
}
.login-ic i.icon {
    background: url(../images/l.png)no-repeat 6px 6px;  
}
.login-ic input[type="text"],.login-ic  input[type="password"] {
	    float: left;
    background: none;
    outline: none;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-left: 1px solid #fff;
    width: 82%;
    display: inline-block;
    margin-left: 7px;
}
.log-bwn {
	text-align: center;
}
.log-bwn input[type="submit"] {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    padding: 13px 0;
    background: #ff3366;
    display: inline-block;
    width: 100%;
	outline:none;
	border:2px solid #ff3366;
	cursor:pointer;
	text-transform:uppercase;
}
.log-bwn input[type="submit"]:hover{
	transition: all 0.3s ease;
     -webkit-transition: all 0.3s ease;
     -moz-transition: all 0.3s ease;
     -o-transition: all 0.3s ease;
	 border:2px solid #fff;
}

/*--meadia quiries--*/
@media (max-width:1024px){
p.copy {
    margin-top: 3.5em;
}
.login-form {
    padding: 60px 0px 40px 0px;
}
}

@media (max-width:768px){
body-login {
    min-height: 929px;
}
}
@media (max-width:768px){
body-login {
    min-height: auto;
}
}
@media (max-width:600px){
.login-top {
    width: 425px;
}
.login-ic input[type="text"], .login-ic input[type="password"] {
    width: 79%;
}
}
@media (max-width:480px){
p.copy {
    font-size: 0.9em;
	padding:0 0.5em;
	line-height: 1.8em;
}
}
@media (max-width:450px){
.login-top {
    width: 360px;
}
.login-ic input[type="text"], .login-ic input[type="password"] {
    width: 76%;
	/*-- agileits --*/
}
.top-login {
    width: 90px;
    height:90px;
    margin: 0 auto 3em;
}
.top-login span img {
    margin: 5px 0 0 5px;
}
.top-login span {
    width: 75px;
    height: 75px;
    top: 5px;
    left: 5px;
}
.login-form h1 {
    margin-bottom: 1em;
    font-size: 1.7em;
}
p.copy {

    margin-top: 3em;
}
.login-form {
    padding: 80px 0px 45px 0px;
}
.login-ic {
    margin-bottom: 1em;
    padding: 3px;
}
.log-bwn input[type="submit"] {
    padding: 10px 0;
}
.body-login {
    min-height: 672px;
}
}
@media (max-width:384px){
.login-top {
    width: 340px;
}
.login-ic input[type="text"], .login-ic input[type="password"] {
    width: 75%;
}
body {
    min-height: 600px;
}
}
@media(max-width:320px){
.login-top {
    width: 280px;
}
.login-ic input[type="text"], .login-ic input[type="password"] {
    width: 70%;
}
.login-form {
    padding: 50px 0px 45px 0px;
}
.body-login {
    min-height: 540px;
}
}

.contenedor-lista-documentos {
    background-color: #fff;
    padding: 30px 2em 4em 2em;
    min-width: 900px;
    max-width: 1200px;
}
.contenedor-lista-documentos #tabla-lista-docs tr td {
    vertical-align: middle;
}

.contenedor-cargos {
    background-color: #fff;
    padding: 30px 2em 4em 2em;
    min-width: 600px;
    max-width: 900px;
}

.contenedor-autoridades {
    background-color: #fff;
    padding: 30px 2em 4em 2em;
    min-width: 700px;
    max-width: 1100px;
}

/*-- fin media quiries --*/
.contenedor-noticias,
.contenedor-logs {
    max-width: 900px;
    background-color: #fff;
    padding-top: 30px;
}

/* ── Login responsive ─────────────────────────────────────────── */
.body-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-form {
    padding: 2em 1em;
    width: 100%;
}
.top-login2 {
    width: min(220px, 50vw);
    height: min(220px, 50vw);
    margin-bottom: 2em;
}
.login-top {
    width: min(460px, 92vw) !important;
}
.login-ic input[type="text"],
.login-ic input[type="password"] {
    width: calc(100% - 55px) !important;
}
@media (max-width: 480px) {
    .login-form h1 { font-size: 1.4em; }
    .login-ic { margin-bottom: 1em; padding: 4px; }
    .log-bwn input[type="submit"] { padding: 10px 0; }
}

@media (max-width: 600px) {
    .contenedor-contenido,
    .menu,
    .navbar {
        min-width: 0 !important;
        width: 100% !important;
    }
}

/* ── Menú responsive (móvil) ─────────────────────────────────────────── */
@media (max-width: 991px) {
  .navbar-brand img { width: 40px; margin-left: 0.5em; }

  .navbar-collapse {
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
  }

  .navbar-collapse .menu-opciones {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 6px 12px 10px;
    background: #fff;
    border-top: 1px solid #dee2e6;
  }
  .navbar-collapse .menu-opciones > .btn,
  .navbar-collapse .menu-opciones > .btn-group {
    width: 100%;
    margin: 2px 0;
    border-radius: 4px !important;
  }
  .navbar-collapse .menu-opciones > .btn {
    text-align: left;
  }
  .navbar-collapse .menu-opciones > .btn-group > .btn {
    text-align: left;
    border-radius: 4px 0 0 4px !important;
  }
  .navbar-collapse .menu-opciones > .btn-group > .dropdown-toggle {
    border-radius: 0 4px 4px 0 !important;
    flex-shrink: 0;
  }
  .navbar-collapse .menu-opciones .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    border: none;
    background: #f8f9fa;
    box-shadow: none;
  }
}

/* ── Dashboard inicio admin ──────────────────────────────────────────── */
.inicio-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 1em;
}
.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
  text-decoration: none;
  color: inherit;
  transition: transform .15s, box-shadow .15s;
  border: 1px solid #f0f0f0;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  text-decoration: none;
  color: inherit;
}
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  flex-shrink: 0;
}
.stat-valor {
  font-size: 1.9em;
  font-weight: 700;
  line-height: 1;
  color: #2c3e50;
}
.stat-label {
  font-size: 0.78em;
  color: #999;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Select2: z-index para funcionar dentro de modales */
.select2-container--open {
    z-index: 99999 !important;
}

/* Solicitudes de cambio: chevron colapsable */
.solicitud-chevron.rotado {
    transform: rotate(90deg);
}
.solicitud-header:hover {
    background: #f0f0f0 !important;
}
