html
{
  height:100%;
}

body 
{
    margin:0;
  background-image: url('../assets/images/fondo_tanu_login.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
  justify-content: center;
}

.bg 
{
  animation:slide 13s ease-in-out infinite alternate;
  background-image: linear-gradient(-160deg, #662525 50%, #951818 50%);
  bottom:0;
  left:-50%;
  opacity:.5;
  position:fixed;
  right:-50%;
  top:0;
  z-index:-1;
}

.bg2 
{
  animation-direction:alternate-reverse;
  animation-duration:14s;
}

.bg3 
{
  animation-duration:15s;
}

.content 
{
  background-color:rgba(255,255,255,.8);
  border-radius:.25em;
  box-shadow:0 0 .25em rgba(0,0,0,.25);
  box-sizing:border-box;
  left:50%;
  padding:10vmin;
  position:fixed;
  text-align:center;
  top:50%;
  transform:translate(-50%, -50%);
}

h1 
{
  font-family:monospace;
}

@keyframes slide 
{
  0% 
  {
    transform:translateX(-25%);
  }
  100% 
  {
    transform:translateX(25%);
  } 
}

.login_main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  float: center;
  margin-top: 100px;
  margin-right: 100px;
}

.login_container {
  /*background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  padding: 40px;
  width: 400px;
  text-align: center;*/
  width: 350px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(9px);
  color: #fff;
  border-radius: 12px;
  padding: 30px 40px; 
}

/* Logo */
.logo_container {
  margin-bottom: 20px;
}

/* Legend */
.legend_container {
  margin-bottom: 30px;
  font-size: 36px;
  /*font-weight: bold;*/
  font-family: "Poppins", sans-serif;
  color: #ffffff;
}
.legend_container2 {
  margin-bottom: 30px;
  font-size: 20px;
  /*font-weight: bold;*/
  font-family: "Poppins", sans-serif;
  color: #ffffff;
}

/* Input Fields */
.input_group {
  margin-bottom: 20px;
  text-align: left;
  position: relative;
}
.input_group input{

  background: transparent;
}

.input_group label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}

.input_group input::placeholder{
  color: #fff;
}

.input_group i{
  position: absolute;
  right: 5px;
  top: 23%;
  transform: translate(-50%);
  font-size: 20px;
}

.text_box_login_pass {
  font-size: 16px;
  width: 100%;
  height: 45px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0 12px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  background: transparent;
  color: #ffffff;
}



.text_box_login_pass:focus {
  border-color: #082756;
  outline: none;
  box-shadow: 0 0 5px rgba(8, 159, 216, 0.5);
  background: transparent;
}

.remember-forgot{
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  /*margin: -15px 0 15px;*/
}

.remember-forgot label input{
  accent-color: #fff;
  margin-right: 3px;

}
.remember-forgot a{
  color: #fff;
  text-decoration: none;

}
.remember-forgot a:hover{
  text-decoration: underline;
}

/* Button */
.button_container {
  margin-top: 30px;
}

.submit_access {
  width: 100%;
  height: 45px;
  background-color: #fff;
  color: #082756;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit_access:hover {
  background-color: #067bb6;
  transform: translateY(-2px);
}

.submit_access:active {
  transform: translateY(0);
}

.body2
{
  background-color: #eef1f7;
  /*background-image: url('../assets/images/fondo_tanu_app.jpg');*/
  background-image: none;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
}

.base_home
{
    display: flex; /* Coloca los hijos en una fila */
    flex-direction: row; /* Asegura que estén en la misma línea */
    align-items: flex-start; /* Alinea verticalmente al inicio */
    width: 100%;
    height: 100vh; /* Altura completa de la pantalla */
    box-sizing: border-box; /* Asegura que padding no afecte las dimensiones */
}
.home_icon
{
  width: 28px;
  height: 28px;
  margin-right: 46px;
  background-image: url('../assets/images/buttons/home.png');
  background-size: 28px 28px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;

}

.close_icon
{
  width: 28px;
  height: 28px;
  margin-right: 46px;
  background-image: url('../assets/images/buttons/turn-off.png');
  background-size: 28px 28px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;

}


.left_menu
{
    width: 80px;
    height: 100vh; /* Altura completa */
    background-color: #2d4058;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    transition: transform 1s ease; /* Animación suave al mostrar/ocultar */
    transform: translateX(0%);
}

.left_menu.hidden {
    transform: translateX(0);  Oculta moviéndolo fuera de la vista 
}

.barras_superiores
{
    display: flex; /* Activa Flexbox */
    flex-direction: column; /* Alinea en columna (uno debajo del otro) */
    width: 100%;
    height: 60px; 
    gap: 0px; /* Espacio entre los div */
}

.cabecera_home
{
  /*width: 100%; */
  flex: 1; /* Ocupa el espacio restante */
  height: 38px;   
  background-color: #363636;
}

.cabecera_home2
{
  /*width: 100%; */
  flex: 1; /* Ocupa el espacio restante */
  height: 35px;   
  background-color: #0979c1;
}


.contenido
{
  width: auto;
}
.contenido_inicio
{
  height: 95%;
}

.cabecera_perfil
{
  float: left; 
  padding-top: 1px;
}
.cabecera_home_icon
{
  float: left;
  
}
.cabecera_cerrar
{
  float: right;
  
}


.module-button
{
  cursor: pointer;
  width: 60px;
  height: 60px;
  background-size: 54px 54px;
  background-color: #2d4058;  
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  /*-moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  -ms-border-radius: 7px;
  box-shadow: 1px 1px 2px 1px #7A9BC5;*/
  float:left;
}

.topbar
{
  height: 30px;
  background-color: #096fb0;
  color: #FFFFFF;
}

#titulo_ayuda
{
  float: left;
}


.toggle-btn 
{
  float: left;
  padding-top: 1px;
}

.content-options
{
  width: auto;
  text-align: left;
  background-color: #e0e0e0;
}
.content-options table td
{
  font-size: 10px;
}


legend {
  width: auto;
  height: auto;
  padding-top: 2px;
  padding-bottom: 2px;
  background:  #363636;
  text-align: center;
  vertical-align: middle;
  font-family: 'monospace;';
  color: #ffffff;
  font-size: 12px;
  
}
legend table td
{
  border: 0px;
  padding-left: 12px;
  text-align: left;
  vertical-align: middle;
  font-family: 'monospace';
  color: #ffffff;
  font-size: 12px;
}
legend table th
{
  text-align: left;
  vertical-align: middle;
  font-family: 'monospace';
  color: #ffffff;
  font-size: 12px;
}

.normal
{
  font-family: 'monospace';
  font-size: 12px;
  color: #363636;
  width: 100%;
  background-color: #FFFFFF;

  /*-moz-border-radius-bottomleft: 3px;
  border-bottom-left-radius: 3px;
  -webkit-border-radius-bottomleft: 3px;
  -ms-border-radius-bottomleft: 3px;

  -moz-border-radius-bottomright: 3px;
  border-bottom-right-radius:3px;
  -webkit-border-radius-bottomright: 3px;
  -ms-border-radius-bottomright: 3px;*/
}
.normal thead tr th
{
  position: sticky;
  top:  0;
  z-index:  10;
  height: 30px;
  color:#FFFFFF;
  border: 0;
  outline: 3px solid #363636;
  background-color: #363636;
}


/***************TABLA DE LLISTAS PRINCIPALES*********************/
.list-container
{
  width: 99%;
  margin: 0 auto; /* Centra el div horizontalmente */
  margin-top: 1px;

}
/* Estilo general para la tabla */
.principal-list {
  width: 100%;
  border-collapse: collapse; /* Elimina los espacios entre celdas */
  margin: 10px 0; /* Espaciado alrededor de la tabla */
  font-family: Calibri, sans-serif; /* Fuente moderna */

}

/* Estilo para el encabezado de la tabla */
.principal-list thead tr th {
  color: #FFFFFF;
  font-size: 14px;
  background-color: #096fb0; /* Color de fondo elegante */
  padding: 6px 6px; /* Espaciado dentro de las celdas */
  text-align: left; /* Alineación a la izquierda */
  border: 1px solid #ddd; /* Bordes suaves */
  text-transform: uppercase; /* Texto en mayúsculas */
}

/* Estilo para las filas del cuerpo de la tabla */
.principal-list tbody tr td {
  color: #333333; /* Texto oscuro para contraste */
  font-size: 16px;
  background-color: #f9f9f9; /* Fondo claro */
  padding: 12px 15px;
  border: 1px solid #ddd; /* Bordes suaves */
}

/* Cambio de color al pasar el ratón sobre las filas */
.principal-list tbody tr:hover {
  background-color: #ffb9a8 !important; /* Fondo oscuro al pasar el ratón */
  color: #000000 !important; /* Cambiar el color del texto a blanco */
  cursor: pointer; /* Muestra el puntero del ratón */
}

/* Alternancia de color para filas */
.principal-list tbody tr:nth-child(even) {
  background-color: #ffb9a8 !important; /* Fondo ligeramente gris para filas pares */
}

/* Estilo para el borde de la tabla */
.principal-list {
  border: 2px solid #ddd; /* Borde general de la tabla */
  /*border-radius: 8px; /* Bordes redondeados */
  overflow: hidden; /* Evita que el contenido se desborde */
}

/* Estilo de las celdas del encabezado al hacer hover */
.principal-list thead tr th:hover {
  background-color: #5bb5ef; /* Cambio de color al hacer hover */
}
.principal-list tbody tr td:hover {
  background-color: #c9e2f2; /* Cambio de color al hacer hover */
}

/* =========================
   Responsive tabla listas
   ========================= */

/* Tablets y móviles grandes */
@media (max-width: 992px) {
  .list-container {
    width: 100%;
    overflow-x: auto;                 /* scroll horizontal si no cabe */
    -webkit-overflow-scrolling: touch;
  }

  .principal-list {
    min-width: 680px;                 /* evita que las columnas “salten” */
    table-layout: auto;
    border: 2px solid #ddd;
  }

  .principal-list thead tr th,
  .principal-list tbody tr td {
    font-size: 14px;
    padding: 8px 10px;
    white-space: nowrap;              /* columnas en una sola línea */
  }

  /* Encabezado pegajoso al hacer scroll */
  .principal-list thead tr th {
    position: sticky;
    top: 0;
    z-index: 3;
  }
}

/* Móviles (<=768px) */
@media (max-width: 768px) {
  .principal-list {
    min-width: 620px;
  }

  .principal-list thead tr th,
  .principal-list tbody tr td {
    font-size: 13px;
    padding: 6px 8px;
  }
}

/* Smartphones pequeños (<=560px) */
@media (max-width: 560px) {
  .list-container {
    padding-bottom: 6px;              /* deja espacio al scrollbar */
  }

  .principal-list {
    min-width: 540px;
  }

  .principal-list thead tr th,
  .principal-list tbody tr td {
    font-size: 12px;
    padding: 6px 6px;
  }
}

/* Mejoras de usabilidad en táctiles (evita “parpadeo” de hover) */
@media (hover: none) and (pointer: coarse) {
  .principal-list tbody tr:hover,
  .principal-list tbody tr td:hover {
    background-color: inherit !important;
    color: inherit !important;
  }
}

/* Scrollbar sutil en contenedor (opcional) */
.list-container::-webkit-scrollbar {
  height: 8px;
}
.list-container::-webkit-scrollbar-thumb {
  background: #cfd8dc;
  border-radius: 8px;
}
.list-container::-webkit-scrollbar-track {
  background: transparent;
}


/***************TABLA DE LLISTAS PRINCIPALES*********************/


.tooltip .tooltiptext_up, 
.tooltip .tooltiptext_bottom, 
.tooltip .tooltiptext_right, 
.tooltip .tooltiptext_right, 
.tooltip .tooltiptext_left,
.tooltip .tooltiptext_up_left,
.tooltip .tooltiptext_down_left
{
  visibility: hidden;
  min-width: 180px;
  width: auto;
  background-color: #07264C;
  font-size: 11px;
  color: #fff;
  text-align: center;
  padding: 5px 5px 5px 5px;
  border-radius: 6px;
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 999;
  opacity: 0.9;
}
.tooltiptext_up
{
    top: -35px;
    left: 0px;
}



.option-refresh
{
  background-image: url('../assets/images/buttons/option_refresh.png');
}
.option-new
{
  background-image: url('../assets/images/buttons/option_new.png');
}


.option-refresh, .option-new
{
  width: 28px;
  height: 28px;
  cursor: pointer;
  border: none;
  background-size: 28px 28px;
  background-position: center;
  background-repeat: no-repeat;

}
.option-refresh:enabled:hover
{
  -webkit-filter: contrast(150%);
  filter: contrast(150%);
  -webkit-filter: saturate(160%);
  filter: saturate(160%);
}









.normal td, .lectura1, .lectura2, .lectura1_i, .lectura2_i
{
  cursor: default;
  height: 28px;
  border: 1px solid #FFFFFF;
}




.lectura1, .lectura1_i
{
  background-color: #e0e0e0; 
}
.lectura2, .lectura2_i
{
  background-color: #ededed;
}


















.cuerpo
{
  background-color: black;
}

.class_menu_icon
{
  background-image: url('../assets/images/buttons/menu_0979c1.png');
}
.menu_module
{
  background-image: url('../assets/images/buttons/menu_module_096fb0.png');
  width: 25px;
  height: 25px;
  background-size: 25px 25px;
  border: none;
}

.class_menu_icon, .cabecera_icono_perfil, .cabecera_flecha_abajo, .cabecera_flecha_adelante
{
  width: 28px;
  height: 28px;
  /*border: solid 2px #ffffff;*/
  background-size: 28px 28px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;

}



#wait-indicator
{
  /*left: 0; 
  right: 0;*/
  width: 100%;
  position: absolute;
  background-color: #292828;
  moz-opacity: 0.6;
  opacity: 0.6;
  filter: alpha(opacity=60);
  /*z-index: 9999;*/
  background-size: 180px 180px;
  background-position: center;
  background-repeat: no-repeat; 
}
#wait-indicator
{
  top: 0%;
  height: 100%;
  background-image: url('../assets/images/wait-indicator.gif');
}



/********************              INICIO-FIN      ***********************************/

.hover-message {
            display: none;
            position: absolute;
            background-color: #363636;
            border: 1px solid #ccc;
            padding: 5px;
            border-radius: 4px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            font-size: 10px;
            color: #FFFFFF;
        }

        /* Muestra el mensaje al pasar el mouse */
        input[type="submit"]:hover + .hover-message {
            display: block;
        }

        /* Para posicionar el mensaje mejor */
        .hover-message {
            /*top: 100%; /* Coloca el mensaje justo debajo del input */
            left: calc(100% - 10px); /* Mueve el mensaje ligeramente hacia la derecha */
            margin-top: 5px; /* Espaciado extra para que no quede pegado */
        }

/********************              INICIO-FIN          ***********************************/


/********************              DASHBOARD           ***********************************/
.dashboard-table {
    margin: 0 auto;
    /*width: auto;*/
    max-width: 100%;
    border-collapse: separate; /* Permitir espacio entre celdas */
    border-spacing: 10px; /* Espacio entre las celdas */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.dashboard-table th,
.dashboard-table td {
    padding: 20px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.dashboard-table th {
    background-color: #f9f9f9;
    color: black;
    font-size: 18px;
}

.dashboard-table td {
    background-color: #f9f9f9;
    vertical-align: middle; /* Asegura que el contenido quede centrado verticalmente */
}

canvas {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

/* Responsiveness */
@media (max-width: 768px) {
    .dashboard-table {
        width: 100%;
        font-size: 14px;
    }

    canvas {
        height: 300px;
    }
}

/*********************************** SIDEBAR DASHBOARD***************************/
#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    max-width: 250px;
    width: 80%;
    height: 100%;
    padding: 1.5rem;
    background-color: #151719;
    box-shadow: 0 10px 20px -4px #000;
    overflow-x: hidden;
    overflow-y: auto;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: opacity 0.3s ease, visibility 0.2s ease, transform 0.3s ease;
}
#sidebar.show {
    pointer-events: all;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
#sidebar ul 
{
  margin-left: 0px;
  padding-left: 5px;
}
#sidebar ul li{
    font-style: monospace;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    list-style: none;
    text-align: left;
    padding: 15px 5px;
    border-bottom: 1px solid rgba(100, 100, 100, .3);
    cursor: pointer;
}
#sidebar ul li:hover
{
  background-color: #000000;
  color: #FFFFFF;
}
#accordian {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999;
    max-width: 200px;
    width: 100%;
    height: auto;
    padding: 1.5rem;
    background-color: #2767AF;
    box-shadow: 0 10px 20px -4px #000;
    overflow-x: hidden;
    overflow-y: auto;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.3s ease, visibility 0.2s ease, transform 0.3s ease;
    margin: 100px auto 0 auto;
    color: white;
    box-shadow: 
    0 5px 15px 1px rgba(0, 0, 0, 0.6), 
    0 0 200px 1px rgba(255, 255, 255, 0.5);
}
#accordian.show {
    pointer-events: all;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
/*heading styles*/
#accordian h3 {
  font-size: 10px;
  line-height: 25px;
  padding: 0 10px;
  cursor: pointer;
  /*fallback for browsers not supporting gradients*/
  background: #09294f; 
  background: linear-gradient(#09294f, #19328C);
  -moz-border-radius-topright: 5px;
  border-top-right-radius: 5px;
  -webkit-border-radius-topright: 5px;
  -ms-border-radius-topright: 5px;

  -moz-border-radius-topleft: 5px;
  border-top-left-radius: 5px;
  -webkit-border-radius-topleft: 5px;
  -ms-border-radius-topleft: 5px;

  -moz-border-radius-bottomleft: 5px;
  border-bottom-left-radius: 5px;
  -webkit-border-radius-bottomleft: 5px;
  -ms-border-radius-bottomleft: 5px;

  -moz-border-radius-bottomright: 5px;
  border-bottom-right-radius: 5px;
  -webkit-border-radius-bottomright: 5px;
  -ms-border-radius-bottomright: 5px;
}
/*heading hover effect*/
#accordian h3:hover {
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.7);
}
/*iconfont styles*/
#accordian h3 span {
  font-size: 14px;
  margin-right: 10px;
}
#accordian ul 
{
  margin-left: 0px;
  padding-left: 0px;
}
/*list items*/
#accordian li {
  list-style-type: none;
  background-repeat: no-repeat;
  background-size: 20px;
}
/*links*/
#accordian ul ul li {
  cursor: pointer;
  color: white;
  text-decoration: none;
  font-size: 11px;
  line-height: 27px;
  display: block;
  padding-left: 25px;
  text-align: left;
  /*transition for smooth hover animation*/
  transition: all 0.15s;
  border-bottom: 1px solid rgba(240, 240, 240, .3);
}
/*hover effect on links*/
#accordian ul ul li:hover {
  background-color: #215BB2;
  border-right: 5px solid lightgreen;
}

.wrapper {
  max-width: 100%;
  margin: 0 auto;
}

.slider {
  position: relative;
}

.slides {
  position: relative;
  display: flex;
  overflow: hidden;
  animation-duration: 1s
}

.slide {
  width: 100vw;
  flex-shrink: 0;
  animation-name: slide;
  /*animation-duration: 30s;*/
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  list-style:none;
}

/*.slides:hover .slide {
  animation-play-state: paused;
}*/

.slide img {
  width: 80%;
  vertical-align: top;
}

.slide a {
  width: 100%;
  display: inline-block;
  position: relative;
}

.caption {
  color: white;
  text-shadow: 1px 1px black;
  font-size: 8vw;
  position: absolute;
  bottom: 8vw;
  right: 4vw;
}

.slide:target {
  animation-name: none;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
}

.slider-controler {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  padding: 5px;
  background-color: rgba(0,0,0,0.5);
  z-index: 100;
}

.slider-controler li {
  margin: 0 0.5rem;
  display: inline-block;
  vertical-align: top;
}

.slider-controler a {
  display: inline-block;
  vertical-align: top;
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
}

@media only screen and (min-width: 100%) {
  .slide {
    width: 100%;
    height: 100%;
  }

  .caption {
    font-size: 96px;
    bottom: 96px;
    right: 50px;
  }
}
.normal tr.seleccionado td
{
  color: #3a8226;
  background-color: #bdffbd;
  border: 1px solid #3a8226;
}
/****************************************DASHBOARD PIPE***********************************************/
        .card {
            background-color: white;
            border-radius: 0.5rem;
            padding: 0.75rem;
            box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
            display: flex;
            flex-direction: column;
            min-height: 182px;
            overflow: hidden;
        }
        .card h2 {
             font-size: 1rem;
             margin-bottom: 0.3rem;
             font-weight: 500;
             color: #4b5563;
             flex-shrink: 0;
        }

        /* --- Estilos Header y Dropdown --- */
        #main-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 50;
        }
        #dropdown-menu {
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        /* --- Anillo Pulsante--- */
        .pulsating-ring-container { display: flex; align-items: center; justify-content: center; flex-grow: 1; position: relative; min-height: 160px; margin-bottom: 0.25rem; }
        .pulsating-ring { width: 40px; height: 40px; border-radius: 50%; background: var(--ring-gradient, radial-gradient(circle, rgba(110,231,183,0.6) 0%, rgba(16,185,129,0.8) 60%, rgba(5,150,105,0) 70%)); position: absolute; opacity: 0; }
        @keyframes pulse-slow { 0% { transform: scale(0.8); opacity: 0; } 50% { opacity: 0.7; } 100% { transform: scale(1.4); opacity: 0; } }
        @keyframes pulse-medium { 0% { transform: scale(0.7); opacity: 0; } 50% { opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
        .pulse-slow .pulsating-ring { animation: pulse-slow 2.5s ease-out infinite; }
        .pulse-slow .pulsating-ring:nth-child(2) { animation-delay: 0.8s; }
        .pulse-medium .pulsating-ring { animation: pulse-medium 1.5s ease-out infinite; }
        .pulse-medium .pulsating-ring:nth-child(2) { animation-delay: 0.5s; }
        #activity-status-text { text-align: center; font-size: 2rem; font-weight: 500; color: #696969; margin-top: 0.1rem; flex-shrink: 0; }

        /* --- métricas Simples --- */
         .metric-display { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; flex-grow: 1; padding-top: 0.1rem; }
        .metric-display .icon { font-size: 1.3rem; color: #6b7280; margin-bottom: 0.3rem; }
        .metric-display .value { font-size: 0.9rem; font-weight: 600; color: #1f2937; }
        .metric-display .label { font-size: 0.65rem; color: #6b7280; margin-top: 0.1rem; }
        .storage-ok { color: #059669; } .storage-warn { color: #f59e0b; } .storage-danger { color: #dc2626; }
        .text-ok { color: #059669; }

        /* ---  Heatmap --- */
        .heatmap-container { margin-top: 0.25rem; overflow-x: auto; flex-grow: 1; }
        #speciesHeatmap table { width: 100%; border-collapse: collapse; font-size: 0.7rem; }
        #speciesHeatmap th, #speciesHeatmap td { border: 1px solid #e5e7eb; padding: 0.2rem; text-align: center; min-width: 35px; }
        #speciesHeatmap th { background-color: #f9fafb; font-weight: 600; }
        #speciesHeatmap td { height: 25px; }
        #speciesHeatmap .species-label { text-align: left; font-weight: 500; white-space: nowrap; }

        /* ---  Treemap Simulado --- */
        .treemap-container { display: flex; flex-grow: 1; padding: 5px; gap: 3px; }
        .treemap-block { display: flex; flex-direction: column; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 3px; padding: 4px; overflow: hidden; position: relative; box-sizing: border-box; }
        .treemap-label { font-size: 0.7rem; color: white; font-weight: 500; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }
        .cauquen-block { flex-grow: 3; background-color: #34d399; }
        .others-container { flex-grow: 2; display: flex; flex-direction: column; gap: 3px;}
        .flamenco-block { flex-grow: 2; background-color: #fb7185; }
        .pato-block { flex-grow: 1; background-color: #60a5fa; }

        /* ---  Confianza (Tendencia) --- */
        .confidence-trend-display { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-grow: 1; padding: 0.5rem 0; }
        #confidence-value { font-size: 1.5rem; font-weight: 600; color: #1f2937; line-height: 1; }
        #confidence-trend-icon { font-size: 0.9rem; margin-left: 0.3rem; }
        .trend-up { color: #10b981; } .trend-down { color: #ef4444; } .trend-stable { color: #6b7280; }
        .confidence-label { font-size: 0.65rem; color: #6b7280; margin-top: 0.2rem; }

         /* ---  Fase Solar/Lunar Combinada --- */
        .phase-combined-display { display: flex; align-items: center; justify-content: space-around; text-align: center; flex-grow: 1; padding: 0.25rem 0; }
        .phase-item { display: flex; flex-direction: column; align-items: center; }
        .phase-item .icon { font-size: 1.5rem; margin-bottom: 0.2rem; }
        .phase-item .label { font-size: 0.7rem; color: #4b5563; }

         /* ---  Nivel Sonido ( Animado) --- */
         .sound-level-container { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-grow: 1; padding-top: 0.25rem; }
         #sound-level-icon { font-size: 2.5rem; margin-bottom: 0.75rem; transition: color 0.3s ease-out; }
         @keyframes volume-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
         .volume-pulse-low { animation: volume-pulse 2.5s ease-in-out infinite; }
         .volume-pulse-medium { animation: volume-pulse 1.5s ease-in-out infinite; }
         .volume-pulse-high { animation: volume-pulse 0.8s ease-in-out infinite; }
         #sound-level-value { font-size: 0.9rem; font-weight: 600; }
         .sound-level-unit { font-size: 0.65rem; color: #6b7280; margin-left: 0.1rem;}
         .sound-color-low { color: #10b981; } .sound-color-medium { color: #f59e0b; } .sound-color-high { color: #ef4444; }

         /* ---  Viento (Flecha + Texto) --- */
         .wind-display-arrow { display: flex; align-items: center; justify-content: center; text-align: center; flex-grow: 1; padding-top: 0.5rem; gap: 0.5rem; }
         #wind-arrow-icon { font-size: 2.2rem; color: #3b82f6; transform-origin: center; transition: transform 0.5s ease-out; }
         .wind-text-info .speed { font-size: 1.1rem; font-weight: 600; }
         .wind-text-info .unit { font-size: 0.7rem; color: #6b7280; }
         .wind-text-info .direction { font-size: 0.8rem; font-weight: 500; color: #374151; margin-top: 0.1rem; }

         /* ---  Batería (Animada) --- */
         .battery-display { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; flex-grow: 1; padding-top: 0.1rem; }
         .battery-display .icon { font-size: 1.5rem; color: #10b981; margin-bottom: 0.3rem; animation: battery-charge 3s linear infinite; }
         .battery-display .value { font-size: 1.2rem; font-weight: 600; color: #059669; }
         .battery-status { display: flex; align-items: center; margin-top: 0.3rem; position: relative; }
         .battery-status-dot { width: 8px; height: 8px; background-color: #10b981; border-radius: 50%; margin-right: 0.3rem; z-index: 1; }
         .battery-status-text { font-size: 0.65rem; color: #6b7280; z-index: 1; }
         .battery-status::after { content: ''; position: absolute; left: -4px; top: -4px; width: 16px; height: 16px; background-color: #10b981; border-radius: 50%; opacity: 0; animation: connected-glow 2s ease-out infinite; z-index: 0;}
         @keyframes connected-glow { 0% { transform: scale(0.5); opacity: 0; } 50% { opacity: 0.3; } 100% { transform: scale(1.2); opacity: 0; } }
         @keyframes battery-charge { 0%, 100% { opacity: 0.8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }





/* Adaptación responsive para móviles */
@media (max-width: 768px) {
  .login_main {
    margin-top: 30px; /* menos espacio en móviles */
    margin-right: 0;
    padding: 10px;
  }

  .login_container {
    width: 100%; /* que ocupe todo el ancho disponible */
    max-width: 95%; /* con un margen a los lados */
    padding: 20px;
  }

  .legend_container {
    font-size: 24px; /* más chico que en escritorio */
  }

  .legend_container2 {
    font-size: 16px;
  }

  .input_group input {
    font-size: 14px;
    height: 40px;
  }

  .input_group i {
    font-size: 18px;
    top: 30%;
    right: 10px;
  }

  .submit_access {
    font-size: 14px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .legend_container {
    font-size: 20px;
  }

  .legend_container2 {
    font-size: 14px;
  }

  .login_container {
    padding: 15px;
  }
}

