  .mapa_nuevo{
    position: relative;
  }

  .haz_click{
font-family: 'Oswald', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFF;
}


    #plano_dinamico {
      width: 90%;
      max-width: 500px;
      cursor: pointer;
    }

    /* table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 50px;
    } */

    /* table th, table td {
      border: 1px solid #ccc;
      padding: 8px;
      text-align: center;
    } */

    table tr.highlight {
      background-color: #ffe066;
      transition: background-color 0.4s;
    }

    /* Hover y selección */
    
    svg [id] {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-box: fill-box;
  transform-origin: center;
}

svg [id]:hover {
  filter: brightness(1.2) drop-shadow(0px 3px 7px rgba(0,0,0,0.2));
  transform: scale(1.03); /* Efecto de crecimiento sutil */
}

svg [id].dimmed {
      opacity: 0.3;
      transition: opacity 0.3s ease;
    }

/* Clase para la zona que queda activa después del clic */
svg [id].active {
  filter: brightness(1.3);
}

/* Evita que el escenario cambie a amarillo si llegaras a seleccionarlo */
svg [id^="deco_"].active {
  fill: inherit !important; /* O el color original del diseño */
  filter: none !important;
}

    


/* Color del sector seleccionado */
/* svg [id].active rect,
svg [id].active polygon,
svg [id].active path {
  fill: #ffe066 !important;
  stroke-width: 0.5;
  transition: fill 0.3s ease;
} */


    @keyframes pulse {
      from { transform: scale(1); }
      to { transform: scale(1.002); }
    }



/* Actualiza o reemplaza tu clase .tooltip con esta */
.tooltip {
  position: absolute;
  
  color: #fff;
  padding: 5px;
  border-radius: 8px;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -110%);
  transition: opacity 0.3s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

.tooltip img {
  width: 300px; /* Ajusta el ancho de la vista previa */
  height: auto;
  border-radius: 4px;
  margin-bottom: 8px;
  display: block;
}

.tooltip span {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
}



/*Boton de reset*/

.btn-reset-mapa {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 26, 55, 0.9); /* Rojo similar a tu btn_active */
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  display: none; /* Oculto por defecto */
  z-index: 5;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-reset-mapa:hover {
  background: #ff1a37;
  transform: scale(1.05);
}


