@font-face {
  font-family: 'Manrope_light';
  src: url('../Manrope/static/Manrope-Light.ttf') format('truetype');

}

@font-face {
  font-family: 'Manrope_normal';
  src: url('../Manrope/static/Manrope-Light.ttf') format('truetype');

}

@font-face {
  font-family: 'Manrope_bold';
  src: url('../Manrope/static/Manrope-Bold.ttf') format('truetype');

}

@font-face {
  font-family: 'Manrope_medium';
  src: url('../Manrope/static/Manrope-Medium.ttf') format('truetype');

}

@font-face {
  font-family: 'Manrope_regular';
  src: url('../Manrope/static/Manrope-Regular.ttf') format('truetype');

}

* {
  margin: 0px;
  padding: 0px;
  text-decoration: none;
  list-style: none;
  user-select: none;

}

*:focus {
  outline: none;
}

body {
  display: flex;
  width: 1535px;
  /*height: 1024px;*/
  height: 100%;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  background: #F7F7F7;
  color: #000;
  /*overflow: hidden;*/
  font-family: Manrope_medium;
  font-size: 44px;
  /* font-weight: 700;*/


}

textarea {
  font-family: Inter, system-ui;
}

#bodyTab {
  overflow: hidden;
}

#nav_nar_compacta1 {
  display: block;
}

.nav_nar_compacta {

  width: 110px;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 521px;
  flex-shrink: 0;
  background: #071B4A;
  z-index: 100;
  z-index: 100;
  top: 0px;
  position: absolute;
}

#cabecera {
  width: 93%;
  height: 73px;
  flex-shrink: 0;
  background: #FFF;
  position: absolute;
  left: 110px;
  top: 0px;
  overflow: hidden;
}

.back_logo {
  height: 4%;
  position: relative;
  margin: auto;
  top: 0px;
  border: 1px solid transparent;
  width: 55px;
  align-content: center;
  margin-top: 16%;
}

.logo {
  height: 21px;
  display: block;
  text-align: center;
  margin: auto;
  margin-top: auto;
  margin-top: auto;
}

.back_iconos {
  width: 55px;

  height: 87%;
  position: relative;
  margin: auto;
  top: 0px;
  border: 1px solid transparent;
}
/*
.app {

  border-radius: 4px;

  width: 100%;
  height: 41px;
  text-align: center;
  display: inline-block;
  align-content: center;
}
*/
.iconos {

  width: 29px;
  height: 29px;
  display: block;
  display: block;
  text-align: center;
  margin: auto;
  cursor: pointer;
}

.iconosNotifi {
  width: 29px;
  height: 29px;
  display: block;
  display: block;
  text-align: center;
  margin: auto;
  position: absolute;
  top: 7px;
  cursor: pointer;
}

.masNotifi {
  width: 29px;
  height: 29px;
  display: block;
  display: block;
  text-align: center;
  margin: auto;
  position: absolute;
  left: -9%;
  top: -1px;
}

.admNotifi {
  width: 25px;
  height: 24px;
  display: block;
  text-align: center;
  margin: auto;
  position: absolute;
  left: 16%;
  top: 1px;
}

#linea {
  margin: auto;
  width: 40px;
  height: 1px;
  background: #B2B1B1;
}

#linea2 {
  margin: auto;
  width: 141px;
  height: 1px;
  background: #B2B1B1;
}

.back_exit {
  height: 4%;
  position: relative;
  margin: auto;

  border: 1px solid transparent;
  width: 55px;
  align-content: center;
  position: relative;

}

.exit {
  display: flex;
  width: 90%;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 7px;
  background: #39496E;
  text-align: center;
  height: 30px;
  margin: auto;
}

.exitdk {
  width: 16px;
  height: 24px;
  display: block;
  text-align: center;
  margin: auto;
  margin-top: auto;
  cursor: pointer;
  border: none;
  padding: 0 !important;
}

.iconos2 {
  width: 25px;
  height: 24px;
  display: block;
  text-align: center;
  margin: auto;
  margin-top: auto;
  margin-left: auto;
  margin-left: auto;
  cursor: pointer;
  margin-left: 16px;
  margin-top: 7px;
}


.back_logo2 {
  height: 4%;
  position: relative;
  margin: auto;
  margin-left: auto;
  top: 0px;
  border: 1px solid transparent;
  width: 55px;
  align-content: center;
  margin-left: 16%;
  margin-top: 9%;

}

#nav_nar_compacta2 {
  display: none;
  transition: 500ms;
}

.nameMod {

  color: #B2B1B1;
  font-family: Manrope;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  text-transform: capitalize;
  display: block;
  position: absolute;
  margin-top: -24px;
  margin-left: 88.3%;
  width: 75px;
  text-align: left;
}

.app2 {
  border-radius: 4px;
  width: 248%;
  height: 41px;
  text-align: center;
  display: inline-block;
  align-content: center;
}

#mod1:hover,
#mod2:hover,
#mod3:hover,
#mod4:hover,
#mod5:hover,
#mod6:hover,
#mod7:hover,
#mod8:hover,
#mod0:hover {
  background: #1232FF;

}

.nameMod:hover {
  color: #d0d6ff;
  font-weight: 700 !important;
}

.nav_nar_compacta2 {
  width: 180px;
  height: 1024px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 521px;
  flex-shrink: 0;
  background: #071B4A;
  z-index: 100;
  top: 0px;
  position: absolute;
}

.back_iconos2 {
  width: 55px;
  height: 87%;
  position: relative;
  margin: auto;
  margin-left: auto;
  top: 0px;
  border: 1px solid transparent;
  margin-left: 12%;
}

.back_exit2 {
  height: 4%;
  position: relative;
  margin: auto;
  top: 0px;
  border: 1px solid transparent;
  width: 55px;
  align-content: center;
  margin-left: 12%;
}

.back_exit2b {
  height: 4%;
  position: relative;
  margin: auto;
  margin-left: auto;
  top: 0px;
  border: 1px solid transparent;
  width: 131px;
  align-content: center;
  margin-left: 12%;
}

#abrir_menu {
  display: block;
  position: absolute;
  left: 93.6%;
  margin-top: 24px;
}

#cerrar_menu {
  display: block;
  position: absolute;
  left: 93.6%;
  margin-top: 24px;
}


#linea2 {
  margin: auto;
  width: 135px;
  height: 1px;
  background: #B2B1B1;
}

.logo2 {
  height: 24px;
  display: block;
  text-align: center;
  margin: auto;
  margin-top: auto;
  margin-top: auto;
  margin-top: auto;
}

/*////////////////////////////////////////////////////////LISTAS DESPLEGABLES*/

a {

  display: flex;
  color: #B2B1B1;
  margin-top: 3%;
}

a .modm {

  display: flex;
  margin-left: 18%;
  margin-top: 5%;
  font-size: 11px;
}

/*
ul, ol, li{
  list-style: none;
  cursor: pointer;
  
}
*/
.back_iconos2 li ul {
  border-radius: 0px 10px 10px 0px;
  margin-top: 5px;
  text-align: left;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  margin-left: 6%;
  color: #B2B1B1;
  display: none;
  position: relative;
  width: 274px;
  border: 1px solid transparent;
}

.back_iconos2 li ul li a:hover {

  color: #d0d6ff;
  transition: 100ms;
  margin-left: 5px;
  font-weight: 700;
}

.click_m {

  margin-top: -24px;
  margin-left: 199.3%;
  position: absolute;
  height: 21px;
  border: 1px solid transparent;
  width: 25px;
  align-content: center;
  text-align: center;
}

.click_men {

  display: block;
  text-align: center;
  margin: auto;

}

#click_men0a {
  display: block;
}

#click_men0b {
  display: none;
  margin-top: -23px;
}

#click_men1a {
  display: block;
}

#click_men1b {
  display: none;
  margin-top: -23px;
}


#click_men2a {
  display: block;
}

#click_men2b {
  display: none;
  margin-top: -23px;
}

#click_men3a {
  display: block;
}

#click_men3b {
  display: none;
  margin-top: -23px;
}

#click_men4a {
  display: block;
}

#click_men4b {
  display: none;
  margin-top: -23px;
}

#click_men5a {
  display: block;
}

#click_men5b {
  display: none;
  margin-top: -23px;
}

#click_men6a {
  display: block;
}

#click_men6b {
  display: none;
  margin-top: -23px;
}

#click_men7a {
  display: block;
}

#click_men7b {
  display: none;
  margin-top: -23px;
}

#click_men8a {
  display: block;
}

#click_men8b {
  display: none;
  margin-top: -23px;
}


#click_men9a {
  display: block;
}

#click_men9b {
  display: none;
  margin-top: -23px;
}

.bienvenido {
  display: flex;
  width: 100%;
  height: 52px;
  flex-direction: column;
  flex-shrink: 0;
  color: #071B4A;
  margin-left: 3%;
  font-family: Manrope;
  font-size: 44px;
  font-style: normal;
  font-weight: 700;
  align-content: center;
}

/*///////////////////////////////contenedor mods*/



/*/////////////////////////////////////VISOR EVIDENCIA*/
#visor-evidencia {
  padding: 26px 30px;
  border: 1px dashed blue;
  border-radius: 4px;
  margin-top: 6%;
  margin-bottom: 6% !important;
  width: 89%;
  margin: auto;
  margin-top: auto;
  margin-bottom: auto;
  margin-top: 6%;

}

#back_ezsys {
  border: 1px solid transparent;
  width: 200px;
  position: relative;

  left: 82%;
  top: 46%;
  height: 69px;
}

.nameDEve {
  font-size: 10px;
}

.ezsys {
  height: 31%;
  margin-top: 4%;
  display: block;
}

.iconosEz {
  width: 59px;
  height: 45px;
  display: block;
  text-align: center;
  margin: auto;
  cursor: pointer;
}

.iconosEz2 {
  width: 152px;
  height: 54px;
  display: block;
  text-align: center;
  margin: auto;
  cursor: pointer;
}





select,
input {
  text-align: center;
}

/*////////////////////////////////////////////////placeholder///////////////////////////////////////////////////////////////////*/
::placeholder,
select,
input {
  color: rgb(97, 97, 97);
  font-family: Manrope_normal;
}




select:focus,
input:focus,
textarea:focus {

  box-shadow: 1px 1px 1px 1px inset #87f968;

}



button:hover {
  opacity: 0.85;
}



.exitdk:focus {
  box-shadow: 2px 2px 5px 2px inset transparent !important;
}

embed {
  border-radius: 4px;
}

select option {
  font-family: 'Gill Sans', 'Gill Sans MT';

}

select,
input,
date,
file,
textarea {
  width: 100%;
  font-size: 14px;
  border-radius: 5px;
  resize: none;
  border: none;
  border: 1px solid #ccc;

  align-content: center;
  margin-top: 5px;
  cursor: pointer;
  align-content: center;
  margin-top: 5px;
  cursor: pointer;
  padding: 12px 0px;
  text-align: center;
  /* display: flex;*/
}

button {
  font-size: 14px;
  border-radius: 5px;
  resize: none;
  border: none;
  /*
  border: 1px solid #ccc;
  */
  background: transparent;
  color: white;
  border: 1px solid transparent;
  height: 45px;
  align-content: center;
  margin-top: 5px;
  cursor: pointer;
  align-content: center;
  margin-top: 5px;
  cursor: pointer;
  padding: 12px 5px;
  text-align: center;
  /*
width: 139px;
*/
  border-radius: 100px ;
}

button[type="submit"] input[type="submit"] {
  background: #1232FF;
  color: white;
  font-weight: bold;
  margin-top: 20px;
  cursor: pointer;
  cursor: pointer;
}



.andairta2 {
  width: 36px;
  height: 31px;
  position: absolute;
  margin-top: 11px;
  margin-left: -30px;
}

#backSubTa {
  background-color: #1232FF;
  color: white;
  padding: 8px 48px;
  border-radius: 6px;
  cursor: pointer;

  position: relative;
  margin-bottom: 35px;
  user-select: none;
  transition: background 0.3s ease;
  font-size: 6px;
  margin-top: 19px;
  margin-left: 3%;
}

#backSubNoti {
  background-color: #1232FF;
  color: white;
  padding: 5px 41px;
  border-radius: 6px;
  cursor: pointer;
  width: fit-content;
  position: relative;
  margin-bottom: 16px;
  user-select: none;
  transition: background 0.3s ease;
  font-size: 15px;
  margin-top: 19px;
  margin-left: 3%;
  width: 88%;
}

select option {
  font-family: 'Gill Sans', 'Gill Sans MT';

}

.andairta2b {
  width: 36px;
  height: 31px;
  position: absolute;
  margin-top: 14px;
  margin-left: -33px;
}

#noti-icono {
  margin-top: -39px;
  left: 84%;
  position: absolute;
  font-size: 19px;
}

/* ===============================
   BURBUJA CONTADOR NOTIFICACIONES
   =============================== */
#contadorNoti.noti-burbuja {
  position: absolute;
  top: -6px;
  right: -6px;

  width: 24px;
  height: 24px;

  display: flex;
  align-items: center;
  /* centra vertical */
  justify-content: center;
  /* centra horizontal */

  background: rgb(116, 100, 207);
  color: #fff;

  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  /* MUY IMPORTANTE */

  border-radius: 50%;
  pointer-events: none;
  /* evita clicks raros */

  box-sizing: border-box;
}

.iconoUser {
  top: 18px;
  left: 82%;
  position: absolute;
  font-size: 15px;
  width: 29px;
}


.tareas:hover,
.notis:hover {
  background-color: #1549cc;
}

.usuario-card {
  position: absolute;
  top: 19px;
  left: 85%;
  border: 1px solid transparent;
  width: 275px;
  height: 50px;
}

.usuario-info {
  top: -5px;
  left: 1%;
  position: absolute;
  font-size: 12px;
  color: gray;
  width: 121px;
}

.foto {
  position: absolute;
  width: 35px;
  height: 35px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ccc;
  left: -17%;
}

.tareasMas {
  background: transparent;
  position: absolute;
  top: 13px;
  width: 35px;
  left: 75%;
  height: 35px;
}

.iconosBitTa {
  position: relative;
  margin-top: -14px;
}


.tareasMas::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 35px;
  /* arriba del botón */
  left: -25px;
  color: #060443;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 10;
}

.tareasMas:hover::after {
  opacity: 1;
}

/*///////////////////////////////////////////////////////popup tareas */

.tareas {
  background-color: #1232FF;
  color: white;
  padding: 5px 41px;
  border-radius: 6px;
  cursor: pointer;
  width: fit-content;
  position: absolute;
  margin-bottom: 16px;
  user-select: none;
  transition: background 0.3s ease;
  font-size: 15px;
  margin-top: 22px;
  margin-left: 1%;
  width: 103px;
  z-index: 99;
}

.iconosBit {
  margin-left: -26%;
  margin-top: 8px;
}

.regsitrar_ta {
  margin-top: -26px;
  margin-left: 38px;
  margin-bottom: 8px;
}


.fondo_popT {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  display: none;
}

#formNot {
  max-width: 38%;
  ;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  display: flex;
  padding: 24px 24px 54px 28px;

  align-items: flex-start;
  overflow-y: auto;
  max-height: 90vh;
  margin: auto;
  margin-top: auto;
  margin-top: auto;
  margin-top: auto;
  margin-top: 7%;

  border-radius: 12px;
  gap: 10px;
  width: 50%;
  height: 400px;
}

#formNotif {
  max-width: 50%;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  display: flex;
  padding: 24px 24px 54px 28px;

  align-items: flex-start;
  overflow-y: auto;
  max-height: 90vh;
  margin: auto;
  margin-top: auto;
  margin-top: auto;
  margin-top: auto;
  margin-top: 7%;
  background: #fff;
  border-radius: 12px;
  gap: 10px;
  width: 50%;
  height: 400px;
}

.cerrar3T {
  width: 35px;
  position: absolute;
  cursor: pointer;
  left: 4%;
  top: 4%;
  z-index: 1000;
}

.tableFortm {

  position: relative;
  top: 70px;
  margin: auto;

}

.tipoTa {
  color: #071B4A;
  font-size: 14px;
  font-family: Manrope_light;
  position: relative;
  width: 28%;
}

.nuevata {
  color: #071B4A;
  font-size: 14px;
  font-family: Manrope_light;
  position: relative;
  width: 44%;
}

.obsta {
  color: #071B4A;
  font-size: 14px;
  font-family: Manrope_light;
  position: relative;
  width: 44%;
}

#tarea {
  width: 95%;
  height: 20px;
  resize: none;
}

#obs {
  width: 89%;
  margin-left: 0%;
  height: 20px;
  resize: none;
  font-size: 11px;
}

#prioridad {
  width: 98%;
  top: 17%;
  margin-left: 0.6%;
}

#resptask {
  width: 100%;
  top: 29%;
  left: 10%;
}

#fechapro {
  width: 89%;
  margin-left: 1%;
}

.regionN {
  width: 100%;
}

.unidadN {
  width: 100%;
}

.regsitrar_not {
  margin-top: -26px;
  margin-left: 18px;
  margin-bottom: 8px;
}

.notis {
  background-color: transparent;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  position: absolute;
  margin-bottom: 16px;
  user-select: none;
  transition: background 0.3s ease;
  font-size: 15px;
  top: 20px;
  left: 68%;
  width: 21px;
  height: 20px;
}

.notis:hover {
  background: transparent !important;
}

/*///////////////////////////NOTI*/


/* Fondo oscuro translúcido */
.popup-oscuro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* Botón de cerrar */
#cerrar-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #444;
}

/* Botones de control */
.popup-controles {
  display: flex;
  justify-content: space-around;
  margin-bottom: 15px;
}

.popup-controles button {
  padding: 10px 15px;
  border: none;
  background-color: #0044cc;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.popup-controles button:hover {
  background-color: #002d80;
}

/* Estilo para tarjetas de notificación */
.noti-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 12px;
  background-color: #f9f9f9;
  font-size: 14px;
  line-height: 1.5;
}

.noti-card button {
  margin-top: 10px;
  background-color: #28a745;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.noti-card button:hover {
  background-color: #218838;
}


.notificacion-item {
  background: #f2f2f2;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sin-notis {
  text-align: center;
  color: #777;
  padding: 20px;
}


#popup-notificaciones {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 1000;
}

.popup-contenido {
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  padding: 20px;
  position: relative;
}


.popup-controles {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.lista-notificaciones {
  list-style: none;
  padding: 0;
  margin-bottom: 5%;
}

.item-notificacion {
  border: 1px solid #ccc;
  margin-bottom: 10px;
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s;
}



.item-notificacion.no-leido {
  border-left-color: #e74c3c;
  background-color: #fef1f0;
}

.icono-noti {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 4px;
}

.btn-confirmar {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #007bff;
  margin-top: -46px;
  position: relative;
  display: block;
}

.btn-confirmar:hover {
  opacity: 0.7;
}

.noti-leida {
  opacity: 0.7;
}

.etiqueta-leida {
  font-size: 1.25em;
  color: #83D25D;
  font-weight: bold;
  margin-left: 8px;
}



.fondo-popup {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}


#cerrar-popup-crud {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
}


#btn-abrir-crud {
  z-index: 10;
  background-color: transparent;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  width: fit-content;
  position: absolute;
  margin-bottom: 16px;
  user-select: none;
  transition: background 0.3s ease;
  font-size: 15px;
  top: 17px;
  left: 72%;
  width: 20px;
  height: 20px;
}

/* Fondo oscuro traslúcido */
.fondo-popup-crud {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 2rem;
}

.popup-contenidoCrud {
  width: 90%;
  max-width: 700px;
  margin: 5% auto;
  background: white;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 10000;
}

/* Contenedor blanco centrado */
.popup-contenido-crud {
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  padding: 20px;
  position: relative;
  margin: auto;
  margin-top: auto;
  margin-top: auto;
  font-size: 14px;
  margin-top: 10%;
}

#popup-editar-noti {
  display: block;
}

/* Animación de entrada */
@keyframes fadeIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Botón cerrar */
#cerrar-popup-crud {
  position: absolute;
  top: 20px;
  left: 84%;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #888;
  width: 35px;
  height: 35px;
}



/* Título */
.titulo-crud {
  text-align: center;
  margin-bottom: 20px;
  color: gray;
  font-size: 20px;
  color: gray;
}

/* Tabla CRUD */
.tabla-crud-noti {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.tabla-crud-noti thead {
  color: black;
}

.tabla-crud-noti th,
.tabla-crud-noti td {
  padding: 10px 15px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.tabla-crud-noti tbody tr:hover {
  background-color: #f9f9f9;
}

/* Botones de acción */
.btn-editar,
.btn-eliminar {
  padding: 4px 10px;
  font-size: 13px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 5px;
}

.btn-editar {
  background-color: #D0D6FF;
  color: #1232FF;
}

.btn-editar:hover {
  background-color: #a6addedd;
  color: #1232FF;
}

.btn-eliminar {
  color: #E15E42;
  background: #F6CFC6;
}

.btn-eliminar:hover {
  color: #E15E42;
  background: #d69b8edc;
}




/* Tooltip */
.btn-crud-noti::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 25px;
  /* arriba del botón */
  left: -50px;
  color: #060443;
  padding: 6px 10px;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 10;
  text-align: left;
}

.btn-crud-noti:hover::after {
  opacity: 1;
}


/* Tooltip */
.notis::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 25px;
  /* arriba del botón */
  left: -50px;
  color: #060443;
  padding: 6px 10px;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 10;
  text-align: left;
}

.notis:hover::after {
  opacity: 1;
}

/* Tooltip */

.notinoti {
  position: absolute;
  left: 94%;
  top: 11px;
  width: 20px;
  height: 20px;
  text-align: center;
  z-index: 100;
}

.notinoti::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 35px;
  /* arriba del botón */
  left: -35px;
  color: #060443;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 10;
}

.notinoti:hover::after {
  opacity: 1;
}



.popup-contenidoMis {
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 71vh;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  padding: 20px;
  position: relative;
  margin: auto;
  margin-top: auto;
  font-size: 14px;
  margin-top: 10%;

}

#cerrar-popupMisnot {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #444;
  width: 30px;
  height: 30px;
}

#cerrar-popupNotNu {

  top: 10px;

  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #444;
  width: 30px;
  height: 30px;
}



.popup-controles {
  font-size: 20px;
  color: gray;
}

.notinotiText {
  position: absolute;
  left: 0%;
  top: 23px;
  width: 100%;
  height: 20px;
  text-align: center;
  color: gray;
  font-size: 20px;
}







.fondo_pop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  display: none;
}




























/* Para Firefox */
.dark-scroll {
  scrollbar-width: thin;
  /* auto | thin | none */
  scrollbar-color: #2a3a54 #0b1322;
  /* thumb | track */
  overflow: auto;
  /* asegúrate de que el contenedor tenga scroll */
}

/* Para Chromium/Edge/Safari (WebKit) */
.dark-scroll::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  /* scroll X */
}

.dark-scroll::-webkit-scrollbar-track {
  background: #0b1322;
  /* track oscuro */
  border-radius: 10px;
}

.dark-scroll::-webkit-scrollbar-thumb {
  background: #2a3a54;
  /* thumb */
  border-radius: 10px;
  border: 2px solid #0b1322;
  /* separa el thumb del track */
}

.dark-scroll:hover::-webkit-scrollbar-thumb {
  background: #3a4a66;
  /* hover */
}

.dark-scroll::-webkit-scrollbar-thumb:active {
  background: #4b6a8f;
  /* al arrastrar */
}

/* Opcional: evita saltos cuando aparece el scroll */
.dark-scroll {
  scrollbar-gutter: stable both-edges;
}

.t2-table-wrap {
  overflow: auto;
}

.t2-table-wrap {
  /* hereda dark scroll */
  scrollbar-width: thin;
  /* auto | thin | none */
  scrollbar-color: #2a3a54 #0b1322;
  /* thumb | track */
  overflow: auto;
  /* asegúrate de que el contenedor tenga scroll */
}








.iconosEzHS {

  height: 21px;
  display: block;
  text-align: center;
  margin: auto;
  cursor: pointer;
}























.usuarios-ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.usuario-item {
  padding: 6px 8px;
  border-radius: 8px;
}



.usuario-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.usuario-row input[type="checkbox"] {
  transform: translateY(1px);
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.usuario-meta .nombre {
  font-weight: 600;
  line-height: 1.1;
}

.usuario-meta .tag {
  font-size: 12px;
  color: #6b7280;
}

.chips-seleccion {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}


.chip-x {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: #1e3a8a;
}

/* ====== POPUP NOTIFICACIONES: SELECTOR DE USUARIOS ====== */
/* Todo queda scopeado al popup .fondo_popT para ganar especificidad */
.fondo_popT .destinatarios-usuarios {
  display: block;
  gap: 10px;
  margin-top: 22px;
}



/* Lista y filas */
.fondo_popT .destinatarios-usuarios .usuarios-ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fondo_popT .destinatarios-usuarios .usuario-item {
  padding: 6px 8px;
  border-radius: 8px;
}

.fondo_popT .destinatarios-usuarios .usuario-item:hover {
  background: #0f0e28;
  color: wheat;
}

/* Fila con flex */
.fondo_popT .destinatarios-usuarios .usuario-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Checkbox */
.fondo_popT .destinatarios-usuarios .usuario-row .chk-usuario {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* 🔒 Forzar tamaño del avatar y anular estilos globales */
.fondo_popT .destinatarios-usuarios img.avatar {
  width: 44px !important;
  height: 44px !important;
  max-width: none !important;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  flex: 0 0 44px;
  border: 2px solid #0f172a1a;
}

/* Meta */
.fondo_popT .destinatarios-usuarios .usuario-meta {
  line-height: 1.1;
}

.fondo_popT .destinatarios-usuarios .usuario-meta .nombre {
  font-weight: 600;
}

.fondo_popT .destinatarios-usuarios .usuario-meta .tag {
  font-size: 12px;
  color: #6b7280;
  text-align: left;
}

/* Chips seleccionados */
.fondo_popT .destinatarios-usuarios .chips-seleccion {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.fondo_popT .destinatarios-usuarios .chip {
  background: #eef2ff;
  color: #1e3a8a;

  border-radius: 10px;
  font-size: 12px;



  height: 46px;
}

.fondo_popT .destinatarios-usuarios .chip-x {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
  color: #1e3a8a;
  position: relative;
  left: 38%;
  top: -19px;

}

/* Mensaje "Sin resultados" */
.fondo_popT .destinatarios-usuarios .muted {
  margin: 8px;
  color: #6b7280;
  font-size: 14px;
}

#backSubNotiB {

  color: white;
  padding: 3px 11px;
  border-radius: 6px;
  cursor: pointer;
  width: fit-content;
  position: relative;
  margin-bottom: 16px;
  user-select: none;
  transition: background 0.3s ease;
  font-size: 8px;
  margin-top: 19px;
  width: 88%;
  margin-bottom: 78px;
}



#formTarea2 {
  max-width: 50%;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  display: flex;
  padding: 24px 24px 54px 28px;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
  max-height: 90vh;
  margin: auto;
  margin-top: auto;
  margin-top: auto;
  margin-top: auto;
  margin-top: auto;
  margin-top: 10%;
  background: #fff;
  border-radius: 12px;
  gap: 10px;
  width: 50%;
  height: 40%;
}


/* === POPUP: Mis Notificaciones === */

#popup-notificaciones {
  /* si ya tienes estilos de overlay, omite estas 3 líneas */
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

#popup-notificaciones .popup-contenidoMis {
  box-sizing: border-box;
  width: min(820px, 92vw);
  max-height: 65vh;
  margin: 0 auto;
  margin-top: 0px;

  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
  padding: 18px 18px 8px;
  overflow: auto;
  margin-top: 9%;
}



/* Responsive “tight” */
@media (max-width: 540px) {
  #popup-notificaciones .popup-contenidoMis {
    width: 94vw;
    max-height: 82vh;
    padding: 14px;
  }

  .noti-foto {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .noti-autor-nombre {
    max-width: 54vw;
  }

  .noti-dest-list {
    grid-template-columns: 1fr;
  }
}





/* =========================================
   Tooltip contador de tareas (scroll-y)
========================================= */
.tooltip-tareas {
  max-height: min(360px, 55vh);

  overflow-y: auto;
  /* ✅ scroll vertical */
  overflow-x: hidden;
  padding-right: 10px;
  /* para que el scroll no tape texto */
  overscroll-behavior: contain;
}

/* opcional: scroll bonito (Chrome/Edge) */
.tooltip-tareas::-webkit-scrollbar {
  width: 10px;
}

.tooltip-tareas::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .06);
  border-radius: 10px;
}

.tooltip-tareas::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 255, .35);
  border-radius: 10px;
}

.tooltip-tareas::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 229, 255, .55);
}

/* opcional: Firefox */
.tooltip-tareas {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 229, 255, .45) rgba(255, 255, 255, .06);
}
















