html,
body {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
  font-size: 12px;
  font-family: "Roboto Condensed, sans-serif";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

}

input::-moz-focus-inner,
button::-moz-focus-inner {
  border: 0;
}

input[type="Button"]:focus,
button:focus {
  outline: none;
  border: none;
}

input[type="button"],
input[type="text"],
input[type="password"],
input[type="textarea"],
button {
  outline: 0px !important;
}

text,
textarea,
div,
input {
  font-family: RobotoCondensed !important;
}

/* Logo arriba y fuera del cuadro */
.login-logo {
  text-align: center;
  /* margin-bottom: 20px; */
}

.login-logo img {
  width: 280px;
}

/* Tarjeta */
.login-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.06);
  width: 320px;
  text-align: center;
}

/* Título */
.login-title {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 500;
  color: #444;
}

/* Inputs */
.login-card input[type="text"],
.login-card input[type="password"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 10px;
  background: #f5f5f5;
  font-size: 14px;
  outline: none;
  transition: background 0.2s;
  box-sizing: border-box;
}

.login-card input:focus {
  background: #ebebeb;
}

/* Botón ver contraseña */
.password-wrapper {
  position: relative;
}

.toggle-pw {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

/* Botón login */
.login-btn {
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.login-btn:hover {
  transform: translateY(-2px);
  background: #333;
}

/* Toggle recordar contraseña */
.remember-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 15px;
  font-size: 13px;
  color: #666;
}

.remember-checkbox {
  display: none;
}

.remember-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 40px;
}

.remember-slider {
  position: absolute;
  left: 0;
  width: 34px;
  height: 18px;
  background: #ddd;
  border-radius: 20px;
  transition: 0.3s;
}

.remember-slider::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}

.remember-checkbox:checked+.remember-label .remember-slider {
  background: #000;
}

.remember-checkbox:checked+.remember-label .remember-slider::before {
  transform: translateX(16px);
}

/* Notificaciones */

.NotificarValidacionesG,
.NotificarValidaciones,
.NotificarValidaciones_warning,
.NotificarValidaciones_info,
.NotificarValidaciones_required {
  color: white;
  position: absolute;
  opacity: 0;
  display: none;
  z-index: 555000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: indianred;
  height: 30px;
  width: auto;
  min-width: 200px;
  border: 1px solid #ccc;
  -webkit-box-shadow: 3px 3px 5px -2px #666;
  -moz-box-shadow: 3px 3px 5px -2px #666;
  -ms-box-shadow: 3px 3px 5px -2px #666;
  -o-box-shadow: 3px 3px 5px -2px #666;
  box-shadow: 3px 3px 5px -2px #666;
  padding: 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

.NotificarValidaciones_warning {
  background: #c21c35;
}

.NotificarValidaciones_info {
  background: #47B350;
}

.NotificarValidaciones_required {
  color: black;
  background: #ffff00;
}

.no_user_select {
  user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

#panelCargando {
  position: absolute;
  height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
  z-index: 105000;
}

#panelCargando .login {
  padding: 10px;
  height: auto;
}

#cargaEmpresas,
#cargaConfiguracion,
#cargaUnidades {
  float: left;
  white-space: normal;
  list-style: none;
  margin: 0px;
  float: left;
  list-style-type: none;
  margin-bottom: 20px,
}

.index_opciones {
  width: 580px;
  height: 650px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}

.index_buttons {
  width: 280px;
  height: 30px;
  margin: 4px;
  color: #FFFFFF;
  border: none;
  background-color: #939CA9;
  font-family: RobotoCondensed;
}

.index_buttons:hover {
  background-color: #324154;
}

.svg_item_lista_check_box_texto {
  font-size: 12px !important;
}

.contenedor-principal {
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
}

#PanelMenuPrincipal {
  /* width: 200px; */
  /* height: 100%; */
  /* background-color: #2e2e2e; */
  display: flex;
  float: left;
  /* flex-direction: column; */
  justify-content: space-between;
  /* border-radius: 0px 30px 30px 0px; */
  padding-right: 10px;
  /* box-shadow: white 0px 0px 8px 1px; */
}

#seccionLogo {
  text-align: center;
  display: flex;
  z-index: 1;
  /* background: #2e2e2e; */
  /* Espaciado debajo del logo */
}

#seccionLogo img {
  height: 45px;
  margin: auto;
}

#columnaLogosClientes img {
  height: 35px;
  width: 68px;
  margin: auto;
}

#columnaLogosClientes {
  position: absolute;
  top: 100%;
  left: 44%;
  transform: translateX(-50%);
}

#PanelContenedorGeneral {
  flex: 1;
  position: relative;
  /* margin-left: 200px; */
  width: auto;
  /* display: flex; */
  /* background-color: #1f2025; */
  /* box-shadow: white 0px 0px 8px 1px; */
}

#fila-superior {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 50px;
  /* altura de la fila */
  justify-content: space-between;
  z-index: 1;
}

#panelHeaderPincipal {
  /* background: #2e2e2e; */
  /* width: calc(100% - 200px);
  margin-left: 200px; */
  display: flex;
  justify-content: space-between;
  color: #F4F4F4;
  /* box-shadow: white 0px 0px 8px 1px; */
}

#headerSeccion {
  padding-left: 10px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 5px;
}

#headerUsuario {
  display: flex;
  justify-content: flex-end;
  /* Alinea los hijos a la derecha */
  gap: 10px;
  /* Espacio entre elementos */
  padding-right: 20px;
  /* Opcional: para separar un poco del borde derecho */
  align-items: center;
}

#headerSeccion div {
  /* Color de fondo opcional */
  padding: 0px 10px;
  flex-wrap: wrap;
  align-content: center;
}

#SeccionUsuarios {
  display: flex;
  align-items: center;
  /* Alinea verticalmente */
  gap: 5px;
  /* Espacio entre el icono y el texto */
}

#SeccionCerrarSesion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  font-size: 12px;
  cursor: pointer;
  color: #CCCFCB;
}

#SeccionCerrarSesion:hover {
  color: rgb(185, 185, 185);
}

#textoCopyrightApp {
  /* width: 200px; */
  text-align: center;
  color: #ffffff;
  border-top: 1px solid #7f8c8d;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 38px;
}

.SeccionClientesEMBE {
  height: 28px;
  margin-top: 1px;
}

.SeccionClientesProyectos {
  height: 28px;
  margin-top: 1px;
}

#index_proyectos {
  position: relative;
  flex-grow: 1;
  /* Empuja los elementos hacia abajo */
  display: flex;
  /* flex-direction: column; */
  gap: 10px;
  padding: 0px 20px;
  /* Espaciado entre opciones */
}

.itemMenu {

  /* height: 40px; */
  font-size: 13px;
  color: #CCCFCB;
  cursor: pointer;
  /* padding-left: 30px; */
  display: flex;
  align-items: center;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.itemMenuFooter {
  display: flex;
  align-items: center;
  height: 40px;
}

.itemMenu img {
  width: 50px;
  height: 50px;
}

.opciones img {
  width: 35px;
  height: 35px;
}

.submenu-container {
  min-width: 145px;
  z-index: 10;
}

/* .submenu-item:hover {
  background-color: #4a4a4a;
} */


.menuText {
  margin-left: 8px;
}

.itemMenuFooter img {
  width: 25px;
  height: 25px;
}

.itemMenu img:hover {
  width: 50px;
  height: 50px;
}

input::placeholder {
  /* color: rgb(5, 5, 5); */
  /* Cambia el color del texto del placeholder */
  opacity: 1;
  /* Asegura que se vea bien en algunos navegadores */
}

#panelVistaTareas {
  position: fixed;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  /* background: rgba(51, 51, 51, 1); */
  padding: 5px;
  border-radius: 25%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
  cursor: pointer;
  z-index: 20000;
}

#panelVistaTareas:hover {
  background: rgb(9 56 100);
}

#panelVistaTareas img {
  width: 30px;
  height: 30px;
  display: block;
}

/* Contenedor de Vista de Tareas */
#vistaMultiEntornoContaier {
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  margin: auto;
  /* 📌 Esto lo centra horizontalmente sin `transform` */
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* 📌 Centrar siempre */
  gap: 10px;
  /* width: 400px; */
  max-width: 90vw;
  /* 📌 Evita que crezca demasiado */
  /* opacity: 0; */
  transition: opacity 0.3s ease, transform 0.2s ease-in-out, idth 0.3s ease-out;
  z-index: 30000;
}

/* Cuando está visible */
#vistaMultiEntornoContaier.visible {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.vistaTareaItem:hover {
  transform: scale(1.05);
}

.oculto {
  display: none !important;
}

.vistaTareaItem.activa {
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.7);
  /* Resplandor */
}

@media (max-width: 1024px) {
  .categoria_bitacora_c_titulo {
    display: block !important;
  }
}

/* Estilo general del combo */
.combo_tomselect+.ts-wrapper {
  background-color: #3a3a3a;
  color: #fff;
  border: 1px solid #555;
  border-radius: 6px;
}

/* Input de búsqueda */
.combo_tomselect+.ts-wrapper .ts-control {
  background-color: #3a3a3a;
  color: #000000;
  border: none;
}

/* Opciones del dropdown */
.combo_tomselect+.ts-wrapper .ts-dropdown {
  background-color: #3a3a3a;
  color: #fff;
  border: 1px solid #555;
}

/* Opción individual */
.combo_tomselect+.ts-wrapper .ts-dropdown .option {
  background-color: #3a3a3a;
  color: #fff;
}

/* Hover sobre opción */
.combo_tomselect+.ts-wrapper .ts-dropdown .option.active,
.combo_tomselect+.ts-wrapper .ts-dropdown .option:hover {
  background-color: #5a5a5a;
  /* gris más claro */
  color: #fff;
}

/* Mensaje de "sin resultados" */
.combo_tomselect+.ts-wrapper .ts-dropdown .no-results {
  color: #ccc;
  font-style: italic;
  padding: 8px;
}


@media screen and (max-width: 600px) {
  .login {
    width: 100%;
  }
}

#ventanas_encabezado>div {
  /* min-width: 220px; */
  /* margin-bottom: 5px; */
}

@media (max-width: 900px) {
  #ventanas_encabezado {
    /* flex-direction: column; */
    align-items: stretch;
  }


  #ventanas_encabezado .boton-generar-container {
    margin-left: 0 !important;
    width: 100%;
    justify-content: flex-end;
  }

  #exportarExcelAlertas {
    position: absolute;
    top: 0px;
    right: 19px;
  }
}



.shooting-star {
  position: absolute;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, white, transparent);
  animation: shoot 3s infinite ease-in;
}


.dark {
  background: linear-gradient(90deg, rgb(0, 0, 0), transparent) !important;
}

/* .shooting-star:nth-child(1) {
  top: 20%;
  left: -100px;
  animation-delay: 0s;
}

.shooting-star:nth-child(2) {
  top: 35%;
  left: -100px;
  animation-delay: 1s;
}

.shooting-star:nth-child(3) {
  top: 50%;
  left: -100px;
  animation-delay: 2s;
} */

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 0.4;
  }
}

@keyframes shoot {
  0% {
    transform: translateX(0) translateY(0) rotate(25deg);
    opacity: 1;
  }

  100% {
    transform: translateX(120vw) translateY(50vh) rotate(25deg);
    opacity: 0;
  }
}

.ts-control {
  padding: 5px !important;
}

.ts-wrapper {
  min-height: 30px !important;
}

.cmb-empresas .ts-control .item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  max-width: 100%;
  line-height: 12px;
}

.scroll-servicios::-webkit-scrollbar {
  width: 6px;
}

.scroll-servicios::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.1));
  border-radius: 10px;
}

.scroll-servicios::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.scroll-servicios {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

input[type="range"] {
  -webkit-appearance: none;
  height: 4px;
  background: rgba(3, 3, 3, 0.973);
  border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: #3b82f6;
}

/* =========================
   TOMSELECT SINGLE
========================= */

.ts-wrapper.single .ts-control {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 30px !important;
    height: 30px !important;
    overflow: hidden;
    padding-right: 24px; /* espacio para caret */
}

/* Texto seleccionado */
.ts-wrapper.single .ts-control > .item {
    width: 80%;
    min-width: 0; /* 🔥 clave para ellipsis */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

/* Input de TomSelect */
